iplimit issues
hi list
i have question about iplimit module. as i understand it storing all sessions.. but conntrack also do that.
i think we can use conntrack capabilities to store sessions and extent ipt_state.c to take in account number of sessions. but i see one problem:
current hash_conntrack implementation use src.u.all field..
so to count all connection from ip addressess range we need walk over all ip_conntrack_hash .. this can be quite long i think..
have anyone experiments with this approach ?
maybe we can simply change hash_conntrack to use only src_ip:dst_ip:protocol as hash key ?
Quoted 3 lines · Ury N. Stankevich
i think we can use conntrack capabilities to store sessions and extent
ipt_state.cto take in account number of sessions.
right
Quoted 3 lines
have anyone experiments with this approach ?
We are still discussing this. Have a look at these threads:
http://lists.netfilter.org/pipermail/netfilter-devel/2004-October/017276.html
http://lists.netfilter.org/pipermail/netfilter-devel/2004-November/017314.html
--
Pablo