Re: [stunnel-users] stunnel woes under HPUX 10.20

This is a discussion on Re: [stunnel-users] stunnel woes under HPUX 10.20 within the Stunnel Users forums, part of the Networking and Network Related category; --===============2028907479== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+WOirvrtTKur1pg" Content-...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2005
Peter Pentchev
 
Posts: n/a
Default Re: [stunnel-users] stunnel woes under HPUX 10.20


--===============2028907479==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="x+WOirvrtTKur1pg"
Content-Disposition: inline


--x+WOirvrtTKur1pg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 28, 2005 at 04:29:34AM -0500, foner-stunnel@media.mit.edu wrote:
> [Please keep me CC'ed on replies! I'm not on any stunnel lists.]
>=20
> Stunnel 4.07 and 4.08 don't build under HPUX 10.20. 4.06 appears
> to build, but doesn't appear to work---with a config file like this,
> running on the local host:
>=20
> pid =3D /usr/local/var/stunnel/stunnel.pid
> client =3D yes
> foreground =3D yes
> # debug =3D debug
>=20
> [pop3s]
> accept =3D 110
> connect =3D our-pop-host:995
>=20
> ...and an attempt like this, using (for instance) Emacs 21.4a's movemail:
>=20
> movemail po:foner:localhost NEWMAIL [the-password]
>=20
> ...I get an infinite hang. Enabling debugging causes stunnel to spit
> out an infinite stream of a single line at maximum rate, and seems
> unaffected by whether I'm trying to connect to it or not:
>=20
> # stunnel test-stunnel.conf

[snip]
> 1900.01.00 00:00:00 LOG6[9738:0]: daemon_loop: s_poll_wait: Invalid a=

rgument (22)
> 1900.01.00 00:00:00 LOG6[9738:0]: daemon_loop: s_poll_wait: Invalid a=

rgument (22)
> 1900.01.00 00:00:00 LOG6[9738:0]: daemon_loop: s_poll_wait: Invalid a=

rgument (22)
> 1900.01.00 00:00:00 LOG6[9738:0]: daemon_loop: s_poll_wait: Invalid a=

rgument (22)
> [ . . . and forever more . . . ]
>=20
> I can't imagine that this is supposed to be how debug works, since
> it's totally useless for debugging if it spits out the same line as
> fast as it can.


You can fix this particular problem by editing the src/network.c file
and replacing the poll() invocation around line 128 with:

retval=3Dpoll(fds->ufds, fds->nfds, timeout<0 ? -1 : 1000*timeout);

=2E..as it is in 4.07's network.c.

I'm not sure about the 4.07 and 4.08 build errors; I might take a closer
look later on.

G'luck,
Peter

--=20
Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
If you think this sentence is confusing, then change one pig.

--x+WOirvrtTKur1pg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCIuyv7Ri2jRYZRVMRAq9xAJ4rjBqLFLAe5aH1ewaLHh ScXfctHACfaNQA
D5DdKIMF1Zq8G3NmFEAhkJc=
=dCeM
-----END PGP SIGNATURE-----

--x+WOirvrtTKur1pg--

--===============2028907479==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users

--===============2028907479==--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0