-
Notifications
You must be signed in to change notification settings - Fork 251
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
Can you support socks5h in the type
field of redsocks.conf?
#206
Comments
Another, Seems all main proxy services are now supporting socks5h, and lots of them support socks5h only and not socks5, though we can use socks5 with some different ways, but officially, they do recommend socks5h only. For example, Smartproxy, Packetstream, etc. |
Causes lots of proxy services provider support |
type
field of redsocks.conf?type
field of redsocks.conf?
Socks5h is used by applications which knows domain name being requested.
Redsocks works in IP layer and has no idea about the domain name. So,
nothing can be done here
…On Mon, Oct 21, 2024, 17:41 yukeiyang ***@***.***> wrote:
@semigodking <https://github.com/semigodking> , thanks for your wonderful
development works on redsocks after darkk <https://github.com/darkk>
stopped supporting redsocks in the past several years. It's cool and thanks
a lot.
/etc/redsocks.conf
base {
log_debug = on;
log_info = on;
log = "stderr";
daemon = off;
redirector = iptables;
}
redsocks {
bind = "127.0.0.1:12345";
relay = "gate.visitxiangtan.com:7000";
type = socks5;
timeout = 300;
}
*I checked and tried many times for these 2 situations*
curl -4 -x socks5://gate.visitxiangtan.com:7000 -v https://example.com/
If set as socks5, the access is not stable. seems 50% failed.
curl -4 -x socks5h://gate.visitxiangtan.com:7000 -v https://example.com/
If set as socks5h, the access is very stable. 100% succeeded.
So, Can you add socks5h support in type field?
—
Reply to this email directly, view it on GitHub
<#206>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAP2XDYZSOJW6OO22ZRNLCTZ4TD35AVCNFSM6AAAAABQJVZINWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDCOBXHA3TMNA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@semigodking , thanks for your wonderful development works on redsocks after darkk stopped supporting redsocks in the past several years. It's cool and thanks a lot.
/etc/redsocks.conf
I checked and tried many times for these 2 situations
curl -4 -x socks5://gate.visitxiangtan.com:7000 -v https://example.com/
If set as
socks5
, the access is not stable. seems 50% failed.curl -4 -x socks5h://gate.visitxiangtan.com:7000 -v https://example.com/
If set as
socks5h
, the access is very stable. 100% succeeded.So, Can you add socks5h support in
type
field?The text was updated successfully, but these errors were encountered: