User Tools

Site Tools


public:tcp_dump

Differences

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

Link to this comparison view

Next revision
Previous revision
public:tcp_dump [2020/10/11 13:00] – created rhudakpublic: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 -[interface] -n 'port!22'+  tcpdump -[interface] -n 'port!22'
 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/28 and dst 192.168.11.0/24 or 192.168.12/24   tcpdump -pi [interface] src net 128.128.252.0/28 and dst 192.168.11.0/24 or 192.168.12/24
 +Capture UDP packets from an interface in HEX
 +  tcpdump -XX -I [interface]  port [UDP port]
public/tcp_dump.1602421246.txt.gz · Last modified: 2024/01/25 03:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki