Hello All,
 
I'm using HP-UX11.23 IPF. I have built Stunnel-4.11 with OpenSSL - 0.9.7e. I could build it successfully but I'm failed in connecting with telnet.
After a while connecting to the telnet the client gets coredump and kills the process. So the connection is no more established.
 
Note: I had the same problem in Stunnel-4.10 also but not before that. I could very well compile and use Stunnel-4.09.
 
My configuration file for client is:
 
cert = /opt/iexpress/stunnel/etc/stunnel/stunnel.pem
chroot = /opt/iexpress/stunnel/var/stunnel
pid =
setuid = root
setgid = root
CAfile = /opt/iexpress/stunnel/etc/stunnel/stunnel.pem
debug = 7
client = yes
foreground = yes
verify = 3
[test1]
accept = 8080
connect = 9090
 
For server:
 
cert = /opt/iexpress/stunnel/etc/stunnel/stunnel.pem
chroot = /opt/iexpress/stunnel/var/stunnel
pid =
setuid = root
setgid = root
CAfile = /opt/iexpress/stunnel/etc/stunnel/stunnel.pem
debug = 6
client = no
foreground = yes
verify = 1
[test1]
accept = 9090
connect = 23
 
The client log shows as follows:
 
# ../../sbin/stunnel stunnel-client.conf
2005.07.10 23:39:26 LOG5[8909:1]: stunnel 4.11 on ia64-hp-hpux11.23 UCONTEXT+POLL+IPv4+LIBWRAP with OpenSSL 0.9.7e 25 Oct 2004
2005.07.10 23:39:26 LOG7[8909:1]: Snagged 64 random bytes from /dev/random
2005.07.10 23:39:26 LOG7[8909:1]: RAND_status claims sufficient entropy for the PRNG
2005.07.10 23:39:26 LOG6[8909:1]: PRNG seeded successfully
2005.07.10 23:39:26 LOG7[8909:1]: Certificate: /home/punitha/stunnel1/etc/stunnel/stunnel.pem
2005.07.10 23:39:26 LOG7[8909:1]: Key file: /home/punitha/stunnel1/etc/stunnel/stunnel.pem
2005.07.10 23:39:26 LOG7[8909:1]: Loaded verify certificates from /home/punitha/stunnel1/etc/stunnel/stunnel.pem
2005.07.10 23:39:26 LOG6[8909:1]: file ulimit = 2048 (can be changed with 'ulimit -n')
2005.07.10 23:39:26 LOG6[8909:1]: poll() used - no FD_SETSIZE limit for file descriptors
2005.07.10 23:39:26 LOG5[8909:1]: 1000 clients allowed
2005.07.10 23:39:26 LOG7[8909:1]: FD 3 in non-blocking mode
2005.07.10 23:39:26 LOG7[8909:1]: FD 4 in non-blocking mode
2005.07.10 23:39:26 LOG7[8909:1]: FD 5 in non-blocking mode
2005.07.10 23:39:26 LOG7[8909:1]: SO_REUSEADDR option set on accept socket
2005.07.10 23:39:26 LOG7[8909:1]: test1 bound to 0.0.0.0:8080
2005.07.10 23:39:26 LOG7[8909:1]: No pid file being created
2005.07.10 23:40:08 LOG7[8909:1]: test1 accepted FD=8 from 127.0.0.1:49700
2005.07.10 23:40:08 LOG7[8909:1]: Creating a new context
2005.07.10 23:40:08 LOG7[8909:1]: Context 2 created
2005.07.10 23:40:08 LOG7[8909:2]: Context swap: 1 -> 2
Memory fault(coredump)
#

It will be helpful if anyone of you guide me in this.  Thanx In Advance.
 
Regards,
Punitha, V.