Commit Graph

3663 Commits

Author SHA1 Message Date
itojun
f271a2cc0d do not install /usr/sbin/scriptdump, a helper perl script for setkey(8).
makes no sense when we have no perl in base system.
2000-06-13 05:35:45 +00:00
itojun
1a658c5964 avoid memory leak and duplicated free. 2000-06-13 01:08:43 +00:00
veego
af650398d9 Reverse the order for bsd.subdir.mk and bsd.prog.mk. 2000-06-12 21:32:25 +00:00
mellon
3664f335db - In parse_host_declaration, check for boolean status from clone_group,
not isc_result_t.
2000-06-12 19:48:46 +00:00
mellon
651c0b2dc2 Pass interface name required by format to log_fatal. 2000-06-12 18:57:43 +00:00
mellon
eba9d5379d Fix a core dump caused by an uninitialized pointer. 2000-06-12 17:43:26 +00:00
itojun
5a2c8d59e9 print source address of query. support -f (skip first N hops).
do not choke on unexpected ND messages.
2000-06-12 16:31:52 +00:00
itojun
9dea945457 nroff nit for SYNOPSIS section. should we translate it to mdoc format? 2000-06-12 16:26:13 +00:00
itojun
dbfdf59395 mountd(8) supports scoped IPv6 address properly (exports(5) requires
scope identifier).  remove mention in BUGS section and add note on
scope identifier.
2000-06-12 15:40:35 +00:00
simonb
bde324b68f Fix a couple of problems:
+ Make depend required all the source files to be built before
   the dependencies were generated due to some sub-optimal logic
   in the version generation.
   Fix from Bernd Ernesti in private mail.
 + Make the version string contain ${PROG} as originally intended
   and not "ntpd" for all 7 programs.

Also move version generation to Makefile.inc to stop having 7 copies
of exactly the same thing.
2000-06-12 13:57:38 +00:00
veego
0f5588e203 Make it possible to use obj dirs for the 'make tests' in the test subdir. 2000-06-12 13:35:49 +00:00
assar
7655c3a8f9 update list of ufs inode, nfs inode flags and tty disciplines to
reality.  also sort them in the obvious order.
2000-06-12 13:30:03 +00:00
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