aMule Forum

English => Feature requests => Topic started by: Codeman on November 08, 2006, 10:54:35 AM

Title: bind to another port than 0.0.0.0
Post by: Codeman on November 08, 2006, 10:54:35 AM
Hi,

I tried to take a fast look into the sources to implement an option which realizes an option for  setting the intzerface which aMule should bind to (if you have mor than one interface).

But I didn't found the right place where to do this... I think this would be very simple to implement if someone knows where to insert this in the code.  :baby:

Regards, Code
Title: RE: bind to another port than 0.0.0.0
Post by: phoenix on November 08, 2006, 02:34:40 PM
Codeman,

This has already been discussed here, if you search you will find messages about this.

Why would you want aMule to bind to a specific interface? Binding to 0.0.0.0 means it receives from any interface, even if you have more than one, you are bound to all of them.

Cheers!
Title: Re: bind to another port than 0.0.0.0
Post by: Kry on November 08, 2006, 07:57:59 PM
Didn't I do that already? If not, I can do it in like 5 seconds. It's done for EC and amuelweb at least.
Title: Re: bind to another port than 0.0.0.0
Post by: phoenix on November 09, 2006, 04:28:31 AM
Well, I still don't understand what is the advantage. Ok, any connections initiated from the outside world will be on the bound interface, but connections initiated by the client will have to submit themselves to the route the system will choose. Maybe worse, you may end up sending something in one interface and receiving the answer on the other interface. Linux discards this kind of reply by default, you need to configure your kernel to accept this.

Cheers!
Title: Re: bind to another port than 0.0.0.0
Post by: leuk_he on November 10, 2006, 03:16:06 PM
It is useful with people with 2 internet connections. (which happens more and more with all those open wireless networks). The the ed2k protocol only allows one ip per cleint......

(and i do not knwo if amule supports it, or just lacks a proper gui for setting the bindip)
Title: Re: bind to another port than 0.0.0.0
Post by: phoenix on November 15, 2006, 05:03:27 AM
leuk_he,

aMule does support it, code was already implemented, GUI was missing.

Tomorrow CVS shall have the proper configuration in "Preferences->Connection->Bind Address".

Codeman, please give it a try.

Cheers!