tcpdump mailing list archives
tcpdump -i <number> - not just for Windows any more!
From: Guy Harris <gharris () sonic net>
Date: Mon, 23 Sep 2024 11:51:53 -0700
ubu22-04$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
ubu22-04$ ifconfig -a
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.135.246 netmask 255.255.255.0 broadcast 172.16.135.255
inet6 fe80::eee8:133e:43dd:472b prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:1c:d8:7f txqueuelen 1000 (Ethernet)
RX packets 637 bytes 651687 (651.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 544 bytes 80233 (80.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
...
wlx0013eff12e78: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:13:ef:f1:2e:78 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I'm not going to type *that* string as an argument to -i. ens33, OK, but not wlx0013eff12e78.
ubu22-04$ tcpdump -D
1.ens33 [Up, Running, Connected]
2.mon0 [Up, Running, Wireless, Associated]
3.any (Pseudo-device that captures on all interfaces) [Up, Running]
4.lo [Up, Running, Loopback]
5.wlx0013eff12e78 [Up, Wireless, Not associated]
6.nflog (Linux netfilter log (NFLOG) interface) [none]
7.nfqueue (Linux netfilter queue (NFQUEUE) interface) [none]
8.dbus-system (D-Bus system bus) [none]
9.dbus-session (D-Bus session bus) [none]
tcpdump -i 5, however, not too bad.
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Current thread:
- tcpdump -i <number> - not just for Windows any more! Guy Harris (Sep 30)
