Forum Discussion
keith_varga_107
Nimbostratus
Jul 30, 2013F5 irule points to websockets server, but no response back
Currently, we run 32bit 10.2.3 F5.
We are trying to use websockets via an irule.
For example, the user comes in via the https F5 virtual server, and is directed via an irule to the websoc...
Kevin_Stewart
Employee
Sep 30, 2013That looks good. I also see that you went from matchclass to class match. You could technically streamline a little bit more by negating the UnrestrictedUris condition:
when CLIENT_ACCEPTED {
HTTP::enable
}
when HTTP_REQUEST {
if { ([HTTP::uri] starts_with "/the-websocket-uri") } {
HTTP::disable
} elseif { not ( [class match [HTTP::uri] starts_with UnrestrictedUris] ) } {
Drop the request
drop
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects