Emule through socks5 proxy, UDP traffic problem
|
|
![]() ![]() ![]() |
Emule through socks5 proxy, UDP traffic problem
| Alya |
Oct 21 2006, 03:28
|
||||||||||||||||
|
Group: Members Posts: 32 Joined: 21-August 04 |
I'm running eMule Plus through Socks5 proxy gateway. I configured the proxy in Preferences/Connection options, indicated that it's Socks5, etc Due to various strange problems (like search intermittently hanging) I decided to look at the traffic with a sniffer. The problem immediately became obvious: Only TCP packets are being sent to proxy. The UDP traffic is NOT sent to the proxy, even though it's Socks5 and fully supports UDP proxying. Is this a huge bug? Or does eMule have incomplete Socks5 support by design? And if eMule does not properly support Socks5 protocol, then why does it even allow to choose socks5 proxy? In any case, I have a whole bunch of UDP packets going nowhere - how can I remedy this situation? Sockifying eMule (with a program like SocksCap) doesn't work either... Any suggestions? |
||||||||||||||||
|
Post
#1
|
|||||||||||||||||
| Aw3 |
Oct 21 2006, 03:49
|
|
Group: Admins Posts: 7319 Joined: 8-December 03 |
UDP is not used for proxy connections by design. Client can work without UDP.
Sending is pretty obvious, but is it possible to receive UDP packets through that type of proxy? |
|
Post
#2
|
|
| Alya |
Oct 21 2006, 15:14
|
|
Group: Members Posts: 32 Joined: 21-August 04 |
QUOTE is it possible to receive UDP packets through that type of proxy? Any properly implemented Socks5 server would proxy both the UDP traffic originating from my computer and the return UDP traffic coming back. It will not proxy UDP traffic originating outside (ie UDP traffic from somebody to whom I never sent any UDP packets in the first place). Good example to illustrate this difference would be VoIP softphone running SIP and RTP protocols (both are UDP): Socks5 can proxy SIP packets to my VoIP provider and back, so softphone can carry out SIP-based tasks (such as registering with VoIP provider, etc) without a problem. But RTP packets are not allowed to come through, so audio cannot be properly setup. That's why you cannot use an application that requires connection from outside (like a softphone) through Socks5 proxy. Similarly, in case of eMule, the unsolicited UDP traffic from outside would not go through Socks5 proxy. But UDP traffic originating from my client would be proxied to destination and the return traffic (from same IP and port) would be allowed to come through. So as long as the other client/user isn't firewalled and allows me to initiate UDP traffic, the subsequent UDP exchange should work through Socks5 proxy. |
|
Post
#3
|
|
| Aw3 |
Oct 21 2006, 15:29
|
|
Group: Admins Posts: 7319 Joined: 8-December 03 |
QUOTE(Alya @ Oct 21 2006, 15:14) Similarly, in case of eMule, the unsolicited UDP traffic from outside would not go through Socks5 proxy. But UDP traffic originating from my client would be proxied to destination and the return traffic (from same IP and port) would be allowed to come through. So as long as the other client/user isn't firewalled and allows me to initiate UDP traffic, the subsequent UDP exchange should work through Socks5 proxy. The thing is that UDP connection can be initiated from outside. |
|
Post
#4
|
|
| DonGato |
Oct 21 2006, 16:44
|
|
Group: Admins Posts: 5493 Joined: 21-January 03 From: The Pampas, The land of the Gaucho! |
It's better you disable UDP as you're not able to receive external packets, and that's is part of the protocol.
|
|
Post
#5
|
|
| Alya |
Oct 21 2006, 21:08
|
|
Group: Members Posts: 32 Joined: 21-August 04 |
How can I disable UDP?
In Preferences -> Connection -> Clientport the checkbox "Disabled" (under the UDP port) is already marked. Yet my sniffer shows that eMulePlus is still generating a lot of UDP traffic. Is there another way to completely disable UDP? |
|
Post
#6
|
|
| Aw3 |
Oct 22 2006, 00:07
|
|
Group: Admins Posts: 7319 Joined: 8-December 03 |
If it disabled, your client shouldn't do it by design. If it's doing that, you can send me a PM with captured packet content to check.
|
|
Post
#7
|
|
![]() ![]() ![]() |
| Lo-Fi Version | Time is now: 22nd May 2013 - 16:32 |