Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 9.0
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
    • Access Control Service
    • DHCP
    • DNS
    • Dynamic Routing Protocols (OSPF/RIP/BGP)
    • Firewall
    • HTTP Proxy
    • SIP Proxy
    • URL Filter
    • Virus Scanner
      • How to Enable the Virus Scanner
      • Advanced Threat Protection (ATP)
      • How to Update Virus Patterns Manually
      • Virus Scanner Integration in the HTTP Proxy and FTP Gateway
    • VPN
    • Wi-Fi
    • CloudGen Access Proxy
  • Automated Critical Updates
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Virus Scanner Integration in the HTTP Proxy and FTP Gateway
    Published Jan 09

    Virus Scanner Integration in the HTTP Proxy and FTP Gateway

    Jan 09, 2026
    Subscribe

    The following article describes the working mechanism of Proxy and FTP gateway integration when using a virus scanner.

    Proxy Integration

    The Squid-based proxy service communicates with the virus scanner using ICAP protocol. 

    Schematic overview of proxy integration
    Proxy integration works as follows:
    1. The request is sent from the source address to the Internet.

    2. The response is returned from the destination.

    3. The response is forwarded to the antivirus service via ICAP.

    4. If content is "infected," it is removed.

    5. The scanned response is returned to the Barracuda CloudGen Firewall. In case of infected content, a corresponding block HTML page is sent.

    6. The requested content is delivered to source address. In case of infected content, a corresponding block HTML page is displayed. 

    To integrate virus scanning on an HTTP proxy, make sure that Yes is selected from the Enable Virus Scanning list in the HTTP Proxy Malware Protection settings.

    FTP Gateway Integration

    Scanning FTP requests is processed via internal service communication between the FTP gateway and the virus scanner service.

    Schematic overview of FTP gateway integration
    FTP Gateway integration works as follows
    1. The FTP request is sent from the client to the Internet, passing the FTP gateway.

    2. The response is returned from the destination to the FTP gateway.

    3. The response is split into two information streams. For every 4096 KB package, 1 KB is directly returned to the client without being scanned in order to avoid time-outs in the connection between the client and FTP gateway. The larger part of the data package is forwarded to the antivirus service.

    4. If content is "infected," it is removed. The virus scanner returns an error code and virus information to the FTP gateway, terminating the client data connection. Furthermore, it returns a 505 error code containing the virus information. The FTP gateway forwards this information to the client (505 virus <virus_name> found in file). The unscanned part of the data package, which has already been forwarded to the client, remains on it as tiny file fragment. This fragment must be deleted manually.

    5. If content is clean, the scanned response is returned to the FTP gateway.

    6. The FTP gateway delivers the requested content to the source client.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 31, "requestCorrelationId": "b78879d73da94a2fb9a991566cf3830a"}