-
Notifications
You must be signed in to change notification settings - Fork 2
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
Forward SOCKS to HTTP proxy #1
Comments
It doesn't support that currently. I don't know much about HTTP proxies but
As far as I can see, implementing the first thing is just a matter of For the second method you would have to have it connect to your HTTP proxy Compiling for Android should be easy as it has basically no dependencies, Can I ask why you want to do this? I.e. why not connect to the HTTP proxy Cheers, Tim On 15 July 2014 17:59, Mohsen Khahani [email protected] wrote:
|
Hi Tim, The application is supposed to act as an Internet censorship circumvention. It routes all TCP/UDP connections through a local SOCKS server. It's done by combination of Android's VpnService and Tun2Socks at the moment. VpnService creates a virtual network interface, configures addresses and routing rules, and returns a file descriptor. Then Tun2Socks reads from FD and forwards connections to a local SOCKS server. I need to forward SOCKS to proxy server(Squid). Better is to route connections provided by VPN directly to proxy server but Tun2Socks doesn't support HTTP proxy. Let me know if you can help me this happen? I can pay for it and I'm okay with the licence if you prefer to be part of your project. |
Ah I see. To be honest I think it would be easier and cleaner to just add Frankly though, I would start from scratch and do it entirely in Java. It
It's a fair bit of work but you'll end up with the best result. I'd be Or ask on stackoverflow. Cheers, Tim On 17 July 2014 12:01, Mohsen Khahani [email protected] wrote:
|
You're right, better to write a special code preferably in Java for such purpose. But it needs lots of work and a good knowledge in wide range of various network related concepts(e.g. network layers, protocols, ...). I'm not so good in network programming and no much time to learn. At the moment, I've just assembled a couple of pre-build and well tested programs to create a chain. For the last part of the puzzle I just found JSocks which acts as a SOCKS server and supports chaining to another SOCKS server. So I'm trying to add support for chaining to HTTP proxy. The Orbot project you mentioned doesn't use VpnService. It just uses NAT via iptables to route connections. Thanks for the advice and your time. |
Hello,
I'm looking for a SOCKS server that runs on locally and forwards SOCKS connections to HTTP proxy just like what Dante does.
Thanks.
The text was updated successfully, but these errors were encountered: