aMule Forum

English => Feature requests => Topic started by: Tiansen on May 01, 2006, 12:00:16 PM

Title: Socks 4a proxy
Post by: Tiansen on May 01, 2006, 12:00:16 PM
Some plans for supporting Socks 4a proxy?
Title: Re: Socks 4a proxy
Post by: phoenix on May 02, 2006, 05:20:32 AM
Tiansen,

If you can try CVS code, I have just added the necessary support. I don't have time do test it now. The code should be in 2006-05-03 CVS snapshot.

Please, report your experience.

Cheers!
Title: Re: Socks 4a proxy
Post by: Tiansen on May 02, 2006, 02:20:09 PM
I will!

Thanks!
Title: Re: Socks 4a proxy
Post by: Tiansen on May 03, 2006, 10:40:28 AM
It seems it works for me! :baby:

But I don't have much knowledge of that stuff, so I'm asking more users to test it.
Title: Re: Socks 4a proxy
Post by: Kry on May 03, 2006, 10:52:45 AM
Isn't phoenix great?
Title: Re: Socks 4a proxy
Post by: Tiansen on May 03, 2006, 02:35:34 PM
When using Socks 4a Kad doesn't work. Is this normal?

In eMule Socks 4a proxy support is broken. But when using e.g. Socks 4, Kad works.
Title: Re: Socks 4a proxy
Post by: phoenix on May 03, 2006, 03:22:03 PM
Tiansen,

The following quote is from the SOCKS5 protocol documentation, RFC-1928:

Quote
  This new protocol extends the SOCKS Version 4 model to include UDP,
   and extends the framework to include provisions for generalized
   strong authentication schemes, and extends the addressing scheme to
   encompass domain-name and V6 IP addresses.

So, SOCKS4 and SOCKS4a do not have support for UDP as far as I know, and if I recall correctly, Kademlia is UDP based, so I think it will not be possible for it to work under SOCKS4 and SOCKS4a. Could you please check your information about Kad working with SOCKS4? Notice that if your network is accessible from the outer world, a test with a proxy is not valid, you need to test it with a really isolated machine behind a NAT.

On the other hand, Kad should work very well under a SOCKS5 proxy.

Cheers!
Title: Re: Socks 4a proxy
Post by: Tiansen on May 03, 2006, 07:51:28 PM
Well, using Socks 4 or 4a proxy with emule I get message Kad:Connected and Kad arrow turns yellow. I don't know how this is possible then. It seems also that it works better (much more sources, faster download...) with emule than amule. Cause is unknown to me.

Using Socks 4a proxy in aMule: it says Kad:off.
Title: Re: Socks 4a proxy
Post by: Tiansen on May 03, 2006, 08:02:13 PM
And yes, I am behind a NAT.  ;)
Title: Re: Socks 4a proxy
Post by: Tiansen on May 04, 2006, 03:12:23 PM
Emule docs says that it is required to disable UDP port when using proxy. It seems that if UDP port is enabled, emule bypasses proxy setting for Kad. Obviously aMule does that automatically.  :)
Title: Re: Socks 4a proxy
Post by: phoenix on May 04, 2006, 07:36:32 PM
Well, if what you mean is that eMule will say Kad is ok, but in fact is not working, then I agree :D

aMule only says Kad is ok, when it really is :) If the UDP sockets are not working, aMule will try to use them, but they will not respond.

Cheers!