yurymuski / curl-http3

Curl docker image compiled with BoringSSL and quiche for HTTP3 support + httpstat
MIT License
72 stars 18 forks source link

http3 + socks5 proxy? #10

Closed ezbik closed 1 year ago

ezbik commented 1 year ago

I have a socks5 proxy that is UDP capable (https://gost.run) but this CURL can't use it for HTTP3.

gost -L :2324?udp=true
docker run -it --rm ymuski/curl-http3 curl -IL https://yurets.pro --http3 -x socks5h://aaa.bbb:2324 
HTTP/1.1 200 OK
yurymuski commented 1 year ago

@ezbik Hello, this repo is regular curl compiled with EXPERIMENTAL feature http3 =)

https://github.com/curl/curl/blob/master/docs/HTTP3.md#quiche-version

you can contribute or ask for socks5 proxy support there. https://github.com/curl/curl/issues

ezbik commented 4 months ago

A workaround how to check QUIC with this curl, through a Socks5 proxy

  1. glider -verbose -listen udp://:1444 -forward socks5://alice:cool@localhost:5001,udp://quic.tanatos.org:444
  2. curl_quic --connect-to quic.tanatos.org:444:localhost:1444 --http3 https://quic.tanatos.org:444/file3m.txt -o /dev/null