From: =?koi8-r?Q?=F0=CF=CB=CF=D4=C9=CC=C5=CE=CB=CF_?= =?koi8-r?Q?=EB=CF=D3=D4=C9=CB?= Subject: Re: NOTRACK not working Date: Tue, 26 Jan 2010 20:49:58 +0200 Message-ID: <1264531798.4004.67.camel@casper.meteor.dp.ua> References: <4B5F36B7.5010004@conversis.de> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4B5F36B7.5010004@conversis.de> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="koi8-r" To: "Dennis J." Cc: netfilter@vger.kernel.org =F7 =F7=D4=CF, 26/01/2010 =D7 19:38 +0100, Dennis J. =D0=C9=DB=C5=D4: > Hi, > For a while now I excluded two IPs on my firewall from connection tra= cking=20 > which works very well. Now I tried adding another IP but that doesn't= seem=20 > to work. I added the following rules: >=20 > iptables -t raw -A PREROUTING -s 192.168.10.10 -j NOTRACK > iptables -t raw -A PREROUTING -d 192.168.10.10 -j NOTRACK >=20 > Yet when I look in /proc/net/ip_conntrack I still see 192.168.10.10 u= sing=20 > up most of the entries. > Is there something else that needs to be done to exclude this IP comp= letely=20 > from the connection tracking table? Probably conntrack has seen packets from this IP before you added those rules, they will remain until connection is "closed" and/or timeout occurs. Quick hack is to do "conntrack -F; conntrack -F expect". --=20 =F0=CF=CB=CF=D4=C9=CC=C5=CE=CB=CF =EB=CF=D3=D4=C9=CB