News for hackers. Stuff that matters.
Re:DNS-over-HTTPS by comex on Friday September 30, 2016 @12:42AM (#12610553)
Web applications can't initiate raw TLS connections.
Re:DNS-over-HTTPS by peburrows on Friday September 30, 2016 @02:00AM (#12610734)
That's not true. Sure, many languages require you to drop down to a lower-level API to create a vanilla TCP connection, but if the language you're using doesn't provide a way to open a TCP socket and do the TLS negotiation dance, then you've probably chosen the wrong language.
Re:DNS-over-HTTPS by mort96 on Friday September 30, 2016 @03:05AM (#12610902)
The language is entirely uninteresting; what's interesting is what the runtime allows you to do. Browsers purposefully don't allow you to create raw TCP connections, yet JavaScript can in many other contexts (e.g node.js) create raw sockets perfectly fine.
Re:DNS-over-HTTPS by kuschku on Friday September 30, 2016 @05:08AM (#12611322)
> Browsers purposefully don't allow you to create raw TCP connections

Which is ridiculous, as it literally brings zero advantage to restrict that.

Re:DNS-over-HTTPS by lorenzhs on Friday September 30, 2016 @06:53AM (#12611674)
Well I think it's a good idea to prevent web pages from just opening up a socket to some server, speaking whatever protocol they like. It could be easily abused to spam, etc.

There is, however, https://www.w3.org/TR/tcp-udp-sockets/ - see section 10 for an example.

Re:DNS-over-HTTPS by kuschku on Friday September 30, 2016 @08:18AM (#12611989)
Considering the move proposed in this thread to move even SMTP to HTTP, how would preventing connecting to SMTP prevent spam when one can still POST to SMTP-over-HTTP?
Re:DNS-over-HTTPS by paulddraper on Friday September 30, 2016 @11:13AM (#12612932)
"We need to restrict this to prevent abuse."

-- time passes --

"We need to change everything in order to accomplish a task under these restrictons."

Re:DNS-over-HTTPS by sneak on Friday September 30, 2016 @02:02AM (#12610738)
Then all billion of us on the web have "chose[n] the wrong language".
Re:DNS-over-HTTPS by regularfry on Friday September 30, 2016 @02:36AM (#12610824)
This is painfully accurate.
Re:DNS-over-HTTPS by nilved on Friday September 30, 2016 @09:58AM (#12612441)
Indeed, it's quite unfortunate