Configuring ICAP Integration
Internet Content Adaptation Protocol (ICAP) is a protocol that scans files. ICAP allows for real-time analysis and modification as it passes through the network.
The Cyolo platform can integrate antivirus and anti-malware solutions using ICAP. Cyolo transfers the files to the ICAP server, which scans them before they are accessed by others. This prevents the spread of malware and other security threats.
Currently ICAP scans files when they are uploaded or downloading during an SMB or File Transfer session.
Prerequisite
• The anti-virus or anti-malware software must be installed before integrating into the Cyolo admin portal.
Configuration
- Log in to the admin portal and navigate to the Integrations > Anti Malware page.
- Click the ICAP Servers tab.

- Click New in the top right-hand corner.
- Server name - Enter the name of the server.
- Site - Click the drop-down under Sites to select the sites this configuration will apply to. In the example below, All Sites is selected.
- Host: - Enter the IP address or hostname of the server. The IP address or hostname must be reachable from the portal.
- Maximum file size (GB) – Enter the maximum size of the file to be scanned. Although the default size is 30 GB, the maximum permissible size is unlimited. However, the larger the file, the longer it will take to scan - which could affect user experience.
- Port – This is the port number that the server is listening on. The default is 1344. You can change it based on the server.
- Service Name – This is the path within the ICAP server in which the application is hosted.
- Client certificate (Optional) – If the server is configured to require the client certificate before establishing connection, click the drop-down and select the certificate. The certificate must have been uploaded on the Trusted Certificates page under Policies.
- Click Save.

Service Selection
- Click the Settings tab.
- Under Service Selection, select External ICAP server. The default is Cyolo.
- The following options decide what happens when an error or failure occurs at the ICAP server that prevents it from scanning the file:
a. Fail open: Allow the file to be transferred without scanning and send a log notification to the administrator.
b. Fail Close: Block the file from being downloaded or uploaded; display an error message to the end user and send a message to the administrator about the action - Click Save.

Enable ICAP Scan in Actions Profile
- Navigate to the Policies > Actions page.
- Create a new actions profile with protocol set to SMB or edit the default profile for SMB.
- Under the Actions section, enable the toggle-button Anti malware scan to enable it.
- Click the drop-down to select either of the following options:
a. Report - When this option is selected, if the file being transferred fails the malware scan or exceeds the configured maximum size, a message will be displayed and a log message will be generated.
b. Block - When this option is selected, if the malware scan fails or the file size exceeds the configured maximum, the file will be discarded, an error message will be displayed, and an appropriate log message will be generated. - Save the profile.

Enable Malware Scan for File Transfer
- Navigate to the File Transfer page.
- Enable the Anti malware detection for uploaded files checkbox. This option is enabled by default.
- Click Save.

Updated 3 days ago