iptables man page
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello.
I think there is a bug in iptables man page:
[!] --syn
Only match TCP packets with the SYN bit set and the ACK 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 unaffected. It is equivalent to --tcp-flags SYN,RST,ACK SYN. If the "!" flag precedes the "--syn", the sense of the option is inverted.
so, --syn means to match packets with SYN set, and the ACK and FIN cleared thats not the same as:
--tcp-flags SYN,RST,ACK SYN
which matches packets with SYN flag set, and RST and ACK cleared
- - they are not equivalent.
i've checked - they realy ARE equivalent, so the man page should say:
[!] --syn
Only match TCP packets with the SYN bit set and the
ACK and RST bits cleared............the flag that is cheched is RST not FIN.
- --
Artur Frycze <[email protected]>
Warsaw University of Technology
**********************************************
my PGP public key is available at pgp.mit.edu key fingerprint:
874B 0F52 7A1B BE6F 7232 0931 B2C4 C462 1F80 4A19
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/HGlmssTEYh+AShkRAnyCAJ4xVx2YSUeUuc7MNKBbKdUSe1ZDkQCdEwty 0SNTv8c1GkXLFq1xjezhPw4=
=E6Um
-----END PGP SIGNATURE-----