RSS

Traffic Capture – tcpdump

09 Oct

Packet Sniffer

[root@svnlabs ~]# 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

Advertisements
 
2 Comments

Posted by on October 9, 2009 in Fedora, LAMP, Linux, Tips, Tricks

 

Tags: , , , , , , ,

2 responses to “Traffic Capture – tcpdump

  1. Polprav

    October 17, 2009 at 10:54 am

    Hello from Russia!
    Can I quote a post in your blog with the link to you?

     
    • admin

      October 17, 2009 at 10:04 pm

      Yes, sure provide me article or url you want to post here…

       

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: