Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

How to solve the issue of Smart Scan query time out in InterScan Messaging Security Virtual Appliance (IMSVA)

    • Updated:
    • 6 Nov 2017
    • Product/Version:
    • InterScan Messaging Security Virtual Appliance 9.0
    • InterScan Messaging Security Virtual Appliance 9.1
    • Platform:
    • CentOS 5.4 32-bit
Summary

In InterScan Messaging Security Suite (IMSS), the user could enable Smart Scan Method to scan emails.

The VSAPI Engine uses the local pattern files to check if the scanned content contains malware and obtain cleaning instructions. If the content looks suspicious but the malware cannot be detected and cleaned using the local pattern files, it calculates the Cyclic Redundancy Check (CRC) sum for the initial portion of the content and submits this sum to the global File Reputation Server to query the malware database for all records matching the CRC. The File Reputation Server will find the malware pattern which matches the CRC to the VSAPI Engine to help it detect and clean the malware.

Sometimes, when using Smart Scan, the user may encounter a query timeout issue, such as errors appearing in log.imss.yyyymmdd.xxxx log:

2015/04/14 12:08:53 GMT+02:00        [12335:4015381392] [NORMAL][iCRC] ICRC_QUERY_ERR_NETWORK_TIMEOUT (../src/VirusFilter.cpp:1057)    2015/04/14 12:08:53 GMT+02:00        [12335:4015381392] [NORMAL][iCRC] try to insert tb_smartscan_query_error with error_time(1429006133), error_type(1) (../src/VirusFilter.cpp:1803)    2015/04/14 12:08:53 GMT+02:00        [12335:4015381392] [DEBUG]TmDBConnection::createOdbcEnv    2015/04/14 12:08:53 GMT+02:00        [12335:4015381392] [DIAGNOSTIC][iCRC] success to insert tb_smartscan_query_error (../src/VirusFilter.cpp:1843)    

It is because iCRC module has query timeout threshold of 1.5 seconds. It means that when IMSVA scan those emails, if it spends more than 1.5 seconds to query iCRC server timeout will happen and email status will be unscanned.

Details
Public

In such situation, you may do the following changes in ICRCHdler.ini file to change the behavior of Smart Scan:

  1. Create a new file named ICRCHdler.ini in /opt/trend/imss/bin folder if it doesn't exist:

    # touch /opt/trend/imss/bin/ICRCHdler.ini

  2. Change the owner and permission of this file.

    # chown imss:imss /opt/trend/imss/bin/ICRCHdler.ini
    # chmod 755 /opt/trend/imss/bin/ICRCHdler.ini

  3. Edit the content of this file, add the following line in ICRCHdler.ini.

    [Default]

    TaskTimeout=5000

  4. Restart IMSVA services:

    # /opt/trend/imss/script/imssctl.sh restart

After this, the query time out value will become 5 seconds. If the user's network is not stable, this solution will probably solve the time out issue.

Premium
Internal
Rating:
Category:
Configure; Troubleshoot
Solution Id:
1118719
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.