[Pkg-amule-devel] Bug#609181: amule: Setting bind address should also set request source address

Marc Singer elf at buici.com
Fri Jan 7 03:33:39 UTC 2011


Package: amule
Version: 2.2.6+debian0-8
Severity: normal


On machines with more than one address, it is sometimes necessary to
set the bind address for the local service ports.  This feature
appears to work correctly.  However, this should also change the
source address for requests to the servers such that the address used
by the servers to connect back to the amule session is the address
where the ports are bound.

Consider the case where a host has a local and unroutable primary
address on eth0.  By default, TCP requests from this host will be
forwarded through a firewall and give NAT.  A second address which is
routable is added to the host.  The amule bind address is set to the
second routable address.  Yet when the application makes requests to
the servers it will have the NAT address of the firewall instead of
the routable address.

Changing the source address for TCP connections as the bind address
will correct this problem.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages amule depends on:
ii  amule-common          2.2.6+debian0-8    common files for the rest of aMule
ii  libc6                 2.11.2-6           Embedded GNU C Library: Shared lib
ii  libcrypto++8          5.6.0-6            General purpose cryptographic libr
ii  libgcc1               1:4.4.5-4          GCC support library
ii  libgeoip1             1.4.7~beta6+dfsg-1 A non-DNS IP-to-country resolver l
ii  libstdc++6            4.4.5-4            The GNU Standard C++ Library v3
ii  libupnp3              1:1.6.6-5          Portable SDK for UPnP Devices, ver
ii  libwxbase2.8-0        2.8.10.1-3+b1      wxBase library (runtime) - non-GUI
ii  libwxgtk2.8-0         2.8.10.1-3+b1      wxWidgets Cross-platform C++ GUI t
ii  zlib1g                1:1.2.3.4.dfsg-3   compression library - runtime

Versions of packages amule recommends:
ii  amule-utils              2.2.6+debian0-8 utilities for aMule (command-line 
ii  unzip                    6.0-4           De-archiver for .zip files

Versions of packages amule suggests:
pn  amule-utils-gui               <none>     (no description available)

-- no debconf information





More information about the Pkg-amule-devel mailing list