IPOPTION kernel option

Release: 1.3
Date: July 10, 2000
Author: Ping Pan

This directory contains the source for a new protocol family, PF_IPOPTION.
The new option allows users to intercept any IP packet with option at input
through raw sockets. 

For for information on the application and spec, check
	http://www.cs.columbia.edu/~pingpan/public_software/netipopt.ps


I. To install the option:
---------------------------------------------------------------------

1. untar the gzip file somewhere, say in MYPATH;

2. login as root, and create a directory in /usr/src/sys:

	mkdir /usr/src/sys/netipopt

3. copy the new files over:

	cp MYPATH/ipopt-1.3/netipopt/* /usr/src/sys/netipopt

4. run the patch:

	cd MYPATH
	patch -p < ipopt-1.3/ipopt-freebsd-<your FBSD level>.patch

5. change the kernel:
	in your kernel file in /usr/src/sys/i386/conf, add this line:

	...
	options		IPOPTION	# IP Options  
	...

6. make and install the kernel.


II. Changes since Last Release
---------------------------------------------------------------------

- In the ip input loop, check IP options in both forwarding and local
  path;
- add a new socketoption, IPOPT_RECVLOCAL for local packets;
- always send the local-flag for every captured packet;
- setup one PCB chain for each option.


III. Contact Info
---------------------------------------------------------------------

If you have problem on installation or find bugs, please email me at
pingpan@cs.columbia.edu.

