Commit Graph

3077 Commits

Author SHA1 Message Date
sommerfeld 13e9a1abb4 Add wiconfig 1999-07-14 22:35:20 +00:00
sommerfeld 7c00275166 Utility to configure wi* 802.11 driver 1999-07-14 22:33:33 +00:00
itojun e5db40b6de add faithd, IPv6-to-IPv4 tcp relay translator.
utilizes pseudo-device "faith".
1999-07-13 22:16:48 +00:00
thorpej 9630ed475e Use bsd.crypto.mk. 1999-07-12 22:11:37 +00:00
tron d5403b6b11 Remove unnecessary "${.CURDIR}/../nslookup" from ".PATH" target. 1999-07-12 08:31:49 +00:00
itojun 578761f0d3 add usr.sbin/pvcsif and usr.sbin/pvctxctl to SUBDIR. 1999-07-11 17:35:33 +00:00
itojun 5dc7053468 adapt to NetBSD code tree.
- add NetBSD RCS ID
- cut and paste the copyright notice from c source to manpage source
  (unnecessary?)
1999-07-11 17:35:07 +00:00
itojun 47e125616d import from ALTQ 1.2 1999-07-11 17:28:28 +00:00
itojun a09df1fc0f import from ALTQ 1.2 distribution 1999-07-11 17:28:02 +00:00
christos 6e1a032789 cast args to strcmp; 1999-07-10 20:17:21 +00:00
christos ac79e98358 fix thinko in mtime stuff. 1999-07-10 19:59:28 +00:00
tron 247bd5d560 Remove "parse.c" and "parse.h" during "make cleandir". 1999-07-10 11:31:28 +00:00
thorpej 95a36e1425 Fix bug in previous; allprefixes didn't work if there were multiple prefixes. 1999-07-09 18:46:09 +00:00
thorpej 64f20db21b Make the outputted INCLUDES directives a bit more cosmetically appealing. 1999-07-09 18:45:31 +00:00
mrg ecdad0ec33 clean up a bit after jason :)
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
  would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
  $INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej 152af09e65 Add a mechanism to specify prefixes that are transparently prepended
to file specifications.  The prefixes are arranged in a stack, and
nest, so that file, object, and include specifications are normalized,
and all end up relative to the kernel compile directory.

For example, in the kernel config file:

# Pull in config fragments for kernel crypto
prefix ../crypto-us/sys 			# push it
cinclude "conf/files.crypto-us"			# include it if it's there
prefix						# pop it

and in files.crypto-us:

file netinet6/esp_core.c                ipsec & ipsec_esp
file netinet6/esp_output.c              ipsec & ipsec_esp
file netinet6/esp_input.c               ipsec & ipsec_esp

...generates the following in the kernel Makefile:

        $S/../crypto-us/sys/netinet6/esp_core.c \
        $S/../crypto-us/sys/netinet6/esp_output.c \
        $S/../crypto-us/sys/netinet6/esp_input.c \

By placing this all in the kernel config file, all the magic involved in
reaching into non-standard kernel source directories is placed into a file
that the user is expected to edit anyway, and reasonable examples (and
sane defaults, for typical source checkouts) can be provided.
1999-07-09 06:44:58 +00:00
thorpej 02a4ec93e9 Nuke the work-around for non-normalized include paths. They have all
been fixed up.
1999-07-09 02:37:26 +00:00
itojun e5244472c9 style fix (to sync with KAME/NetBSD14) 1999-07-08 16:11:40 +00:00
sommerfeld eb61e82da9 Fix a bit-count vs. byte-count problem .. /16 routes were added as
host routes rather than network routes.
1999-07-08 16:04:56 +00:00
itojun 9c536f2966 sync with KAME/NetBSD14.
add warning about upstream/downstream advertisement.
1999-07-08 00:41:21 +00:00
itojun 6002e3435e fix buffer overrun on kvm_openfiles, last argument.
From: Geoff Wing <gcw@pobox.com>
1999-07-07 00:28:29 +00:00
thorpej 0ee6c639c7 Add a mechanism for files.* files to be included, in the kernel configuration
file, conditional on their existence.  For example:

[ in ../conf/GENERIC ]
cinclude "../crypto-intl/sys/conf/files.crypto-intl"

This required a change to the files.* grammar; pseudo-device in that
context has been changed to defpseudo, to avoid a conflicting rule
for pseudo-device in the kernel config files.

The same grammar change allows vendors to ship files.* files for
commercial drivers, rather than diffs to e.g. files.pci, i.e.:

include "arch/i386/pci/files.zap"
zap* at pci? device ? function ?

Where files.zap might contain:

device zap: ether, ifnet, arp, mii
attach zap at pci
object	arch/i386/pci/zap.o	zap
1999-07-07 00:02:09 +00:00
christos 78a99dbab7 portability fixes:
- don't use timespecs in struct stat on non 4.4BSD systems
- don't assume that tv_sec is a time_t
1999-07-06 15:11:14 +00:00
itojun a7d1c8590c mld6query: throw IPv6 MLD query (similar to IPv4 IGMP) 1999-07-06 13:32:01 +00:00
itojun 26c3d764fd add NetBSD RCS ID. 1999-07-06 13:14:54 +00:00
itojun 22ece3e4cd add NetBSD RCS ID. retain original RCS ID (without $). 1999-07-06 13:13:03 +00:00
itojun 7e91967d7e fix for 64bit arch (sizeof(void *) != sizeof(int)) 1999-07-06 13:08:12 +00:00
itojun 0ff82b2f3d fix compilation on alpha. 1999-07-06 13:05:14 +00:00
itojun 6a12600abf fix for 64bit arch, where sizeof(size_t) != sizeof(int).
add NetBSD RCS ID.
1999-07-06 13:02:09 +00:00
hubertf 657f0ba4f7 Actually generate MD5 checksums, as reported in PR 7928.
Approved by Dr. Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
1999-07-06 12:59:12 +00:00
agc 42de521154 Correct typo in synopsis. 1999-07-05 10:59:08 +00:00
itojun 6d19cc56e3 more careful signed-ness handling in parsing config file. 1999-07-04 22:14:53 +00:00
fvdl bec4549303 Update for mount flag change. 1999-07-04 22:09:30 +00:00
itojun 72367d27c8 s/char/int/ for variable that eat return value of getopt(). 1999-07-04 21:59:19 +00:00
itojun daa8445160 add NetBSD RCS ID. 1999-07-04 14:45:54 +00:00
itojun 5833a5a382 add NetBSD RCS ID where necessary. 1999-07-04 02:57:51 +00:00
itojun b7ee9c3863 add NetBSD RCS ID. 1999-07-04 02:43:39 +00:00
itojun 93de5675b3 be more friendly with non-IPsec kernel (hide warnings). 1999-07-04 00:31:57 +00:00
itojun 202f63e8f8 fix typo (no comma).
use NetBSD RCS ID, retain original.
1999-07-03 18:12:18 +00:00
itojun 5e5766862a comment out rc5-cbc (is removed on KAME on NetBSD-current for
possible patent twist)

From: frank@wins.uva.nl (Frank van der Linden)
1999-07-03 11:58:12 +00:00
itojun 9a6abc8c5d s/CFLAGS/CPPFLAGS/ for -D and -I. 1999-07-03 06:26:25 +00:00
hubertf ef0989e5e0 Document PKG_TMPDIR 1999-07-02 19:05:45 +00:00
thorpej 8cc65d3aa6 Squash some NULL printf format warnings, providing better error messages
to the user in the process.
1999-07-02 18:13:45 +00:00
itojun 961c134c62 s/.Os KAME/.Os/ 1999-07-02 17:45:00 +00:00
itojun c2689aaa05 setkey: configure IPsec keys to the kernel key table
(not subject to export control as itself does not contain crypto)
1999-07-02 17:41:23 +00:00
itojun d161ab0018 clearify and woring fix. 1999-07-02 16:55:45 +00:00
itojun 0d5c089973 document tcp4/tcp6 manipulation. 1999-07-02 16:49:34 +00:00
itojun e4aa9b3d90 do tcp/udp checksum only if it is IPv4.
TODO: IPv6 tcp/udp pseudo header checksum
1999-07-02 14:51:22 +00:00
itojun bfa86f1cc9 route6d: RIPng daemon (similar to route6d)
rip6query: RIPng query (similar to ripquery)

NOTE: we usually do not run route6d on end nodes at startup (rtsol should do
the trick).  So I figured that route6d can be in /usr/sbin, not in /sbin
(routed is in /sbin).  Correct me if I'm wrong.
1999-07-02 11:47:12 +00:00
itojun c282889c17 Pv6, IPsec, ospf6, ripng, dhcp and other protocols support. 1999-07-02 11:31:28 +00:00
itojun 134b5f49f2 rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)
1999-07-02 09:28:16 +00:00
itojun c3e9b5eee9 IPv6/IPsec sysctl MIB support. 1999-07-02 08:58:21 +00:00
itojun a77871b871 dual-stack inetd. you can write "tcp6" or "tcp4" into "protocol" field.
(the style is the rough consensus among v6 implementers so it will be
the standard style)

TODO: test rpc and tcpmux on IPv6.
TODO: test identd over IPv6.
1999-07-02 04:48:19 +00:00
itojun 2447462b5e traceroute6: traceroute for IPv6.
TODO: better to be separate, or merged?
1999-07-01 20:55:03 +00:00
itojun 4512445795 ifmcstat: show multicast groups currently joined (in per-interface manner). 1999-07-01 20:41:49 +00:00
itojun 4b8a1fec7e ndp, "arp"-alike command for IPv6. 1999-07-01 20:33:55 +00:00
itojun 7968868736 s/.Os KAME/.Os/ 1999-07-01 19:42:12 +00:00
itojun 618003328c gifconfig, which configures gif IPv[46]-over-IPv[46] pseudo interface.
add gifconfig to SUBDIR.
1999-07-01 19:41:56 +00:00
itojun 38646d353f IPv6 support. 1999-07-01 19:15:03 +00:00
itojun 38347f727c s/getaddrinfo/get_addrinfo/, to avoid function name conflict with
library function getaddrinfo()
(is defined in RFC2553, will be somewhere in POSIX)
1999-06-30 12:27:34 +00:00
augustss 9d466c7892 usbd is dead. And gone! 1999-06-30 06:56:11 +00:00
augustss aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
augustss 895c141c35 Improve messages in case of error. 1999-06-30 06:23:28 +00:00
minoura 2844bec4f2 Add special methods for hw.serial and hw.srammode. 1999-06-28 08:49:15 +00:00
minoura b6f7807a25 Add -DDEBUG for debug. Can be debuged on other (faster) platforms. 1999-06-28 08:48:35 +00:00
explorer 4ca6c63ecd if returning a pointer to something on the stack, make it a static. 1999-06-28 07:37:13 +00:00
abs c21e827bb5 Remove last traces of securenet and ypserv.acl 1999-06-28 01:21:51 +00:00
mjl 0f3963f273 Truncate disk names in header to 7 instead of 3 chars, we actually
have "raid0".
1999-06-27 12:32:13 +00:00
minoura 909e46e994 Eliminate gcc warnings... 1999-06-25 14:27:55 +00:00
nathanw 42aa7dd2a0 Since this uses memcpy(), we need to pull in string.h to make this compile
on the alpha. Now confirmed working on that platform.
1999-06-25 03:22:35 +00:00
sommerfeld 4b5ec636eb Fix obvious LP64 and aliasing bogons in checksum verification code.
Should fix spurious "bad checksum" errors on alpha, but not yet tested
on that platform.
1999-06-25 03:08:02 +00:00
is a77e5c14be provide initialized C array output directly, rather than through postprocessor 1999-06-22 20:27:21 +00:00
is 73c9f51034 TMS340x0 adresses are unsigned 1999-06-22 20:00:47 +00:00
minoura d2b1196311 Add memswitch(8). 1999-06-21 15:57:47 +00:00
minoura 12769637d8 Initial version of memswitch(8), utility to get or set x68k memory switch. 1999-06-21 15:56:03 +00:00
kim 6f775308a6 Only require half of the responses to indicate that the destination is
unreachable.  This makes traceroute exit when it encounters a Cisco, which
typically does not respond to every other probe (or so) when either there
is no route to the destionation or an access list is blocking the probes.
1999-06-19 05:07:44 +00:00
mrg fccfa318a5 don't print a useless error message. 1999-06-18 09:50:35 +00:00
christos 717ef4f35b Add -u flag, that prevents sup from attempting to restore a and m times
on the received files.
1999-06-17 05:11:47 +00:00
is b5937495f5 Fix typo. 1999-06-16 20:47:57 +00:00
is 38f1211404 Add sanity check for MTU size in fragmentation required packets. 1999-06-16 20:43:48 +00:00
is 847d4766be Factor out common code in the fragmentation required branch. 1999-06-16 20:10:07 +00:00
is a11ec6ccb8 Don't forget to update the UDP length when changing the packet length.
Reported by Johan Danielsson in PR 7781; the fix is an updated version
(by the same person) of the patch in the PR.
1999-06-16 13:52:58 +00:00
is 6f6fd8467a Cosmetics: a) add missing \n-s, b) this is ntohs, not htons, here. 1999-06-16 13:26:16 +00:00
cgd bb8cb1198b Add support for fetching packages from HTTP URLs. Since 'ftp' is already
invoked for (FTP) URLs, this was just a matter of recognizing HTTP URLs
in the places where FTP URLs were recognized (and updating a comment and
the manual page).
1999-06-15 06:32:00 +00:00
scottr b2f847943a Tweak the usage output a bit, and exit after printing it. 1999-06-10 05:53:51 +00:00
lukem b04ab05ddd save/restore errno as necessary (printf() et al might have modified it...) 1999-06-07 15:34:07 +00:00
thorpej 2712865930 Re-indent some of the NFSKERB code, to make the entire loop its in easier
to read.
1999-06-07 06:13:41 +00:00
thorpej 6be407523d Add a missing close bracket, in some currently-unused code. 1999-06-07 06:06:20 +00:00
mrg b734ec4664 note that the calls to mktemp() are OK. 1999-06-07 03:06:08 +00:00
thorpej 2e2748128a Use pidfile(3). 1999-06-06 03:39:11 +00:00
thorpej bcd4659148 Use pidfile(3). 1999-06-06 03:27:35 +00:00
thorpej ad9c4f4fa5 Use daemon(3) and pidfile(3). 1999-06-06 03:27:06 +00:00
thorpej 56c5efa335 Use pidfile(3). 1999-06-06 02:52:16 +00:00
thorpej 653c3855f5 Use pidfile(3). 1999-06-06 02:38:00 +00:00
thorpej 78688ba793 Use pidfile(3). 1999-06-06 01:50:23 +00:00
tron ab86ce8dab Fix byte ordering problem on little endian systems. Patch supplied by
Jarle Greipsland in PR bin/7700.
1999-06-05 09:50:39 +00:00
thorpej 4281f72137 If we get an NIS domain name, set it. If we set, clear it when the
lease is released.
1999-06-04 20:40:50 +00:00
thorpej a2b8006ca9 If we get a host-name option, set it. 1999-06-04 20:12:52 +00:00
thorpej 26e41e4c44 The host-name option is text. 1999-06-04 20:09:12 +00:00
tron 343ac4c964 Remove support for absolutes pathnames completely. This can't work with
binary packages like we support them now.
1999-05-30 16:08:23 +00:00