Hi,
i have a strange problem with tcp_wrappers in conjunction with stunnel cygwin
port. (cc`ing stunnel cygwin maintainer because of that).
I`m trying to secure an rsync which is started in daemon-mode in an inetd-style
via stunnel. I`m on Win8 64Bit with a recent 64bit Cygwin installation.
Whe
after a lot of digging into it, i found it must be a problem related to
pthreads.
when i compile stunnel with --with-threads=fork , it works.
2014.02.27 14:19:21 LOG5[5500:0]: stunnel 4.56 on x86_64-unknown-cygwin platform
2014.02.27 14:19:21 LOG5[5500:0]: Compiled/running with OpenSSL 1.0.1e 1
one step further - i would say, that fork() is the culprit.
i added some s_log in the librwap.c code and it appears, that "case 0" never is
being executed.
i found http://cygwin.com/faq.html#faq.using.fixing-fork-failures , so there
probably needs
to be done some special handling for that. (dis
more searches and an pointer from the stunnel-maintainer - maybe it`s all about
passing file descriptors...
http://wiki.osdev.org/Cygwin_Issues#Passing_file_descriptors
http://fossies.org/dox/stunnel-4.56/libwrap_8c_source.html
regards
roland
one step further - i would say, that fork() is
4 matches
Mail list logo