FreeBSD src
Go to file
Ruslan Ermilov 86cd74127c Fixed the -iface breakage introduced with the latest KAME merge
in revision 1.48.  It is pretty valid and often feasible to use
a non-point-to-point interface as the gateway.  One might, for
example, use this to route some hosts through an ARP on a local
interface, without having to assign an additional IP address:

Script started on Tue Jun 12 16:16:09 2001
# ifconfig rl0 inet
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.4.115 netmask 0xffffff00 broadcast 192.168.4.255
# netstat -arn -finet | grep -w rl0
192.168.4          link#1             UC          3        0     rl0 =>
192.168.4.65       0:d0:b7:16:9c:c6   UHLW        1        0     rl0   1197
# route add -net 192.168.100 -iface rl0
add net 192.168.100: gateway rl0
# ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes
64 bytes from 192.168.100.1: icmp_seq=0 ttl=255 time=0.551 ms
64 bytes from 192.168.100.1: icmp_seq=1 ttl=255 time=0.268 ms
^C
--- 192.168.100.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.268/0.410/0.551/0.142 ms
# netstat -arn -finet | grep -w rl0
192.168.4          link#1             UC          3        0     rl0 =>
192.168.4.65       0:d0:b7:16:9c:c6   UHLW        1        0     rl0   1165
192.168.100        link#1             UCSc        1        0     rl0 =>
192.168.100.1      0:d0:b7:16:9c:c6   UHLW        1        4     rl0   1192

Script done on Tue Jun 12 16:17:12 2001
2001-06-12 13:23:43 +00:00
bin Removed the broken code which claimed to lose the set[ug]id bits in 2001-06-11 13:57:54 +00:00
contrib Understand new locale names and Latin15 too 2001-06-10 17:03:37 +00:00
crypto Enable Kerberos 5 support in sshd again. 2001-06-12 03:43:47 +00:00
etc Recognize and support new output which pkg_version(1) might produce. 2001-06-11 21:31:50 +00:00
games Fix ISO_ to preferred MIME name 2001-06-10 20:30:41 +00:00
gnu In debug mode don't print error for C,POSIX,ASCII,US-ASCII locales 2001-06-10 23:42:31 +00:00
include Implement EDNS0 support, as EDNS0 support will be made mandatory for 2001-06-10 20:25:24 +00:00
kerberos5 Install this SUID root. Heck, it is su, after all. 2001-06-04 19:54:35 +00:00
kerberosIV Fix PAMized telnet in exactly the same way as BDE did it for the other 2001-05-11 09:39:11 +00:00
lib Turn on the extra 'const' settings for various curses functions. While 2001-06-12 01:14:02 +00:00
libexec Fix the number of bytes allocated by realloc when more space is needed 2001-06-07 20:05:18 +00:00
release ISO_ -> ISO 2001-06-11 02:00:33 +00:00
sbin Fixed the -iface breakage introduced with the latest KAME merge 2001-06-12 13:23:43 +00:00
secure Enable Kerberos 5 support in sshd again. 2001-06-12 03:43:47 +00:00
share Add sbuf_copyin(). Also add 'b' variants of sbuf_{cat,copyin,cpy}() which 2001-06-11 17:05:52 +00:00
sys FreeBSD already avoided namespace pollution (rev.1.45). 2001-06-12 11:12:23 +00:00
tools ISO_ -> ISO 2001-06-11 01:29:40 +00:00
usr.bin ANSI C prohibits text after #endif. 2001-06-12 03:44:35 +00:00
usr.sbin Properly quote recursive pkg_add operations so that filenames with 2001-06-11 23:27:42 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 - Restore -nostdinc that got lost in rev.1.105; we don't 2001-06-11 18:09:08 +00:00
Makefile.upgrade
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Provide better advise than the last commit to UPDATING advocated about 2001-06-10 03:09:52 +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