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 Web Application Firewall
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Web Application Firewall
  • 30-Day Evaluation Guide - Barracuda Web Application Firewall
  • Getting Started
  • Deployment
  • Services
  • Securing HTTP/HTTPS Traffic
    • Evaluation Policy and Flow
    • Smart Signatures
    • Rule Matching
    • Content-Based Rules
    • Security Policies
    • Allow/Deny Rules for Headers and URLs
    • Back-end SSL Server Configuration
    • How to Configure URL Encryption Rule
    • How to Create a Custom Response Page
    • How to Enable HTTP/2
    • How to Enable Client Fingerprinting
    • How to Enable WebSocket
      • How to Enable WebSocket Security
    • How to Enable Proxy Protocol
    • Detecting website defacement using Application Layer Health Check
    • OWASP TOP 10 Web Application Threat Protection
  • Advanced Bot Protection
  • Client-Side Protection
  • API Security
  • Advanced Security
  • IP Reputation-Based Filters
  • Tuning Security Rules
  • Barracuda Active Threat Intelligence
  • Access Control
  • Traffic Management
  • Configuring User-Defined Patterns
  • Logging, Reporting and Monitoring
  • High Availability
  • Networking
  • System Administration and Maintenance
  • Certificate Management
  • Centralized Management of the Barracuda Web Application Firewall
  • Attacks Description - Action Policy
  • REST API
  • Common Web Application Attacks
  • How to Set Up Barracuda Cloud Control
  • End of Support and End of Life Information
  • Critical Vulnerabilities in Web Application
  • Barracuda Advanced Bot Protection Cloud Infrastructure Upgrade Information
  • Barracuda WAF 12.2 Firmware Hardened to Augment Security of Product Features

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Enable WebSocket
    Published Jun 01, 2023

    How to Enable WebSocket

    Jun 01, 2023
    Subscribe

    Overview

    WebSocket is a protocol that provides a two-way, bidirectional (full-duplex) communication over a single TCP connection, so that the data can be transferred simultaneously at any time (RFC 6455).  While WebSocket runs over TCP, it is different from other TCP-based full-duplex protocols because, it runs over the standard HTTP/SSL port numbers. WebSocket is primarily designed for server-browser communication and to address limitations of HTTP/1.1 – primarily its inability to perform out-of-order request processing and lack of support for server-initiated transactions (server push).

    How the Barracuda Web Application Firewall Works when It Sees WebSocket Traffic

    A WebSocket connection is established by a handshake mechanism between the client and the server, whereby both agree to upgrade from HTTP to WebSockets. Though the handshake itself happens using the HTTP protocol, subsequent traffic does not conform to HTTP. In fact, the client and server are free to choose any format for data exchange, including binary, compressed or encrypted.

    Since the choice of the data format is left unspecified by the standard, the Barracuda Web Application Firewall cannot generically parse data inside WebSockets for security inspection. It therefore acts as a pass-through proxy allowing data in and out without performing any checks on the data.

    Enable WebSocket for a Service

    Perform the following steps to enable WebSocket:

    1. Go to the ADVANCED > System Configuration page.

    2. In the Advanced Settings section, set Show Advanced Settings to Yes and click Save.

    3. Go to the BASIC > Services page.

    4. In the Services section, click Edit next to the service to which you want to enable WebSocket.

    5. In the Service window:

      1. Scroll down to the Advanced Configuration section.

      2. Set Enable WebSocket to Yes.

      3. Click Save.

     


    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": 29, "requestCorrelationId": "856ff6e1c8dc408c95d5d189e3326b7f"}