Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] nf_conntrack: Tabelle ständig voll
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Thu Mar 11, 2010 5:01 pm    Post subject: [SOLVED] nf_conntrack: Tabelle ständig voll Reply with quote

Ahoi!

Irgendwie habe ich hier ständig das Problem das mein Router die NAT-Tabelle nicht aufräumt:
Code:
# wc /proc/net/ip_conntrack
16634 313797 3328807 /proc/net/ip_conntrack


Aber sind denn 16k Einträge jetzt wirklich so viel?

Dmesg sagt:
Code:
nf_conntrack: table full, dropping packet


Ein Rechner im Netz scheint die Tabelle zuzubomben mit Verbindungen. Und ich denke ich weiß auch welche App das ist: mldonkey :)
Darüber zieht sich meine Schwägerin gern mal ein paar amerikanische TV-Serien. Nichts weltbewegendes. Aber 16k Einträge finde ich jetzt nicht sonderlich beängstigend wenn ich ehrlich bin. Das sollten auch definitiv keine aktiven Verbindungen sein. Das sind mit Sicherheit 90% alte und längst abgebaute Verbindungen. Früher hatte ich dieses Problem selstsammerweise auch gar nicht. Das ist er so seit dem ich den Router mal neu installiert hatte.
Was kann man dagegen unternehmen?


Last edited by BlackEye on Thu Mar 11, 2010 8:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Thu Mar 11, 2010 6:06 pm    Post subject: Reply with quote

Ich denke ich setze den Timeout für ESTABLISHED mal auf 1Tag anstatt auf 5 und das Limit auf 20.000 Einträge. Das sollte das Problem deutlich verbessern
Code:
sysctl -w net.ipv4.netfilter.ip_conntrack_max=20000
echo 86400 >> /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum