test

TCP dump and traceroute In Debian

[root@setup1v:~]# tcpdump -ni enp5s0f0.778 icmp and ip host 10.101.0.1 -vv
tcpdump: listening on enp5s0f0.778, link-type EN10MB (Ethernet), capture size 262144 bytes
13:19:16.350652 IP (tos 0x0, ttl 255, id 40984, offset 0, flags [DF], proto ICMP (1), length 56)
    10.101.0.1 > 10.101.0.254: ICMP time exceeded in-transit, length 36
    IP (tos 0x0, ttl 1, id 26194, offset 0, flags [none], proto ICMP (1), length 60)
    10.101.0.254 > 10.196.126.4: ICMP echo request, id 7238, seq 1, length 40

[root@setup1v:~]# traceroute -nI -q1 10.120.0.20 -w 1
traceroute to 10.120.0.20 (10.120.0.20), 30 hops max, 60 byte packets
 1  10.101.0.1  31.965 ms
 2  10.120.0.20  0.202 ms
-w waittime, --wait=waittime in traceroute
   Set the time (in seconds) to wait for a response  to  a  probe  (default  5.0 sec).
dpkg-divert --package itim-dns-caching --remove --rename --divert /etc/resolv.conf.itim-orig /etc/resolv.conf
tcpdump -ni eth1.4080 udp -Av
tcpdump -ni eth1.4080 udp port 5060 -Av
tcpdump -ni eth1.4081 udp port 5060 -Av 
tcpdump -ni eth1.4081 udp port 5060 -Av 
tcpdump -ni eth1.4080 udp port 5060 -Av 
tcpdump -ni eth1.4080 udp -Av -w /tmp/t.cap
TCP dump and traceroute In Debian TCP dump and traceroute In Debian Reviewed by phucvm on tháng 11 12, 2019 Rating: 5

Không có nhận xét nào:

Được tạo bởi Blogger.