From nobody Mon Mar 27 10:00:05 2023 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 4PlSwj6yxvz423XM for ; Mon, 27 Mar 2023 10:00:05 +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 4PlSwj1wZWz4PvS for ; Mon, 27 Mar 2023 10:00:05 +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=1679911205; 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=mkV8a7q3dRTZPgVqkthDGqSTLu7foxtUlaccxzdNmps=; b=d2rZwA67Oqi3rXZhpABGfSdzNy9Fd48ea//YZF02e9mm149IJC1y4z9aFMyrN9GyKShWHZ UN9NwDJ0pL8u71smk6jBhsHQzM5xVK24qn6HvQ2fUaqPm2p5X6XGS/n7Dsylv/F7A8fRkP +sbXNc3DbqxwV7OlFB9SpIVh7cXcsrYgCupUH3RcYd9Ui/KwZOZwwxtFC+HPTqqVOZUQVk dJIGIOapz9RXE9F6cQAwe7aXBWki7dsIm4LGXMOmjcFUG3cqFsfjh3bDc6zcODNc2UKt6J E/rU6hupCp2zPijercXKI9oBgDsRqwV3qxTPQHEremmG6hgEs6Fg+I9jAmoRdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679911205; a=rsa-sha256; cv=none; b=ST6mwU2wTJ72VG4yZ/wb1zpAJxV2NTMKVI56J7FgR3mizFQSEfxNBxfYb/fFAG6HdNWQUI P35Zf3xQHQmXinldPRx+JKfBuRK3YV3j5YueduT1pGrFcgajPJIkvy12JMNjCmL96J5tl/ lF8wu1amKYml7ZuYCdtSBKgj+jxjkI5tvfBNQ95xV/spVFlkNyoD9eSw+F4wqzc0SNuabe s/5/L75IasRvz2KuhYBIlzm5iOnAVQt8jjikXeKl2783GGkKxrzVj4OSlkc5qFtVKc0yLX KqHsD402c14Cib6BkWqrfZQRxVNEB4KWz4aGLQCugKeWUHcDQp4BZnT+aIVhBQ== 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 4PlSwj0zRDzHn3 for ; Mon, 27 Mar 2023 10:00:05 +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 32RA05fc056916 for ; Mon, 27 Mar 2023 10:00:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32RA05gG056915 for bugs@FreeBSD.org; Mon, 27 Mar 2023 10:00:05 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 270478] Duplicated ARP reply sent from if_bridge member Date: Mon, 27 Mar 2023 10:00:05 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270478 Bug ID: 270478 Summary: Duplicated ARP reply sent from if_bridge member Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: zlei@FreeBSD.org Observed the problem while repeating https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240106#c28 A script to repeat: ``` #!/bin/sh kldload -nq if_bridge epa=3D$( ifconfig epair create ) epb=3D${epa%a}b j=3D$( jail -ic vnet persist ) ifconfig $epb vnet $j b=3D$( jexec $j ifconfig bridge create ) jexec $j ifconfig $b addm $epb jexec $j ifconfig $epb up jexec $j ifconfig $b inet 192.168.2.2/24 ifconfig $epa inet 192.168.2.1/24 # pre populate arp table for jail jexec $j ping -qc1 192.168.2.1 # print interfaces ifconfig $epa jexec $j ifconfig $epb jexec $j ifconfig $b tmp=3D$( mktemp ) nohup tcpdump -i $epa -Uw $tmp > /dev/null & # clear host arp table, and trigger an arp request via ping arp -da sleep 1 ping -c1 192.168.2.2 # wait a little for tcpdump to write all packets sleep 2 kill $! # show arp table in jail jexec $j arp -na jail -R $j ifconfig $epa destroy tcpdump -ennv -r $tmp 'arp or icmp' rm $tmp ``` The output: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D PING 192.168.2.1 (192.168.2.1): 56 data bytes --- 192.168.2.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.181/0.181/0.181/0.000 ms epair0a: flags=3D8863 metric 0 mtu = 1500 options=3D8 ether 02:30:35:63:2b:0a inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 epair0b: flags=3D8963 metri= c 0 mtu 1500 options=3D8 ether 02:30:35:63:2b:0b groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 bridge0: flags=3D8843 metric 0 mtu = 1500 ether ea:80:d1:f2:05:ae inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair0b flags=3D143 ifmaxaddr 0 port 2 priority 128 path cost 2000 groups: bridge nd6 options=3D9 192.168.2.2 (192.168.2.2) deleted PING 192.168.2.2 (192.168.2.2): 56 data bytes 64 bytes from 192.168.2.2: icmp_seq=3D0 ttl=3D64 time=3D0.155 ms --- 192.168.2.2 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.155/0.155/0.155/0.000 ms ? (192.168.2.2) at ea:80:d1:f2:05:ae on bridge0 permanent [bridge] ? (192.168.2.1) at 02:30:35:63:2b:0a on bridge0 expires in 1198 seconds [bridge] reading from file /tmp/tmp.WKOgI9yi, link-type EN10MB (Ethernet) 01:59:02.272912 02:30:35:63:2b:0a > ff:ff:ff:ff:ff:ff, ethertype ARP (0x080= 6), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.2 tell 192.168.2.1, length 28 01:59:02.272963 ea:80:d1:f2:05:ae > 02:30:35:63:2b:0a, ethertype ARP (0x080= 6), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.2 is-at ea:80:d1:f2:05:ae, length 28 01:59:02.272969 02:30:35:63:2b:0a > ea:80:d1:f2:05:ae, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 34746, offset 0, flags [none], proto ICMP (= 1), length 84) 192.168.2.1 > 192.168.2.2: ICMP echo request, id 27667, seq 0, length 64 01:59:02.272971 02:30:35:63:2b:0b > 02:30:35:63:2b:0a, ethertype ARP (0x080= 6), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.2 is-at 02:30:35:63:2b:0b, length 28 01:59:02.273013 ea:80:d1:f2:05:ae > 02:30:35:63:2b:0a, ethertype IPv4 (0x08= 00), length 98: (tos 0x0, ttl 64, id 33683, offset 0, flags [none], proto ICMP (= 1), length 84) 192.168.2.2 > 192.168.2.1: ICMP echo reply, id 27667, seq 0, length 64 --=20 You are receiving this mail because: You are the assignee for the bug.=