[Bug 246108] ue0 (ASIX Elec. Corp. AX88178) does not capture packets in promisc mode w/o IP address assigned
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 1 21:32:13 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246108
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 at FreeBSD.org
Reporter: emaste at freebsd.org
>From dmesg:
ugen0.7: <ASIX Elec. Corp. AX88178> at usbus0
axe0 on uhub2
axe0: <0> on usbus0
miibus0: <MII bus> on axe0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX,
1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto,
auto-flow
ue0: <USB Ethernet> 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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80008<VLAN_MTU,LINKSTATE>
ether 00:50:b6:1a:15:80
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list