mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Add NCP::max_frame_size tuning option
This helps prevent excessive allocations based on message lengths taken from NCP headers.
This commit is contained in:
parent
2ee6de836c
commit
41f7ab3569
7 changed files with 487 additions and 15 deletions
|
@ -4396,6 +4396,12 @@ export {
|
|||
const max_frag_data = 30000 &redef;
|
||||
}
|
||||
|
||||
module NCP;
|
||||
export {
|
||||
## The maximum number of bytes to allocate when parsing NCP frames.
|
||||
const max_frame_size = 65536 &redef;
|
||||
}
|
||||
|
||||
module GLOBAL;
|
||||
|
||||
## Seed for hashes computed internally for probabilistic data structures. Using
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue