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; This is a multi-part message in MIME format. ------=_NextPart_000_00D0_01C51DAB.F041E2B0 Content-Type: text/plain; format=flowed; charset="Windows-...


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
Senthil Prabu.S
 
Posts: n/a
Default Re: [stunnel-users] stunnel woes under HPUX 10.20

This is a multi-part message in MIME format.

------=_NextPart_000_00D0_01C51DAB.F041E2B0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
reply-type=original
Content-Transfer-Encoding: 7bit


> 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:
>

Yes, there is a bug with Stunnel -4.06. Yes, it will hang on HP-UX mchines
because of the infinite loop error with daemon_loop ( ). And a patch was
released to overcome this.

you can find the information about this on the list's archives at;
http://mirt.net/pipermail/stunnel-us...er/000224.html

I have attached that patch with this mail. Also I was able to compile stunenl-
4.07
on HP-UX 11.11 and 11.22, So it must compile on 10.20 series. Anyway post
errors clearily on the list, we will help you.


--
Senthil Prabu.S

------=_NextPart_000_00D0_01C51DAB.F041E2B0
Content-Type: application/octet-stream;
name="poll_timeout.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="poll_timeout.patch"

*** stunnel-4.06-old/src/network.c 2004-10-14 17:03:49.000000000 +0200=0A=
--- stunnel-4.06/src/network.c 2004-12-27 21:21:16.000000000 +0100=0A=
***************=0A=
*** 125,131 ****=0A=
int retval;=0A=
=0A=
do { /* skip "Interrupted system call" errors */=0A=
! retval=3Dpoll(fds->ufds, fds->nfds, 1000*timeout);=0A=
/* no timeout -> main loop */=0A=
if(timeout<0 && retval>0 && s_poll_canread(fds, =
signal_pipe[0]))=0A=
signal_pipe_empty();=0A=
--- 125,131 ----=0A=
int retval;=0A=
=0A=
do { /* skip "Interrupted system call" errors */=0A=
! retval=3Dpoll(fds->ufds, fds->nfds, timeout<0 ? -1 : =
1000*timeout);=0A=
/* no timeout -> main loop */=0A=
if(timeout<0 && retval>0 && s_poll_canread(fds, =
signal_pipe[0]))=0A=
signal_pipe_empty();=0A=

------=_NextPart_000_00D0_01C51DAB.F041E2B0
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

------=_NextPart_000_00D0_01C51DAB.F041E2B0--


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:19 PM.


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