sun# ifconfig pflog0
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33208
sun# ifconfig
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 213.221.1.162 netmask 0xffffffe0 broadcast 213.221.1.191
inet6 fe80::2c0:caff:fe20:3de2э0 prefixlen 64 scopeid 0x1
ether 00:c0:ca:20:3d:e2
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::204:76ff:fea4:a5c2%xl0 prefixlen 64 scopeid 0x2
ether 00:04:76:a4:a5:c2
media: Ethernet autoselect (none)
status: no carrier
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33208
pfsync0: flags=41<UP,RUNNING> mtu 2020
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 213.221.1.162 --> 192.168.1.39 netmask 0xffffffe0
sun#
tcpdump: WARNING: pflog0: no IPv4 address assigned # эта строка должна быть
tcpdump: unknown data link type 117 # вот этой строки не должно быть
Должно быть вот так
# /usr/sbin/tcpdump -i pflog0
(Typing the full access path to the binary you want to run, as I do above, is a little paranoid, but it is not a bad thing to be paranoid, when it comes to security.)
The system should reply with
tcpdump: WARNING: pflog0: no IPv4 address assigned
tcpdump: listening on pflog0
|