mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Increase UIDs to 96 bits w/ C/F prefix - BIT-1016
- The bit-length is adjustable via redef'ing bits_per_uid. - Prefix 'C' is used for connection UIDS (including IP tunnels) and 'F' for files.
This commit is contained in:
parent
df84083227
commit
22bf3e1196
103 changed files with 20911 additions and 20772 deletions
|
@ -240,6 +240,8 @@ StringVal* cmd_line_bpf_filter;
|
|||
|
||||
StringVal* global_hash_seed;
|
||||
|
||||
bro_uint_t bits_per_uid;
|
||||
|
||||
OpaqueType* md5_type;
|
||||
OpaqueType* sha1_type;
|
||||
OpaqueType* sha256_type;
|
||||
|
@ -309,6 +311,8 @@ void init_general_global_var()
|
|||
|
||||
global_hash_seed = opt_internal_string("global_hash_seed");
|
||||
|
||||
bits_per_uid = opt_internal_unsigned("bits_per_uid");
|
||||
|
||||
md5_type = new OpaqueType("md5");
|
||||
sha1_type = new OpaqueType("sha1");
|
||||
sha256_type = new OpaqueType("sha256");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue