2 # Received packets collection script.
3 # Run this script on @@S as root, saying:
4 # ./on-dest.sh PART [<other tcpdump options>]
5 # where PART ranges from 1 to 100
7 if [ $# -lt 1 ]; then echo >&2 'PART?'; exit 1; fi
10 exec tcpdump -ps@@M -w recv-$part.pcap "$@" \
11 src host @@S and dst host @@D