--- knockd-0.5/knockd.conf 2004-05-07 00:56:03.000000000 +0200 +++ knockd-0.5.new/knockd.conf 2007-12-09 20:50:39.000000000 +0100 @@ -1,15 +1,15 @@ [options] - logfile = /var/log/knockd.log + UseSyslog [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