Bug#506764: siproxd: Problem with DNS resolution when in chroot jail

Frédéric Boiteux fboiteux at calistel.com
Mon Nov 24 16:01:40 UTC 2008


Package: siproxd
Version: 1:0.7.1-1
Severity: normal
Tags: patch


  I've backported the latest siproxd (from experimental) on a Debian 
Etch. It didn't work at first, and activating debug traces, I've found 
that when using this proxy in a chroot jail (default configuration), the 
DNS resolution isn't working :

siproxd[10444]: utils.c:193 gethostbyname(ekiga.net) failed: h_errno=1 [Unknown host]

I've found a similar report on the web :
http://osdir.com/ml/network.siproxd/2005-10/msg00004.html

and I've implemented the trivial solution suggested, as the resolution 
of 'localhost' don't seem sufficient (see attached patch), and it works 
fine now.

	Fred.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages siproxd depends on:
ii  adduser           3.102                  Add and remove users and groups
ii  libc6             2.3.6.ds1-13etch7      GNU C Library: Shared libraries
ii  libosip2-3deb     3.1.0-1.1calistelEtch1 Session Initiation Protocol (SIP) 

siproxd recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: siproxd.patch
Type: text/x-c
Size: 723 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20081124/9a3b2ce7/attachment.bin 


More information about the Pkg-voip-maintainers mailing list