Thu Aug 31 19:13:34 EDT 1995

This is an ruptime daemon and client for linux.

Author: Adam Migus amigus@cs.mun.ca

in.rupd is an internet ruptime daemon, it returns local time, uptime, 
number of users, and load average in much the same format as the uptime
service found on many UN*X systems.
in.rupd was designed to work both with inetd as well as a stand alone
daemon. Both behave much the same, if used without inetd a log entry is
still made.

rup is the client to connect and get the information from the server
running in.rupd.  It can be invoked with or without a port number, but
if called without one there must be an entry in /etc/services which
has the same port number as the remote system the request is going to.

To use this daemon _with_ inetd append the following to your
/etc/inetd.conf:

mun-ruptime stream	tcp nowait	root	/usr/sbin/tcpd 	/usr/sbin/in.rupd

Then add the following line to your /etc/services:

mun-ruptime	1499/tcp		# Linux ruptime daemon

1499 is a port number i suggested although any valid port will work.
However to connect to this service on a remote machine the user must
know the port number, for tis reason it is best to standardize the
port number that will be used on all machines.

To use this daemon _without_ inetd you must invoke it on the command line
like this:

$ in.rupd -d -p 1499

Note again the port is not nessesary if there is an entry in /etc/services.

This is the first released version of this program, so it may be a bit buggy,
if you find a bug and wish to report it with or without a fix please email 
me at the below address.

If you have any suggestions or code to add to future releases please email
that as well.
This is my one of my first C programs so please don't flame me :)

Adam Migus, amigus@cs.mun.ca 
