Allowing Access to WebSockets Through the Smoothwall Filter

Summary

Mozilla.org defines WebSockets as the following: The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply. (https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)

Problem

Some websites use the WebSocket protocol and can have issues when the traffic goes through the Web Filter.

Resolution

The following steps discuss what is needed to ensure that WebSocket traffic works through the Smoothwall as expected.

Create a new category which to store the WebSocket domains. Go to Guardian -> Policy Object -> Categories.

Enter a name for the new category. For example, Websocket.

Enter the Domains or Subdomains that use WebSockets into Domain/URL filtering and click Save.