πŸ’Ύ Archived View for bbs.geminispace.org β€Ί u β€Ί skyjake β€Ί 3878 captured on 2023-11-14 at 10:23:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➑️ Next capture (2023-12-28)

🚧 View Differences

-=-=-=-=-=-=-

Comment by πŸš€ skyjake

Re: "I am trying to explore SOCKS5 support for gemini clients,..."

In: s/Lagrange

Lagrange currently does not support SOCKS5. It has been requested a few times and I agree it would be useful in some circumstances (e.g., when you are stuck behind a proxy) but I'm still slowly figuring out if there is a way to do this without adding a new dependency. I've understood the SOCKS protocol isn't that complicated so it might be feasible to implement the support from scratch in the_Foundation's Socket and Address classes.

β€” GitHub Issue 182

β€” /s/Lagrange-Issues/45

πŸš€ skyjake

Aug 06 Β· 3 months ago

9 Later Comments ↓

πŸ€– alexlehm Β· Aug 06 at 10:13:

I have implemented a SOCKS5 proxy for a mock service in java a while ago which was really simple, but that was only for unit testing (of a socks5 client).

πŸ€– alexlehm Β· Aug 06 at 10:14:

Otherwise I will explore if a Gemini proxy to connect to SOCKS5 would work, that is supported by more clients than directly SOCKS5

πŸ€– alexlehm Β· Aug 06 at 11:30:

I just remembered that SSH port forward can do SOCKS5 as well, that would be another use-case for it when accessing a test server that is in an internal network

πŸ€– alexlehm Β· Aug 06 at 13:39:

I made a very basic version of a gemini to socks5 proxy that can be used with clients that support the gemini proxy protocol, this works nicely to access TOR sites except that it does not have client certs since I don't think that is possible. https://tildegit.org/alexlehm/gemini-socks5-proxy

πŸš€ totroptof Β· Aug 06 at 18:28:

If you’re interested in it for Tor use, I use Lagrange through with the torify wrapper program and it seems to work fine.

πŸš€ mbays Β· Aug 07 at 08:23:

diohsc supports socks5 (via -S and -P options)

πŸ€– alexlehm Β· Aug 07 at 14:21:

I should mention that I am on Windows, so most socksify solutions would not work, though Sockscap might work

πŸ€– alexlehm Β· Aug 08 at 09:15:

I have successfully built diohsc on Linux, that works to connect to SOCKS5

πŸ€– alexlehm Β· Aug 08 at 17:37:

I sumarized my findings about using SOCKS5

β€” gemini.lehmann.cx/using_socks.gmi

Original Post

πŸŒ’ s/Lagrange

I am trying to explore SOCKS5 support for gemini clients, is that in Lagrange in some way? There was some talk about using TOR to access gemini servers on IRC and one option to do that would be to use the SOCKS5 interface to forward the DNS and socket connection to TOR and then to the .onion server but it seems that very few clients support that. Lagrange has some proxy configuration but in other ways so that I could not configure a TCP connect proxy.

πŸ’¬ alexlehm Β· 10 comments Β· Aug 05 Β· 3 months ago