mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Now that it's loaded in bare mode, no need to load it explicitly. The main thing that tests were relying on seems to be tracking of c$service for conn.log baselines. Very few were actually checking for dpd.log
26 lines
615 B
Text
26 lines
615 B
Text
# @TEST-EXEC: zeek -b -r $TRACES/rdp/rdpeudp-handshake-fail.pcap %INPUT >out
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
@load base/protocols/rdp
|
|
@load base/protocols/conn
|
|
|
|
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);
|
|
}
|