From: "Murat Demirten" Subject: Strange icmp nat problem Date: Sat, 6 Sep 2008 16:20:31 +0300 Message-ID: <49f03c7f0809060620q32cb4e0bv3819bb09abcd5cac@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: netfilter-devel@vger.kernel.org Return-path: Received: from fk-out-0910.google.com ([209.85.128.184]:52966 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751504AbYIFNUd (ORCPT ); Sat, 6 Sep 2008 09:20:33 -0400 Received: by fk-out-0910.google.com with SMTP id 18so585115fkq.5 for ; Sat, 06 Sep 2008 06:20:31 -0700 (PDT) Content-Disposition: inline Sender: netfilter-devel-owner@vger.kernel.org List-ID: Hi, I have a very strange icmp nat problem with the kernel 2.4.17. Here is the case: - Our Linux 2.4.17 gateway up and running - We start to ping a remote system from windows(local ip: 172.16.2.17) like that (ping -t foo.com) - We just reboot the Linux gateway - When the gateway is up and running again, windows client can not get ping response, still says timeout When I sniff the icmp traffic on remote side (foo.com) I see that icmp echo request packets comes with an un-nated ip address: 172.16.2.17 > foo.com: icmp 40: echo request seq 43521 But as you can see, our gateway acts as a standart router, doesn't make any network address translation and just forwards packets with original source ip. If we try same case with a Linux client, everything works fine, we can get the icmp echo response packets. I tried http://www.mail-archive.com/netfilter-devel@lists.samba.org/msg00755.html patch but doesn't change anything. If I insert a rule like that: iptables -I OUTPUT -p icmp -m state --state INVALID -j DROP sometimes Windows clients start to work too (%50-50). This problem doesn't exist kernel 2.4.30+ or 2.6.X Anyone has a suggestion? Why kernel doesn't runs NAT routine for the packets generated by Windows?