RE: Howto match only the first connection from an IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



patch-o-matic has a ip_limit patch which will not allot more than 1-2-3-XX connections depending on what you set..

Is this what you want?

Thanks,
____________________________________________
George Vieira

> -----Original Message-----
> From: Damjan [mailto:gdamjan@xxxxxxxxxxx]
> Sent: Tuesday, 18 November 2003 4:12 PM
> To: netfilter@xxxxxxxxxxxxxxxxxxx
> Subject: Howto match only the first connection from an IP
> 
> 
> My goal is to set-up an iptables rule that will match and DNAT the
> first connection from a client. 
> 
> The first connection is defined as the first established TCP session 
> from the time the iptables rule is inserted. No other TCP connection
> should match nor should be DNAT-ed.
> 
> Is there any easy way to do this with current Netfilter/Iptables/pom.
> 
> (I have installed almost all the patches from pom)
> 
> 
> -- 
> Damjan Georgievski
> jabberID: damjan@xxxxxxxxxxxx
> 
> 


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux