Re: iptables hashlimit ipmask support

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

 



On Thu, Feb 28, 2008 at 10:44 PM, Jan Engelhardt
<jengelh@xxxxxxxxxxxxxxx> wrote:
>
> On Feb 28 2008 21:40, Niki Denev wrote:
> >
> >Recently i needed to be able to do exactly what iptables with hashlimit does,
> >but instead of hashing by IP i wanted it to hash on arbitrary network mask.
> >So, i've hacked up this, and i hope that you could find it useful.
>
> Such has already been merged by me for 2.6.25.
>
> >P.S. : There is no ipv6 support, and the manpage is not updated to
> >reflect the new hashlimit option --hashlimit-ipmask
>
> I also had added that.
>
> >P.S.2: I know that this probably can be done with connlimit, but
> >hashlimit can also do limiting on the destination ip (dstip mode)
> >which i think is not possible with connlimit.
>
> Connlimit works on connection tuples, so would be equal to
>  --hashlimit-mode srcip,dstip,srcport,dstport
>

I haven't noticed that there is already support for this. Thanks.


 -- Niki

-- 
Nikolay Denev        ICDSoft Ltd.
System Administrator  http://www.icdsoft.com/
m: 359-888-952-352
p: 1-617-544-3022
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux