mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Throw new event for heartbeat messages.
Not tested.
This commit is contained in:
parent
6b47350579
commit
ffd4711a41
4 changed files with 31 additions and 0 deletions
|
@ -63,6 +63,7 @@ type PlaintextRecord(rec: SSLRecord) = case rec.content_type of {
|
|||
CHANGE_CIPHER_SPEC -> ch_cipher : ChangeCipherSpec(rec);
|
||||
ALERT -> alert : Alert(rec);
|
||||
HANDSHAKE -> handshake : Handshake(rec);
|
||||
HEARTBEAT -> heartbeat: Heartbeat(rec);
|
||||
APPLICATION_DATA -> app_data : ApplicationData(rec);
|
||||
V2_ERROR -> v2_error : V2Error(rec);
|
||||
V2_CLIENT_HELLO -> v2_client_hello : V2ClientHello(rec);
|
||||
|
@ -225,6 +226,16 @@ type ApplicationData(rec: SSLRecord) = record {
|
|||
data : bytestring &restofdata &transient;
|
||||
};
|
||||
|
||||
######################################################################
|
||||
# V3 Heartbeat
|
||||
######################################################################
|
||||
|
||||
# Heartbeats should basically always be encrypted, so we should not
|
||||
# reach this point.
|
||||
type Heartbeat(rec: SSLRecord) = record {
|
||||
data : bytestring &restofdata &transient;
|
||||
};
|
||||
|
||||
######################################################################
|
||||
# Handshake Protocol (7.4.)
|
||||
######################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue