mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Disable the smb_cmd.log by default.
This commit is contained in:
parent
f9cbee20f8
commit
dbb5992f43
3 changed files with 6 additions and 2 deletions
|
@ -64,7 +64,7 @@ event smb1_message(c: connection, hdr: SMB1::Header, is_orig: bool) &priority=-5
|
|||
# so let's get rid of it.
|
||||
delete c$smb$pending_cmds[hdr$mid];
|
||||
|
||||
if ( c?$smb )
|
||||
if ( SMB::write_cmd_log && c?$smb )
|
||||
Log::write(SMB::CMD_LOG, c$smb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue