We have a small script that essentially does the following:
A) Capture packets using tcpdump and pipe to output file.
B) Run our own clean + sort script on output file.
C) Display results using | sort | etc etc...
So, we were wondering if there is a tcpdump parameter that sets the number of packets tcpdump will capture before exiting?
Thanks.