mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00

Also fixing id_matches_direction() function to check both connection endpoints when determining direction respectful of local network.
12 lines
398 B
Text
12 lines
398 B
Text
# @TEST-EXEC: bro -r $TRACES/wikipedia.trace %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
@load utils/files
|
|
|
|
event connection_established(c: connection)
|
|
{
|
|
print generate_extraction_filename("test-prefix", c, "test-suffix");
|
|
print generate_extraction_filename("test-prefix", c, "");
|
|
print generate_extraction_filename("", c, "test-suffix");
|
|
print generate_extraction_filename("", c, "");
|
|
}
|