Postitatud: 12.01.2012, 08:54
icmp küsimus ju ma arvan ei saa olla..kui ühtepidi pingib..kuid teistpidi mitte..see käesk iptables -L -n|grep icmp ei räägi mulle ühtegi juttu..
linuxiteemaline portaal
https://pingviin.org/
Kood: Vali kõik
tcpdump -vnnSs 0 -c 2 icmp -i eth0
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
13:15:27.498763 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.74.44 > 192.168.48.68: ICMP echo request, id 26547, seq 1, length 64
13:15:27.500697 IP (tos 0x0, ttl 63, id 54202, offset 0, flags [none], proto ICMP (1), length 84)
192.168.48.68 > 192.168.74.44: ICMP echo reply, id 26547, seq 1, length 64
2 packets captured
2 packets received by filter
0 packets dropped by kernelKood: Vali kõik
tcpdump -vnnSs 0 -c 2 icmp -i eth0
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
13:15:27.541659 IP (tos 0x0, ttl 63, id 0, offset 0, flags [DF], proto 1, length: 84) 192.168.74.44 > 192.168.48.68: icmp 64: echo request seq 1
13:15:27.541862 IP (tos 0x0, ttl 64, id 54202, offset 0, flags [none], proto 1, length: 84) 192.168.48.68 > 192.168.74.44: icmp 64: echo reply seq 1
2 packets captured
2 packets received by filter
0 packets dropped by kernel