From nobody Wed Dec 18 06:36:17 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 4YCkTt6Dq2z5gtkC for ; Wed, 18 Dec 2024 06:36:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCkTt4zqzz4ZPq for ; Wed, 18 Dec 2024 06:36:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734503778; 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=JjQddmirpLyY6FEah39MqvWMDLvhxXQddwwnSFFifK4=; b=iQsWHT3FBEHCfwk/zeTgKCAltf6h7km/NQos0LO95WUFeIk7NZfYiN90wj27SRywKV6PxG WScYzwHlPEjq3Us1wKt2wJPTwXUYJ4iIOjITPiLlwL9t48WUCkZz0jV9sN6P9EjWBKhyWH NYMJCX8pqlov8Wy/sMY0a2JqAuksdDZX2dYgKrgMjFmNRC2c+FjlQZwXKig5gz3n3JQViv H9CFnpYwP1tq3fncLC8QsbKaO+E5YMMl86YgDqNI+5k5R8C7ZTfhXg36A7A8ZJn6wegR0s 8bHLxge3mIzo8YCodTRavm2LS676pCXWbQTF/Tb+kp7ybdED4rFcDn9UOeo7aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734503778; a=rsa-sha256; cv=none; b=Tn+95K1qyloXMFPiDwS//piAXfjdP3Ssozx+k20M3eTobE4m15jNspxQMD/dr21FdJ75Rh VhcZENraGU2Ic4XiwznNFPKnt0A/wB6VHg/Al5e8WWV77Ptefr4u+bN+wgmPxEo9eGXNz0 0NNG2DMj2DEZCaFfJFse4LDj5DTcXlJ/rdwB95I8Mr4566y7Tr7d0VqAf+PkHPw1DsglpM TG1Lkb/x15DmHVlQ1qhHVzRqo9IHErZICjhcGAZ9VSPd3kH0f/5ffEnrzGX4O9iK81hnJF Iq56XYzzgVGxnpznOC3ODLaJfHo3YaHl3/nPzZgGwnW3O5UJk7xIH2HWkQr4bg== 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 4YCkTt4Zjyzx7K for ; Wed, 18 Dec 2024 06:36:18 +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 4BI6aIxV031542 for ; Wed, 18 Dec 2024 06:36:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BI6aI5C031541 for net@FreeBSD.org; Wed, 18 Dec 2024 06:36:18 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: net@FreeBSD.org Subject: [Bug 283380] FreeBSD accepts and processes IPv4 packets destined to non-local MAC addresses instead of dropping them Date: Wed, 18 Dec 2024 06:36:17 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jgm@osn.de 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=3D283380 --- Comment #4 from Joerg Goltermann --- (In reply to Zhenlei Huang from comment #3) Unfortunately, this doesn't solve our issue. Promiscuous mode is not enabled during normal operation. The reason we filed the report was that we received a message from the NOC = of a major peering exchange informing us about this problem. They found duplicat= e IP packets with our MAC address on their peering network. # tcpdump --no-promiscuous-mode -netttti vtnet2 host 146.185.xx.yy tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on vtnet2, link-type EN10MB (Ethernet), snapshot length 262144 by= tes 2024-12-18 07:10:31.949435 fc:0a:81:xx:yy:zz > 48:f8:db:xx:yy:zz, ethertype IPv4 (0x0800), length 66: 146.185.xx:yy.22067 > 185.23.xx.yy.33824: Flags [= .], ack 746869960, win 501, options [nop,nop,TS val 2879849874 ecr 4251392697], length 0 2024-12-18 07:10:31.949443 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 66: 146.185.xx:yy.22067 > 185.23.xx:yy.33824: Flags [= .], ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 4251392697], length 0 2024-12-18 07:10:31.949529 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 66: 146.185.xx:yy.22067 > 185.23.xx:yy.33824: Flags [= .], ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 4251392697], length 0 2024-12-18 07:10:31.949601 fc:0a:81:xx:yy:zz > 48:f8:db:xx:yy:zz, ethertype IPv4 (0x0800), length 96: 146.185.xx:yy.22067 > 185.23.xx:yy.37220: Flags [= P.], seq 1919842898:1919842928, ack 2070174457, win 501, options [nop,nop,TS val 2879849874 ecr 1086851336], length 30 2024-12-18 07:10:31.949605 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 96: 146.185.xx:yy.22067 > 185.23.xx:yy.37220: Flags [= P.], seq 0:30, ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 1086851336= ], length 30 2024-12-18 07:10:31.949702 bc:24:11:xx:yy:zz > 20:50:0f:xx:yy:zz, ethertype IPv4 (0x0800), length 96: 146.185.xx:yy.22067 > 185.23.xx:yy.37220: Flags [= P.], seq 0:30, ack 1, win 501, options [nop,nop,TS val 2879849874 ecr 1086851336= ], length 30 interface state during the run of the tcpdump: # ifconfig vtnet2 | grep flags vtnet2: flags=3D1008843 me= tric 0 mtu 1500 # --=20 You are receiving this mail because: You are the assignee for the bug.=