Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filtring connections with tcpdump

Status
Not open for further replies.

haneo

Programmer
Joined
Jan 2, 2002
Messages
274
Location
CA
I want to see with tcpdump only traffic betwwen PC A & PC B what argument to give to tcpdump ?

Thanks.
 
#tcpdump host pcA and pcB
let me know if it works
 
Or
tcpdump | grep <host IP>

Laurie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top