mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Prevent some extra smb logging of cmd messages.
This commit is contained in:
parent
b9afc01d91
commit
462316acdf
2 changed files with 13 additions and 6 deletions
|
@ -87,7 +87,8 @@ event smb2_negotiate_response(c: connection, hdr: SMB2::Header, response: SMB2::
|
|||
|
||||
event smb2_negotiate_response(c: connection, hdr: SMB2::Header, response: SMB2::NegotiateResponse) &priority=5
|
||||
{
|
||||
if ( c$smb_state$current_cmd$status !in SMB::ignored_command_statuses )
|
||||
if ( SMB::write_cmd_log &&
|
||||
c$smb_state$current_cmd$status !in SMB::ignored_command_statuses )
|
||||
{
|
||||
Log::write(SMB::CMD_LOG, c$smb_state$current_cmd);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue