Commit Graph

9123 Commits

Author SHA1 Message Date
manu 098ea45eb4 New README.plainrsa sample file 2006-12-10 05:52:10 +00:00
dyoung c308b1c661 Here are various changes designed to protect against bad IPv4
routing caused by stale route caches (struct route).  Route caches
are sprinkled throughout PCBs, the IP fast-forwarding table, and
IP tunnel interfaces (gre, gif, stf).

Stale IPv6 and ISO route caches will be treated by separate patches.

Thank you to Christoph Badura for suggesting the general approach
to invalidating route caches that I take here.

Here are the details:

Add hooks to struct domain for tracking and for invalidating each
domain's route caches: dom_rtcache, dom_rtflush, and dom_rtflushall.

Introduce helper subroutines, rtflush(ro) for invalidating a route
cache, rtflushall(family) for invalidating all route caches in a
routing domain, and rtcache(ro) for notifying the domain of a new
cached route.

Chain together all IPv4 route caches where ro_rt != NULL.  Provide
in_rtcache() for adding a route to the chain.  Provide in_rtflush()
and in_rtflushall() for invalidating IPv4 route caches.  In
in_rtflush(), set ro_rt to NULL, and remove the route from the
chain.  In in_rtflushall(), walk the chain and remove every route
cache.

In rtrequest1(), call rtflushall() to invalidate route caches when
a route is added.

In gif(4), discard the workaround for stale caches that involves
expiring them every so often.

Replace the pattern 'RTFREE(ro->ro_rt); ro->ro_rt = NULL;' with a
call to rtflush(ro).

Update ipflow_fastforward() and all other users of route caches so
that they expect a cached route, ro->ro_rt, to turn to NULL.

Take care when moving a 'struct route' to rtflush() the source and
to rtcache() the destination.

In domain initializers, use .dom_xxx tags.

KNF here and there.
2006-12-09 05:33:04 +00:00
skrll ecf6232588 Some installation fixes:
- add a ses(4) major number as the MI MAKEDEV tries to create the
	  nodes. hi elad.

	- create audio devices.

	- provide mount_kernfs and a dmesg command.

	- start sysinst automagically and fix backspace key.

Mostly prompted by David H. Gutteridge on port-hp700.
2006-12-06 10:27:00 +00:00
martin 7013a4813d If we do DHCP (so our ifconfig.* file only has a "up" line), still
write media selection information, if the user chose anything special.
Pointed out by Georg Schwarz in PR 31448.
2006-12-05 10:21:09 +00:00
pavel edab74570a Move the description of sysctl MIBs from sysctl.3 to a new manual page
sysctl.7. Remove the list of MIBs from sysctl.8 so we don't have to
maintain duplicate information, as proposed by YAMAMOTO Takashi on
tech-userlevel. Also remove references to header files from sysctl.8.

The numeric constants remain documented, they are still needed in some
cases. See the discussion on tech-userlevel. ("mib list in sysctl.8")

OK by YAMAMOTO Takashi.
2006-12-04 08:59:13 +00:00
tnozaki 787d7a82ef update CP942 iconv data - don't share Unicode mapping table with JISX0208:1978. 2006-12-03 14:28:46 +00:00
tnozaki afa086e571 1. add IBM codepage 853 support to iconv.
2. correct JISX0208:1978 <-> Unicode mapping for IBM942.
2006-12-02 14:36:13 +00:00
bouyer 7b4730a29f Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.
2006-11-30 21:01:15 +00:00
dsl 19a3b59fe1 Fix inverted test for presence of lfs commands when writing /etc/fstab 2006-11-30 20:48:13 +00:00
tnozaki e105ab22c2 add iconv support following encoding:
CP858	- CP850 with euro sign
	CP942	- variant of CP932(JIS-ROMAN + JIS78)
	CP942C	- ditto(ASCII + JIS78)
	CP943	- ditto(JIS-ROMAN + JIS83)
	CP943C	- ditto(ASCII + JIS83)
	TDS565	- Turkmen Alphabet(ISO-IR-230)
2006-11-29 15:45:26 +00:00
alc d876d4f262 Add my name to the developers list
Hello everybody ;-)
2006-11-29 04:34:37 +00:00
hubertf 11e3c1d9c6 Remove references to Ultrix gunzip
Discussed with and OK'd by simonb (port-pmax portmeister)

Fixes PR port-pmax/18320
2006-11-27 01:57:25 +00:00
martin f1a1cc2e0c dsl says: "you need to use .ie not .if if you want to use .el".
This makes missing descriptions of the misc/ directory appear in the
output.
2006-11-26 19:21:55 +00:00
hubertf 9382f56fa0 Update a bit, in light of PR 18320:
* update size information
 * fix some paths
 * do we want to ship an Ultrix gunzip again? I think we should...
   I'll ask the portmaster for input.
2006-11-26 16:29:07 +00:00
martin 3837d02a37 Fix PR install/34375 by fixing a few filenames. 2006-11-26 15:44:07 +00:00
martin f9ac3281a1 Fix kernel names (install -> netbsd-INSTALL), closes PR 12007. 2006-11-26 12:56:12 +00:00
martin da210ed133 Adapt iso image names to current conventions and suffix them with the current
version number.
2006-11-26 11:26:27 +00:00
mishka 64c7b74aad PR/13749 - Incorrect options specified for dd(1) in tape installs.
Cleanup dd options accordingly to the following policy:
    1) put if, of, bs, conv in this order
    2) for reading/writing from/to disk don't use sync
    4) reading from tape - use sync
    3) writing to tape - use osync

Noted by Don Yuniskis (auryn at gci-net.com) via install/13749. Thanks!
Reviewed by <martin>. Thank you!
2006-11-25 22:53:34 +00:00
martin 70ba00a921 i386 now has 3 floppies - noted by Alan Horn 2006-11-25 21:07:32 +00:00
elad 6a55f622e6 First take of MI boot(8) man-page, suggested by agc@.
Okay agc@.
2006-11-25 17:43:47 +00:00
tnozaki 0a9d990226 1. add iconv support for Lao language - CP1133, MULELAO-1.
2. add alias Thai language: TIS620, ISO-IR-166.
2006-11-25 10:27:22 +00:00
wiz 5c056f6785 s/apparant/apparent/, from Zafer. 2006-11-24 22:54:47 +00:00
he 67fd061d1e Properly mark the {v,}syslog_ss entries as obsolete. 2006-11-24 10:58:58 +00:00
hubertf 8c32fb4371 Properly mark the sets to install when selecting a full install.
Bug reported and patch reviewed by mhitch@, tested by myself
2006-11-24 00:53:47 +00:00
christos 8db3f5dd85 bump libedit 2006-11-24 00:02:27 +00:00
martin ca4e1f8a92 If we need -fno-strict-aliasing (see hack "gcc4 pointer sign and strict
aliasing problems", usr.sbin/dhcp/Makefile.inc rev 1.20), we need it
on the crunched binaries too.
2006-11-23 13:22:18 +00:00
tnozaki 51d316fde4 add GB12345 csmapper files. 2006-11-23 05:20:04 +00:00
rpaulo 5423539f94 New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.
2006-11-23 04:07:07 +00:00
tnozaki dec2eb4c9d 1. move GB*.esdb from i18n/esdb/MISC to i18n/esdb/GB directory.
2. add iconv support for Chinese Tradisional GB12345.
2006-11-23 03:25:24 +00:00
tnozaki 8033a5b008 1. add iconv support for following encodings:
Chinese Simplefied
        HZ, HZ8 - 7/8bit stateful encoding, see RFC1842,1843. (libHZ)
        zW      - 7bit stateful encoding, see RFC1842. (libZW)
2. add citrus_prop.[ch] - parser for encoding module's init parameter strings.
2006-11-22 23:38:25 +00:00
martin 2d95ef4c0f Remove CRUNCHGEN_FLAGS, probably left over from a previous hack to work
around bugs in an older compiler. Nowadays the default -Os works fine.
2006-11-22 20:54:16 +00:00
christos 4ca73ce810 Don't expose _ss functions for 4.0. Requested by core. 2006-11-22 17:23:24 +00:00
christos ab56b9a702 getdate -> parsedate 2006-11-20 20:33:33 +00:00
dsl 12dfa56940 Conditionalise the tests for the deleted kernels 2006-11-19 19:01:26 +00:00
dsl d392ef1faa Remove TINY and PS2TINY 2006-11-19 11:37:32 +00:00
dsl 73faefbb9f As has been pointed out recently, the list of i386 release kernels needs
updating. Probably to an ACPI kernel that need not fit into an 'emulated floppy'
and a 'legacy' kernel that will fit.
In any case the small/tiny kernels which are really for i386 systems with
< 16MB of memory (some are sized for a 5.25" floppy) don't need to be built.
Remove bootfloppy-small, bootfloppy-tiny, rescue-tiny and bootfloppy-ps2
and associated ramdisks.
2006-11-19 11:17:51 +00:00
dsl fed5688510 It is singularly pointless generating CD install images for PS2 and tiny
systems.  I really can't imagine them being bootable - especially if/when
this directory generates non-floppy-emulation images.
2006-11-18 20:15:59 +00:00
dsl 838c3d3c4f Remount mount_kernfs from these - kernfs isn't it the kernels any more. 2006-11-18 16:16:19 +00:00
dsl 202882dcbc Move the programs that are common to all ramdisks into common/list.ramdisk.
The build ramdiskbin programs have the same code size, the overall sizes
differ slightly due to the way rodata.str.1 gets relaxed.
2006-11-18 16:09:57 +00:00
dsl 77c391989d Whitespace/comment changes to align text between these files 2006-11-18 10:01:32 +00:00
christos 55b9633384 Documentation for getdate. 2006-11-17 22:18:48 +00:00
christos ff2dbfd3d9 bump libutil for getdate. 2006-11-17 22:13:58 +00:00
reed 77c6811b1b Uppercase "BSD". s/Netbsd/NetBSD/
Saw this in the missing bootmenu menu.
2006-11-17 21:04:22 +00:00
christos b1d5ffd2bd lfs_cleanerd.debug moved. 2006-11-16 00:50:19 +00:00
tnozaki 79a70a823d 1. add iconv support for followint encoding:
Vietnamese
	TCVN	8bit Viet Nam National Standard
	VISCII	8bit RFC1456
	VIQR	7bit RFC1456(libVIQR)
    Unicode Escape (GNU libiconv compatibility)
	C99, JAVA (libUES)
2. fix iconv_std module:
	add special treatment for POSIX Defect Report #288 case.
2006-11-13 15:16:28 +00:00
dyoung a25eaede91 Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses.  Make ifconfig(8) set/display preference
numbers.

To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.

Miscellaneous changes in support of source-address selection:

        1 Factor out some common code, producing rt_replace_ifa().

        2 Abbreviate a for-loop with TAILQ_FOREACH().

        3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
          IN_PRIVATE(), that are true for link-local unicast
          (169.254/16) and RFC1918 private addresses, respectively.
          Add the predicate IN_ANY_LOCAL() that is true for link-local
          unicast and multicast.

        4 Add IPv4-specific interface attach/detach routines,
          in_domifattach and in_domifdetach, which build #ifdef
          IPSELSRC.

See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
christos 92bb57d7f6 put back phones, used by tip 2006-11-12 03:02:50 +00:00
christos ab6d6d1244 more uucp removal 2006-11-12 02:43:39 +00:00
dogcow 873dd89778 missed UUCP obsolete 2006-11-12 02:29:44 +00:00
christos 733988be60 goodbye uucp 2006-11-12 01:24:51 +00:00