public:tcp_dump
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
public:tcp_dump [2020/10/11 13:00] – created rhudak | public:tcp_dump [2024/01/25 03:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
If you ssh into a computer and want to use tcpdump to view traffic, ssh (22) can be excluded | If you ssh into a computer and want to use tcpdump to view traffic, ssh (22) can be excluded | ||
- | tcpdump -I [interface] -n ' | + | tcpdump -i [interface] -n ' |
Capture traffic leaving a host | Capture traffic leaving a host | ||
tcpdump -pi [interface] src host [hostname] | tcpdump -pi [interface] src host [hostname] | ||
Line 8: | Line 8: | ||
tcpdump -pi [interface] src net [network] and dst net [network2] or [network3] | tcpdump -pi [interface] src net [network] and dst net [network2] or [network3] | ||
tcpdump -pi [interface] src net 128.128.252.0/ | tcpdump -pi [interface] src net 128.128.252.0/ | ||
+ | Capture UDP packets from an interface in HEX | ||
+ | tcpdump -XX -I [interface] |
public/tcp_dump.1602421246.txt.gz · Last modified: 2024/01/25 03:32 (external edit)