diff --git a/docs/PortKnocking.xml b/docs/PortKnocking.xml index 65cc4d781..19f4e85e2 100644 --- a/docs/PortKnocking.xml +++ b/docs/PortKnocking.xml @@ -36,6 +36,13 @@ + + The feature described in this article require 'Recent Match' in + your iptables and kernel. See the output of shorewall show + capabilities to see if you have that match. + +
What is Port Knocking? @@ -141,9 +148,9 @@ SSHKnock net loc:192.168.1.5 tcp 22 - url="???">Shorewall SVN and installed manually. - Beginning with Shorewall 3.0.4, Shorewall has a 'Limit' action. - Limit is invoked with a comma-separated list in place of a logging tag. - The list has three elements: + Beginning with Shorewall 3.0.4, Shorewall has a 'Limit' action. Limit is invoked with a comma-separated + list in place of a logging tag. The list has three elements: @@ -165,7 +172,8 @@ SSHKnock net loc:192.168.1.5 tcp 22 - Connections that exceed the specified rate are dropped. For example,to use a recent set name of SSHA, and to limiting SSH to 3 per minute: + role="bold">SSHA, and to limiting SSH to 3 per minute, use this + entry in /etc/shorewall/rules: #ACTION SOURCE DEST PROTO DEST PORT(S) Limit:none:SSHA,3,60 net $FW tcp 22