
エラーメッセージ
# tcpdump dst IPアドレス tcpdump: NFLOG link-layer type filtering not implemented
原因
tcpdumpコマンドはデフォルトだと最も小さい番号で有効になっているインターフェースに対して有効となる。
# tcpdump -D 1.nflog (Linux netfilter log (NFLOG) interface) 2.nfqueue (Linux netfilter queue (NFQUEUE) interface) 3.usbmon1 (USB bus number 1) 4.ens3 5.ens4 6.any (Pseudo-device that captures on all interfaces) 7.lo [Loopback]
-iでインターフェースを指定すればOK
# tcpdump dst IPアドレス -i ens3 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens3, link-type EN10MB (Ethernet), capture size 262144 bytes
Leave a Reply