#!/sbin/sh # # powered by: Andre' Lue # ident : @(#)sniff ver 1.0.0 06/05/2001 06/05/2001 ASL # signature : UNLEASH HELL # INT="bge1" IFCFG="/sbin/ifconfig" case "${1}" in 'start') # start snort echo "ARPing SNORT Interface." ${IFCFG} ${INT} plumb ${IFCFG} ${INT} -arp up sleep 1 ${IFCFG} ${INT} down ;; 'stop') echo "stopping SNORT Interface." ${IFCFG} ${INT} down exit 0 ;; *) echo "\nusage: ${0} { start | stop }\n" exit 1 ;; esac exit 0