View Single Post

  #3 (permalink)  
Old 07-31-2004
Peter O
 
Posts: n/a
Default Re: Iptables question : need help =)

"mcd" <mike@cnul.org> wrote in message news:<cefs43$9nk$1@news.tiscali.fr>...
> Hi all,
>
> Is it somebody know if it is possible to use iptables rules to allow only N
> socket open per user, or deny the connection to a new socket if N are
> already open ?
>
> Tanks a lot,
> answer realy help me ;-)
>
> Mike
> mike@cnul.org


Hi Mike,

please have a look at --limit and --limit-burst flags (iptables). By
using them on SYN packages you might be able set a policy that will do
something similar to what you want to achieve.

Cheers,
Peter
www.dialore.com
Reply With Quote