README for rpc.etherd version 0.2,
Stefan Petri <petri@ibr.cs.tu-bs.de> , Jun '95 

This is a version for rpc.etherd that runs on several different platforms.
I took the original source for the Ultrix system and added specific modules
for Linux and for Unix flavors with Berkeley Packet Filter (bpf).
(It would have been cleaner to use the packet capture library libpcap,
but that uses its own loop with callback functions, which I found
ill-suited for an RPC server daemon. sigh).

Installation:
edit the Makefile to taste, then invoke
	make clobber
	make depend
	make
	make install
	make install.man

If you do not have a working rpcgen on your machine, you should also copy
the provided {ether.h,ether_svc.c,ether_xdr.c}-dist files to
{ether.h,ether_svc.c,ether_xdr.c}. You can also enable the rules in the
Makefile to do this.

Enjoy,
							Stefan

Changes:

0.3	cleaned up handling of machine specific code, added support for
	counting broadcasts on bpf and linux.
0.2	took the original from Gyu Cardwell, and added machine-specific
	parts for other systems, added debug option

TODO
- finish packet.c-nit
- clean handling of non-ethernet-interfaces

The original README follows:
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
This is the first release of rpc.etherd for the Dec MIPS architecture.
This program duplicates the functionality of the rpc.etherd program
running on Sun workstations.  It is compatable with traffic(1) from
Sun and ethertop(1) from me.  It won't work on Alphas.

Instructions:

Edit the Makefile for the correct ETCDIR, MANDIR, and MANSECT
items.

Type make.

make install
make install.man

The release should build with no errors.  If you encounter runtime
errors this may be due to the poor port of the SUN RPC library DEC
includes in their C library.  By default the Makefile assumes you have
built the 4.0 release from SUN (available via ftp).  I recommend you
do this, as it isn't hard.  It was available last time I checked from
uunet.  If you haven't, you can just link against the C library
functions; caveat emptor, though. 

Guy Cardwell
UC Irvine Academic Computing
gcardwel@uci.edu
 


