From: Pascal Hambourg Subject: tcp match --syn option and FIN flag Date: Thu, 12 Jul 2007 23:12:27 +0200 Message-ID: <4696993B.6070605@plouf.fr.eu.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Liste Netfilter Hello, Found in iptables 1.3.2 changelog : - Include FIN bit in mask of "--syn" bits With this change a TCP packet must have the FIN flag cleared in order to match the --syn option, while it was not necessary with previous iptables versions. Why ? Isn't the SYN flag supposed to have precedence over the FIN flag, so shouldn't FIN be ignored when SYN is set ? Besides, this change has been applied only to libipt_tcp.c, not to libip6t_tcp.c. Is there a reason to this ? Thanks for your attention.