From e8a0142480406407822432c370bf116688db5a81 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 7 Mar 2017 10:48:24 -0800 Subject: [PATCH] Document tcp:!syn support Signed-off-by: Tom Eastep --- Shorewall/manpages/shorewall-rules.xml | 11 ++++++++--- Shorewall6/manpages/shorewall6-rules.xml | 6 ++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Shorewall/manpages/shorewall-rules.xml b/Shorewall/manpages/shorewall-rules.xml index cc64a0f9e..bee5cebac 100644 --- a/Shorewall/manpages/shorewall-rules.xml +++ b/Shorewall/manpages/shorewall-rules.xml @@ -729,7 +729,9 @@ (the PROTO column - must specify TCP) + must specify TCP). Beginning with Shorewall 5.1.3, this + option may also be specified as + . @@ -1592,7 +1594,7 @@ PROTO- {-|tcp:syn|tcp:[!]syn|ipp2p|ipp2p:udp|ipp2p:all|protocol-number|protocol-name|tcp:syn implies tcp plus the SYN flag must be set and the - RST,ACK and FIN flags must be reset. + RST, ACK and FIN flags must be reset. Beginning with Shorewall + 5.1.3, you may also specify tcp:!syn, which matches if SYN is not set or + if RST, ACK or FIN is set. Beginning with Shorewall 4.4.19, this column can contain a comma-separated list of protocol-numbers and/or protocol diff --git a/Shorewall6/manpages/shorewall6-rules.xml b/Shorewall6/manpages/shorewall6-rules.xml index 439854594..9ad7ab15a 100644 --- a/Shorewall6/manpages/shorewall6-rules.xml +++ b/Shorewall6/manpages/shorewall6-rules.xml @@ -1392,7 +1392,7 @@ PROTO - {-|tcp:syn|tcp:[!]syn|ipp2p|ipp2p:udp|ipp2p:all|protocol-number|protocol-name|tcp:syn implies tcp plus the SYN flag must be set and the - RST,ACK and FIN flags must be reset. + RST,ACK and FIN flags must be reset. Beginning with Shorewall 5.1.3, + you may also specify tcp:!syn, + which matches if SYN is not set or if RST, ACK or FIN is set. Beginning with Shorewall6 4.4.19, this column can contain a comma-separated list of protocol-numbers and/or protocol names