このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
01_linux:01_net:01_tcpdump [2021/01/08 03:51] – matsui | 01_linux:01_net:01_tcpdump [2021/01/08 04:04] (現在) – matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
====== 01 tcpdump ====== | ====== 01 tcpdump ====== | ||
- | |||
- | identifierが分かったら、そのnicの通信を見る | ||
- | <code console> | ||
- | # tcpdump -nne -i eth0 -s 180 -X | ||
- | </ | ||
- | |||
===== arpを省く ===== | ===== arpを省く ===== | ||
行 28: | 行 22: | ||
<code console> | <code console> | ||
- | tcpdump -nne -i bond1.302 not arp and icmp and host 8.8.8.8 | + | # tcpdump -nne -i bond1.302 not arp and icmp and host 8.8.8.8 |
</ | </ | ||
行 34: | 行 28: | ||
<code console> | <code console> | ||
- | tcpdump -nne -i eth0 net 192.168.10.0/ | + | # tcpdump -nne -i eth0 net 192.168.10.0/ |
</ | </ | ||
行 40: | 行 34: | ||
< | < | ||
- | tcpdump -nne -i eth0 ether dst ff: | + | # tcpdump -nne -i eth0 ether dst ff: |
</ | </ | ||
行 46: | 行 40: | ||
<code console> | <code console> | ||
- | tcpdump -nne -i eth0 src net 192.168.10.0/ | + | # tcpdump -nne -i eth0 src net 192.168.10.0/ |
- | tcpdump -nne -i eth0 dst net 192.168.10.0/ | + | # tcpdump -nne -i eth0 dst net 192.168.10.0/ |
</ | </ | ||