freebsd-dev/lib
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
..
bind Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
csu Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
libalias Summer of Code 2005: improve libalias - part 1 of 2 2006-09-26 23:26:53 +00:00
libarchive Markup fixes. 2006-09-17 21:27:35 +00:00
libatm Bump library majro version for gethostbyaddr(3). 2006-05-21 15:15:21 +00:00
libautofs
libbegemot
libbluetooth
libbsm Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12 2006-09-25 11:53:58 +00:00
libbsnmp Catch up with the import of bsnmp-1.11. Add a couple of new 2005-10-04 15:02:07 +00:00
libbz2
libc Fix typo 2006-09-26 09:47:46 +00:00
libc_r Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
libcalendar
libcam Go with a different version of the previous patch so to preserve errno. 2006-04-30 07:08:43 +00:00
libcom_err
libcompat
libcrypt Provide alternate default for SHLIBDIR before bsd.own.mk does this. 2006-03-18 11:01:06 +00:00
libdevinfo Markup fixes. 2006-09-17 21:27:35 +00:00
libdevstat Remove an unused variable. 2005-10-04 22:00:35 +00:00
libdisk Remove alpha-specific stuff. 2006-08-23 12:12:56 +00:00
libedit Merge NetBSD's revision 1.27. This bug can be observed eg. when browsing 2005-12-04 09:34:56 +00:00
libexpat
libfetch Respect MK_INET6_SUPPORT. 2006-07-27 04:54:03 +00:00
libform Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libftpio Respect MK_INET6_SUPPORT. 2006-07-27 04:54:03 +00:00
libgeom Fix prototype. 2005-11-24 10:43:35 +00:00
libgpib Apply style.Makefile(5) here. 2006-04-13 08:12:31 +00:00
libgssapi The function isspace does not take a string argument. I have no idea how 2006-02-04 09:40:21 +00:00
libipsec Markup fixes. 2006-09-17 21:27:35 +00:00
libipx
libkiconv
libkse Stylize: 2006-09-01 21:25:22 +00:00
libkvm Don't forget to set internal error message in kvm_nlist(). 2006-09-20 12:09:21 +00:00
libmagic Update for the 'file' 4.17 import. 2006-06-19 08:10:23 +00:00
libmd Fix an 11 year old mistake: Let the hash functions take a void* instead 2006-01-17 15:35:57 +00:00
libmemstat Increase the number of CPUs to 32 to suit sun4v. 2006-07-26 07:46:32 +00:00
libmenu Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libmilter Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
libmp Pass BN_CTX to internal functions instead of allocating it internally. 2006-07-30 19:29:26 +00:00
libncp Silence GCC4 warning. 2006-09-21 01:30:04 +00:00
libncurses Convert NO_PROFILE and NO_LIB32 to new style. 2006-03-18 21:37:05 +00:00
libnetgraph In the splnet(9) times netgraph(4) was synchronous and if a message 2006-01-12 19:14:40 +00:00
libngatm
libopie
libpam Reject user with names that are longer than OPIE is willing to deal with; 2006-09-15 13:42:38 +00:00
libpanel Add missing shared library interdependencies. 2005-11-10 18:07:07 +00:00
libpcap Place shared libpcap library under /lib, currently needed by 2006-04-13 07:25:02 +00:00
libpmc Markup fixes. 2006-09-17 21:27:35 +00:00
libpthread Stylize: 2006-09-01 21:25:22 +00:00
libradius Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
librpcsvc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
librt Account for recent changes in namespace.h. Use _pthread_create 2006-03-29 04:20:53 +00:00
libsbuf
libsdp - Add new service class definitions and a new attribute identifier definition 2006-08-26 23:16:35 +00:00
libsm Add new libsm file from sendmail 8.13.6 2006-03-22 16:58:15 +00:00
libsmb NO_MAN is not needed here. 2006-03-16 15:18:17 +00:00
libsmdb
libsmutil
libstand Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
libtacplus
libtelnet Stop enforcing dependencies between MK_* options at Makefile level. 2006-07-31 13:29:36 +00:00
libthr use rtprio_thread system call to get or set thread priority. 2006-09-21 04:21:30 +00:00
libthread_db Remove alpha-specific stuff. 2006-08-23 12:12:56 +00:00
libufs minor style.Makefile(5) fixes: 2005-09-26 06:23:43 +00:00
libugidfw Add some new options to mac_bsdestended. We can now match on: 2006-04-23 17:06:18 +00:00
libusbhid Fix prototypes. 2005-11-24 11:26:36 +00:00
libutil Markup fixes. 2006-09-17 21:27:35 +00:00
libvgl
libwrap Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
liby
libypclnt Remove debug code. 2006-07-28 21:34:37 +00:00
libz Resolve conflicts. 2006-03-23 14:09:21 +00:00
msun Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
ncurses Convert NO_PROFILE and NO_LIB32 to new style. 2006-03-18 21:37:05 +00:00
Makefile Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
Makefile.inc