<br><font size=2 face="sans-serif">Hello all, </font>
<br>
<br><font size=2 face="sans-serif">I am trying to build xinetd 2.3.3 so it could be possible to use it under cygwin as it is a more secure inetd replacement. </font>
<br><font size=2 face="sans-serif">After succesfully building and configuring it I encountered errors which I am not able to debug myself. I have also searched cygwin mailing list which did not bring any success. </font>
<br>
<br><font size=2 face="sans-serif">Each time xinetd starts a service in background with fork() the child closes with 'Segmentation fault'. None of the child code seems to be run. Could anyone help me to trace the origin of the error?</font>
<br>
<br><font size=2 face="sans-serif">Here is a patch to standard xinetd-2.3.3 that will allow it to compile on cygwin.</font>
<br><font size=2 face="sans-serif">(to apply this patch use "patch -p1 <file" inside of xinetd-2.3.3 directory; you will need to run autoconf after applying the patch. Configuration script with some options for cygwin I run is xinetd.configure)</font>
<br><font size=2 face="sans-serif"><br>
Here is a configuration of telnet service that I have used:</font>
<br><font size=2 face="sans-serif">service telnet</font>
<br><font size=2 face="sans-serif">{</font>
<br><font size=2 face="sans-serif"> flags = REUSE</font>
<br><font size=2 face="sans-serif"> socket_type = stream</font>
<br><font size=2 face="sans-serif"> wait = no</font>
<br><font size=2 face="sans-serif"> user = root</font>
<br><font size=2 face="sans-serif"> server = /usr/sbin/in.telnetd.exe</font>
<br><font size=2 face="sans-serif"> bind = 127.0.0.1</font>
<br><font size=2 face="sans-serif"> log_on_failure += USERID</font>
<br><font size=2 face="sans-serif">}</font>