to 131.179.192.163.80 trace.txt | grep S | src | ip | sort | uniq -c | awk '{print $2 "." $1}' | sort -t. -n -k1,1 -k2,2 -k3,3 -k4,4 | sed -r 's/\.([0-9]+)$/ \1/' | awk '{print $2 "\t" $1}'
to, src, and ip are aliases to make parsing tcpdump output easier. The second sort sorts IP addresses properly (bytewise). The rest is hackery to make the
(
Read more... )