This section describes how to configure push information for the antivirus feature.
The FW sends notifications in the text or web page format to users. You can specify the content of the notifications. To modify a notification, export the notification template, edit the notification in the template, and import the template file into the FW.
If you set the action for mail protocols in the antivirus profile to Declare or Delete Attachment and the FW detects a virus from an email, the FW adds notification information in the email body.
After the action for HTTP is set to Block in the antivirus profile, if the FW identifies a user-accessed web page as a virus, the FW blocks the access and pushes a web page with a prompt to the user.
In addition, if the HTTP status code of the push information fails to meet your requirement, you can modify the HTTP status code.
You can configure push information by using all kinds of HTML tags (including the script), which is risky. Please use it cautiously.
By default, the HTTP status code of the push information is 503.
In the Email Declaration and Email Delete Attachment notification templates, parameter %FILE indicates the name of the virus-infected file. Each notification message must contain only one %FILE. The FW automatically substitutes %FILE with the actual value when sending notification messages. The notification messages support spaces and can contain a maximum of 1024 characters.
In the Virus-infected File Blocking notification template, parameter %FILE_NAME indicates the name of a virus-infected file. Each notification message must contain only one %FILE_NAME. The FW automatically replaces %FILE_NAME with the actual value when sending notification messages.
In the Virus-infected File Blocking notification template, <> indicates the Hypertext Markup Language (HTML). Change the content between <> and </>.
For Virus-infected File Blocking push information, the template size cannot exceed 21 KB.
If the information to be pushed contains Chinese characters, set the coding method to GB2312 between <head> and </head> (for example, <meta http-equiv="Content-Type" content="text/html; charset=GB2312"></meta>) to ensure that the information can be properly displayed.
For the Virus-infected File Blocking notification template, ensure the security of the file to be imported to prevent pushed pages from containing malicious information such as phishing websites or Trojan horses.
You can perform the following operations to modify notifications or restore default notifications:
Click Export of the notification to be modified to download the notification file. Then edit the downloaded notification and import the file into the FW.
Click Reset corresponding to the notification to be modified to restore the default notification.
If you perform the reset operation in the root system, the root system uses the default notification of the FW.
If you perform the reset operation in the virtual system, the virtual system uses the notification configured in the root system; if the default notification of the root system has not been modified before you perform the reset operation, the virtual system uses the default notification of the FW.