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

This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
14 lines
433 B
Text
14 lines
433 B
Text
# @TEST-EXEC: zeek -r $TRACES/smb/smb3.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff smb_mapping.log
|
|
# @TEST-EXEC: test ! -f dpd.log
|
|
# @TEST-EXEC: test ! -f weird.log
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
@load base/protocols/smb
|
|
|
|
# Add a test for SMB2 transform header.
|
|
event smb2_transform_header(c: connection, hdr: SMB2::Transform_header)
|
|
{
|
|
print fmt("smb2_transform_header %s -> %s:%d %s", c$id$orig_h, c$id$resp_h, c$id$resp_p, hdr);
|
|
}
|
|
|