by codetrotter · 5y ago · 0 comments
Public networks in coffee shops and libraries that block outbound SSH and outbound Wireguard are the bane of my existence when I am traveling and I try to get some god damn work done.
With HTTP/3 most public networks in coffee shops, libraries etc are eventually going to allow QUIC. This means UDP tunnels masquerading as QUIC traffic, as well as tunneling over QUIC itself, is probably going to work. Eventually.
I am cautiously optimistic :)
We're working on standardizing "IP Proxying" over QUIC as part of the MASQUE working group at IETF. So far, we've adopted a requirements document [1] and have started work on an implementation [2].
[0] https://quiche.googlesource.com/quiche/+/refs/heads/master/q...
[1] https://tools.ietf.org/html/draft-ietf-masque-ip-proxy-reqs-...
[2] https://tools.ietf.org/html/draft-cms-masque-connect-ip-00
[1] https://github.com/DavidSchinazi/draft-cms-masque-connect-ip...
You could use the path to indicate different VPN endpoints, but ultimately the path isn’t needed at all.
Additionally all of this is gonna be inside a TLS session, so no external viewer will ever see any of the headers, including the path.
TL;DR the RFC doesn’t make this VPN endpoint a traditional http resource at all. It a special new HTTP method (like GET or POST) that indicates the client wants the server to treat the following data as an IP stream.
I guess I am also very curious why you aren't defining this over WebTransport (which would allow it to be usable from websites--verified by systems like IPFS--to build e2e-encrypted raw socket-like applications, as I imagine CONNECT-IP won't be something web pages will be able to use). (For anyone who reads this and finds this thought process "cool", talk to me about Orchid some time, where I do e2e multi-hop VPN over WebRTC ;P.)
If a public access point has a restrictive network policy, then QUIC will change nothing. There is nothing that QUIC enables that people browsing the web will demand. A user cannot even tell if they are using QUIC (or http2) for that matter.
The network operator is either non-technical and does not care about QUIC; or technical but trying to actively prevent people from using VPN and/or torrenting.
There are many ways to VPN that look like tcp http. tcp over tcp is okay if the connection is stable.
I would say they disable it deliberately to prevent VPN tunneling, its probably a sane decision to disable anything not needed for the intended purpose (or not putting effort in enabling it).
For the most part it'll work no problem. Yeah tunnelling IP over UDP would be better, but ip over TCP is the only think you have... It's gonna work, as long as the underlying connection is stable enough.
Please consider that today, in 2021, IPv4 is still the only thing supported in many venues. It took almost 20 years for IPv6 to become universally supported by Operating Systems, ISPs, providers, etc, but still you have to have IPv4.
And I dare say IPv6 was much much more critical to have than QUIC.
But having said all that, what is there to allow in QUIC? Isn't it just using UDP?
Your aren't wrong about that, given the amount of fallback browsers do, but IPv6 actually required upgrading key pieces of hardware at critical points in the infrastructure[0]. Not sure if there's any hardware released in the last 10+ years that doesn't support it, but who knows?
... and yes, QUIC is "just UDP".
[0] ... and dare I say: a more compelling immediate use case. At the time is was designed the address shortage wasn't actually looking all that dire. It might actually have been invented/designed too soon... like it solutions to Y2K had come out in 1980 or something.
If browsers fall back to regular HTTPS when the QUIC connection fails there won't be much incentive in making sure QUIC works or isn't blocked.
https://blog.cloudflare.com/http-2-prioritization-with-nginx... (you can replace fq with fq_codel on newer kernels)
https://stackoverflow.com/questions/17015611/how-to-disable-...
And for not using SSH for tunneling, well you could try openvpn for example which offers TCP- and UDP-based transports and if you're stuck with TCP then it merely nests TCP-in-TLS-in-TCP which is only 2 layers of flow control rather than TCP-in-SSH-in-TCP which is 3 layers of flow control.
Note that this is not universal network tuning advise. It's meant for bursty or bulk traffic in TCP tunnels over wired connections with low packet loss.
https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?...
> Our recommendations:
> Palo Alto Networks recommends creating a security policy in the firewall to block the QUIC application.
https://community.spiceworks.com/topic/2146987-do-you-block-...
> Do You Block QUIC
> Thinking about it, ... > Yes, ... > Yes, ... > Yes, ... > No, ...
https://www.fastvue.co/fastvue/blog/googles-quic-protocols-s...
> How Google’s QUIC Protocol Impacts Network Security and Reporting
> ... inadvertently created a security hole for many organizations.
> ... At the time of writing, the advice from most firewall vendors is to block QUIC until support is officially added to their products.
https://help.zscaler.com/zia/managing-quic-protocol
> Managing the QUIC Protocol
> Zscaler best practice is to block QUIC
https://www3.trustwave.com/support/kb/print20269.aspx
> Blocking web traffic over QUIC
> The recommended fix is to block outbound UDP on ports 80 and 443 ...
Probably take a few years for the low-effort network blocks to figure out how to deal with that.
A lot of VPN blocking isn't a specific, deliberate policy choice by the network owner, it comes in from default policy options on whatever awful vendor they use. The people seriously concerned about outgoing tunnels providing access back into protected networks that hides from normal packet inspection are a different case.
On the other hand, public networks would only have to allow QUIC if regular HTTP(S) fallback ever stopped being supported by most webservers, which... who knows if that would ever happen.
Sure, your family-run coffee shop won't bother to block QUIC, but if Starbucks' IT is doing their job, they will.
That's a continuing trend, and you might recognise it from other aspects of life. Paying more while deliberately choosing a worse service is pretty much life-as-usual for corporations.
One of my previous employers had a deal to get train tickets. In my country train tickets for actual consumers, even ordered online, don't have a service fee. After all in choosing to order online you're actually saving them money, why would it cost extra? But the corporation paid about 5% fees to get train tickets from a company which also provides those zero fee services to individuals.
Or think about all the companies where Windows XP desktops were still being used years after they were obviously the wrong choice.
Monday to Friday the world IPv6 utilisation goes down, but every weekend it's back up. Because at home people have IPv6 (even if they've never thought about it) while at work somebody explicitly turned that off.
One of the nice things about working from home is that my network works very well, whereas whether I worked for a startup or a billion dollar corporation it was always one problem or another when I was in the office. Which reminds me, I should really look for a new job as this pandemic begins to slacken off.
I like that you used past tense there, but I'm pretty sure XP is not dead yet. Unfortunately :/
It’s going to be a long time before any site requires QUIC in order to work.
https://en.wikipedia.org/wiki/Secure_Socket_Tunneling_Protoc...
This TCP meltdown problem is especially prominent in public WiFi networks where they often like to dramatically limit the bandwidth to the clients that connect to their network. So UDP tunneling will work much better there.
That’s why I am excited about maybe finally having tunneling over UDP be a reality on public networks in coffee shops and libraries in the future thanks to HTTP/3 and QUIC where historically the mentioned kinds of networks have often been blocking basically all UDP traffic except DNS.