Package: stunnel
Version: 3:4.22-2
Severity: normal

using stunnel -N servicename to set the libwrapper service name does not 
work in standalone, non-inetd mode.

(full args: -N imapd -d imaps -s cyrus -A mycacert.cert.pem -p stunnel.pem -P 
imapd.pid -l /usr/sbin/imapd -- imapd)

any connection fails with libwrap reporting access to service "stunnel3" 
being refused. (adding stunnel3 to hosts.allow serves as a workaround.)

cause: 
it seems to me that printing the empty "[stunnel3]" section
at the end of the wrapped/auto-gen'd stunnel4 config file is the culprit,
apparently that overrides the "service = imapd" line that is printed earlier.

regards
az

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable'), (980, 'testing'), (970, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28
Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages stunnel depends on:
ii  stunnel4                      3:4.22-2   Universal SSL tunnel for network d

stunnel recommends no packages.

stunnel suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to