Re: TCP connection timeout problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is some additional information:

I'm currently running a vanilla kernel 2.6.15.6, but I already observed it with older kernel versions too.... The system is running Debian 3.1 x86 with iptables 1.2.11, but I don't think this really matters.... If you need additional info, please let me know...

Arno

Arno van Amersfoort wrote:
Hello all,

I'm the author of "Arno's Iptables Firewall" (maybe you know). Anyway, I've been experiencing a problem for quite some time know. The problem is that it seems that in once in a while a connection is no longer considered ESTABLISHED by netfilter/iptables, causing the packets to bounce of the firewall like this: Jul 5 18:02:16 rulhm2 kernel: Stealth scan (UNPRIV)?: IN=eth0 OUT= MAC=00:01:02:05:1d:25:00:10:dc:d4:a2:bc:08:00 SRC=x.x.x.x DST=x.x.x.x LEN=41 TOS=0x00 PREC=0x00 TTL=128 ID=26688 DF PROTO=TCP SPT=445 DPT=53205 WINDOW=17053 RES=0x00 ACK URGP=0

In this case it's a connection for used by Samba (port 445). As you can see an TCP packets with the ACK-flag set is bounced of as it's (no longer) catched by my (iptables) ESTABLISHED-rule. This happens for a variety of flag-combinations (like RST, FIN, ACK/FIN etc.). Is there any way I can fix this "nicely", as until know I've always "worked around" this issue with using some general iptables rules which simply drop(ignore) these kind of packets. I'm thinking of some kernel settings (/proc / sysctl) that one might "tweak"....

Thanks for any info anyone can provide....


--
Ing. A.C.J. van Amersfoort (Arno)
Department Of Electronics (ELD, k1007)
Huygens Laboratory
Leiden University
P.O. Box 9504
Niels Bohrweg 2
2333 CA Leiden
The Netherlands
----------------------------------------------------------------
Phone : +31-(0)71-527.1894   Fax: +31-(0)71-527.5819
E-mail: a.c.j.van.amersfoort@xxxxxxxxxxxxxxxxxxxxxxxxx
----------------------------------------------------------------
Arno's (Linux firewall) homepage: http://rocky.eld.leidenuniv.nl



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux