Package: kphone
Version: 1:4.1.0-1
Severity: normal

When using media min port and media max port, kphone sometimes uses
ports outside the specified range. Kphone increases the port
used after every connection. When the max port is reached, the following
error message gets printed:

UDPMessageSocket::listen(): Can't find a free port in specified range: Address 
already in use

This comes from udpmessagesocket.cpp, line 225. 
UDPMessageSocket::listenOnEvenPort then returns -1, which probably means
'error', but for some reason the connection still is established, with
some random port number outside the given range. (Which gets blocked at
our local firewall)

I guess there are actually two bugs: First, the allocated ports don't
get released after a connection ended. This is why kphone needs a new
udp port for each connection. Second, there is some missing check for
the return code of listenOnEvenPort. 

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-bk9
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages kphone depends on:
ii  libasound2           1.0.8-3             ALSA library
ii  libc6                2.3.2.ds1-20        GNU C Library: Shared libraries an
ii  libgcc1              1:3.4.3-12          GCC support library
ii  libice6              4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii  libpng12-0           1.2.8rel-1          PNG library - runtime
ii  libqt3c102-mt        3:3.3.3-8           Qt GUI Library (Threaded runtime v
ii  libsm6               4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii  libssl0.9.7          0.9.7e-3            SSL shared libraries
ii  libstdc++5           1:3.3.5-12          The GNU Standard C++ Library v3
ii  libx11-6             4.3.0.dfsg.1-12.0.1 X Window System protocol client li
ii  libxext6             4.3.0.dfsg.1-12.0.1 X Window System miscellaneous exte
ii  libxt6               4.3.0.dfsg.1-12.0.1 X Toolkit Intrinsics
ii  xlibs                4.3.0.dfsg.1-12     X Keyboard Extension (XKB) configu

-- no debconf information


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

Reply via email to