Stunnel not working

RW fbsd06 at mlists.homeunix.com
Thu Nov 8 14:40:25 PST 2007


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


More information about the freebsd-ports mailing list