All of lore.kernel.org
 help / color / mirror / Atom feed
* Suggestion: "--match recent --set --life-span <secs>"  to prevent table filling up
@ 2009-03-09 22:48 Chris Hanson
  2009-03-10 16:13 ` Jan Engelhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Hanson @ 2009-03-09 22:48 UTC (permalink / raw)
  To: netfilter-devel

Hello,

A suggestion for the match recent part of netfilter. Include a life_span 
field in the table. A host is removed from a table after it hasn't been 
seen for x seconds.

I suggest this because of the number of botnet hosts that rapidly fill 
up the /proc/net/ipt_recent tables. Sometimes an attacking host is only 
seen once in a long probe/attack.


Additional related suggestions:

Perhaps just reuse the --seconds parameter on a --set. instead of adding 
a new parameter.

Give the field a default value. (3600?)

Have a module command line parameter for changing the default value.

Use 0 for an infinite life_span.


I apologize for not being able to submit code. I tried looking at the 
source and I soon realized that my coding skills are VERY rusty.

I hope this sounds useful to you all. Keep up the good work.

Chris Hanson

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-10 20:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 22:48 Suggestion: "--match recent --set --life-span <secs>" to prevent table filling up Chris Hanson
2009-03-10 16:13 ` Jan Engelhardt
     [not found]   ` <49B6BD2E.7010908@bluebottle.com>
2009-03-10 19:29     ` Jan Engelhardt
2009-03-10 20:10       ` Chris Hanson
     [not found]       ` <200903102010.n2AKAf9t003525@mi0.bluebottle.com>
2009-03-10 20:43         ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.