forked from cisagov/icsnpp-opcua-binary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
secure-channel-types.zeek
37 lines (33 loc) · 1.42 KB
/
secure-channel-types.zeek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## secure-channel-types.zeek
##
## OPCUA Binary Protocol Analyzer
##
## Zeek script type/record definitions describing the information
## that will be written to the log files.
##
## Author: Kent Kvarfordt
## Contact: [email protected]
##
## Copyright (c) 2022 Battelle Energy Alliance, LLC. All rights reserved.
module ICSNPP_OPCUA_Binary;
export {
type OPCUA_Binary::OpenSecureChannel: record {
ts : time &log;
uid : string &log;
id : conn_id &log;
opcua_link_id : string &log; # Link back into OPCUA_Binary::Info
# OpenSecureChannel Request
client_proto_ver : count &log &optional;
sec_token_request_type : count &log &optional;
message_security_mode : count &log &optional;
client_nonce : string &log &optional;
req_lifetime : count &log &optional;
# OpenSecureChannel Response
server_proto_ver : count &log &optional;
sec_token_sec_channel_id : count &log &optional;
sec_token_id : count &log &optional;
sec_token_created_at : time &log &optional;
sec_token_revised_time : count &log &optional;
server_nonce : string &log &optional;
};
}