User Tools

Site Tools


tcpdump

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tcpdump [2017/03/23 08:25] luke7858tcpdump [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 7: Line 7:
 In the following example In the following example
 \\ \\
-Replace x.x.x.x with the IP of the machine you are running the dump from. This IP depends on the interface (public/private) +Replace **//x.x.x.x//** with the IP of the machine you are running the dump from. This IP depends on the interface (public/private) 
-\\ +Replace **//y.y.y.y//** with the source IP. Example, server you are connecting FROM
-Replace y.y.y.y with the source IP. Example, server you are connecting FROM+
 <sxh bash> <sxh bash>
 tcpdump -nn -tttt -i eth0 "dst port 3306" and "dst host x.x.x.x" and "src host y.y.y.y" tcpdump -nn -tttt -i eth0 "dst port 3306" and "dst host x.x.x.x" and "src host y.y.y.y"
Line 27: Line 26:
 IP x.x.x.190.26753 > x.x.x.129.443: Flags [P.], seq 1:518, ack 1, win 229, options [nop,nop,TS val 176708934 ecr 180471895], length 517 IP x.x.x.190.26753 > x.x.x.129.443: Flags [P.], seq 1:518, ack 1, win 229, options [nop,nop,TS val 176708934 ecr 180471895], length 517
 </sxh> </sxh>
 +\\
 +\\
 Description: Capture packets and it has time stamps Description: Capture packets and it has time stamps
 <sxh bash> <sxh bash>
tcpdump.1490257553.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki