Commit Graph

3651 Commits

Author SHA1 Message Date
veego f517f20387 Add the regress tests for n5, n6 and n7. 2000-06-12 10:45:32 +00:00
itojun 92e64a4a0d sync with almost-latest KAME IPsec. full changelog would be too big
to mention here.  notable changes are like below.

kernel:
- make PF_KEY kernel interface more robust against broken input stream.
  it includes complete internal structure change in sys/netkey/key.c.
- remove non-RFC compliant change in PF_KEY API, in particular,
  in struct sadb_msg.  we cannot just change these standard structs.
  sadb_x_sa2 is introduced instead.
- remove prototypes for pfkey_xx functions from /usr/include/net/pfkeyv2.h.
  these functions are not supplied in /usr/lib.

setkey(8):
- get/delete does not require "-m mode" (ignored with warning, if you
  specify it)
- spddelete takes direction specification
2000-06-12 10:40:37 +00:00
mycroft 45d698dd33 Make the rpcsvc dependencies work a bit better. 2000-06-12 01:57:25 +00:00
mellon cc4d3c7a56 Differentiate the version number. 2000-06-10 18:52:45 +00:00
mellon ce18212259 Fix up some failover dependencies 2000-06-10 18:31:11 +00:00
mellon 3eff691939 Update makefiles and remove removed files. 2000-06-10 18:29:27 +00:00
mellon 582a2367ec Fix conflicts in merge. 2000-06-10 18:17:18 +00:00
mellon a32e54aef9 Belated import of recent DHCP core dumps, etc. Approved by releng. 2000-06-10 18:04:36 +00:00
itojun 20b4e05ffe check scope id when we compare two AF_INET6 sockaddrs.
XXX still not sure if it is enough, so I do not remove warning from
documentation yet.
2000-06-10 08:01:07 +00:00
itojun 1ba6c2716a support IPv6 addresses start with hex digit or colon (like ::1).
in manpages, warn that scoped IPv6 addresses are not supported.
2000-06-10 07:04:13 +00:00
itojun b2ffcc0e07 IPv6 support for sunrpc. from tcpdump.org. 2000-06-10 05:39:16 +00:00
itojun 68706c1c57 support NFS over IPv6. from tcpdump.org 2000-06-10 05:27:27 +00:00
itojun 739ca10641 bark if too-big-masklen on "-network prefix/masklen". 2000-06-10 04:40:17 +00:00
cgd 82990223e4 typo 2000-06-09 18:51:47 +00:00
fvdl 7704425071 Convert to tirpc interface, and to be af-independent. 2000-06-09 14:00:52 +00:00
bouyer 491268e2d5 Always copy pointer returned by db->get or db->seq before using, to avoid
alignements issues.
While doing this I found a bug in reset_host(), notifyReqd was set to
the wrong pointer.
2000-06-09 09:57:29 +00:00
cgd c026189f76 do that previous differently. only allow redefinitions if: in different
file, make command specified, and no flags or attrs-which-cause-inclusion
are spec'd.  The notion is, if you change either of the last 2, it will
probably have very undesirable results, so only allow the make command to
be changed.  override by clobbering the make command in the previous entry.
also, fix a bug where line number of original entry would get clobbered on
dup entry, so that if you had multiple dups the later ones would get bogus
initial definition info.
2000-06-09 05:06:12 +00:00
fvdl 2a2d6dd2fc Update to use ti-rpc interface. Add -6 flag for IPv6 usage. This flag
will not cause an error if IPv6 is not available, so that things work
on v4 only kernels.
2000-06-09 00:05:02 +00:00
fvdl 65c642a530 Make address handling in mountd more generic, to allow IPv6 mounting.
Add IPv6 example to exports manpage. Allow /prefix notation for
networks.
2000-06-09 00:03:31 +00:00
eeh e5cf411171 Allow MD files files to override settings in MI files files. (From Chris Torek). 2000-06-08 21:22:55 +00:00
dan 03facbbdb8 back out previous. I tried hard to make sure that i had up to date
rpcgen and headers so that I didn't do something stupid, but somehow
I still did something stupid.
2000-06-08 12:00:46 +00:00
dan 4891c17d26 tidy up a warning - format specifier for a u_long parameter 2000-06-08 11:40:32 +00:00
fvdl 4810a01fcf Ok.. really get it right this time (that's ntohs, not htons.. need coffee). 2000-06-08 09:01:05 +00:00
fvdl da693d7595 Fix botched reserved port check for the -L option case. From
IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>, PR 10321

Use IPV6PORT_RESERVED in the INET6 case, for consistency.
2000-06-08 08:21:42 +00:00
hubertf 2b57637552 ftp(1)'s "ls" now lists files/dirs plus attributes (much like "dir" did
before). Use "nlist" to still get filenames only.
Needed to expand wildcards.
2000-06-08 00:26:48 +00:00
bouyer 227ed98327 Implement file locking in lockd. All the stuff is done in userland, using
fhopen() and flock(). This means that if you kill lockd, all locks will
be relased (but you're supposed to kill statd at the same time, so
remote hosts will know it and re-establish the lock).
Tested against solaris 2.7 and linux 2.2.14 clients.
Shared lock are not handled efficiently, they're serialised in lockd when they
could be granted.
2000-06-07 14:34:40 +00:00
hubertf 29efdd4919 save another call to allocate space on the stack for something that's
definitely going to end up there.
2000-06-07 03:17:10 +00:00
hubertf 6fa913c454 Don't use asprintf() which isn't available on NetBSD 1.3.2. 2000-06-07 02:10:28 +00:00
bouyer ff01cf4808 Solaris hosts with multiple names (e.g. short & fqdn) sends notification
with both names. So log the "Unsolicited notification" with LOG_DEBUG
instead of LOG_ERR.
Don't return failure if we received a notification for which the host is
unknown, or we don't have outstanding requests. The remote host will retry
forever otherwise.
2000-06-06 18:19:56 +00:00
bouyer e85966b43e db->seq() returns 0 for success and 1 for failure, not the opposite.
walk_db() was silently failing because of this.
2000-06-06 18:17:07 +00:00
cjs d0814a7d34 Revert last change; one needs a new rpcgen and has to do a bit of other
magic described in current-users by fvdl.
2000-06-06 02:18:05 +00:00
cjs a5b96ca6ad BOOTPARAMVERS is apparently a long, so use %lu rather than %u to print it. 2000-06-06 01:40:19 +00:00
mycroft 0047d53157 Get rid of the stupid hack that makes this lose when ${CC} is more than one word. 2000-06-05 17:41:19 +00:00
veego dc3bf4930d Back out the last commit. It seems that your includes are out of date. 2000-06-04 13:49:21 +00:00
fvdl 8ff5b7bdd6 Host access checking for a local socket makes no sense. 2000-06-04 12:06:44 +00:00
thorpej b6219f383c Need <string.h> for LP64 systems. 2000-06-04 04:51:50 +00:00
perry f47416ac02 BOOTPARAMVERS is an unsigned long now, it seems 2000-06-04 03:49:49 +00:00
thorpej ae67003975 Need to include <sys/sched.h> to get cp_time-related constants. 2000-06-03 21:00:42 +00:00
fvdl 07af740946 The interal SVCXPRT field xp_sock was used, but this is now xp_fd. 2000-06-03 14:33:18 +00:00
fvdl 643a284d5b Fix printf argument mismatch for version number. 2000-06-03 14:25:20 +00:00
fvdl 548ea61860 Fix last arg to clnt_broadcast. 2000-06-03 14:20:49 +00:00
fvdl 3e07f160dc Remove portmap, add rpcbind. 2000-06-03 00:52:22 +00:00
fvdl 35d98921a7 Reflect changed Unix domain socket name. 2000-06-03 00:51:27 +00:00
fvdl add1c74187 This file was omitted in the original commit. 2000-06-03 00:47:21 +00:00
fvdl 2db4d2fdfe Modify to support RPC over IPv6. 2000-06-02 23:17:55 +00:00
fvdl 6b395c99f1 portmap(8) has been replaced by rpcbind(8). 2000-06-02 23:16:39 +00:00
fvdl d687de29c6 rpcbind, the successor to portmap. Taken from Sun TI-RPC source code,
then modified. This still contains some ugly special casing for
procedures in the security section, but I haven't found a nicer way
so far.
2000-06-02 23:15:41 +00:00
enami dc0efa126e Just remove the first word so that rcmd.c compiles even if the command line
contains same substrings with the name of compiler.
2000-05-31 07:34:45 +00:00
itojun 5599a3d879 sync with latest kame code. a bug with malloc() size (that can lead to
SEGV) is corrected.
2000-05-31 03:18:02 +00:00
jwise 906d507584 Document new -p flag 2000-05-30 15:33:19 +00:00