Commit Graph

53310 Commits

Author SHA1 Message Date
itojun c6f88a42f4 support IPv6 address and IPv6 protocols.
"tcp" will match both IPv4 TCP and IPv6 TCP.
"ip6" will match IPv6.
you can chase header chain by using "protochain" instead of "proto"
(but bpf code is not optimizable in this case)

commit to tcpdump will follow.

I've sent this fix to LBL guys to get no response.  I wonder why it was.
1999-07-02 10:05:22 +00:00
itojun 22b07aaafd upgrade libc minor version (sorry forgot this last day) 1999-07-02 10:00:59 +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 f8346292af move ipsec sysctl index to IPPROTO_AH (instead of IPPROTO_ESP),
so that you can perform sysctl operation when ESP is not compiled in.
1999-07-02 08:46:47 +00:00
itojun 8f071200a3 rtsol: Throw IPv6 router solicitation to request autoconfiguration
(to be used on end host).
1999-07-02 08:28:04 +00:00
itojun d1a8e792f7 add dual-stack (IPv4/v6) support. hope I broke no other part... 1999-07-02 08:07:40 +00:00
itojun 5536a65571 IPv6 support. 1999-07-02 07:59:56 +00:00
itojun 932ab72aee remove TIME_WAIT issue, it was false. 1999-07-02 07:36:33 +00:00
itojun 8ebf9f7039 add tcp6 port # oddity.
add splnet/splsoftnet issue.
1999-07-02 07:16:29 +00:00
itojun 3496d3aba4 close data socket when new EPRT command comes. 1999-07-02 07:11:36 +00:00
itojun 90db061921 add telnet on tcp6. 1999-07-02 06:32:32 +00:00
itojun 5b5d822bce dual-stack telnetd. 1999-07-02 06:32:08 +00:00
itojun 5202885909 provide sample lines for IPv6 services (at this moment ftpd and fingerd) 1999-07-02 06:05:21 +00:00
itojun 98a141cc3f dual-stack finger.
% finger itojun@::1
% finger itojun@127.0.0.1
% finger itojun@localhost
	tries all addresses listed on DNS, uses first one with successful
	connect(2).
1999-07-02 06:01:22 +00:00
itojun 7b9f155e5f dual-stack fingerd. Run it from inetd like:
>>finger  stream tcp6 nowait nobody /usr/libexec/fingerd fingerd

Single daemon on tcp6 socket will be able to serve both IPv4 and
IPv6 connections, while you can run both if you wish.
1999-07-02 06:00:06 +00:00
itojun 2005cef66b typo fix: s/LPSV/LPRT/ 1999-07-02 05:54:21 +00:00
itojun c9b3e3ad3d dual-stack ftpd. run this from inetd, like:
>>ftp  stream tcp6 nowait root /usr/libexec/ftpd ftpd -ll
1999-07-02 05:52:14 +00:00
lukem a3f3aa25fd make a pointers static again (that were made automatic as part of the
xfer rate stuff, but i never completed the changes that didn't need it
set).
fixes a coredump noticed on current-users@ by Chan Yiu Wah <c5666305@hkstar.com>
1999-07-02 05:41:45 +00:00
itojun 909714f4a5 IPsec support (specify policy on ping - quite useful to test
if IPsec is working or not) is added.
1999-07-02 04:53:23 +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
thorpej 011b182801 Fix some printf format problems. 1999-07-02 00:19:44 +00:00
thorpej e7d046463f -D... belongs in CPPFLAGS 1999-07-02 00:04:53 +00:00
thorpej 62d68abdad Fix LP64 printf format problem. 1999-07-01 23:59:11 +00:00
thorpej 8328f07bda Fix printf format on LP64. 1999-07-01 22:47:56 +00:00
thorpej 14a2fa8169 Fix IPv6 software interrupt vector label. 1999-07-01 22:03:38 +00:00
itojun 2447462b5e traceroute6: traceroute for IPv6.
TODO: better to be separate, or merged?
1999-07-01 20:55:03 +00:00
thorpej 30f651d5b0 Const poison local printf prototype. 1999-07-01 20:46:42 +00:00
is 456bf68494 Quick and dirty hook to compile a non-6888[12] libm for 68040 and 68060.
This is switched to by the M68040 or M68060 defines.
XXX Eventually, a M060SP based libm should be built for M68060.
1999-07-01 20:46:35 +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 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