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

2016-09-17 Thread grarpamp
On Sat, Sep 17, 2016 at 6:10 AM, Flipchan  wrote:
> I am currently working on a proxy Project (github.com/flipchan/LayerProx) and 
> i connect to my proxy with a socks4a

As a general note for authors of things that speak and listen 'socks'...
Some credit would be due for using socks4a instead of socks4.
However both socks4 and socks4a are long deprecated and should
not be implemented. Please write all new projects first in socks5.
Then add code for socks4a if absolutely necessary for legacy support.
Socks5 adds somewhat better DNS / semantics, UDP transport
and IPv6 transport. The latter two, especially IPv6, being mandatory
features for the user of today's internet.

> Does anyone know how to connect to a socks4a proxy with Tor(without 
> proxychains)

Tor client can listen and speak socks5.
Tor exits cannot speak socks5. For that you either need to
- tunnel the application (socks5) through tor. ie: proxychains
- patch signaling into tor so that some type of client
service request mode causes the exit in use to speak
socks5 on behalf of circuit requestor.

> i have played around with socat

Socat socks5 is partial implement, work with dest-unreach
people to make it fuller semantic like their socks4a implement.

A decent client and server is dante.
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


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

2016-09-17 Thread Allen
P.S., socks4a is described at
http://www.openssh.com/txt/socks4a.protocol .  See also
https://en.wikipedia.org/wiki/SOCKS#SOCKS4a

On Sat, Sep 17, 2016 at 7:26 AM, Allen  wrote:
> 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  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@lists.torproject.org
>> To unsubscribe or change other settings go to
>> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


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

2016-09-17 Thread Allen
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  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@lists.torproject.org
> To unsubscribe or change other settings go to
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


[tor-talk] Connect Tor to socks4a proxy

2016-09-17 Thread Flipchan
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@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk