mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

The previous "fix" caused significant performance degradation without the signature ever having a chance to trigger. Moving it to policy seems the best compromise, the alternative being outright removing it.
8 lines
289 B
Text
8 lines
289 B
Text
##! Load signature for ISO 9660 disk image and increase
|
|
##! default_file_bof_buffer_size to make it functional.
|
|
@load-sigs ./iso-9660
|
|
|
|
# CD001 string is in the 17th sector.
|
|
@if ( default_file_bof_buffer_size < (16 + 1) * 2048 )
|
|
redef default_file_bof_buffer_size = (16 + 1) * 2048;
|
|
@endif
|