mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

- Squashed the original commit set - Cleaned up formatting - Fixed register_for_ports() for right RDPEUDP analyzer * topic/ak/rdpeudp: Add RDP over UDP analyzer
25 lines
586 B
Text
25 lines
586 B
Text
# @TEST-EXEC: zeek -r $TRACES/rdp/rdpeudp-handshake-fail.pcap %INPUT >out
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
@load base/protocols/rdp
|
|
|
|
event rdpeudp_syn(c: connection)
|
|
{
|
|
print "rdpeudp_syn", c$id;
|
|
}
|
|
|
|
event rdpeudp_synack(c: connection)
|
|
{
|
|
print "rdpeudp_synack", c$id;
|
|
}
|
|
|
|
event rdpeudp_established(c: connection, version: count)
|
|
{
|
|
print "rdpeudp_established", c$id, version;
|
|
}
|
|
|
|
event rdpeudp_data(c: connection, is_orig: bool, version: count, data: string)
|
|
{
|
|
print fmt("rdpeudp_data is_orig: %s, version %d, data: %s", is_orig, version, data);
|
|
}
|