match target project
Hi,
I was looking for a match that could be able to match one packet per connection each N min interval.
It seems, it does not exist, so the next question is :
Is it possible to develop such a match ? If yes, is it a huge work ?
BR,
Signature · 2 lines
Eric Leblond Nufw, Now User Filtering Works (http://www.nufw.org)
Quoted 2 lines · Eric Leblond
I was looking for a match that could be able to match one packet per connection each N min interval.
Is connection in this scope the same as a ip_conntrack connection?
Quoted 2 lines
It seems, it does not exist, so the next question is :
Is it possible to develop such a match ?
Yes.
Quoted 1 line
If yes, is it a huge work ?
Not really.
Regards
Henrik
Quoted 6 lines · Henrik Nordstrom
Quoted 2 lines · Eric Leblond
I was looking for a match that could be able to match one packet per connection each N min interval.
Is connection in this scope the same as a
ip_conntrackconnection?
Yes, it HAS to be the same.
Quoted 5 lines
Quoted 3 lines
It seems, it does not exist, so the next question is :
Is it possible to develop such a match ?Yes.
great
Quoted 4 lines
Quoted 2 lines
If yes, is it a huge work ?
Not really.
fine
BR,
Signature · 2 lines
Eric Leblond <[email protected]> INL
Quoted 4 lines · Eric Leblond
Hi,
I was looking for a match that could be able to match one packet per connection each N min interval.
It sounds like you're interested in either the dstlimit match (doesn't use conntrack but it's own hash tables, certainly less accurate.
If you really want to be based on connection as in 'conntrack', you could base your implementation on top of the counters from the 'conntrack-acct' patch.
Quoted 8 lines
It seems, it does not exist, so the next question is :
Is it possible to develop such a match ? If yes, is it a huge work ?BR,
Signature · 2 lines
Eric Leblond Nufw, Now User Filtering Works (http://www.nufw.org)
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie