connection limit with ipfw
    Carl Mark 
    carlmarkbsd at hotmail.co.uk
       
    Mon Jan 10 04:33:07 PST 2005
    
    
  
Hello folks,
  I'm trying to set up a ruleset that limits every user to X tcp 
connections, since I have 300 active users on each server. I've been trying 
to work it out with the ipfw limit but I really don't know how effective it 
is.
For example:
  ipfw -q add 15 allow tcp from me to any 80 limit dst-port X keep-state out 
setup
Will this limit the whole machine to X connections that match the rule? I 
wanted to build somehting that would limit every user to X conns without 
having one rule for each user using the "uid" directive.
Thanks for your precious help.
Regards,
Carl
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger
    
    
More information about the freebsd-security
mailing list