From owner-freebsd-ports@FreeBSD.ORG Thu Nov 8 22:59:39 2007 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C00A816A421 for ; Thu, 8 Nov 2007 22:59:39 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id 3671113C481 for ; Thu, 8 Nov 2007 22:59:39 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from [192.168.0.23] (rb5dg130.net.upc.cz [89.176.238.130]) (authenticated bits=0) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id lA8MxFHg077106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Nov 2007 23:59:22 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: RW In-Reply-To: <20071108220658.7d657b47@gumby.homeunix.com.> References: <20071108220658.7d657b47@gumby.homeunix.com.> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zpWYQ1m4zxBpaKnmKMSo" Date: Thu, 08 Nov 2007 23:59:15 +0100 Message-Id: <1194562755.1094.26.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port X-Spam-Score: -4.409 () AWL,BAYES_00,URIBL_RHS_DOB,WEIRD_PORT X-Scanned-By: MIMEDefang 2.62 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 89.176.238.130; Sender-helo: [192.168.0.23]; ) Cc: ports@FreeBSD.org Subject: Re: Stunnel not working X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 22:59:39 -0000 --=-zpWYQ1m4zxBpaKnmKMSo Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable RW p=ED=B9e v =E8t 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 >=20 >=20 > stunnel: LOG5[926:134660096]: stunnel 4.21 on i386-unknown-freebsd6.2 wit= h OpenSSL 0.9.7e-p1 25 Oct 2004 > stunnel: LOG5[926:134660096]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,I= Pv6 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 >=20 >=20 > 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: >=20 >=20 > # cd /usr/ports/security/stunnel/ && make -V WITH_IPV6 >=20 > # make -V CONFIGURE_ARGS > --localstatedir=3D/var/tmp --with-pem-dir=3D/usr/local/etc --enable-stat= ic --disable-fips --with-threads=3Dpthread --prefix=3D/usr/local ${_LATE_CO= NFIGURE_ARGS} --target=3Di386-portbld-freebsd6.2 >=20 >=20 > # cat /usr/local/etc/stunnel/stunnel.conf >=20 > pid=3D/var/run/stunnel.pid >=20 > client =3D yes >=20 > [nntp] > accept =3D localhost:119 > connect =3D 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. --=20 Pav Lucistnik 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 --=-zpWYQ1m4zxBpaKnmKMSo Content-Type: application/pgp-signature; name=signature.asc Content-Description: 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?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHM5TDntdYP8FOsoIRAiB/AJ0eD44/3UK+skWePrdugGHGCmm5MgCfZjZq M/Dnl9KzOgX6i/V9E/y1ZTQ= =9/Jt -----END PGP SIGNATURE----- --=-zpWYQ1m4zxBpaKnmKMSo--