LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3972/0)
Reviews (626/0)
Press Releases (464/0)
Distributions (187/0)
Software (807/0)
Hardware (522/0)
Security (192/0)
Tutorials (337/0)
Off Topic (180/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events



CLI Magic: Tcpdump   
Monday, January 17 2005 @ 04:59 PM EST
Contributed by: glosser

Linux.com continues their CLI tutorial series with this article on tcpdump.

Don't worry, I'm not going to try to turn you into to a network security analyst or administrator. But if you're interested in what's happening under the hood on your Internet connection, I'll be happy to introduce you to an old and respected command-line tool. Come on, pull that many-pixeled GUI quilt off of you and meet me at the CLI for a look at tcpdump.

Most distributions include tcpdump out of the box, and most require that you run it as root. So as super user, simply enter tcpdump at the command line. It will take the default values and go, pumping out packets as they are received. Here's what it looks like starting out on my desktop box:

# tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
09:44:52.149255 IP xenon.oftc.net.6667 > 192.168.0.103.33091: P 3312142394:3312142472(78) ack
3550737549 win 5792

Unless you are used to looking at dumped TCP/IP packets, it doesn't exactly overwhelm you with usable information, does it? Let's take a look at some of the options for formatting the output that might make it a little more human-readable.

Full tutorial

  [ Views: 1415 ]  


CLI Magic: Tcpdump | 0 comments | Create New Account
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No user comments.


What's Related
  • Full tutorial
  • More by glosser
  • More from Tutorials


  • Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, and SQL.

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved