	Version 0.7 (NETWATCH)

	NETWATCH is VERY loosely based on the code from Statnet...
	thanks out to Jeroen and Scot...
	
	NETWATCH allows a user (superuser) to monitor an ETHERNET
	and examine activity on the network. Hostnames are highlighted
	in colours (for those supporting them) to indicate activity
	on the bus network based on time ( less than 1 minute RED,
	less than 5 minutes YELLOW, less than 30 minutes GREEN and
	otherwise BLUE). The monitor includes statistics on 
	a) Transmitted and received packets 
	b) Transmitted and received bytes
	c) Protocol of LAST packet (TX or RC)
	d) LAST Communication partner (IP address)
	e) Logging entire stats to ASCII file (large...)

	The number of hosts capable of support is a function of
	memory. They are stored in 2 doubly-linked lists (local
	and remote).
	
	Screen updates take place 1 per second (unless a rare 
	lockout... when linked list links are updating... in which
	case it displays in the next second)
	
	Keyboard usage is admittedly limited.
	TAB	Switches between LOCAL and REMOTE sections of screen
	<RIGHT>	Go forward to next display option
	<LEFT> 	Go backward to previous display option 
	<UP> 	Go back to previous page (back 20 lines on most consoles)
			(working on the selected REMOTE OR LOCAL section)
	<DOWN>	Go forward to next page (forward 20 lines on most consoles)
			(working on the selected REMOTE OR LOCAL section)
	c	Clear counters for fresh counting
	n	Clear linked lists for new start
	d	Toggle between allowing remote DOMAIN service hosts and not
	b	Toggle between showing the OLD (blue) hosts and not
		
	There is rudimentary logging capability, using the 'l' command.
	This saves the current statistics (all) to a file called
	"/etc/netwatch.use". WARNING: This file may get VERY large.
	Statistics for the local machines are dumped THEN the remote
	machines. This info is APPENDED to the file.
	LOGGING is under improvement... stay tuned
 
	It is a simple program to execute for ETHERNET under LINUX.
	As of version 0.6a, the program will search for information
	from the "/proc" file system. If it is not there, 
	it assumes that there is a "/etc/rc.d/rc.inet1" file for
	network configuration. If so, it checks for an "eth0" ifconfig
	and picks up the netmask from the file.
	
	For those with multiple "eth" interfaces, I am sorry it doesn't
	support both simultaneously. Code changes are required for 
	"eth1" support.

	As of version 0.6a, this program calls home with a simple
	packet of info including the domain and machine name which
	is running. It is not used for anything except registering
	netwatch use on the Internet. It creates a file in your home
	directory called ~/.netwatch. If the file is already there,
	it does not call home. This means that it will call home only
	once for the program. It is not a true registration in the
	sense of obtaining a license (or anything like that). Info
	transmitted is very limited.

	Thanks to Evan Harris for mods. to "netwatch" for varying size
	screens (Sorry that I haven't implemented them yet... Next 
	release...)

	AUTHOR:	G. MacKay
	E-MAIL:	mackay@gmml.slctech.org
	

INSTALLATION:

	1.0	Unpack the ARCHIVE (which you have probably already done
		to read this)
		Try:

		tar -xzf netwatch0.6a.src.tar.gz
		cd netwatch		(move to the new directory with
						source)

	2.0	Check to see if your system has "ncurses.h" or "curses.h"
		If /usr/include/ncurses.h ... make sure that you declare
		OLDLINUX=-DOLDLINUX  in the Makefile.....

	3.0	Compile the program

		make netwatch		(actually "make" by itself works)

	4.0	If there are no errors, you can EITHER (or do both)

		a) test the program out....

			netwatch

		b) install the program

			make install

			(Warning... you must be root to install
			AND due to the nature of the program
			it is NO LONGER SET-UID root... you must
			have privileges to run it)



	Good luck...

	Gord.


WHAT IS COMING?

	Yes... an X-windows version is coming and is being tested right
	now. The version is written with V code and original "netwatch"
	code. I have yet to include a full set of features but the basic
	monitoring does function. Hopefully, this will be available
	VERY soon.... look for xnetwatch0.7 (mirroring the level of
	"netwatch" for ncurses).


