[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Connect Tor to socks4a proxy



You can open a TCP connection to the tor proxy port (by default 9050
or 9150 on the localhost), send a command string, then read the reply.
If the reply indicates a successful connection, you then send and
receive bytes from the proxy port just like it was connected to the
final end point.  The command string and reply formats are documented
at http://ftp.icm.edu.pl/packages/socks/socks4/SOCKS4.protocol

On Sat, Sep 17, 2016 at 6:10 AM, Flipchan <flipchan@xxxxxxxxxx> wrote:
> Hello everyone:)
> I am currently working on a proxy Project (github.com/flipchan/LayerProx) and i connect to my proxy with a socks4a, anyhow i am trying to connect first to Tor then to the socks4a proxy like a dynamic_chain proxychain,
> Does anyone know how to connect to a socks4a proxy with Tor(without proxychains) i have played around with socat But havent rly got it to work and havent rly found any good python libs, does anyone know how to connect to a socks4a proxy using Tor?  Or is like proxychains the only way
>
> Have great day and Take care
> --
> Sincerly Flipchan
> --
> tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change other settings go to
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk