How to limit conntrack sessions

Are you aware that Conntrack session exhaustion is usually due to a DDoS? Unless you normally have 58,662 active sessions (TCP Connections, UDP dstip,dstport,srcip,scrport turples)

to limit sessions

/sbin/sysctl -w net.netfilter.nf_conntrack_max=xxxx

xxxx = number

/sbin/sysctl -w net.netfilter.nf_conntrack_count

to check how many sessions

Use this command to see all of the sessions: cat /proc/net/nf_conntrack



  • 16 Users Found This Useful
Was this answer helpful?

Related Articles

HOW TO: Use NAT/Masquerading

Use the following command:iptables -t nat -A POSTROUTING -j SNAT --to-source YOURVPSIPReplace...

Disable Root Login and Setup Public Key Authentication

If you want to increase security for your Virtual Machine (Linux based), disabling root ssh login...

HOW TO: Reset your login information?

To reset your password for the Client Area: https://secure.ftpit.com/pwreset.php.To reset your...

HOW TO: Add funds to your account

This is a quick guide on how to add funds to your account to pay for current or future...

HOW TO: Cancel your service

Just follow these simple instructions:1. Login to the Client Area.2. Click on "My Services" under...