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

Connection through Tor/Socks5 doesn't work #1028

Open
Revertron opened this issue Apr 6, 2023 · 9 comments
Open

Connection through Tor/Socks5 doesn't work #1028

Revertron opened this issue Apr 6, 2023 · 9 comments

Comments

@Revertron
Copy link
Contributor

If you try to add something like socks://127.0.0.1:9050/ygg.mkg20001.io:80 into peers you will get invalid username/password in yggdrasil log.

But if I configure some username and password in Tor and use those creds in socks:// url it works.
I think Yggdrasil needs to send empty username+password to the socks-server.

@majestrate
Copy link
Contributor

if tor does not support no auth in socks5 would it not be a bug in our socks5 client dep? it should send back an error like "proxy refused request, authorization type [placeholder values goes here] not supported" if we are talking to a socks5 proxy that does not accept anon socks5 request.

@Revertron
Copy link
Contributor Author

But it works from Firefox without credentials. Should work from Yggdrasil, no?

@majestrate
Copy link
Contributor

majestrate commented Apr 6, 2023 via email

@Vort
Copy link

Vort commented Apr 18, 2023

Maybe you want to try setting SocksPort 9050 PreferSOCKSNoAuth in torrc.

@0Flag
Copy link

0Flag commented May 2, 2023

Also I2P connections stopped working with error: Failed to dial SOCKS localhost:4449: socks connect tcp localhost:4449->xmgzqfidm3zn4y3vfljqiuyfxorifntjca3rfnwv3dbbfcrx4uca.b32.i2p:30112: EOF. Tor and I2P connections worked fine for 0.4.4. It seems there was a refactoring from 0.4.4 to 0.4.5 which borked the socks connections.

@Vort
Copy link

Vort commented May 2, 2023

I2P network is under attack now by the way. Not sure if it is related to proxy problem however.

@0Flag
Copy link

0Flag commented May 2, 2023

I2P network is under attack now by the way. Not sure if it is related to proxy problem however.

True, but that's not the issue. I can connect to I2P peers right now with V 0.4.4

@neilalexander
Copy link
Member

Is this still an issue?

@r4sas
Copy link
Contributor

r4sas commented Nov 7, 2023

Is this still an issue?

Yes.

add: users say sockstls solves that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants