tcpdump -e host 192.168.2.101
beyes@beyes-groad:~$ telnet 192.168.2.101
Trying 192.168.2.101...
Connected to 192.168.2.101.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
[root@localhost beyes]# /usr/sbin/tcpdump -e host 192.168.2.101
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
22:32:14.868651 00:1b:11:b5:a9:fe (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 60: arp who-has 192.168.2.101 tell 192.168.2.100
22:32:35.210733 00:c0:9f:8d:06:77 (oui Unknown) > 00:1b:11:b5:a9:fe (oui Unknown), ethertype ARP (0x0806), length 42: arp reply 192.168.2.101 is-at 00:c0:9f:8d:06:77 (oui Unknown)
22:32:14.869184 00:1b:11:b5:a9:fe (oui Unknown) > 00:c0:9f:8d:06:77 (oui Unknown), ethertype IPv4 (0x0800), length 74: 192.168.2.100.46240 > 192.168.2.101.telnet: S 1784537691:1784537691(0) win 5840 <mss 1460,sackOK,timestamp 2672563 0,nop,wscale 6>
22:32:14.869271 00:c0:9f:8d:06:77 (oui Unknown) > 00:1b:11:b5:a9:fe (oui Unknown), ethertype IPv4 (0x0800), length 74: 192.168.2.101.telnet > 192.168.2.100.46240: S 974142073:974142073(0) ack 1784537692 win 5792 <mss 1460,sackOK,timestamp 6316065 2672563,nop,wscale 4>
22:32:14.869839 00:1b:11:b5:a9:fe (oui Unknown) > 00:c0:9f:8d:06:77 (oui Unknown), ethertype IPv4 (0x0800), length 66: 192.168.2.100.46240 > 192.168.2.101.telnet: . ack 1 win 92 <nop,nop,timestamp 2672565 6316065>
22:32:14.869946 00:1b:11:b5:a9:fe (oui Unknown) > 00:c0:9f:8d:06:77 (oui Unknown), ethertype IPv4 (0x0800), length 93: 192.168.2.100.46240 > 192.168.2.101.telnet: P 1:28(27) ack 1 win 92 <nop,nop,timestamp 2672565 6316065>
22:32:14.869976 00:c0:9f:8d:06:77 (oui Unknown) > 00:1b:11:b5:a9:fe (oui Unknown), ethertype IPv4 (0x0800), length 66: 192.168.2.101.telnet > 192.168.2.100.46240: . ack 28 win 362 <nop,nop,timestamp 6316066 2672565>
22:32:14.876638 00:c0:9f:8d:06:77 (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 42: arp who-has 192.168.2.1 tell 192.168.2.101
8 packets captured
23 packets received by filter
0 packets dropped by kernel
以太网首部(14字节) | IP首部(20字节) | TCP首部(20字节) | 应用数据 | 以太网尾部(4字节) |
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |