My tmda-ofmipd works fine as non-encrypted.  When I configure stunnel
and then config my client to send over SSL, it hangs.  I think the
problem may have to do with authentication.  I am using the following
auth switch with tmda-ofmipd:

-A "/bin/checkpassword /usr/bin/true"

When I run tmda-ofmipd in debug mode in the foreground I see no attempt
to connect.  However, the stunnel log shows a "waitforsocket" for an
extended period of time and then times out.  I don't know enough about
the authentication side of things to troubleshoot this.

Here is the abbreviated stunnel output:

PRNG seeded successfully
Certificate: /opt/stunnel/etc/stunnel/stunnel.pem
Key file: /opt/stunnel/etc/stunnel/stunnel.pem
FD_SETSIZE=1024, file ulimit=256 -> 125 clients allowed
FD 4 in non-blocking mode
SO_REUSEADDR option set on accept socket
tofmipd bound to 0.0.0.0:8825
FD 5 in non-blocking mode
FD 6 in non-blocking mode
Created pid file /tmp/stunnel.pid
tofmipd accepted FD=0 from xxx.xxx.xxx.xxx:1368
FD 0 in non-blocking mode
tofmipd started
tofmipd connected from xxx.xxx.xxx.xxx:1368
SSL state (accept): before/accept initialization
waitforsocket: FD=0, DIR=read
*** hangs here ***
waitforsocket: timeout
tofmipd finished (0 left)
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to