This tool is providet from the afterglow project and very usefull, to analyse the traffic
Example:
tcpdump -vttttnneli eth0 | tcpdump2csv.pl "sip dip dport"
generate the following output
192.168.2.100,195.186.1.110,53
192.168.2.100,195.186.1.110,53
192.168.2.100,193.99.144.85,80
192.168.2.100,193.99.144.85,80
192.168.2.100,193.99.144.85,80
192.168.2.100,193.99.144.85,80
192.168.2.100,193.99.144.85,80
192.168.2.100,195.186.1.110,53
195.186.1.110,192.168.2.100,32787
192.168.2.100,193.99.144.86,80
192.168.2.100,193.99.144.86,80
192.168.2.100,193.99.144.85,80
192.168.2.100,193.99.144.85,80
192.168.2.100,193.99.144.85,80
192.168.2.100,195.186.1.110,53
195.186.1.110,192.168.2.100,32786
192.168.2.100,213.229.61.37,80
192.168.2.100,193.99.144.86,80
192.168.2.100,193.99.144.86,80
Possible Options of tcpdump2csv.pl are:
timestamp | Timestamp |
dip | Destination IP |
sip | Source IP |
ttl | Time to Live |
tos | Type of Service |
offset | Offset |
flags | Flags |
len | Length |
sourcemac | Souce Macaddress |
detsmac | Destination Macaddress |
ipflags | IP Flags |
sport | Source Port |
dport | Destination Port |
This output is very usefull for analysing in scripts, or grafik tools.
tcpdump2csv.pl (from local site)
afterglow website