LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to use tcpdump command (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-tcpdump-command-676450/)

jagdishpsp 10-15-2008 04:13 AM

how to use tcpdump command
 
Hello all,

Can anybody please tell how to use tcpcommand?

Regards,
Jagdishwar

acid_kewpie 10-15-2008 04:58 AM

well we aren't her4e to recite standard documentation for you, that's what a manpage is for, but it depends what you want to achieve as to how you use it. by default just run tcpdump with no options and it will show you all traffic on your first external network adapter. you can then use other options to modify it's behaviour and add an expression to filter the traffic e.g. "tcpdump -vn -i eth1 host 192.168.23.45 and port 25" will connect to eth1 and show verbose (v) output without name resolution (n) of all traffic involving ip address 192.168.23.45 and port 25.

mabin 10-15-2008 05:50 AM

Hello

MAN pages will help you a lot here. If you have any particular requirements let me knoe, I will help you out.

indeliblestamp 10-15-2008 06:38 AM

This is a decent guide: http://www.alexandersandler.net/tcpdump-for-dummies

jagdishpsp 10-15-2008 11:19 PM

Thanks!!

Jagdish


All times are GMT -5. The time now is 03:26 PM.