mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Expand smb2 unit test.
This commit is contained in:
parent
a76e50d2e1
commit
f165ff943e
2 changed files with 249 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue