Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SettingDescription
Server Local IP
In most cases, leave the default value of 0.0.0.0. If you are using a separate FileCloud policy with ICAP, enter the Private (LAN) IP of the FileCloud server.  
ICAP Remote Hostname

Enter the hostname or IP of the system where the ICAP AV is deployed.

ICAP PortLeave the default value of 1344 as it is. In rare cases, this might need to be changed to whatever port the ICAP AV server is listening on.
Secure ICAPEnable if the ICAP server is running with SSL or TLS protocols.
File Size LimitThis is the file limit in bytes that will be scanned. For example, very large files can be excluded from scanning. Default value is 25MB
ICAP Service NameConsult the ICAP AV server product documentation to know this value. It must be set correctly otherwise integration wont work.
Enable Basic Debug LoggingCheck this to enable logging of detailed operational debug messages in the (error) logs.
Enable Network Payload Debug LoggingCheck this to enable logging of detailed network communication related debug messages in the (error) logs.

If scanning fails

If scanning fails because the ICAP server is down, a message appears on your screen, and your Manage Alerts page displays the message:
Image Added

By default, if ICAP fails to scan a file because the ICAP server is down, the file is not deleted.

To automatically delete files if ICAP scan fails because the ICAP server is unavailable:

  1. Open the configuration file:
    Windows: XAMPP DIRECTORY/htdocs/config/cloudconfig.php
    Linux: /var/www/config/cloudconfig.php
  2. Add the line:

    Code Block
    themeMidnight
    define("TONIDOCLOUD_ICAP_DELETE_ON_SCAN_FAIL",1);

    Now, when scan fails, the file is deleted, and the audit log displays the message: ICAP removed [FILE_PATH] due to scan fail.


    Note

    If TONIDOCLOUD_ICAP_DELETE_ON_SCAN_FAIL is enabled and the ICAP server is not available, FileCloud does not allow files to be uploaded.