freebsd-src/sys/conf
Julian Elischer bb60f459a0 Add optional code to change the way that divert and ipfw work together.
Prior to this change, Accidental recursion protection was done by
the diverted daemon feeding back the divert port number it got
the packet on, as the port number on a sendto(). IPFW knew not to
redivert a packet to this port (again). Processing of the ruleset
started at the beginning again, skipping that divert port.

The new semantic (which is how we should have done it the first time)
is that the port number in the sendto() is the rule number AFTER which
processing should restart, and on a recvfrom(), the port number is the
rule number which caused the diversion. This is much more flexible,
and also more intuitive. If the user uses the same sockaddr received
when resending, processing resumes at the rule number following that
that caused the diversion. The user can however select to resume rule
processing at any rule. (0 is restart at the beginning)

To enable the new code use

option	IPFW_DIVERT_RESTART

This should become the default as soon as people have looked at it a bit
1998-05-25 10:37:48 +00:00
..
defines
files Remove two CODA entries by request. 1998-05-24 01:28:56 +00:00
files.i386 Add changes and code to implement a functional DEVFS. 1998-04-19 23:32:49 +00:00
files.newconf Add lines for new files in ipfilter 1997-05-25 15:56:18 +00:00
files.pc98 Deleted unused item. 1998-05-05 13:19:34 +00:00
kern.mk Added -ansi to CWARNFLAGS so that ANSI errors don't come back. 1998-05-01 18:13:37 +00:00
kmod.mk Fixed CLEANFILES. Some temporary files were missing. 1998-03-19 13:22:46 +00:00
majors Name cronyx devices correctly. 1998-05-13 12:38:26 +00:00
Makefile.i386 Move __FreeBSD_version from src/sys/conf/newvers.sh to 1998-05-21 19:21:46 +00:00
Makefile.pc98 Fixed missing semicolon and added space before semicolon. 1998-05-25 09:57:34 +00:00
Makefile.powerpc Move __FreeBSD_version from src/sys/conf/newvers.sh to 1998-05-21 19:21:46 +00:00
newvers.sh Move __FreeBSD_version from src/sys/conf/newvers.sh to 1998-05-21 19:21:46 +00:00
nfsswapkernel.c Removed vestiges of config-time "argument processing" configuration. 1997-09-07 13:49:56 +00:00
NOTES And entries for ThunderLAN driver. 1998-05-21 03:22:20 +00:00
options Add optional code to change the way that divert and ipfw work together. 1998-05-25 10:37:48 +00:00
options.i386 Support better performance with P6 architectures and in SMP 1998-05-11 02:13:47 +00:00
options.pc98 Sync with sys/i386/conf/options.i386 revision 1.78. 1998-05-12 09:31:44 +00:00
param.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
systags.sh Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00