Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2007 22:06:58 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        ports@FreeBSD.org
Subject:   Stunnel not working
Message-ID:  <20071108220658.7d657b47@gumby.homeunix.com.>

next in thread | raw e-mail | index | archive | help

Stunnel doesn't seem to be working correctly on my 6.2 desktop, I'm
getting the following in /var/log/messages, and I have no stunnel
process


stunnel: LOG5[926:134660096]: stunnel 4.21 on i386-unknown-freebsd6.2 with OpenSSL 0.9.7e-p1 25 Oct 2004
stunnel: LOG5[926:134660096]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP
stunnel: LOG5[926:134660096]: 5417 clients allowed
stunnel: LOG3[926:134660096]: local socket: Protocol not supported (43)
stunnel: warning: can't get client address: Bad file descriptor


I'm wondering if it could be an IPv6 problem. The second line mentions
IPv6, but I don't have it in my kernel, and I didn't select it in the
options for stunnel:


# cd /usr/ports/security/stunnel/ && make -V  WITH_IPV6

# make -V CONFIGURE_ARGS
--localstatedir=/var/tmp --with-pem-dir=/usr/local/etc  --enable-static --disable-fips --with-threads=pthread --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --target=i386-portbld-freebsd6.2


# cat /usr/local/etc/stunnel/stunnel.conf

pid=/var/run/stunnel.pid

client = yes

[nntp]
accept = localhost:119
connect = secure.news.easynews.com:563



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071108220658.7d657b47>