Date: Mon, 10 Jan 2005 17:35:46 -0500 From: "Don Bowman" <don@SANDVINE.com> To: "Carl Mark" <carlmarkbsd@hotmail.co.uk>, <freebsd-ipfw@freebsd.org> Subject: RE: limiting connections Message-ID: <2BCEB9A37A4D354AA276774EE13FB8C219AFB7@mailserver.sandvine.com>
next in thread | raw e-mail | index | archive | help
From: Carl Mark > Hello folks, >=20 > I'm trying to set up a ruleset that limits every user to X=20 > tcp connections, since I have 300 active users on each=20 > server. I've been trying to work it out with the ipfw limit=20 > but I really don't know how effective it is. >=20 > For example: >=20 > ipfw -q add 15 allow tcp from me to any 80 limit dst-port X=20 > keep-state out setup >=20 ipfw add 50 allow tcp from any to any setup limit src-addr 2 would limit any user to 2 concurrent TCP connections.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2BCEB9A37A4D354AA276774EE13FB8C219AFB7>