LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2008, 04:13 AM   #1
jagdishpsp
LQ Newbie
 
Registered: Oct 2008
Posts: 12

Rep: Reputation: 0
how to use tcpdump command


Hello all,

Can anybody please tell how to use tcpcommand?

Regards,
Jagdishwar
 
Old 10-15-2008, 04:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 10-15-2008, 05:50 AM   #3
mabin
LQ Newbie
 
Registered: Oct 2008
Posts: 15

Rep: Reputation: 0
Hello

MAN pages will help you a lot here. If you have any particular requirements let me knoe, I will help you out.
 
Old 10-15-2008, 06:38 AM   #4
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
This is a decent guide: http://www.alexandersandler.net/tcpdump-for-dummies
 
Old 10-15-2008, 11:19 PM   #5
jagdishpsp
LQ Newbie
 
Registered: Oct 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks!!

Jagdish
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After adding default gw, the tcpdump & route command work strange. meir_katz Linux - Newbie 2 01-01-2008 05:27 AM
TCPDUMP or what ? czezz Linux - Networking 5 02-05-2006 10:39 AM
10.1 and tcpdump pr0nd3xtr Slackware - Installation 0 03-09-2005 03:37 PM
How to use tcpdump command to post a special type? jerrytw Linux - Networking 1 11-08-2004 08:56 AM
tcpdump -w command doesn't write to file andykerouac Linux - Networking 2 03-03-2004 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration