freebsd kernel with SKQ
Go to file
Jesper Skriver d1c54148b7 Redo the security update done in rev 1.54 of src/sys/netinet/tcp_subr.c
and 1.84 of src/sys/netinet/udp_usrreq.c

The changes broken down:

- remove 0 as a wildcard for addresses and port numbers in
  src/sys/netinet/in_pcb.c:in_pcbnotify()
- add src/sys/netinet/in_pcb.c:in_pcbnotifyall() used to notify
  all sessions with the specific remote address.
- change
  - src/sys/netinet/udp_usrreq.c:udp_ctlinput()
  - src/sys/netinet/tcp_subr.c:tcp_ctlinput()
  to use in_pcbnotifyall() to notify multiple sessions, instead of
  using in_pcbnotify() with 0 as src address and as port numbers.
- remove check for src port == 0 in
  - src/sys/netinet/tcp_subr.c:tcp_ctlinput()
  - src/sys/netinet/udp_usrreq.c:udp_ctlinput()
  as they are no longer needed.
- move handling of redirects and host dead from in_pcbnotify() to
  udp_ctlinput() and tcp_ctlinput(), so they will call
  in_pcbnotifyall() to notify all sessions with the specific
  remote address.

Approved by:	jlemon
Inspired by:    NetBSD
2001-02-22 21:23:45 +00:00
bin Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3. 2001-02-22 07:29:40 +00:00
contrib Return to the code as distributed by sendmail.org. This eliminates a 2001-02-22 17:47:24 +00:00
crypto Resolve conflicts 2001-02-18 03:23:30 +00:00
etc Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug 2001-02-22 19:44:16 +00:00
games Don't include "${.CURDIR}/../../Makefile.inc" explicitly. Doing so was 2001-02-21 06:12:38 +00:00
gnu Our OS name is "freebsd", not "freebsdelf" 2001-02-21 11:43:35 +00:00
include Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). Some 2001-02-19 13:13:51 +00:00
kerberos5 remove definition of KRB4, this gets defined conditionally in 2001-02-21 13:27:39 +00:00
kerberosIV add strcollect.c to SRCS (new file in 1.0.5) 2000-12-29 23:44:24 +00:00
lib Prepare for mdoc(7)NG. 2001-02-22 15:03:09 +00:00
libexec Change the read-only reply to "550 Permission denied.". 2001-02-19 21:51:26 +00:00
release Since we don't have rfd0 anymore, put in a line that will actually work 2001-02-22 07:34:53 +00:00
sbin some reasoning why we separated ping(8) and ping6(8) 2001-02-22 19:00:51 +00:00
secure Add back a missing file from the no-asm case 2001-02-20 01:50:25 +00:00
share Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug 2001-02-22 19:44:16 +00:00
sys Redo the security update done in rev 1.54 of src/sys/netinet/tcp_subr.c 2001-02-22 21:23:45 +00:00
tools Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
usr.bin fix usage statement (add missing [-n devs] option) 2001-02-22 13:55:12 +00:00
usr.sbin Futher cleanups. Since we have two options lists, one for proper options 2001-02-22 04:00:29 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Cosmetic fix: Document targets at the top in a uniform way. 2001-02-13 07:47:41 +00:00
Makefile.inc1 Document TARGET_ARCH. 2001-02-22 08:27:17 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Sigh. Add note about the FILE FIASCO. 2001-02-12 21:16:37 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html