1aea35ae9b
Snort2Pf is a small Perl daemon which greps Snort's alertfile and blocks the "naughty" hosts for a given amount of time using pfctl. feedback/ok aja@
15 lines
196 B
Bash
15 lines
196 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: snort2pf.rc,v 1.1.1.1 2011/03/10 13:42:30 jasper Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/snort2pf"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="perl: snort2pf"
|
|
|
|
rc_bg=YES
|
|
rc_reload=NO
|
|
|
|
rc_cmd $1
|