smb2_write_response event added

This commit is contained in:
Mauro Palumbo 2019-04-08 22:32:14 +02:00
parent 9c843a7d83
commit 0c508f8280
4 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,13 @@
# @TEST-EXEC: bro -r $TRACES/smb/smb2readwrite.pcap %INPUT
# @TEST-EXEC: btest-diff .stdout
@load base/protocols/smb
# A test for write response.
event smb2_write_response(c: connection, hdr: SMB2::Header, length: count)
{
print fmt("smb2_write_response %s -> %s:%d, length: %d", c$id$orig_h, c$id$resp_h, c$id$resp_p, length);
print (hdr);
}