# /etc/snort/iptsamconf.sh
Usage: iptsamconf.sh [options]
  OPTIONS:
    -f <file>   - load configuration from file
    -s <sid>    - rule SID
    -t <time>   - time for blocking via firewall
    -v          - hide rule content output
    -h          - this help
    -?          - this help
  Examples:
   iptsamconf.sh -f ./iptsamconf.stat.old -v
       Load configuration from ./iptsamconf.stat.old file,
       hide rule content output
   iptsamconf.sh -s 1070 -t 60 -v
       Enable (if already anabled - don't change) fwsam blocking
       on rule with SID=1070 for 60 minutes, hide rule content
   iptsamconf.sh -s 1084
       Disable (if already disabled - don't change) fwsam blocking
       on rule with SID=1084

Snort

© root0.net