mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
move tls content types from heartbleed to consts.bro. Seems better to put them there...
This commit is contained in:
parent
f0b244b8b0
commit
5bd0c3fcaf
2 changed files with 13 additions and 13 deletions
|
@ -15,6 +15,17 @@ export {
|
|||
[TLSv12] = "TLSv12",
|
||||
} &default=function(i: count):string { return fmt("unknown-%d", i); };
|
||||
|
||||
## TLS content types:
|
||||
const CHANGE_CIPHER_SPEC = 20;
|
||||
const ALERT = 21;
|
||||
const HANDSHAKE = 22;
|
||||
const APPLICATION_DATA = 23;
|
||||
const HEARTBEAT = 24;
|
||||
const V2_ERROR = 300;
|
||||
const V2_CLIENT_HELLO = 301;
|
||||
const V2_CLIENT_MASTER_KEY = 302;
|
||||
const V2_SERVER_HELLO = 304;
|
||||
|
||||
## Mapping between numeric codes and human readable strings for alert
|
||||
## levels.
|
||||
const alert_levels: table[count] of string = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue