Tuning fragment storage down to 5 minutes in the default tuning.

This commit is contained in:
Seth Hall 2011-06-10 14:09:58 -04:00
parent d29ffc759d
commit 999b48e801
2 changed files with 12 additions and 1 deletions

View file

@ -1 +1,2 @@
@load tuning/defaults/remove-high-volume-notices
@load tuning/defaults/remove-high-volume-notices
@load tuning/defaults/packet-fragments

View file

@ -0,0 +1,10 @@
## Capture TCP fragments, but not UDP (or ICMP), since those are a lot more
## common due to high-volume, fragmenting protocols such as NFS :-(.
## This normally isn't used because of the default open packet filter
## but we set it anyway in case the user is using a packet filter.
redef capture_filters += { ["frag"] = "(ip[6:2] & 0x3fff != 0) and tcp" };
## Shorten the fragment timeout from never expiring to expiring fragments after
## five minutes.
redef frag_timeout = 5 min;