Change HashKey threshold for using H3 to 36 bytes.

This is enough to accommodate using H3 instead of HMAC/MD5 for IPv6
Conn::Key's and performs better since a hash happens for every packet.
This commit is contained in:
Jon Siwek 2012-02-09 12:55:55 -06:00
parent 303f02d6f8
commit f945f3c518
2 changed files with 25 additions and 25 deletions

View file

@ -7,7 +7,7 @@
#include "BroString.h"
#define UHASH_KEY_SIZE 32
#define UHASH_KEY_SIZE 36
typedef uint64 hash_t;

View file

@ -5,33 +5,33 @@
#path local
#fields ts id.orig_h
#types time addr
1300475168.855330 141.142.220.118
1300475168.652003 141.142.220.118
1300475168.895267 141.142.220.118
1300475168.855305 141.142.220.118
1300475168.859163 141.142.220.118
1300475168.892913 141.142.220.118
1300475168.724007 141.142.220.118
1300475168.892936 141.142.220.118
1300475168.895267 141.142.220.118
1300475168.892913 141.142.220.118
1300475168.652003 141.142.220.118
1300475168.855305 141.142.220.118
1300475168.855330 141.142.220.118
1300475168.859163 141.142.220.118
1300475168.902635 141.142.220.118
1300475168.894422 141.142.220.118
1300475168.893988 141.142.220.118
1300475168.901749 141.142.220.118
1300475168.853899 141.142.220.118
1300475168.854837 141.142.220.118
1300475168.857956 141.142.220.118
1300475168.858713 141.142.220.118
1300475171.677081 141.142.220.226
1300475168.854378 141.142.220.118
1300475173.153679 141.142.220.238
1300475169.899438 141.142.220.44
1300475168.892037 141.142.220.118
1300475168.892414 141.142.220.118
1300475168.902195 141.142.220.118
1300475168.891644 141.142.220.118
1300475168.894787 141.142.220.118
1300475167.099816 141.142.220.50
1300475170.862384 141.142.220.226
1300475167.096535 141.142.220.202
1300475168.858306 141.142.220.118
1300475168.853899 141.142.220.118
1300475168.854378 141.142.220.118
1300475168.857956 141.142.220.118
1300475173.117362 141.142.220.226
1300475168.858713 141.142.220.118
1300475167.096535 141.142.220.202
1300475167.099816 141.142.220.50
1300475168.892037 141.142.220.118
1300475168.893988 141.142.220.118
1300475168.854837 141.142.220.118
1300475169.899438 141.142.220.44
1300475168.858306 141.142.220.118
1300475168.894422 141.142.220.118
1300475173.153679 141.142.220.238
1300475168.892414 141.142.220.118
1300475171.677081 141.142.220.226
1300475168.902195 141.142.220.118
1300475168.894787 141.142.220.118
1300475168.901749 141.142.220.118