Chapter 38 Anti-Virus
ZyWALL Series CLI Reference Guide
320
38.2.2.1 Anti-Virus Profile Command Example
This is an example of anti-virus profile commands.
38.2.3 White and Black Lists
The following table describes the commands for configuring the white list and black list. You must use
the
configure terminal command to enter the configuration mode before you can use these
commands.
show anti-virus profile [profile_name]
Displays details of the named profile.
show anti-virus profile
Displays all anti-virus profiles.
Table 168 Anti-Virus Profile Commands
COMMAND DESCRIPTION
Router(config)# anti-virus office1
Router(config-av-profile-office1)# infected-action destroy
Router(config-av-profile-office1)# file-decompression
Router(config-av-profile-office1)# no file-decompression unsupported
destroy
Router(config-av-profile-office1)# exit
Router(config)# show an
anti-spam anti-virus
Router(config)# show anti-virus profile office1
Anti-Virus Rule: 3
name: office1
description:
log: log
file decompression: yes
destroy unsupported compressed file: no
destroy infected compressed file: yes
reference count: 0
Table 169 Commands for the Anti-Virus Black List
COMMAND DESCRIPTION
[no] anti-virus black-list activate
Activates or deactivates the black list.
When activated, the Zyxel Device logs and deletes files with names that
match any of the black list file patterns.
show anti-virus black-list status
Displays whether the black list is currently activated or deactivated.
show anti-virus black-list
Displays a list of patterns in the black list. The list also displays each pattern’s
index number, and whether the pattern is currently activated.
anti-virus black-list {md5-hash md5-
pattern | file-pattern file-pattern}
{activate|deactivate}
Adds an MD5 hash pattern or file pattern to the black list if it did not already
exist, and then activates or deactivates the pattern.