diff options
author | Brad Davis <brd@FreeBSD.org> | 2018-07-31 16:39:38 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2018-07-31 16:39:38 +0000 |
commit | 6d88443da14497f39e4e770bf410b6b21d869539 (patch) | |
tree | 0b7861f28b5c052460ac19c69c6692ee29661f82 /usr.sbin | |
parent | 53fb9a2475959f7344bb2ee82a0f672e8f0c1be8 (diff) | |
download | src-test-6d88443da14497f39e4e770bf410b6b21d869539.tar.gz src-test-6d88443da14497f39e4e770bf410b6b21d869539.zip |
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/blacklistd/Makefile | 1 | ||||
-rw-r--r-- | usr.sbin/blacklistd/blacklistd.conf | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/usr.sbin/blacklistd/Makefile b/usr.sbin/blacklistd/Makefile index 6f2b64476a11d..8c9a354a7fb32 100644 --- a/usr.sbin/blacklistd/Makefile +++ b/usr.sbin/blacklistd/Makefile @@ -3,6 +3,7 @@ BLACKLIST_DIR=${SRCTOP}/contrib/blacklist .PATH: ${BLACKLIST_DIR}/bin ${BLACKLIST_DIR}/port +CONFS= blacklistd.conf PROG= blacklistd SRCS= blacklistd.c conf.c run.c state.c support.c internal.c \ sockaddr_snprintf.c pidfile.c strtoi.c popenve.c diff --git a/usr.sbin/blacklistd/blacklistd.conf b/usr.sbin/blacklistd/blacklistd.conf new file mode 100644 index 0000000000000..2b1cf87e60c9e --- /dev/null +++ b/usr.sbin/blacklistd/blacklistd.conf @@ -0,0 +1,17 @@ +# $FreeBSD$ +# +# Blacklist rule +# adr/mask:port type proto owner name nfail disable +[local] +ssh stream * * * 3 24h +ftp stream * * * 3 24h +smtp stream * * * 3 24h +submission stream * * * 3 24h +#6161 stream tcp6 christos * 2 10m +* * * * * 3 60 + +# adr/mask:port type proto owner name nfail disable +[remote] +#129.168.0.0/16 * * * = * * +#6161 = = = =/24 = = +#* stream tcp * = = = |