Traffic Capture – tcpdump

On October 9, 2009, in Fedora, Linux, Tips, Tricks, by admin

Packet Sniffer

[root@phpsolutions ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     1      0        0 eth0
default         ip12.mshome.n 0.0.0.0         UG    0      0        0 eth0

# /sbin/route -n

# tcpdump -i eth0 ‘port 80′

# tcpdump -n -c 30000 -w /root/port.80.debug.txt

# tcpdump -X -vv -r /root/port.80.debug.txt

# tcpdump port http -w /home/s.txt (port 80)

Source:
http://www.ntop.org/download.html
http://linux.die.net/man/8/ifconfig
http://en.pudn.com/sourcecode/hack/sniffer/download61.html
http://www.cyberciti.biz/faq/tcpdump-capture-record-protocols-port/
http://openmaniak.com/tcpdump.php#tcp_use# netstat -n

9 Responses to Traffic Capture – tcpdump

  1. Hey, awesome content, but WordPress screws it up on my monitor. Maybe it’s the theme you have on the site. Have you considered a different CMS?

  2. Silvio says:

    I wanted to say your blog is almost amazing. I always like to hear something new about this because I have the similar blog in my Country (paintball sljeme) on this subject so this help´s me a lot. I did a search on the theme and found a good number of blogs but nothing like this.Thanks for sharing so much in your blog.. Greets, Silvio

  3. I didn’t quite follow this to begin with. But when I checked it out a fourth time, it all started to make sense. Thanks for the idea. Definitely something to spend some time on.

  4. Hey, I love what you say, but not with all of it. Regardless, it’s all good material. Well done!

  5. Anonymous says:

    I’ve recently started a blog, the data you provide on this internet site has reduced the problem tremendously. Appreciate your entire time & work…

  6. Anonymous says:

    Thanks a whole lot for ones downright post.here is the words that sustains me on target straight through my day. I have been searching around just for this site after being referred to them at a colleague and was thrilled as i was able to locate it after looking for reasonable length of time. Being a demanding blogger, i’m hopeful to remarked further ones taking initivative and leading to the community. True planned to comment to demonstrate my appreciation for ones website since it is very intelligent to do, and several writers will not accumulate acknowledgment they deserve. I am definite i’ll return to their office all of which will send most of my pals.

  7. Anonymous says:

    I loved this post. You describe this topic perfectly. When hiring home contractors it is key to opt for a trusted name in construction. Experienced and efficient staff should strive for excellence and absorb every detail in your home.

  8. Anonymous says:

    I am extremely impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it’s rare to see a great blog like this one nowadays..

  9. Lowell Vert says:

    I love the expression. Everyone needs to express there own opinion and feel free to hear others. Keep it up :)

Leave a Reply