summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Nigbur <pyrania@gentoo.org>2004-08-27 11:33:04 +0000
committerMarkus Nigbur <pyrania@gentoo.org>2004-08-27 11:33:04 +0000
commitafe0cd31cdb99c8070b419d84fac8ed44dbb7572 (patch)
treedb72788d13cfaa128b9e0173b3520cb6854bb689 /net-misc/knock/files
parentversion bump (diff)
downloadhistorical-afe0cd31cdb99c8070b419d84fac8ed44dbb7572.tar.gz
historical-afe0cd31cdb99c8070b419d84fac8ed44dbb7572.tar.bz2
historical-afe0cd31cdb99c8070b419d84fac8ed44dbb7572.zip
Closed bugs #59315, #59265 and #59251.
Diffstat (limited to 'net-misc/knock/files')
-rw-r--r--net-misc/knock/files/knockd.conf.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/knock/files/knockd.conf.patch b/net-misc/knock/files/knockd.conf.patch
new file mode 100644
index 000000000000..7154ad646f78
--- /dev/null
+++ b/net-misc/knock/files/knockd.conf.patch
@@ -0,0 +1,18 @@
+diff -Naur knock-0.3/knockd.conf knock-0.3_/knockd.conf
+--- knock-0.3/knockd.conf 2004-05-07 00:56:03.000000000 +0200
++++ knock-0.3_/knockd.conf 2004-08-27 13:23:51.103555768 +0200
+@@ -4,12 +4,12 @@
+ [openSSH]
+ sequence = 7000,8000,9000
+ seq_timeout = 5
+- command = /usr/sbin/iptables -A INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
++ command = /sbin/iptables -A INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
+ tcpflags = syn
+
+ [closeSSH]
+ sequence = 9000,8000,7000
+ seq_timeout = 5
+- command = /usr/sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
++ command = /sbin/iptables -D INPUT -s %IP% -p tcp --dport 22 -j ACCEPT
+ tcpflags = syn
+