[ale] starting point recommendations

James P. Kinney III jkinney at localnetsolutions.com
Wed Nov 7 11:26:00 EST 2007


On Wed, 2007-11-07 at 11:13 -0500, Michael H. Warfield wrote:
> On Wed, 2007-11-07 at 10:24 -0500, James P. Kinney III wrote:
> > I have a strong need for a network daemon. Due to portability reasons it
> > will need to be coded in C (not an area I am familiar enough with).
> 
> 	Does it need to be a standalone daemon?  Can it be something that's
> simply forked out of inetd / xinetd?  The later will be far far simpler,
> especially if you are expecting multiple connections (otherwise your
> daemon will need to manage it's own tasking / threading) or if the load
> it going to be reasonably light.


Hmm. Good point. This will not be a heavy use process. It needs to be
able to accept a data request for a running process (output UID and PID)
and also be able to send a kill to a PID. As such, the data coming in
must be secure and from known sources only. The gotcha on this is it
will also need to run on a thin client with an NFS mounted / dir. I need
to verify if xinetd is even running on that platform. If I don't have to
handle threading, woohoo!. One less thing to code.
> 
> > I am looking for recommendations from the C coders on the list for "best
> > of breed" books to point me down the path to solid, secure network
> > daemon coding in C for only Linux environments. I have K&R (the bible -
> > duh!) and "Practical C Programming" by Steve Oualline (O'Reilly) (seems
> > a bit useful but no network discussions). 
> 
> 	Mike
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list