Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUIC (HTTP/3) connections do not work when using socks5 proxies #124

Open
vukitoso opened this issue Feb 17, 2024 · 8 comments
Open

QUIC (HTTP/3) connections do not work when using socks5 proxies #124

vukitoso opened this issue Feb 17, 2024 · 8 comments
Labels
area: QUIC QUIC (HTTP/3) issues

Comments

@vukitoso
Copy link

vukitoso commented Feb 17, 2024

Hello.

Thank you very much for the FoxyProxy extension, a very useful extension, I use it all the time.

Firefox 121.0.1
FoxyProxy 8.9

When using socks5 proxies, QUIC (HTTP/3) connections do not work, only HTTP2.
I check here https://quic.nginx.org/quic.html

@erosman
Copy link
Collaborator

erosman commented Feb 17, 2024

In Chrome, QUIC (HTTP/3) is a separate scheme than HTTP/HTTPS/SOCKS4/SOCKS5.

At the moment, proxy.ProxyInfo does not appear to support QUIC (HTTP/3).

I am going to have a chat with Mozilla engineers about it and get back to you.

Ref: ProxyChannelFilter.sys.mjs

@erosman erosman added the area: QUIC QUIC (HTTP/3) issues label Feb 17, 2024
@vukitoso
Copy link
Author

Strange. QUIC is just an add-on over UDP, just like HTTP is over TCP.
And Socks5 supports TCP and UDP. In theory it should work.

@erosman
Copy link
Collaborator

erosman commented Feb 19, 2024

It appears that HTTP/3 proxy is disabled in Firefox at the moment.

ref: HttpBaseChannel.cpp

PS. QUIC proxy is supported by Chrome and is enabled in FoxyProxy 8.10

@vukitoso
Copy link
Author

It appears that HTTP/3 proxy is disabled in Firefox at the moment.

Thanks a lot.
Did you find this yourself from the source code or did you talk to the Firefox developers?

@erosman
Copy link
Collaborator

erosman commented Feb 19, 2024

I was told by the Firefox engineers.
I am following up with them to see if there are plans to add support.

@vukitoso
Copy link
Author

@vukitoso
Copy link
Author

@erosman
Copy link
Collaborator

erosman commented Feb 26, 2024

Bug 1882018
This is because our SOCKS proxy layer does not support UDP traffic.

See also:
Bug 1808692: SOCKS implementation does not support UDP
Bug 1882071: Support QUIC (HTTP/3) scheme in proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: QUIC QUIC (HTTP/3) issues
Projects
None yet
Development

No branches or pull requests

2 participants