Re: Connections and connlimit problem,

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

 



Hello nexor,

Monday, April 5, 2004, 10:23:23 AM, you wrote:

nfp> Hello,
nfp> it's my first post here - so welcome everyone!

nfp> I'm using Debian with kernel 2.4.6. I realized that I have a lot lines
nfp> in ip_conntrack like that:

nfp> tcp 6 431925 ESTABLISHED src=213.155.172.138
nfp> dst=217.17.41.88 sport=1057 dport=8074
nfp> src=217.17.41.88 dst=213.155.172.138 sport=8074 dport=1057 [ASSURED] use=1

nfp> I guess that 431925 (third values) is a timer - means how long this
nfp> connection will be tracked. Value of 431925 (in secs) means about 5
nfp> days... Those connections stay in ip_conntrack even after user reboot or
nfp> shutdown his computer.

nfp> I use connlimit and would like to not allow more than 20 connections
nfp> at once - here is my problem. After few days my ip_conntrack is full
nfp> of connections like that. Users can't make new connections, because
nfp> they have those 'dead' connections and connlimit prevent them from
nfp> making new.

nfp> Sorry for my poor English, I'm waiting for some advices.

I've found that:
cat /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established

returns value:
 432000

Isn't that too much ?


-- 
Best regards,
 nexor                            mailto:nexor@xxxxxxx



[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