From owner-freebsd-usb@freebsd.org Fri May 1 21:32:13 2020 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74C4C2B043D for ; Fri, 1 May 2020 21:32:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49DQSY2Znmz48W7 for ; Fri, 1 May 2020 21:32:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 588A82B043C; Fri, 1 May 2020 21:32:13 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 585062B043B for ; Fri, 1 May 2020 21:32: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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49DQSY1kYpz48W5 for ; Fri, 1 May 2020 21:32:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 36E39ECD0 for ; Fri, 1 May 2020 21:32: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 041LWD7A018754 for ; Fri, 1 May 2020 21:32:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 041LWDg3018753 for usb@FreeBSD.org; Fri, 1 May 2020 21:32:13 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: usb@FreeBSD.org Subject: [Bug 246108] ue0 (ASIX Elec. Corp. AX88178) does not capture packets in promisc mode w/o IP address assigned Date: Fri, 01 May 2020 21:32:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2020 21:32:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246108 Bug ID: 246108 Summary: ue0 (ASIX Elec. Corp. AX88178) does not capture packets in promisc mode w/o IP address assigned Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: emaste@freebsd.org >From dmesg: ugen0.7: at usbus0 axe0 on uhub2 axe0: <0> on usbus0 miibus0: on axe0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-F= DX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow ue0: on axe0 ue0: Ethernet address: ##:##:##:##:##:## ue0: link state changed to DOWN The USB-Ethernet interface is connected to a source (HDMI-IP extender) that= is continuously generating packets. Bring interface up: # ifconfig ue0 up; ifconfig ue0 ue0: flags=3D8843 metric 0 mtu 1500 options=3D80008 ether 00:50:b6:1a:15:80 media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D29 Attempt to capture traffic for a few seconds, observe no packets received: # tcpdump -ni ue0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ue0, link-type EN10MB (Ethernet), capture size 262144 bytes ^C 0 packets captured 0 packets received by filter 0 packets dropped by kernel Assign an address: # ifconfig ue0 10.0.0.1/24 Observe packets received by tcpdump: # tcpdump -ni ue0 -c 5 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ue0, link-type EN10MB (Ethernet), capture size 262144 bytes 17:31:03.055453 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 0 17:31:03.056452 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 0 17:31:03.057453 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 0 17:31:03.058499 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 0 17:31:03.059483 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 0 5 packets captured 5 packets received by filter 0 packets dropped by kernel amd64 on Lenovo X1 Carbon 7th gen, r360105+a579cace6430-c268079 --=20 You are receiving this mail because: You are the assignee for the bug.=