Package: sipsak Version: 0.9.1-2 Severity: important Tags: patch Sipsak sends requests to port 65535 if no SRV record can be found and no port number is specified on the command line.
The problem is fixed with the following patch. /Mikael Magnusson --- sipsak-0.9.1.orig/helper.c +++ sipsak-0.9.1/helper.c @@ -113,7 +113,7 @@ #ifdef HAVE_RULI_H int srv_code; - ruli_sync_t *sync_query = ruli_sync_query("_sip._udp", host, -1, RULI_RES_OPT_SEARCH | RULI_RES_OPT_SRV_NOINET6 | RULI_RES_OPT_SRV_NOSORT6); + ruli_sync_t *sync_query = ruli_sync_query("_sip._udp", host, (*port > 0)? *port : 5060, RULI_RES_OPT_SEARCH | RULI_RES_OPT_SRV_NOINET6 | RULI_RES_OPT_SRV_NOSORT6); /* sync query failure? */ if (!sync_query) { -- System Information: Debian Release: testing/unstable APT prefers stable APT policy: (871, 'stable'), (50, 'testing'), (30, 'unstable'), (10, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-vserver-k7 Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Versions of packages sipsak depends on: ii libc6 2.3.5-5 GNU C Library: Shared libraries an ii libruli4 0.33-1 Library for easily querying DNS SR ii libssl0.9.7 0.9.7e-3 SSL shared libraries sipsak recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]