aboutsummaryrefslogtreecommitdiffstats
path: root/security/sshit/pkg-plist
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-12-19 00:03:28 +0800
committervanilla <vanilla@FreeBSD.org>2005-12-19 00:03:28 +0800
commiteafb51e1a0a4f9580ef8cd3045a115b139604196 (patch)
treef0666491e0354d2c237539b13fa11ca4fb29b3bd /security/sshit/pkg-plist
parentad5e80e4f42faa94cd7d560f6a8936e851ea5e6b (diff)
downloadfreebsd-ports-gnome-eafb51e1a0a4f9580ef8cd3045a115b139604196.tar.gz
freebsd-ports-gnome-eafb51e1a0a4f9580ef8cd3045a115b139604196.tar.zst
freebsd-ports-gnome-eafb51e1a0a4f9580ef8cd3045a115b139604196.zip
Add sshit 0.5, checks for SSH/FTP bruteforce and blocks given IPs.
PR: ports/90603 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
Diffstat (limited to 'security/sshit/pkg-plist')
-rw-r--r--security/sshit/pkg-plist4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/sshit/pkg-plist b/security/sshit/pkg-plist
new file mode 100644
index 000000000000..35eacea9b940
--- /dev/null
+++ b/security/sshit/pkg-plist
@@ -0,0 +1,4 @@
+@unexec if cmp -s %D/etc/sshit.conf %D/etc/sshit.conf-dist; then rm -f %D/etc/sshit.conf; fi
+etc/sshit.conf-dist
+@exec if [ ! -f %D/etc/sshit.conf ] ; then cp -p %D/%F %B/sshit.conf; fi
+sbin/sshit