ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: [Wireshark-users] tcpdump command

From: Kaushal Shriyan <kaushalshriyan@xxxxxxxxx>
Date: Thu, 5 Mar 2009 17:41:44 +0530
Hi,

is this below command correct ?

tcpdump -i eth0 -s 0 -w noroutehostdump host 172.20.0.14 and port 8080 and host 172.20.0.15 and port 8080

Actually i want to capture packets originating from host 172.20.0.14 through 8080 and destination host 172.20.0.15 to port 8080

Please suggest

Expecting your earnest reply

Thanks and Regards

Kaushal