The FW supports filtering a decompressed file based on file content. You can set the decompression layers and the size of a decompressed file. The FW can process oversized decompression files and the files with multiple decompression layers.
The FW detects compressed file by flow and implements decompression and content security detection simultaneously. If a data flow contains threat information, the FW processes the flow based on the content security configuration. If the data flow is secure and the decompression depth of a file or file size exceeds the specified value, the FW will take the action for the situation in which the maximum decompression depth or the maximum file size is exceeded:
file-frame decompress depth decompress-depth
By default, the maximum number of decompression layers is 3.
file-frame decompress depth action { alert | allow | block }
The default action is allow for the files exceeding the specified maximum decompression layers.
file-frame decompress size file-size
By default, the maximum file size is 100 MB.
For the compressed files in 7ZIP and RAR formats, the maximum decompression file size of the USG6510E/6510E-POE is 1M, and the maximum value of this parameter can only be set to 1M. The default maximum decompression file size of other models except the preceding models is 10M, and the maximum value of this parameter can only be set to 10M.
file-frame decompress size action { alert | allow | block }
The default action is allow when the maximum file size is exceeded.
After you configure file decompression, the configurations do not take effect until you run the engine configuration commit command to commit them. To save time, you can submit the configuration after all operations on the profile and global configurations are complete.