News for hackers. Stuff that matters.
Re:Everybody gets WebSockets by dabeeeenster on Thursday May 05, 2016 @11:22AM (#11636882)
I don't really see what the benefit is here for the developer? With HTTP CloudFlare can do caching etc to take load off the origin, but the origin server has to deal with each websocket (right?)
Re:Everybody gets WebSockets by billmalarky on Thursday May 05, 2016 @11:30AM (#11636947)
The benefit is this will allow people who previously had to reveal their origin IP (that is non business class users) in order to support websockets will now be able to hide origin behind cloudflare.

Cloudflare can't protect you from DOS attacks if the attacker knows the IP address of your origin.

Re:Everybody gets WebSockets by mmaunder on Thursday May 05, 2016 @12:23PM (#11637473)
Re:Everybody gets WebSockets by CiPHPerCoder on Thursday May 05, 2016 @02:15PM (#11638487)
Re:Everybody gets WebSockets by izak30 on Thursday May 05, 2016 @12:44PM (#11637662)
Pretty trivial to get a new IP address these days.
Re:Everybody gets WebSockets by chinathrow on Thursday May 05, 2016 @12:54PM (#11637749)
IP enumaration is also pretty trivial. I guess that what attackers might be using to "unhide" domains. Scan the net and request the required domain name?
Re:Everybody gets WebSockets by seabee on Thursday May 05, 2016 @01:52PM (#11638280)
That won't work if the origin firewall allows only CloudFlare IP ranges.
Re:Everybody gets WebSockets by homero on Thursday May 05, 2016 @03:51PM (#11639184)
Re:Everybody gets WebSockets by jkarneges on Thursday May 05, 2016 @12:49PM (#11637706)
If you're interested in CDN-like support for WebSockets that reduces burden on the origin server, check out https://fanout.io/ (disclaimer: founder). We translate incoming WebSocket messages into HTTP requests sent to the origin server, and you can send messages to multiple client connections at once using the API.
Re:Everybody gets WebSockets by jgrahamc on Thursday May 05, 2016 @11:25AM (#11636900)
All the things CloudFlare provides but not the caching (e.g. WAF, DDoS protection, DNS, SSL, ...)
Re:Everybody gets WebSockets by jephir on Thursday May 05, 2016 @12:24PM (#11637478)
The biggest thing for me is that you can use secure WebSockets (wss://) without having to setup TLS on your origin server. This greatly improves the ability to establish WebSocket connections across proxies.
Re:Everybody gets WebSockets by slrz on Thursday May 05, 2016 @12:56PM (#11637768)
So what you want to do is fooling clients into believing there is transport encryption while actually there is none and the communication with the origin server happens in the clear?
Re:Everybody gets WebSockets by matt4077 on Thursday May 05, 2016 @03:14PM (#11638924)
From what I remember, CF actually requires an ssl certificate, but they'll accept a self-signed one (because they already validate ownership themselves.
Re:Everybody gets WebSockets by homero on Thursday May 05, 2016 @03:52PM (#11639196)
Re:Everybody gets WebSockets by homero on Thursday May 05, 2016 @03:52PM (#11639194)
Re:Everybody gets WebSockets by pfg on Thursday May 05, 2016 @04:16PM (#11639341)
It's not wrong, given that it's a reply to this statement: "... without having to setup TLS on your origin server." Strict mode is optional. It's certainly possible (and highly recommended!) to use transport encryption in both directions with CloudFlare, but that's not what jephir described here.
Re:Everybody gets WebSockets by homero on Thursday May 05, 2016 @04:44PM (#11639533)
Why wouldn't you setup tls?? That makes no sense. By setup he means buying a cert
Re:Everybody gets WebSockets by pfg on Thursday May 05, 2016 @04:55PM (#11639604)
You don't need to buy certificates. There are at least four CAs offering free certificates, with at least two (Let's Encrypt and StartSSL) offering API-based issuance. Getting a publicly-trusted certificate from Let's Encrypt is roughly the same amount of work as finding out how to get the OpenSSL CLI to issue a self-signed certificate, or using CloudFlare's tool to get one from their CA.