Commit Graph

53530 Commits

Author SHA1 Message Date
itojun
4b8a1fec7e ndp, "arp"-alike command for IPv6. 1999-07-01 20:33:55 +00:00
itojun
bad54b26c6 enable -DIPSEC. 1999-07-01 20:19:35 +00:00
itojun
5e4f18efbb add LIBIPSEC for use from DPADD. 1999-07-01 20:19:18 +00:00
itojun
85685e0177 ipsec support library.
mainly for debugging, and policy text->binary conversion.  NO crypto code
is included so it is export safe.
1999-07-01 20:15:26 +00:00
is
136b788b3d Better align memory segment table. 1999-07-01 20:14:42 +00:00
thorpej
43e7ebad4c Const poison local printf() prototype. 1999-07-01 20:11:39 +00:00
itojun
afb0d8e6e1 less warning on userland compilation. 1999-07-01 20:10:27 +00:00
itojun
1f731b1e07 avoid void * arithmetic (msg_control is now void *). 1999-07-01 20:09:57 +00:00
thorpej
11c67d01a5 Fix a corner case locking error, which could lead to map corruption in
SMP environments.  See comments in <vm/vm_map.h> for details.
1999-07-01 20:07:05 +00:00
itojun
68ad03fe5d ping for IPv6. try
ping6 ::1
on you node.
1999-07-01 19:59:59 +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
abs
125cb421d5 Note the default tape device is taken from _PATH_DEFTAPE in /usr/include/paths.h 1999-07-01 19:18:47 +00:00
itojun
38646d353f IPv6 support. 1999-07-01 19:15:03 +00:00
wrstuden
b101a0685c Make fhopen use FILE_UNUSE, and don't leak file descriptors.
Patch from Jason Thorpe. Also should close PR 7889 from
Assar Westerlund <assar@sics.se> describing this problem.
1999-07-01 18:58:16 +00:00
thorpej
c859e43fbb Fix tyop. From Bill Studenmund. 1999-07-01 18:40:39 +00:00
itojun
414ee1ddfb make netstat IPv6-ready. 1999-07-01 18:40:35 +00:00
itojun
c74aeb8363 document issues in libc extensions. 1999-07-01 18:28:55 +00:00
itojun
37e8159125 add IPv6 support functions.
get{addr,name} info are implemented to have as little impact to existing
resolver code as possible, so they are NOT the optimal implementation.
They are at this moment not very thread safe (as they call
gethostby{name,addr}).

(shlib minor version)++, as new interfaces are added.

TODO: getipnodeby{name,addr} - which needs total reimplementation of
gethostby{name,addr}.
upgrade rcmd.c for multiple af support (needed for IPv6-ready rsh/rlogin)
1999-07-01 18:23:53 +00:00
itojun
e5e0b59b78 add -DINET6 for DNS-over-IPv6 resolver. 1999-07-01 18:20:13 +00:00
itojun
e24b45d811 IPv6 DNS transport support for resolver.
Now you can write
	nameserver 3ffe:0501:4819::42
in /etc/resolv.conf for DNS query over IPv6 network.
(the above address is alive as DNS server)
1999-07-01 18:19:35 +00:00
itojun
7f7f5bff87 document gethostbyname2(). 1999-07-01 18:18:27 +00:00
itojun
10f59f2d42 define IPv6 library functions and structures, as defined in
RFC2292 and RFC2553.
define internal state structure for IPv6-transport resolver.

Commits for source code will follow.
1999-07-01 18:15:41 +00:00
itojun
e061ef3163 fix hardcoded T_A.
this fixes gethostbyname2(host, AF_INET6) to actually work.
1999-07-01 16:43:18 +00:00
itojun
25eb444e29 make ifconfig IPv6-ready.
TODO: update manpage for new options.
1999-07-01 13:19:20 +00:00
drochner
f3a6841709 make it compile if WSDISPLAY_COMPAT_RAWKBD is defined, but NWSDISPLAY not,
reported by Kazushi Marukawa <jam@pobox.com>
1999-07-01 11:18:20 +00:00
itojun
2cd8764765 add IPv6/IPsec manpage into MAN 1999-07-01 10:55:53 +00:00
itojun
af19683322 s/.Os KAME/.Os/ 1999-07-01 10:53:48 +00:00
itojun
9d0659f865 manpage for "pseudo-device gif", for IPv4/v6 tunnelling. 1999-07-01 10:52:17 +00:00
itojun
42d8e71f94 s/.Os KAME/.Os/ 1999-07-01 10:50:47 +00:00
itojun
38610cd2fc introductory manpage for IPsec and IPv6. 1999-07-01 10:48:30 +00:00
itojun
43ada52628 add INET6, IPSEC and IPSEC_{ESP,DEBUG}. 1999-07-01 10:47:37 +00:00
cgd
fb88e47b54 Remove an extraneous fclose() call which would cause savecore to crash
if the bounds file was unwritable (e.g. because /var was read-only).
Fix supplied by Ronald Khoo in PR#7887.
1999-07-01 08:53:35 +00:00
itojun
118d2b1d4f IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
  data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
  package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
  file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.
1999-07-01 08:12:45 +00:00
itojun
9765602d90 add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
itojun
5effafcaa6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
darrenr
4607be6533 define PR_LISTEN to indicate listen(2)/accept(2) support 1999-07-01 05:56:53 +00:00
darrenr
cd92b615fa fix sys_accept() to return EOPNOTSUPP for protocols which don't support
listen/accept (PR_LISTEN flag in protosw) and detect obvious faults in
parameters passed.  It is still possible for the address used for copying
the socket information to become invalid between that check and the copyout
so close the connection's allocated fd if the copyout fails so that we can
return EFAULT without allocating an fd and the application not knowing about
it.  Ideally we'd be able to queue the connection back up so a later accept
could retrieve it but unfortunately that's not possible.
1999-07-01 05:56:32 +00:00
darrenr
67cac86e57 add PR_LISTEN to protocols which support listen(2) 1999-07-01 05:53:04 +00:00
fvdl
440bb56d81 Don't use .PATH here, it won't work because of crunchgen. XXX 1999-06-30 22:21:57 +00:00
ragge
1647688f0d Use pmap_steal_memory() for early memory allocation. 1999-06-30 19:31:33 +00:00
ragge
8783dd4166 MSCP moved. 1999-06-30 18:48:06 +00:00
ragge
9c7dfb8eb4 Outdated; moved to another location. 1999-06-30 18:47:03 +00:00
ross
59c991a23e Document BUILD_KERNELS. 1999-06-30 18:42:03 +00:00
ross
6e3b6566ce * Define INSTALLATION_DIRS and BUILD_KERNELS.
* Build in src/distrib
* Call the new release targets in src/distrib/{alpha,notes}

Note: The notes installation command is MI and should eventually move
      to somewhere in ../Makefile
1999-06-30 18:39:37 +00:00
ragge
996e5bf55a Stop the network interface after kernel is loaded but before starting it.
Not doing this caused packets to be read into memory somewhere after the
kernel was started but before the device was probed, normally in the
system page table. This gave quite unpredictable results...
1999-06-30 18:38:03 +00:00
ross
147f63da42 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:36:37 +00:00
ragge
a406e5332c Clean up the boot command selection a bit. Add a command "halt". 1999-06-30 18:33:33 +00:00
ragge
3b8e9ab16d Support loading the kernel from ustarfs. 1999-06-30 18:30:42 +00:00
ross
1128e4c837 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:23:02 +00:00