openbsd-ports/security/snort2pf/pkg/snort2pf.rc
jasper 1aea35ae9b import snort2pf 4.5
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@
2011-03-10 13:42:30 +00:00

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