zeek/src/ssl-defs.pac
Bernhard Amann 58e2b70fc8 make version_ok return true for TLSv12
I think it is a bug that this was missing...
2012-07-20 14:37:14 -07:00

27 lines
492 B
JavaScript

# Some common definitions for the SSL and SSL record-layer analyzers.
%extern{
#include <string>
using std::string;
%}
enum ContentType {
CHANGE_CIPHER_SPEC = 20,
ALERT = 21,
HANDSHAKE = 22,
APPLICATION_DATA = 23,
V2_ERROR = 300,
V2_CLIENT_HELLO = 301,
V2_CLIENT_MASTER_KEY = 302,
V2_SERVER_HELLO = 304,
UNKNOWN_OR_V2_ENCRYPTED = 400
};
enum SSLVersions {
UNKNOWN_VERSION = 0x0000,
SSLv20 = 0x0002,
SSLv30 = 0x0300,
TLSv10 = 0x0301,
TLSv11 = 0x0302,
TLSv12 = 0x0303
};