Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > d6529d21187fd7ee6c676eec10d29ca3 > files > 12

upclient-5.0-b5.2mdk.ppc.rpm

UPTIME CLIENT TODO LIST

  v5.0
    - Just use daemon(3) function if available, to save a lot of code.
      This function first appeared in 4.4BSD.

    - would be nice to have but will probably not be ready for 5.0:
      o implement getopt() suggested in ideas below
      o make upclient smarter about checking whether it's already
        running, thereby reduce the need for additional script files
      o rewrite entire program using OOP classes & methods

  v4.2.1.x
    - Improve fault detection algorithms in config file reader
    - Split functionality over more files // finish me
    - Adding more and enhanced syslog calls // finish me
    - Droping privileges if run as root
    - Enhancing the src/Makefile again.
    - Interpret return codes from the Uptime Server
    - Better portability // finish me
    - Last fixes

  v4.2.2.0
    - Stable release


IDEAS FROM SHANE KERR

  - Check size of strings to avoid smashing your stack
  - Use getopt() to allow passing of command-line options for user and
    password as well as the host id (probably should abort if host id
    is 0)
  - Precompute the base64 version once, not every send - the memory
    leak wouldn't have mattered then  :) // done
  - Remove the itimer stuff - why not just a loop with sleep() ???
  - More work to make it a proper daemon, such as ignoring SIGINT and
    SIGHUP, detaching from the session, and so on. // mostly done

  $Id: TODO,v 1.7 2002/10/10 02:36:28 carstenklapp Exp $