Skip to contentSkip to conversation

ip_conntrack: table full, dropping packet.

DISCUSSION www.piratehosting.net 3 participants 3 messages Sep 24, 2004 – Sep 26, 2004

lore
Share & tools
lore
#0 lore raw

ip_conntrack: table full, dropping packet.

i have been using
echo "4008192" > /proc/sys/fs/file-max
echo 4008192 > /proc/sys/net/ipv4/ip_conntrack_max to increase the limits to avoid this dropping of packets. can i just clear the list from /proc/net/ip_conntrack
or something

some info

ip_conntrack_ftp       70576  0
ip_conntrack_irc       70064  0
ip_conntrack           24968  4

iptable_nat,ip_conntrack_ftp,ip_conntrack_irc,ipt_state

#1 lore raw
Quoted 10 lines · www.piratehosting.net

ip_conntrack: table full, dropping packet.

i have been using
echo "4008192" > /proc/sys/fs/file-max
echo 4008192 > /proc/sys/net/ipv4/ip_conntrack_max to increase the limits to avoid this dropping of packets. can i just clear the list from /proc/net/ip_conntrack
or something

Quoted 5 lines

some info

ip_conntrack_ftp       70576  0
ip_conntrack_irc       70064  0
ip_conntrack           24968  4

iptable_nat,ip_conntrack_ftp,ip_conntrack_irc,ipt_state

how much physical RAM is in this machine and how many simultaneous connections are you trying to support?

-j

Signature · 1 line
Jason Opperisano <[email protected]>
#2 lore raw
In reply to www.piratehosting.net
Quoted 10 lines · www.piratehosting.net

ip_conntrack: table full, dropping packet.

i have been using
echo "4008192" > /proc/sys/fs/file-max
echo 4008192 > /proc/sys/net/ipv4/ip_conntrack_max to increase the limits to avoid this dropping of packets. can i just clear the list from /proc/net/ip_conntrack
or something

Quoted 5 lines

some info

ip_conntrack_ftp       70576  0
ip_conntrack_irc       70064  0
ip_conntrack           24968  4

iptable_nat,ip_conntrack_ftp,ip_conntrack_irc,ipt_state

Yes, you can clear the list using hping2 and sending RST to both parts of the connection, but it will close the connections if you do it that way.

The command would be something like this:

hping2 $DSTIP -R -s $SRCPORT -p $DSTPORT -a $SRCIP -k -c 1 -n hping2 $SRCIP -R -s $DSTPORT -p $SRCPORT -a $DSTIP -k -c 1 -n

I have a script that does just that in my bastion-firewall program. I can mail it to you if you want it.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"