freebsd-skq/usr.bin/netstat
mdodd e72fdee732 Implement support for RFC 3514 (The Security Flag in the IPv4 Header).
(See: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt)

This fulfills the host requirements for userland support by
way of the setsockopt() IP_EVIL_INTENT message.

There are three sysctl tunables provided to govern system behavior.

	net.inet.ip.rfc3514:

		Enables support for rfc3514.  As this is an
		Informational RFC and support is not yet widespread
		this option is disabled by default.

	net.inet.ip.hear_no_evil

		 If set the host will discard all received evil packets.

	net.inet.ip.speak_no_evil

		If set the host will discard all transmitted evil packets.

The IP statistics counter 'ips_evil' (available via 'netstat') provides
information on the number of 'evil' packets recieved.

For reference, the '-E' option to 'ping' has been provided to demonstrate
and test the implementation.
2003-04-01 08:21:44 +00:00
..
atalk.c Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
if.c Kill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[] 2003-03-05 19:20:29 +00:00
inet6.c o Typo/Grammar fixes 2003-01-14 16:02:56 +00:00
inet.c Implement support for RFC 3514 (The Security Flag in the IPv4 Header). 2003-04-01 08:21:44 +00:00
ipsec.c Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
ipx.c Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
main.c Kill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[] 2003-03-05 19:20:29 +00:00
Makefile Kill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[] 2003-03-05 19:20:29 +00:00
mbuf.c o Allow "buckets" in mb_alloc to be differently sized (according to 2003-02-20 04:26:58 +00:00
mroute6.c Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
mroute.c Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
netgraph.c Warns cleanups for netstat: 2002-09-05 17:06:51 +00:00
netstat.1 Document the undcumnt -l option (that's a lowercase `el'). 2003-03-26 02:00:35 +00:00
netstat.h o Allow "buckets" in mb_alloc to be differently sized (according to 2003-02-20 04:26:58 +00:00
route.c Kill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[] 2003-03-05 19:20:29 +00:00
unix.c Widen struct sockbuf's sb_timeo member to int from short. With 2002-07-24 03:02:43 +00:00