-
Notifications
You must be signed in to change notification settings - Fork 87
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
Proxy support? #218
Comments
If you run gossip on whonix everything goes through TOR. That can be done today. But to honor a SOCKS5/TOR proxy directly, I think tungstenite would need to support it first. I could be wrong, maybe there is a way we can point tungstenite at the proxy without it being proxy-aware, but I don't think so. Would have to dig into SOCK5 to figure that one out. |
Ya, hoping to avoid the overhead of spinning up a VM on my mac just to run gossip on it. I proxy a lot of different apps in various ways, but gossip is somehow ducking under my tools and i can’t get ahold of its networking. |
couple things i googled up… https://docs.rs/async-socks5/0.5.1/async_socks5/fn.connect.html |
this might be a full solution to adding proxy support for tungstenite: https://chuxi.github.io/posts/websocket/ some more stuff from the interwebs snapview/tungstenite-rs#177 (see especially snapview/tungstenite-rs#177 (comment)) |
I'm not motivated to push forward on this right now as I've got so many higher priority things to do. But I would merge a sensible PR. And I like keeping this issue open so I can eventually get around to it. |
i understand. If time opens up enough for me to take on learning rust, i may take a crack at it. likely you’ll get back to it someday before i do. |
I think it is safest to isolate the entire gossip process, than for gossip to try to adjust all its network activity (I might miss some code). I recommend the following on ArchLinux, and with that I'm going to close this issue.
|
How hard would it be to make gossip proxy aware?
My use-case is wanting to run gossip through local SOCKS5 / TOR proxies.
maybe helpful? : https://stackoverflow.com/questions/63992487/is-there-a-way-to-connect-through-a-proxy-while-using-websocket-in-rust
…or not - just re-read that SO and realized there was no solution in there.
The text was updated successfully, but these errors were encountered: