zeek/testing/btest/scripts/policy/frameworks/intel/seen
Arne Welzel 6d19c49efe intel/seen/file-names: Use file_over_new_connection()
The seen/file-names script relies on f$info$filename to be populated.
For HTTP and other network protocols, however, this field is only
populated during file_over_new_connection() that's running after
file_new().

Use the file_new() event only for files without connections and
file_over_new_connection() implies that f$conns is populated, anyway.

Special case SMB to avoid finding files twice, because there's a
custom implementation in seen/smb-filenames.zeek.

Fixes #2647
2023-01-10 10:10:28 +01:00
..
certs.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
filename-in-http-get-response.zeek intel/seen/file-names: Use file_over_new_connection() 2023-01-10 10:10:28 +01:00
filename-in-http-post.zeek intel/seen/file-names: Use file_over_new_connection() 2023-01-10 10:10:28 +01:00
smb.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
smtp-cluster.zeek GH-1506: Fix Broker unserialization of set/table function indices 2021-04-15 01:13:51 -07:00
smtp.zeek General btest cleanup 2020-08-11 11:26:22 -07:00