Stunnel not working
Pav Lucistnik
pav at FreeBSD.org
Thu Nov 8 14:59:39 PST 2007
RW píše v čt 08. 11. 2007 v 22:06 +0000:
> 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
On my machines, I noticed 4.21 no longer understands domain names in
connect statement of configuration file.
Try replacing that secure.new.seasynews.com by it's IP.
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
And please, please, please add COMMENTS to your code. Reading
uncommented PERL is like chewing on chunks of broken glass, only without
the tasty blood sauce to go with it. -- John Rowan in
rec.games.roguelike.adom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20071108/e6179d21/attachment.pgp
More information about the freebsd-ports
mailing list