diff --git a/manpages/shorewall-policy.xml b/manpages/shorewall-policy.xml index 4438a164e..3334feb8d 100644 --- a/manpages/shorewall-policy.xml +++ b/manpages/shorewall-policy.xml @@ -85,6 +85,7 @@ role="bold">REJECT|CONTINUE|QUEUE|NFQUEUE[/queuenumber]|NONE}[:{default-action-or-macro|None}] @@ -158,6 +159,17 @@ + + NFQUEUE + + + Queue the request for a user-space application using the + nfnetlink_queue mechanism. If a + queuenumber is not given, queue + zero (0) is assumed. + + + CONTINUE diff --git a/manpages/shorewall-rules.xml b/manpages/shorewall-rules.xml index 2edb31bf2..f660eb913 100644 --- a/manpages/shorewall-rules.xml +++ b/manpages/shorewall-rules.xml @@ -123,7 +123,8 @@ role="bold">CONTINUE[]|LOG|QUEUE[]|COMMENT|action|macro[NFQUEUE[/queuenumber]|COMMENT|action|macro[/target]}[:{log-level|none}[ + + NFQUEUE + + + Only supported by Shorewall-perl >= 4.0.3. + + Queues the packet to a user-space application using the + nfnetlink_queue mechanism. If a + queuenumber is not specified, queue + zero (0) is assumed. + + + + + NFQUEUE! + + + like NFQUEUE but exempts the rule from being suppressed + by OPTIMIZE=1 in shorewall.conf(5). + + + COMMENT diff --git a/manpages/shorewall.conf.xml b/manpages/shorewall.conf.xml index 3cac01a50..13856dbbd 100644 --- a/manpages/shorewall.conf.xml +++ b/manpages/shorewall.conf.xml @@ -106,20 +106,30 @@ role="bold">QUEUE_DEFAULT={action|macro|none} + + + + + + + NFQUEUE_DEFAULT={action|macro|none} (Shorewall-perl 4.0.3 and later) + In earlier Shorewall versions, a "default action" for DROP and REJECT policies was specified in the file /usr/share/shorewall/actions.std. To allow for default rules to be applied when USE_ACTIONS=No, - the DROP_DEFAULT, REJECT_DEFAULT, ACCEPT_DEFAULT and QUEUE_DEFAULT - options have been added. + the DROP_DEFAULT, REJECT_DEFAULT, ACCEPT_DEFAULT, QUEUE_DEFAULT and + NFQUEUE_DEFAULT options have been added. DROP_DEFAULT describes the rules to be applied before a connection request is dropped by a DROP policy; REJECT_DEFAULT describes the rules to be applied if a connection request is - rejected by a REJECT policy. The other two are similar for ACCEPT - and QUEUE policies. + rejected by a REJECT policy. The other three are similar for ACCEPT, + QUEUE and NFQUEUE policies. The value applied to these may be: @@ -144,6 +154,8 @@ ACCEPT_DEFAULT="none" QUEUE_DEFAULT="none" + + NFQUEUE_DEFAULT="None" If USE_ACTIONS=Yes, then these values refer to action.Drop and