chiark / gitweb /
Templates for scripts. Monitoring script. Do not depend on time of generation at...
[vinegar-ip.git] / monitor.template
1 #!/bin/sh
2 # Monitoring script.  Run on destination or source.
3 # Run this script on @@S or @@D as root, saying:
4 #   ./monitor.sh [<other tcpdump options>]
5
6 exec tcpdump -lnvvps@@M "$@" \
7  src host @@S and dst host @@D