freeGuard 100 CLI User Manual
35
a variety of encoding types and someencodings translate
into larger file sizes than the original attachment. The
most common encoding, base64, translates 3 bytes of
binary data into 4 bytes of base64 data. So a file may be
blocked or logged as oversized even if the attachment is
several megabytes less than the memfilesizelimit.
port <port_integer>
Configure antivirus scanning on a nonstandard port
number or multiple port numbers for HTTP. You can use
ports from the range 1-65535. You can add up to 20
ports.
80
uncompsizelimit
<MB_integer>
Set the maximum uncompressed file size that canbe
buffered to memory for virus scanning. Enter avalue in
megabytes between 1 and the total memory size. Enter 0
for no limit (not recommended).
10 (MB)
How file size limits work
The memfilesizelimit is applied first to all incoming files, compressed or uncompressed. If the file is
larger than the limit the file is passed or blocked according to the user configuration in the firewall
profile.
The uncompsizelimit applies to the uncompressed size of the file. If other files are inlcuded within the
file, the uncompressed size of each one is checked against the uncompsizelimit value. If any one of
the uncompressed files is larger than the limit, the file is passed without scanning, but the total size of
all uncompressed files within the original file can be greater than the uncompsizelimit.Example
This example shows how to set the maximum file size that can be buffered to memory for scanning at
12 MB, the maximum uncompressed file size that can be buffered to memory for scanning at 15 MB,
and how to enable antivirus scanning on ports 70, 80, and 443 for HTTP traffic.
config antivirus service http
set memfilesizelimit 12
set uncompsizelimit 15
set port 70
set port 80
set port 443
end
This example shows how to display the antivirus HTTP traffic settings.
get antivirus service http
This example shows how to display the configuration for antivirus HTTP traffic.
show antivirus service http
Command History
Related Commands
Summary of Contents for freeGuard 100
Page 1: ...freeGuard 100 UTM Firewall CLI USER S MANUAL P N F0025000 Rev 1 1...
Page 3: ......
Page 7: ......
Page 87: ...80 The config ips anomaly command has 1 subcommand config limit...
Page 183: ...176...