Re: [PATCH net-next] netfilter: nf_conntrack: introduce conntrack limit per-zone

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

 



Tonghao Zhang <xiangxia.m.yue@xxxxxxxxx> wrote:
> > openvswitch supports per zone limits already, using nf_conncount
> > infrastructure.
> This path limits the UNREPLIED conntrack entries. If we SYN flood one
> zone, the zone will consume all entries in table, which state
> SYN_SENT.
> The openvswitch limits only the +est conntrack.

Why?  Can't it be fixed to work properly?

> > iptables -t mangle -A PREROUTING -m conntrack --ctstate NEW -m connlimit \
> >    --connlimit-above 1000 --connlimit-mask 0 -j REJECT

This should work for the synflood case, too.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux