From nobody Tue Feb 27 11:11:45 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TkZYt1tYMz5CxxB for ; Tue, 27 Feb 2024 11:11:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TkZYs5ZLhz42n4 for ; Tue, 27 Feb 2024 11:11:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709032305; a=rsa-sha256; cv=none; b=MWY4Z6BO5mm/23Mt5il0YaUitWVUzK1PLom+QZCV8dWchIjSZv+gkEiJ8NwXZ+2isH3IYL nBInoxpDWHFueUpz6Yo+YqqC0dEsBRYNvZx4UMyPkKW2ZfNe4tOU7DlsgzuU3Ok1GC89M7 vQKi1H5LTkH5cXpSgzy9MHN9Y2nUDMRtCwHfKGMl98GN0gdhPg+zwayE2poUWhCt3gtOnt Qcy/X+bODrtQbVaZFsmCKE619Hevp+1IEpejkRhvjR46lPEc+51+oP0f3CKI2B/R9G+Dnc f0s5eZ6fi+vLfmqF/dfeoNKPPCCwi3NFuUCteQ6mu5BGmpsdWy5yQyerQWoPKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709032305; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bhtIrZQliJxukaC2kpdCnTuIyy3/iEZ4ifrDfXvP/rs=; b=XcLeArDeyPmj8V6WxkD6lEsmZMVq67mx5DiUnzYeY1svtx8FQb7BG8SNWKbOmmUuid9exn +y9qpnPL+SrW/jBcFTwM5a9FvZij9hOpMNY/qDqHMcU1JjLTca8xo+VjqgULh2oeeuUD0F VkdIwp25YT6mcvkUewYAVo2ds9ROCQbaa1hPKrS3o9SoL1/MFrjmHFEFIzClxOaOtd2GVN k4NDGlKH+vuFpXZy2XjqCd/ZFa0E44RGQw2G90cAgFR6G6cKL0Kly8ZSm8p2mSJzg9/Ivz 0pjHWNmhzdsZdAd1DLu39VFf09kss1AjRnXnMSqyA+N3Qj3oKd0OheJ7HUDLSw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TkZYs4fQcz18hN for ; Tue, 27 Feb 2024 11:11:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41RBBjAa053692 for ; Tue, 27 Feb 2024 11:11:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41RBBjT0053689 for bugs@FreeBSD.org; Tue, 27 Feb 2024 11:11:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277349] The net.inet.ip.source_address_validation should ignore CARP IP in backup state Date: Tue, 27 Feb 2024 11:11:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alexis.savin@efficientip.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277349 Bug ID: 277349 Summary: The net.inet.ip.source_address_validation should ignore CARP IP in backup state Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alexis.savin@efficientip.com The net source validation mechanism introduced in FreeBSD 14 (net.inet.ip.source_address_validation) which is enabled by default is a good security enhancement, however, it should ignore CARP backup addresses. The VIP address in a 'backup' state is not used for any traffic (on the bac= kup carp node). However, it's common to see such a backup node pull information from the ac= tive one, using the VIP as a target and therefore receiving traffic from this VIP in = the answer packets. I have noticed two open tickets/discussions about this behavior: * https://redmine.pfsense.org/issues/14026 * https://forum.netgate.com/topic/181163/strange-carp-behavioral-change-bug-i= n-ha-setup-after-upgrade-from-2-6-0-to-2-7-0 STR: Deploy two FreeBSD 14.0 Stable, configure carp on one interface of each no= de. Node A (Active) - 10.0.0.2/24 Node B (Backup) - 10.0.0.3/24 VIP - 10.0.0.1/24 Ensure net.inet.ip.source_address_validation is set to 1. From Node B, ping the VIP 10.0.0.1. Observe you do not get answers. Disable net.inet.ip.source_address_validation, set it to 0. From Node B, ping the VIP 10.0.0.1. Observe you do now get answers. Kindly appreciate feedback about this. --=20 You are receiving this mail because: You are the assignee for the bug.=