tcpdump
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tcpdump [2017/03/23 08:25] – luke7858 | tcpdump [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/ | + | > Replace |
- | \\ | + | > Replace |
- | 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" | tcpdump -nn -tttt -i eth0 "dst port 3306" and "dst host x.x.x.x" | ||
Line 27: | Line 26: | ||
IP x.x.x.190.26753 > x.x.x.129.443: | IP x.x.x.190.26753 > x.x.x.129.443: | ||
</ | </ | ||
+ | \\ | ||
+ | \\ | ||
Description: | Description: | ||
<sxh bash> | <sxh bash> |
tcpdump.1490257553.txt.gz · Last modified: 2024/05/23 07:26 (external edit)