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:26] 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"
tcpdump.1490257614.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