[SATLUG] help with tcpdump (grab a beer its a long post)

redpill toddwbucy at grandecom.net
Fri Feb 19 14:31:50 CST 2010


Update: Before I sent the out the last post, I forgot to check the test
file, which was empty.
I have changed the script as such:

sudo tcpdump -nXSe -C 256 -G 30 -i wlan0 -W 120 'tcp[13]==18 ||
tcp[13]==16 || tcp[13]=4 || tcp[13]==2 || tcp[13]=1'| tee
tcpdump/text/tcpdump.021910.

problem is that the text files are still not written sequentially and
packets are all in one text file.  Is it possible to output directly to
awk is some way?  

Thanks
Todd



More information about the SATLUG mailing list