Line buffering of the result is better.

This commit is contained in:
Andrew McMillan 2007-11-04 23:12:50 +13:00
parent 87f67589c4
commit c1abc85026

View File

@ -2,4 +2,4 @@
PORT=${1:-"80"}
sudo tcpdump -i lo -s0 -n -q -A "tcp port ${PORT} and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)"
sudo tcpdump -i any -s0 -l -n -q -A "tcp port ${PORT} and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)"