Max connections per host

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

Post Reply
jorgemiguel4
Posts: 85
Joined: Thu Dec 29, 2011 2:17 pm

Max connections per host

Post by jorgemiguel4 »

It's already possible to limit global max connections, but a single misconfigured PC can take all of them and prevent other machines to create new ones. I don't know exactly how the system works but I wonder if it's possible to limit it per host?

raz
Posts: 41
Joined: Sun Feb 21, 2010 11:12 am

Re: Max connections per host

Post by raz »

Yep, always wanted something like that.

An infected client's thousands of connections can often bring the router to a halt..

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Max connections per host

Post by DoesItMatter »

http://www.cyberciti.biz/faq/iptables-c ... its-howto/

You may have to do this via iptables - command line

And yea, really depends on the router.

WRT54G's - I can crush them with around 1500 connections.

You won't even hit the 4096 connections on the WRT54's
before you bring the router to a crawl.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Post Reply