Package: amule
Version: 99:2.1.0-1+bas
Severity: normal

Amule is depleting the random pool.  It seems the random number
generator of libcrypto++ reads lots of bytes from /dev/urandom. 
I can't say that I understand how the donkey protocol works, but I
doubt that's there any need for real strong encryption, and so rand()
should do fine for random numbers.

This patch replaces calls to /dev/urandom by a simple rand() calls.
I've been running it for a day now: amule seems fine, and my entropy
pool stays rather full.  

The only disadvantage, though, is that you'll need to use the static
version of libcrypto++ that's included with amule.  Another solution,
that's probably a bit cleaner, would be use some other random number
generator (like X917RNG or so) instead of
CryptoPP::AutoSeededRandomPool in ClientCreditsList.cpp.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages amule depends on:
ii  amule-common              99:2.1.0-1+bas common files for aMule
ii  libc6                     2.3.5-12       GNU C Library: Shared libraries an
ii  libcrypto++5.2c2          5.2.1c2-8      General purpose cryptographic shar
ii  libgcc1                   1:4.0.2-7      GCC support library
ii  libstdc++6                4.0.2-7        The GNU Standard C++ Library v3
ii  libwxgtk2.6-0             2.6.1.2        wxWidgets Cross-platform C++ GUI t
ii  zlib1g                    1:1.2.3-9      compression library - runtime

Versions of packages amule recommends:
ii  amule-daemon              99:2.1.0-1+bas aMule daemon
ii  amule-utils               99:2.1.0-1+bas utilities for amule

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to