freebsd kernel with SKQ
Go to file
Paolo Pisati be4f3cd0d9 Summer of Code 2005: improve libalias - part 1 of 2
With the first part of my previous Summer of Code work, we get:

-made libalias modular:

 -support for 'particular' protocols (like ftp/irc/etcetc) is no more
  hardcoded inside libalias, but it's available through external
  modules loadable at runtime

 -modules are available both in kernel (/boot/kernel/alias_*.ko) and
  user land (/lib/libalias_*)

 -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp,
  skinny and smedia

-added logging support for kernel side

-cleanup

After a buildworld, do a 'mergemaster -i' to install the file libalias.conf
in /etc or manually copy it.

During startup (and after every HUP signal) user land applications running
the new libalias will try to read a file in /etc called libalias.conf:
that file contains the list of modules to load.

User land applications affected by this commit are ppp and natd:
if libalias.conf is present in /etc you won't notice any difference.

The only kernel land bit affected by this commit is ng_nat:
if you are using ng_nat, and it doesn't correctly handle
ftp/irc/etcetc sessions anymore, remember to kldload
the correspondent module (i.e. kldload alias_ftp).

General information and details about the inner working are available
in the libalias man page under the section 'MODULAR ARCHITECTURE
(AND ipfw(4) SUPPORT)'.

NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat
support will be part of the next libalias-related commit.

Approved by: glebius
Reviewed by: glebius, ru
2006-09-26 23:26:53 +00:00
bin Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our 2006-09-20 20:55:02 +00:00
contrib Remove bogus casts of valid integer ioctl() arguments. 2006-09-26 21:46:12 +00:00
crypto Merge vendor patch for BSM problem in protocol version 1. 2006-09-16 15:12:58 +00:00
etc Summer of Code 2005: improve libalias - part 1 of 2 2006-09-26 23:26:53 +00:00
games Too many good quotes flying by these days. 2006-09-17 21:36:16 +00:00
gnu Reduce diffs with file generated by FSF configure. 2006-09-22 15:08:07 +00:00
include Prepare for upcoming bthidd(8) update. Install vkbd(4) header into dev/vkbd. 2006-09-07 18:24:24 +00:00
kerberos5 Kerberos/Heimdal doesn't really depend on the INET6 macro. 2006-07-28 06:33:27 +00:00
lib Summer of Code 2005: improve libalias - part 1 of 2 2006-09-26 23:26:53 +00:00
libexec Clean up white spaces and fix style(9). 2006-09-19 16:48:08 +00:00
release Clean obsolete reference to the old NMBCLUSTERS kernel option. 2006-09-18 06:34:51 +00:00
rescue Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
sbin Summer of Code 2005: improve libalias - part 1 of 2 2006-09-26 23:26:53 +00:00
secure Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
share Remove second person from the sentece and rephrase a bit. 2006-09-26 19:59:52 +00:00
sys Summer of Code 2005: improve libalias - part 1 of 2 2006-09-26 23:26:53 +00:00
tools Slight tunups to the config files. 2006-09-21 22:17:04 +00:00
usr.bin Add a -a option as a no-op for Solaris compatibility, as briefly 2006-09-26 22:28:12 +00:00
usr.sbin Remove bogus casts of valid integer ioctl() arguments. 2006-09-26 21:46:12 +00:00
COPYRIGHT Happy new year, a little late 2006-01-15 22:06:10 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
MAINTAINERS Add myself as OpenSSL janitor/maintainer. 2006-09-11 19:39:46 +00:00
Makefile In "make universe", utilize simplified cross-build synopsis, 2006-09-08 10:13:15 +00:00
Makefile.inc1 Previous revision wasn't enough for "make TARGET=<machine> build*" 2006-09-08 10:09:02 +00:00
ObsoleteFiles.inc Remove tcpslice files. 2006-09-24 10:57:34 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING o s/IP_FIREWALL_FORWARD/IPFIREWALL_FORWARD/. 2006-09-18 11:24:25 +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 ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

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/doc/en_US.ISO8859-1/books/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 might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/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.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

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/doc/en_US.ISO8859-1/books/handbook/synching.html