]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Adds missing explanations about FIN in mask part of '--syn' in libip[6]_tcp.c
authorPatrick McHardyYasuyuki KOZAKAI <kaber@trash.netyasuyuki@netfilter.org>
Mon, 16 Jul 2007 15:27:38 +0000 (15:27 +0000)
committerPatrick McHardyYasuyuki KOZAKAI <kaber@trash.netyasuyuki@netfilter.org>
Mon, 16 Jul 2007 15:27:38 +0000 (15:27 +0000)
and libip6t_tcp.man.

extensions/libip6t_tcp.c
extensions/libip6t_tcp.man
extensions/libipt_tcp.c

index c2a84e14d0be78f7b409e6580bfe3ea0a40bc9f9..8af65ea89b7bbe303eb90cbae52662f10a8fc6d1 100644 (file)
@@ -16,7 +16,7 @@ help(void)
 " --tcp-flags [!] mask comp    match when TCP flags & mask == comp\n"
 "                              (Flags: SYN ACK FIN RST URG PSH ALL NONE)\n"
 "[!] --syn                     match when only SYN flag set\n"
-"                              (equivalent to --tcp-flags SYN,RST,ACK SYN)\n"
+"                              (equivalent to --tcp-flags SYN,RST,ACK,FIN SYN)\n"
 " --source-port [!] port[:port]\n"
 " --sport ...\n"
 "                              match source port(s)\n"
index 31cc493d8f58da21c9a7c02bdca67b666ef6536d..41b89a40d282e40c68170fb450540603a0a63bd3 100644 (file)
@@ -32,7 +32,7 @@ will only match packets with the SYN flag set, and the ACK, FIN and
 RST flags unset.
 .TP
 .B "[!] --syn"
-Only match TCP packets with the SYN bit set and the ACK and RST bits
+Only match TCP packets with the SYN bit set and the ACK,RST and FIN bits
 cleared.  Such packets are used to request TCP connection initiation;
 for example, blocking such packets coming in an interface will prevent
 incoming TCP connections, but outgoing TCP connections will be
index c712b9279d8c1e3ac3a5f3c8b8b5e8dd5270f718..412b6cfc7deb53c83e9f52fb235e13a2b821dbf0 100644 (file)
@@ -16,7 +16,7 @@ help(void)
 " --tcp-flags [!] mask comp    match when TCP flags & mask == comp\n"
 "                              (Flags: SYN ACK FIN RST URG PSH ALL NONE)\n"
 "[!] --syn                     match when only SYN flag set\n"
-"                              (equivalent to --tcp-flags SYN,RST,ACK SYN)\n"
+"                              (equivalent to --tcp-flags SYN,RST,ACK,FIN SYN)\n"
 " --source-port [!] port[:port]\n"
 " --sport ...\n"
 "                              match source port(s)\n"