Timely update of the service awareness signature database helps enhance the device's application identification capability.
Before updating the service awareness signature database, do as follows:
Checking the Free Space of the CF Card and Memory
Before updating the service awareness signature database, check whether the free space of the CF card and memory is sufficient. The following table lists the CF card and memory space required for updating the service awareness signature database.
Signature Database |
CF Card Space |
Memory Space |
|---|---|---|
Service awareness signature database (SA-SDB) |
10 MB or higher |
|
To check the free space of the root directory, perform the following operations:
In the user view, run the dir command to check the free space of the CF card on the MPU.
The example command output of the FW is as follows:
<sysname> dir
Directory of hda1:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 754 Feb 06 2015 15:35:33 private-data.txt
1 -rw- 5,805 Feb 06 2015 15:35:51 cfgfile.zip
2 drw- - Feb 06 2015 09:07:58 default-sdb
3 drw- - Jul 08 2014 17:02:48 conf
........
48 -rw- 36 Jan 30 2015 10:28:44 $_patchstate_reboot
49 -rw- 1,063 Feb 06 2015 09:13:26 nlog.log
50 -rw- 173,569,921 Feb 04 2015 20:31:10 sup_c30.bin
1,200,576 KB total (379,168 KB free)
In the user view, run the delete command to delete unwanted files from the CF card if the free space is insufficient.
Files are deleted and cannot be restored after the delete command with the /unreserved parameter is executed.
Checking the Current Update Status
Signature databases cannot be updated simultaneously. You can update a signature database only after the current update status is idle.
To check the current update status, perform the following operation:
Run the display update status command to check the update status of the signature database.
<sysname> display update status
Current Update Status: Idle.
If Current Update Status is Idle, you can update the desired signature database. Otherwise, repeat the display update status command until Current Update Status changes to Idle, and then update the desired signature database.
Checking the Signature Database Version
Check the signature database version to determine whether the signature database needs to be updated.
To check the signature database version, perform the following operation:
Run the display version sa-sdb command to check the signature database version.
<sysname> display version sa-sdb
SA SDB Update Information List:
----------------------------------------------------------------
Current Version:
Signature Database Version : 2016033101
Signature Database Size(byte) : 1735779
Update Time : 16:12:26 2016/05/14
Issue Time of the Update File : 15:55:31 2016/03/31
Backup Version:
Signature Database Version :
Signature Database Size(byte) : 0
Update Time : 00:00:00 0000/00/00
Issue Time of the Update File : 00:00:00 0000/00/00
----------------------------------------------------------------
The service awareness signature database can be updated in either of the following modes:
If the FW can communicate with the update center directly over the Internet or through a proxy server, you can update the service awareness signature database in online mode.
Online update has two ways:
The FW accesses the update center on a scheduled basis to search for the latest service awareness signature databases. If the new versions of service awareness signature databases are found, the FW downloads the latest service awareness signature databases to update the local service awareness signature databases at scheduled time.
After the online service awareness signature database is updated, you can immediately update the local database instead of waiting for the scheduled update.
The download address and process for immediate update is the same as that for the update through scheduled update. The two update modes differ in that immediate update can be performed at any time whereas scheduled update must be implemented at the specified time.
When the FW is physically isolated from the Internet and no proxy server is deployed on the intranet, you can update service awareness signature databases locally.
For details on signature database update scenarios, see Update Center.
If the FW can directly access the update center, you must configure a security policy on the FW to permit HTTP and FTP packets. If the FW accesses the update center through a proxy server, you must configure a security policy on the FW to permit HTTP packets.
system-view
update server { domain domain-name | ip ip-address } [ port port-number ]
The default domain name is sec.huawei.com.
Configure the DNS server to resolve the domain name of the update center. For details, see 3.
update server ca-certificate certificate-file-name
By default, the signature database update service uses the CA certificate (default_ca.cer) preset on the device to communicate with the Huawei security center.
Perform this step when the FW needs to access the update center using a proxy server.
update proxy enable
update proxy { domain domain-name | ip ip-address } [ port port-number ] [ user user-name [ password password ] ]
If a domain name is configured for the proxy server, a DNS server must be configured to resolve the domain name. For details on how to configure the DNS server, see 3.
dns resolve
dns server ip-address
Specify an interface IP address and VPN instance as the source IP address and VPN instance for online update request packets.
update host source interface-type interface-number
Specify the source IP address of online update request packets.
update host source ip ip-address [ vpn-instance vpn-instance ]
If the administrator does not specify the source IP address of online update request packets, the system searches a route based on the IP address of the update server and uses the IP address of the outgoing interface as the source IP address of update request packets.
If the interface has multiple IP addresses, run the update host source ip ip-address command to set the source IP address of update request packets and ensure that the FW can receive the reply packets. Otherwise, the online update may fail.
After the scheduled or immediate update is started, you can run the update abort command to abort the update if the update consumes too much bandwidth and interrupts normal services. Wait until the bandwidth is sufficient for the update and normal services and then run the update online sa-sdb command to download the latest signature database.
Enable the scheduled update function for the signature database.
update schedule sa-sdb enable
Set the scheduled update time for the signature database.
update schedule sa-sdb { daily | weekly { Mon | Tue | Wed | Thu | Fri | Sat | Sun } } time
It is recommended that the signature database be updated once every week. You can adjust the time as required.
Download the latest signature database.
update online sa-sdb
The update package has been uploaded to the memory of the FW using SFTP, FTP or TFTP.
Download update packages from the security center (isecurity.huawei.com). For details, refer to Update Center.
The upgrade package can be placed in any directory of the FW storage. However, the root directory is recommended.
The signature database files are in .zip format. You can upload them directly to the FW without decompressing them.
system-view
update local sa-sdb file filename
When the current signature database is faulty (for example, false positive occurs or system performance is degraded), you can roll back the current signature database to the previous version through version rollbacks.
You can roll back to only one version. If you perform version rollbacks repeatedly, the version rollback is implemented between the current version and the rollback version.
system-view
update rollback sa-sdb