mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Does the initial effort to add the SMB2 SetInfo command and better handle file lengths.
This commit is contained in:
parent
6ee2ec666f
commit
e4ca588127
11 changed files with 83 additions and 28 deletions
|
@ -57,6 +57,9 @@ event file_over_new_connection(f: fa_file, c: connection, is_orig: bool) &priori
|
|||
{
|
||||
c$smb$current_file$fuid = f$id;
|
||||
|
||||
if ( c$smb$current_file$size > 0 )
|
||||
f$total_bytes = c$smb$current_file$size;
|
||||
|
||||
if ( c$smb$current_file?$name )
|
||||
f$info$filename = c$smb$current_file$name;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue