This is my implementation of inetd, the Internet superserver. It supports IPv4, IPv6 and UNIX domain sockets. Socket types include stream, datagram and seqpacket. It uses the general inetd.conf format for configuring. Released under the MIT license.
Be the first to post a text review of finetd, an Internet Superserver. Rate and review a project by clicking thumbs up or thumbs down in the right column.
o Now if a spawned process fails to exec() the specified command, the child exits with abort() so finetd knows something is wrong. Right now I'm going to wait until a second abort before disposing of it and taking the socket off of the queue, but I may just change this to one later. It's entirely possible the executed process can exit abnormally in this manner rather than my abort() call, but in that case it's probably best to take it off the list anyway. o Now a child process is actually checked for termination rather than just any status change (such as stopping) o Fixed inetd.conf parsing for seqpacket o Allow longer protocol names in inetd.conf field o Now finetd exits if chown() or chmod() fail against a UNIX domain socket as this can pose a security risk o Now it's tested whether or not a *datagram* socket is used with the 'nowait' inetd.conf field rather than just UDP sockets o Added some additional sanity checks against inetd.conf entries, like an attempt to use TCP with a non-stream socket for example o Added a couple #includes to fix compilation on FreeBSD (and probably other systems as well). They are the proper headers to include, but my Linux box with glibc didn't need them so I didn't catch the omission. o Added more detail to some error messages
o Now if a spawned process fails to exec() the specified command, the child exits with abort() so finetd knows something is wrong. Right now I'm going to wait until a second abort before disposing of it and taking the socket off of the queue, but I may just change this to one later. It's entirely possible the executed process can exit abnormally in this manner rather than my abort() call, but in that case it's probably best to take it off the list anyway. o Now a child process is actually checked for termination rather than just any status change (such as stopping) o Fixed inetd.conf parsing for seqpacket o Allow longer protocol names in inetd.conf field o Now finetd exits if chown() or chmod() fail against a UNIX domain socket as this can pose a security risk o Now it's tested whether or not a *datagram* socket is used with the 'nowait' inetd.conf field rather than just UDP sockets o Added some additional sanity checks against inetd.conf entries, like an attempt to use TCP with a non-stream socket for example o Added a couple #includes to fix compilation on FreeBSD (and probably other systems as well). They are the proper headers to include, but my Linux box with glibc didn't need them so I didn't catch the omission. o Added more detail to some error messages
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?