Anyway to Limit Max TCP/IP Connections
Is there anyway on a Redhat 8 or 9 Linux box to limit the maximum number of simultaneous TCP connections for everything and not just a particular service?
Namely for the iptables forwarding - since it would be on an internet firewall that forwards packets to internal servers.
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer
Quoted 3 lines · Real Cucumber
Is there anyway on a Redhat 8 or 9 Linux box to limit the maximum number of simultaneous TCP connections for everything and not just a particular service?
A rather crude way of doing this would be
echo $maxconns >/proc/sys/net/ipv4/ip_conntrack_max
No doubt you could do something more sophisticated with the connlimit match?
Regards,
Antony.
Signature · 14 lines
This email is intended for the use of the individual addressee(s) named above
and may contain information that is confidential, privileged or unsuitable
for overly sensitive persons with low self-esteem, no sense of humour, or
irrational religious beliefs.
If you have received this email in error, you are required to shred it
immediately, add some nutmeg, three egg whites and a dessertspoonful of
caster sugar. Whisk until soft peaks form, then place in a warm oven for 40
minutes. Remove promptly and let stand for 2 hours before adding some
decorative kiwi fruit and cream. Then notify me immediately by return email
and eat the original message.
Please reply to the list;
please don't CC me.