Expand smb2 unit test.

This commit is contained in:
Julien Wallior 2018-01-11 15:18:56 -05:00
parent a76e50d2e1
commit f165ff943e
2 changed files with 249 additions and 0 deletions

View file

@ -4,6 +4,17 @@
# @TEST-EXEC: btest-diff files.log
# @TEST-EXEC: test ! -f dpd.log
# @TEST-EXEC: test ! -f weird.log
# @TEST-EXEC: btest-diff .stdout
@load policy/protocols/smb
event smb2_create_request(c: connection, hdr: SMB2::Header, request: SMB2::CreateRequest )
{
print "smb2_create_request", c, hdr, request;
}
event smb2_create_response(c: connection, hdr: SMB2::Header, response: SMB2::CreateResponse )
{
print "smb2_create_response", c, hdr, response;
}