From nobody Tue Mar 19 18:58:12 2024 X-Original-To: net@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 4TzgwP48zSz5F8nL for ; Tue, 19 Mar 2024 18:58:13 +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 4TzgwP3489z4pLV for ; Tue, 19 Mar 2024 18:58:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710874693; a=rsa-sha256; cv=none; b=aLpsIm9MXk8dnvYPKoBpX9DXYt8SrWt4zk5H4sgL7fxU9JVPfEGP7oLKgaFaTP/T+TBke4 Nxo4Asvozx8Dg1Rh27udlsoGzD877a76dVCgN58OeXDaN7XdG7YdBO6W9aXv+c6wZOZtwW TTNDX3m4lYxdEt52FDcvUrMMATEeF0hAOblS+sIesnAE8GoXoTn9AHq4MlwOVZ6rha94IL g4iE9rzpMDP3idbV1GWjNK9GikztRjI5hLYCr23pABMMRmSYErG8+iQ1AiMwj6RTfwy/JF k/v7IRqmaqc/xXvqz+7aR4ueGAFeAg+Vn68knt8PjdCX3S02wIjXrBxH/oHBLw== 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=1710874693; 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: in-reply-to:in-reply-to:references:references; bh=Fdm4k8p8H+i/rjT95DltfMzqETwbm3Mk0vS0EgXtQ6Y=; b=xM4xsFQj454u0+7eLy+ajRxwTysGF7oIyPDe9SdbVf+a+rhGY48sO91SrZXZGX47vonNH+ QhkV+wNKJxtczjVCMRMxJgQ/+l+gTH6g5Q3lhEVSn1HKxMADaIIF5gpTteya/gjpXfoXkj 5vC/ugC0L9eF/gP0ibaIkNEAEwGzh8nw7Z2OybPxoSGLd4VJTccJadAZLEp8g74mFPEfCx DA0j1wSfRs4dbo8Qv9mau+AZuwNUDbGVulTgwVcxkvjmASNzIGCiVQAkkNr27ILUAqDm1j /RA+aEyWn6egAmJXSEx8FXmU3XkWOy4xo030lSiyFupJ1+qS3/2K4J/4ufmIMg== 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 4TzgwP2fG0zK75 for ; Tue, 19 Mar 2024 18:58:13 +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 42JIwD1K020654 for ; Tue, 19 Mar 2024 18:58:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42JIwDSu020649 for net@FreeBSD.org; Tue, 19 Mar 2024 18:58:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 277349] The net.inet.ip.source_address_validation should ignore CARP IP in backup state Date: Tue, 19 Mar 2024 18:58:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277349 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D56f7860087eec14b4a65310b70bd704e7= 9e1b48c commit 56f7860087eec14b4a65310b70bd704e79e1b48c Author: Gleb Smirnoff AuthorDate: 2024-03-19 18:48:59 +0000 Commit: Gleb Smirnoff CommitDate: 2024-03-19 18:48:59 +0000 carp: check CARP status in in_localip_fib(), in6_localip_fib() Don't report a BACKUP CARP address as local. These two functions are u= sed only by source address validation for input packets, controlled by sysc= tls net.inet.ip.source_address_validation and net.inet6.ip6.source_address_validation. For this purpose we definitely want to treat BACKUP addresses as non local. This change is conservative and doesn't modify compat in_localip() and in6_localip(). They are used more widely than the FIB-aware versions. The change would modify the notion of ipfw(4) 'me' keyword. There might be other consequences as in_localip() is used by various tunneling protocols. PR: 277349 sys/netinet/in.c | 4 +++- sys/netinet6/in6.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=