Commit Graph

3884 Commits

Author SHA1 Message Date
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
jwise 21a51a33f7 Fix a hole in the portmap libwrap access control: programs on a host which
had been granted access to the portmapper via hosts.{allow,deny} could use
PMAPPROC_CALLIT to call PMAPPROC_{SET,UNSET} to (un)register services as if
they were running on the local host.

The new code disallows all indirect calls to the portmapper except for
PMAPPROC_NULL unless the -i (insecure) flag has been specified.

While there, add a new flag, -p (paranoid) which also disallows indirect calls
to a small number of other services, including key parts of NFS and NIS.  This
code hardcodes the services to be disallowed, and is thus somewhat of a hack,
but will serve for the time being (until portmap is replaced by rpcbind as part
of fvdl's current rpc work, due to happen before 1.5).

Problem pointed out by Frank van der Linden <fvdl@netbsd.org>, solution determined
in discussion with Frank van der Linden and with Bill Sommerfeld <sommerfeld@netbsd.org>.
Some inspiration drawn from the (less general) handling of this problem in Wietse
Venema's libwrap'ed portmap.
2000-05-30 15:31:14 +00:00
itojun ed26506c25 usr.sbin/lpr/lpd now compiles lib/libc/net/rcmd.c on its own, to avoid
use of non-exported function __ivaliduser{,_sa}().

we cannot make __ivaliduser{,_sa}() static yet, since doing that would choke
compiled lpd binaries.  we should do it on next libc major version bump.
added a memo on lib/libc/shlib_version.
2000-05-30 01:07:43 +00:00
jdolecek 28324fdada avoid using removelist()/renamelist()
while here, do some whitespace/const cleanup, convert to use addentry(),
  g/c section[] (now uses buf[] directly) - 10 character limit for section
  name is gone
2000-05-29 21:05:34 +00:00
simonb f28c3652ea Use " %2.0f" instead of "%3.0f" to print out the CPU percentages - this
way 100 in a column doesn't merge into the previous column.
2000-05-29 11:33:43 +00:00
matt a3ab2a3d02 Add/fix FDDI support for NetBSD (& Tru64). [Tru64 has at least one bug left] 2000-05-28 01:27:52 +00:00
matt a8adcb322c Don't let an llc be dumped twice. 2000-05-28 01:25:20 +00:00
kleink 12164ce45f Formatting fixes. 2000-05-27 10:42:25 +00:00
kleink fd66188706 Use CPPFLAGS where appropriate. 2000-05-25 12:49:32 +00:00
itojun e459e7617b sync with latest kame.
- decrease warning level on missing rtadvd.conf (actually, the file
  can be omitted)
- strict prototype
- gather stats better, emit stats on SIGUSR1 to /var/run
2000-05-23 11:37:58 +00:00
enami 7c396cad70 When we steal an argument, just bump optind instead of copying
rest of argument vector.
2000-05-23 09:04:33 +00:00
itojun 53ca7ef6f5 correct physical address printing on non-IPv6 kernel.
(just in case people uses gif interface on non-IPv6 kernel...)
2000-05-22 03:06:46 +00:00
ragge 7c0a82f745 Don't die, just complain if the converted image do not have a VAX MID. 2000-05-20 10:58:05 +00:00
itojun 8912746994 update IPv6 MLD API to new one. various corrections including
timeout processing, node-local/link-local handling (ignore them),
and more.  (sync with kame)
nroff fixes to manpage.
2000-05-19 10:43:36 +00:00
itojun c3b1168f43 more correct advert for global address on p2p.
avoid reusing upper bits of rtm_flags.  (sync with kame)
2000-05-18 13:23:43 +00:00
bouyer 03397ae44d Mention that the max number of daemons is 20. 2000-05-18 09:54:59 +00:00
itojun afbba6424a correct use of last arg to getnameinfo() (s/flags/niflags/, typo) 2000-05-17 04:29:14 +00:00
agc 468671f5be Pick up the changes that make sense from OpenBSD
+ Use _PATH_GROUP and _PATH_MASTERPASSWD (from OpenBSD)
+ Use -G group1,group2,group3 for multiple groups in useradd and usermod
(pointed out by Matt Green, and also changed in OpenBSD, but done more
efficiently here)
+ is_number should not be inside #ifdef EXTENSIONS (from OpenBSD)
+ clear up yet another usage message (for user(8) and group(8)) - noticed
in passing, unknown if fixed anywhere else
2000-05-16 20:23:28 +00:00
hubertf 0948b6f2cb pkg_delete -r was done by Chris Hopps (I used the same code do implement
pkg_delete -R on that later on).
2000-05-16 16:38:15 +00:00
hubertf 7f040da3cd Don't remove any INSTALL scripts. Just in case someone needs them later
(e.g. to tar up the pkg again, and install it elsewhere).
2000-05-16 15:59:16 +00:00
itojun 019d9b540c correct p2p interface address handling.
avoid memory leak.
bzero() after malloc().
(sync from kame)
2000-05-16 14:04:32 +00:00
hubertf 5cb5e5143c Don't read +CONTENTS files if not needed. 2000-05-15 23:14:42 +00:00
itojun 005442ad58 typo. FreeBSD PR 18547. 2000-05-15 16:26:16 +00:00
itojun 0d8fdb3b47 bring in latest gifconfig(8) from kame. "delete" subcommand is now available.
add kernel support for gifconfig <if> delete.
2000-05-13 07:55:05 +00:00
itojun 2e33d275dc use LOG_WARNING for syslog output for address family mismatch.
suggested by: thorpej
2000-05-13 06:42:13 +00:00
thorpej 3a6d2f7276 Define the PXE DHCP option codes. 2000-05-13 04:00:48 +00:00
thorpej baa6042b06 Add placeholders for Preboot Execution Environment (PXE) options,
from version 2.1 of the PXE spec.
2000-05-13 03:44:51 +00:00
itojun 31eb929ec0 correct extremely unfriendly error message when the kernel does not
support the address family (like including "tcp6" in inetd.conf, on
non-IPv6 kernel).

was:
inetd[185]: ftp/tcp6: *: hostname nor servname provided, or not known
now:
inetd[315]: ftp/tcp6: *: the address family is not supported by the kernel
2000-05-13 02:56:47 +00:00
hubertf 8b8a982165 When expanding wildcards given on the command line, don't include
files (from /var/db/pkg). Only directories can contain pkgs.

Fixed PR 10083 by Dan McMahill <mcmahill@mtl.mit.edu>
2000-05-11 14:13:13 +00:00
simonb 12ed7d31b7 ntpd doesn't need to deal with CRYPTOPATH. 2000-05-11 01:09:27 +00:00
darrenr 571cb0a210 change the parsing of chown user[:gid] to the following:
1. if there is a colon present, use that as a separator for user:group

2. if there is no colon, attempt to convert the arg into a username,
   searching backwards in the string for a '.' for us.er.group

3. if the arg doesn't match a username and has a '.' in it, split it
   up and try user.group
2000-05-10 12:22:34 +00:00
enami 36069eacc0 - Use a tab instead of eight spaces for consistency and better output.
- Fix a typo.
2000-05-10 02:11:34 +00:00
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
agc 5290363261 Revert previous change, since maintenance across -current, pkgsrc and the
1.4 branch requires one set of sources.
2000-05-09 09:25:21 +00:00
hubertf 13afcc6b33 If maxusers is out of bounds, show the allowed bounts in the error msg. 2000-05-09 00:34:58 +00:00
hubertf d06e2d8e2e Add "lsall" and "lsbest" commands to pkg_admin, to find all/best
package matching a certain pattern. Examples:

            yui# cd /usr/pkgsrc/packages/i386ELF/All/
            yui# ls unzip*
            unzip-5.40.tgz  unzip-5.41.tgz
            yui# pkg_admin lsall 'unzip*'
            unzip-5.40.tgz
            unzip-5.41.tgz
            yui# pkg_admin lsall 'unzip>=5.40'
            unzip-5.40.tgz
            unzip-5.41.tgz
            yui# pkg_admin lsall 'unzip>=5.41'
            unzip-5.41.tgz
            yui# pkg_admin lsbest 'unzip>=5.40'
            unzip-5.41.tgz
            yui# pkg_admin lsall /usr/pkgsrc/packages/i386ELF/All/'{mit,unproven}-pthread*'
            /usr/pkgsrc/packages/i386ELF/All/mit-pthreads-1.60b6.tgz

This adds a shell/user-interface to pkg-patterns, which are a superset
of sh/csh patterns and can't be expanded by any shell.
2000-05-08 22:48:42 +00:00
matt 7a16f4991b fix an off by 1 error that prevents bootp from working. 2000-05-08 19:25:10 +00:00
hubertf b471b566f8 In require_delete(), actually use the expanded wildcard passed in via
@pkgdep.

Fixes PR 10056 by Dan McMahill <mcmahill@mtl.mit.edu>
2000-05-07 00:33:28 +00:00
he cbc0b13fa7 Revert away from automatically generating port_ipv6.h, and install
a static once-generated version instead.  We know we have IPv6
headers available here.

The probing was problematical for several reasons:
 o it probed the host headers, not the headers in the build or DESTDIR
   tree (could be fixed in another way)
 o the probe_ipv6 script mucks with PATH, which would be problematical
   for cross compilation.
2000-05-06 16:07:42 +00:00
hubertf 02820d32d6 Remove code for 1.4 backward compatibility (to be put into the package,
where it really belongs)
2000-05-05 01:27:47 +00:00
explorer a4563961cf when setting the key, don't dump interface stats too. 2000-05-04 21:19:12 +00:00
veego 7134832d9a Update for IP Filter 3.4.1 2000-05-03 11:40:53 +00:00
simonb 9c747bda1e Fix the <ieeefp.h> problem a different way - nothing actually uses the
contents of that header (the only file that includes it compiles to the
same object code on multiple architectures with or without including
<ieeefp.h>), so remove all references to it.

Fix sent to NTP maintainers - they will probably implement this change
after the immenient 4.1.0 release, but don't want to change it so close
to the release date.
2000-05-03 06:08:45 +00:00
matt 25845e87d4 There ain't no IEEE FP on a VAX. 2000-05-03 03:26:12 +00:00
simonb 6e1372a422 Remove xntp3 sources. 2000-05-02 12:50:50 +00:00
simonb 8632dc5bb6 Add ntp, remove xntp. 2000-05-02 12:14:40 +00:00
simonb 1bf404af94 Install html doco under HTMLDOCDIR/ntp. 2000-05-02 12:01:10 +00:00
perry 50966bd4a6 nuke BUILD_POSTFIX 2000-04-30 21:49:26 +00:00
thorpej 9581f118ec Need <string.h> for memset() prototype. 2000-04-30 15:47:55 +00:00
mycroft 411fdd599d Fix obvious typo in previous commit. This could not possibly compile. 2000-04-30 07:57:45 +00:00
hubertf c669928eeb Print appropriate warning if the directory of a @dirrm is not present
at all.

Pointed out & fix reviewed by Thomas Klausner.
2000-04-29 22:39:58 +00:00
abs 6a7a9484ec lpf used its own broken argv parsing (-h without an argument would dump core)
Convert to getopt() and add a basic usage()
2000-04-29 00:12:32 +00:00
thorpej f5fc764943 Only invoke hostname(1) and domainname(1) if they exist (tested with the
`type' shell built-in).  Makes it possible to save some space on install
media which uses DHCP.
2000-04-28 16:34:31 +00:00
itojun 5d5dd022cb add bind operators guide into share/doc/smm/10.named. PR 9996. 2000-04-28 06:21:20 +00:00
msaitoh c09c988278 remove unused variable 2000-04-27 13:40:18 +00:00
itojun 03b1bcc663 net/if.h is necessary for IFF_LOOPBACK.
accept lo[0-9] or lo$ if we check if_name.
2000-04-27 09:48:59 +00:00
jdolecek 1d83915c52 Finish transition to using getopt(3). Fixes bin/9963 by Brian Stark. 2000-04-27 09:43:38 +00:00
thorpej d07c2b5b7e Fix a missing ~ which caused fixed-address leases to be treated like
normal leases, resulting in an eventual NULL-deref in supersede_lease().

Fixes PR #9976.
2000-04-26 23:11:20 +00:00
thorpej acd373ca8f .cvsignore bad! bad _MelloN_, no biscuit! 2000-04-25 21:18:44 +00:00
itojun 4be926fbb8 allow lp=port@host again. PR9975 from Andreas Gustafsson. 2000-04-25 02:34:49 +00:00
simonb 5d00c3832e Update for 4.0.99i - noticed by Jonathan Stone. 2000-04-24 14:26:36 +00:00
itojun 17023b3e8f style. s/switch(/switch (/. 2000-04-24 13:02:28 +00:00
itojun 65f3c2259e - domain: avoid infinite loop in DNS packet printing.
- isakmp: print CERT and SIG payload.  fix IPsec-AH algorithm type.
- rt6: avoid duplicated IPv6 src/dst.
sync with tcpdump.org.
XXX we need to think about future synchronization with tcpdump.org...
2000-04-24 13:01:23 +00:00
thorpej 7b512c0ae2 Avoid an unaligned access. 2000-04-24 05:38:51 +00:00
thorpej 0ce0f58ae0 Fix a bug where a clause in the client configuration file like:
default nis-domain "";

would cause a NULL pointer deref while writing out the lease into
the persistent database if the server didn't include an nis-domain
option in the reply.
2000-04-24 05:27:51 +00:00
itojun e738bb5642 avoid NULL pointer access when rp=<ipv4 numberic address> (no ai_canonname).
From: hiro@takechi.org

XXX checkremote() should be improved.  gethostname -> getaddrinfo is
not the right thing to do, we cannot assume DNS FQDNs is configured
as hostname.  if the goal here is to check if it is really remote or not,
getifaddrs() is the way to go.
2000-04-24 02:53:05 +00:00
mellon e2074b3bbf Fix dhcpctl subdir build. 2000-04-23 21:42:29 +00:00
thorpej 7188cd9f3b Back out previous; it builds on LP64 platforms now. 2000-04-23 18:39:54 +00:00
thorpej 4ea436d3e0 Address LP64 issues (just add some casts; the code is safe). 2000-04-23 18:39:00 +00:00
sommerfeld c8ad38a791 Disable build of client on alpha due to LP64 issues. 2000-04-23 03:08:12 +00:00
sommerfeld e012be0e69 unsigned != size_t (tripped up build on alpha). 2000-04-23 02:47:57 +00:00
sommerfeld 4a799f6f27 disable dhcpctl subdir to un-break build since it doesn't have a makefile yet 2000-04-22 18:04:34 +00:00
simonb a55614023f Updated autoconf config.h for ntp4.0.99i. 2000-04-22 15:34:05 +00:00
simonb beae2d8675 Add new source file for ntp4.0.99i. 2000-04-22 15:26:21 +00:00
mellon e04a818808 Initial merge of ISC DHCP 3.0 into NetBSD tree (incomplete) 2000-04-22 08:18:11 +00:00
mellon e86d6c24ba Initial import of version 3 of the ISC DHCP distribution. 2000-04-22 07:11:26 +00:00
itojun 98c66bf5bf don't exit even if socket(AF_INET6) fails.
check if sock6_fd is available at runtime.
2000-04-20 03:28:15 +00:00
itojun ba2e61715a turn on IPv6 when ipv6 ifid is present (from 2.3.11)
don't check for Ipv6 ifid readiness on on-demand dialing, when IPv6CP
is disabled.  From: Fong Siu Lung Gordon <ein@hkstar.com>
2000-04-17 08:55:33 +00:00
itojun d31184e2a7 disable IPv6CP by default, to be friendly with old (IPv4-only) config file.
add "+ipv6" which enables IPv6CP.  it is necessary if you want IPv6CP.

option name in sync with ppp-2.3.11.
2000-04-17 06:13:18 +00:00
itojun 066f8f835f nroff format fix (need .Ar) 2000-04-16 16:31:55 +00:00
itojun 847f94a69d remove ordering constraint between -h and -x.
notified by: hubertf
2000-04-16 16:15:59 +00:00
itojun 3e34240544 perform neighbor unreachability detection on p2p links (spec requires
it for bidir p2p links).
improve -i in ndp(8) to allow tweaking per-interface ND flag on.
fix ndp(8) infinite loop on certain routing table setup.
2000-04-16 15:27:59 +00:00
mrg dd28a6c6dd make scandir(3)'s 3rd argument take a function that takes a *const*
struct dirent *, rather than non-const.  this makes scandir(3) the
same as the scandir implementations in libiberty and glibc, and the
select function has no need to modify the dirent.
2000-04-16 14:43:56 +00:00
tsarna 7730098ffb Remove nfsiod, it is no longer needed. 2000-04-15 21:29:49 +00:00
itojun 08507c14c9 declare new function for getting my IPv4 address.
get_myaddress() is not usable any more for security reasons.
the change addresses PR8119.
2000-04-14 12:14:40 +00:00
simonb f4be79ac40 Don't declare 'extern opt*' getopt variables.
Don't declare 'extern int h_errno;' - it's in <netdb.h>.
2000-04-14 06:28:18 +00:00
simonb fd4ede242b Don't declare 'extern opt*' getopt variables. 2000-04-14 06:26:52 +00:00
itojun b9c3c448e1 use getifaddrs to avoid alignment constraints in SIOCGIFCONF.
(do you have PR # for this? >lukem)
2000-04-13 09:12:16 +00:00
itojun e9c5139f22 use getifaddrs, not SIOCGIFCONF. (should use pcap_lookupdev instead...) 2000-04-13 08:52:44 +00:00
itojun 4e4447b130 use getifaddrs, not SIOCGIFCONF, to avoid complex alignment constraints. 2000-04-13 07:53:29 +00:00
kim 13cec62a32 The "ftp" facility was not listed. 2000-04-12 16:38:58 +00:00
itojun 0a68a1147f enable IPv6 ppp. 2000-04-12 10:38:46 +00:00
itojun 2c97d607dd ignore routing socket messages for unexpected (or not interesting) interfaces.
do not advertise reject/blackhole static routes.
2000-04-11 11:57:15 +00:00
itojun ba8e4a38dc use getifaddrs, to avoid complicated alignment constraint in SIOCGIFCONF.
(do we need to keep SIOCGIFCONF code in #ifdef?)
2000-04-11 11:36:47 +00:00
hubertf 320de3ec61 note that this is related to IPsec in the "name" section.
This is intended to make this manpage to show up on "apropos ipsec"
2000-04-11 00:11:46 +00:00
tron 187e2064c1 Only log unauthorized accesses in verbose log mode. Patch supplied by
Urban Boquist in PR bin/9555.
2000-04-10 20:26:31 +00:00
itojun d91c2c728f decode IPv6 packet encapsulated into ppp frame (PPP_IPV6). 2000-04-10 15:24:36 +00:00
mrg 3f207f4f5a - fix usage message to current reality.
- pull over "lpd [port]" code from freebsd's lpr code.
- use posix signal handling.
2000-04-10 08:09:33 +00:00
itojun e4458d9bed address endian issue. sync with tcpdump.org tree. 2000-04-04 05:44:35 +00:00
hubertf d071991a9a Don't abort during quick depends pre-scan when -f is used 2000-04-01 23:31:39 +00:00
hubertf f996345ebf Improve the last change.
Handling all kinds of wildcards properly would be hard, though it should
handle some cases better now. Esp. ones with '-' in the pkg(!) name, and/or
ones with dewer relational versions. I.e. the teTeX-share>1.97 case should
work now.
2000-04-01 22:12:45 +00:00
augustss 93336646e4 Make this compile again. 2000-04-01 14:54:51 +00:00
hubertf 404096ac77 In the "quick depends pre-check" don't only try to replace anything
after a "-" with the "more liberal pattern", but also anything after
any pkg wildcard.

That way if someone has teTeX-share-1.0 installed and pkg_adds
teTeX-1.0.7 (which wants teTeX-share>1.0.2), it will be caught.

XXX This "quick depends pre-check" would be nice to be done in
    bsd.pkg.mk as well
2000-03-31 22:12:56 +00:00
soren 2ef4fd2cdb Consistently move checkeuid() call to after usage() call to allow non-root
to get help. Also remove a few duplicate geteuid() calls.
2000-03-31 04:09:04 +00:00
soren 4d9f35a323 Remove a few unnecessary casts. 2000-03-31 03:11:24 +00:00
soren ae994d44aa Use char NULs. 2000-03-31 02:54:17 +00:00
simonb e06c3570b8 Make these a little more readable. 2000-03-30 01:49:23 +00:00
simonb 69d37f60ab Add ntptime. 2000-03-29 14:35:45 +00:00
simonb e7734f607a Add man pages generated by ntp-html2mdoc.pl. 2000-03-29 13:54:44 +00:00
simonb ccb2265fd2 Add one more ntp reachover Makefile left out of last commit. 2000-03-29 13:47:05 +00:00
simonb b6ce3cdec4 Reach-over Makefile machinery for ntp4 build. 2000-03-29 13:13:42 +00:00
simonb 4cf4ac5591 ./configure generated files for ntp 4.0.99g. 2000-03-29 13:08:33 +00:00
simonb 4be8be837f Not needed with new dist/ntp structure. 2000-03-29 13:02:50 +00:00
deberg 3a9315446b clarify syslog facility, fixes bin/9693 2000-03-29 06:04:49 +00:00
kleink a3c6c197a2 Cast timeval members to types we know the printf conversions of. 2000-03-27 17:03:25 +00:00
itojun f03b262b04 don't traverse NULL pointer on "wiconfig -p 1".
From: veego
2000-03-26 08:58:11 +00:00
jdolecek bb2da7d53d __POOL_EXPOSE is no longer needed (dev/vndvar.h does protect vnd_softc from userland) 2000-03-20 13:20:28 +00:00
hubertf 0c2cdb98d9 * in pkg_add, before the "install dependencies" loop, check ALL
dependencies if they _can_ be installed. I.e. if a package wants
   version X installed, but version Y is already installed, pkg_adding
   that required pkg will blow up later (probably some pkg_add recursions
   down, given what we keep in the depends list). Now, it stopps right
   away:

        noon# pkg_add /usr/pkgsrc/packages/i386ELF/All/xdaemon-1.0.tgz
        pkg_add: pkg `xteddy-1.*' required, but `xteddy-2.0.1' found installed.
        Please resolve this conflict!

   The idea of this is from Thomas Klausner, further inputs from Alistair
   Crooks.

 * allow pkg names without versions given to "pkg_admin check"
 * Use sizeof() instead of hardcoding the buffers' size in some places
2000-03-19 17:24:27 +00:00
soren 4e809d5269 mbrlabel moves to /sbin. 2000-03-15 12:01:19 +00:00
fvdl 57b89fd44c Moved to /cvsroot/basesrc/sbin/mbrlabel/mbrlabel.c,v 2000-03-15 11:56:03 +00:00
fvdl cf8ce84f5b Moved to /cvsroot/basesrc/sbin/mbrlabel/mbrlabel.8,v 2000-03-15 11:55:34 +00:00
fvdl 2d51c28037 Moved to /cvsroot/basesrc/sbin/mbrlabel/Makefile,v 2000-03-15 11:55:04 +00:00
itojun a27d96b078 sync with latest kame.
- fix examples and wording in setkey.8
- allow scoped IPv6 notation (kernel side may not be really ready for this)
2000-03-15 00:24:30 +00:00
jdc 6f9a44ec3e Add serial port power management (hw.serial.power). 2000-03-14 21:27:41 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
itojun 9034310694 avoid shlib reference for pfkey_*. compile them on our own. 2000-03-13 21:04:07 +00:00
itojun 6f7d4a0536 bring in latest kame tree. this fixes unclosed file descdriptor
in router renumbering case.
2000-03-13 06:16:46 +00:00
jlam d1246a821e Make "-d homedir" option work -- home directory wasn't being set in this
case.
2000-03-12 19:57:24 +00:00
itojun c415e8231f wording 2000-03-12 16:56:42 +00:00
itojun db69080b84 improve SECURITY section. (sync with kame) 2000-03-12 16:47:24 +00:00
abs fd407a99b7 If we fail due to not being able to lookup our own hostname, display the
name in question in an attempt to reduce the number of people who have to ask
how to get sup working...
2000-03-12 12:16:49 +00:00
itojun 1e22bb586e correct use of perror(). 2000-03-12 02:42:43 +00:00
groo 38cfdfd8fc Add envstat(8) for displaying sensor readings from any envsys(4)
compatible device.
2000-03-10 05:51:56 +00:00
agc 56d283540f When adding a group, check that it doesn't already exist.
Also fix a problem with reading entries when modifying a group.

Both problems found and analysed by Thomas Klausner.
2000-03-07 20:56:45 +00:00
kleink 1e9ca23a0d Typo. 2000-03-07 19:40:54 +00:00
itojun db0eae77a6 Fix replay window size as default to 0 when manual setting.
It means responder doesn't check sequence number.
(sync with latest kame)
2000-03-06 22:19:27 +00:00
itojun 8fb9de8e46 fix IPsec policy parser. #@ should affect multiple lines as documented. 2000-03-06 19:52:13 +00:00
mycroft 5ba0d0cdec Add a `-v' option, and make various log messages depend on `-d' or `-v'. 2000-03-04 21:27:17 +00:00
tsubai 80c282dde0 We don't need #ifdef __powerpc__ part now. Remove it. 2000-03-03 15:05:47 +00:00
itojun 9c971f7c4d typo fix (s/Ridirect/Redirect/) 2000-03-02 07:43:32 +00:00
itojun 548cc318ca do not try to use BIND4 code in libc.
dig/host/whatever assumes that it is using BIND8 code.  mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.

it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.

now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
  to make it less complex.  the search order for BIND8 toolchain is
  defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00
itojun 8dc6ef70e7 don't assume CMSG_xx are constant. (sync with latest kame) 2000-02-28 09:55:45 +00:00
itojun e8cabc3e27 don't assume CMSG_xx are constant. (sync with latest kame) 2000-02-28 07:17:34 +00:00
itojun bdb384fe26 don't assume CMSG_xx are constant (sync with latest kame) 2000-02-28 07:14:05 +00:00
itojun 970a04ff88 do not assume CMSG_xx are constant. (sync with latest kame) 2000-02-28 07:03:58 +00:00
enami b0a2a63928 - Use .Ar for argument.
- Move SEE ALSO section before the HISTORY section as described in
  mdoc(7) with:
	+ removing traing dot.
	+ spliting files into FILES section.
- Refer pathnames using .Pa (rather .Ar or .Xr).
2000-02-28 05:10:56 +00:00
hubertf 495734ff62 - Bump timeout in select() to 10 minutes
- Make sure ftp_cmd() properly passes down an error value (-1) when
   appropriate.
2000-02-27 02:35:28 +00:00
mycroft d5af7e5915 Use SCRIPTS, not an afterinstall target. 2000-02-26 18:32:00 +00:00
itojun 9e34ec6ee3 use getifaddrs, not SIOCGIFCONF. 2000-02-26 11:44:28 +00:00
itojun 6a433be509 remove net.inet6.ip6.nd6_proxyall sysctl.
support "ndp -s <ip6> <mac> proxy" for proxy NDP.
2000-02-26 08:48:21 +00:00
itojun 2925a0d65b print addresses in extended scoped address notation.
print reference count for multicast group information.
(sync with recent kame)
2000-02-26 08:13:25 +00:00
itojun 0395cd74d3 use getifaddrs, not SIOCGIFCONF. 2000-02-25 10:05:46 +00:00
itojun 440fe60685 add reference to i-d. 2000-02-25 10:05:26 +00:00
itojun 7579d175ac fix pathname for netbsd-current (/usr/local/v6/libexec -> /usr/libexec). 2000-02-25 10:05:01 +00:00
itojun e3d3868ea8 use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls.  (sync with latest kame)
2000-02-25 09:19:06 +00:00
mycroft fdf456b5f0 Nuke gratuitous setting of BINOWN and BINGRP. 2000-02-25 08:52:03 +00:00
itojun f460e8caec use getifaddrs, not SIOCGIFCONF. (from latest kame tree) 2000-02-25 06:30:54 +00:00
itojun 1c597398c3 bring in from latest kame tree. use getifaddrs, not SIOCGIFCONF. 2000-02-25 06:27:32 +00:00
itojun a5ad88b8e0 use getifaddrs. avoid "extern int errno".
(sync with latest kame code)
2000-02-25 06:22:05 +00:00
itojun 7b48263c7b (rcmd.c) to make Zoularis happier, pass sa_len separately from sockaddrs.
this changes function prototype for __ivalid*.
This commit breaks binary compatibility for __ivalid*.  I believe this can be
forgiven due to the following:
- this is not really exported function.  no function prototype is in headers.
  function name starts with underbars.  No third-party applications are
  expected to use it.
- the function was introduced very recently, when rcmd.c was made IPv6-ready.
- the only customer in NetBSD tree is lpd.

(lpd.c) sync with rcmd.c change.
2000-02-24 06:33:47 +00:00
tls 83c8d84041 sigh... um, revert to 1.133, not 1.33. oops! 2000-02-23 17:46:11 +00:00
jdc 781106ffe6 Make sure that the control device can be opened. 2000-02-23 11:33:58 +00:00
tls 08ef0cfe07 revert previous change 2000-02-22 21:09:50 +00:00
mjacob b2d85b262c remove sesd 2000-02-22 17:30:49 +00:00
itojun 6cbe824ac3 previous fix against alignment issue was totally broken.
hope this one is okay.
2000-02-22 17:30:17 +00:00
mjacob 66df2a49c4 Make it so this will build with -DWARN. It's a pity that
erh can't be bothered to contact the author first. Typical
NetBSD bullshit.
2000-02-22 06:06:06 +00:00
erh 56e9ab4413 Kill the -I... instead of adding destdir. Change SESINC so the build system can work its magic wrt any DESTDIR mods. 2000-02-22 05:26:55 +00:00
erh 6b80f43e3c Use ../../Makefile.inc to get BINDIR instead of setting it here. (and w/o ${DESTDIR}) 2000-02-22 05:10:53 +00:00
hubertf 93b37b7f07 adjust copyright 2000-02-22 01:24:26 +00:00
erh 278625fefd Add ${DESTDIR} to beggining of include path components. 2000-02-22 01:16:48 +00:00
mjacob 810f2875c4 fix oopslet on .PATH 2000-02-21 08:40:54 +00:00
mjacob d08a4d8bf8 add sesd subdir 2000-02-21 08:10:52 +00:00
mjacob f249807b7e add a range of SES utilities 2000-02-21 08:10:20 +00:00
itojun cc0b4656ef prevent align fault on alpha (SIOCGIFCONF). 2000-02-21 02:04:12 +00:00
itojun 778af5ef23 avoid 64bit alignment issue with SIOCGIFCONF (packed struct access).
From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-02-20 14:31:28 +00:00
lukem 315a29d6de * in secure mode (-s), still open the inet sockets but do a shutdown(,SHUT_RD)
on each of them, and don't bother listening on them. this allows messages
  to be forwarded even with -s enabled.

  XXX: not 100% sure if this is susceptable to a DoS, e.g someone filling
  up kernel buffers with a backlog of packets not being read, but shutdown(2)
  should prevent that even if it possibly doesn't at this time.

* minor KNF
2000-02-18 09:44:46 +00:00
itojun 0c281f2bda do not sleep on ECONNREFUSED, rather, try the next address first.
the behavior itself has a room for debate.  (why we retry on ECONNREFUSED?)

From: SHIMIZU Ryo <ryo@misakimix.org>
2000-02-18 03:53:16 +00:00
fvdl 376d66b867 Note that -kerb option is not implemented. 2000-02-17 09:05:07 +00:00
enami 24d448f70e Define __POOL_EXPOSE almost at the beginning, instead of just before
dev/vndvar.h or dev/ccdvar.h so that struct pool is always available
regardless of multiple inclusion.  Actually, ccdconfig.c compiles without
this change but ...
2000-02-16 06:52:31 +00:00
itojun 7414be8dd0 add missing command line arguments (target and datalen) 2000-02-16 06:10:15 +00:00
enami 700450f288 Backout revision 1.58-1.61; Since we currently only have a way to unexport
per mount point, the way ``try to export and unexport an unnecessary
mount point later'' may leave unwanted information in the kernel, and
doesn't work if a mount point is default exported or publically exported.

To fix the race condtion, we need another way.
2000-02-16 04:08:40 +00:00
dante 963f51342e Fix a bug which caused mountd to don't work at all 2000-02-16 01:27:14 +00:00
itojun e00a204ac4 use getnameinfo(), not inet_ntop(), as much as possible.
(sync with recent kame)
2000-02-16 00:38:14 +00:00
enami 2d2a3fa400 Fix path component parsing bug that I've introduced in previous commit. 2000-02-15 04:51:56 +00:00
tron 699023d93b Remove obsolete version 8.8.8 of "sendmail". 8.9.3 is in the main tree
now, 8.8.8 is still avaible in "pkgsrc".
2000-02-13 00:34:15 +00:00
abs 7d14d66b4d We need to close and open the socket to prevent routing updates building
up such that when we send our message we never see our reply (and hang)
Fix taken (modified) from PR 7508
2000-02-11 11:27:20 +00:00
abs 6068331e78 Indicate on which interface a packet has been received when debugging 2000-02-11 11:25:23 +00:00
mjacob dcdf7ba2cd Fix rmt for use with Solaris 2.7 and others. The deal here is that for
version 0 RMT protocol, the query of status makes no sense (send back, in
binary, the mtget structure), but systems sometimes use it anyway. And when
they use it, they get upset if they get back something that is a different
size from what they expect. The original mtget structure in BSD 4.3 is
24 bytes in size, and that seems to be what they can cope with.

The correct fix would be to go to Version 1 RMT, but that's a horse of
another color...
2000-02-08 18:00:05 +00:00
tron 54896865b3 Build "sendmail" 8.9.3 instead of 8.8.8. 2000-02-08 13:53:01 +00:00
abs ce9e985266 Special case 'nb<X>' suffix in deweycmp() - this allows NetBSD specific
changes to packages to have a unique version, and still work with deweycmp().
2000-02-07 11:26:26 +00:00
nathanw 713f906d1c Copy struct ifreq returned by SIOGIFCONF to ensure correct alignment. 2000-02-07 01:15:52 +00:00
veego c4b5806fb2 First cut to make it work again.
TODO: make it work with obj dirs.
2000-02-06 13:05:25 +00:00
itojun 387cae5e16 fix include file path (IPv6 related). 2000-02-06 11:21:45 +00:00
kleink 63e6cae627 Add IPv6 support. 2000-02-05 22:14:20 +00:00
enami f0b2202df0 Kill the period in the SEE ALSO list. 2000-02-05 11:52:37 +00:00
explorer f6ba8482dd document OS versions 2000-02-04 08:01:43 +00:00
explorer 82cee51cf3 bring over WEP mode from FreeBSD/OpenBSD 2000-02-04 07:59:45 +00:00
hubertf 422fde1de4 init buffer differently 2000-02-04 03:45:48 +00:00
itojun b4d29cbd68 don't try to parse packets with short iphlen.
From: tcpdump.org (bugtraq june 99)
2000-02-03 17:42:01 +00:00
enami 39fdef6641 If failed to export some mount point, unexport and try again. This is a
workaround to fix the bug that mountd fails to export the currently exported
mount point if it is exported everyone or only export option is changed.
2000-02-03 09:59:22 +00:00
itojun 25db46c9cf fix advanced api bug. (sync with snap)
this is for 2292bis case, and netbsd-current is not affected - the commit
is to avoiding buggy code from spreading around.
2000-02-03 06:59:35 +00:00
bouyer a3bc666f44 Supports nlm version 4 (for use with nfsv3). 2000-02-02 18:17:42 +00:00
agc 199e667b0f Add RCS Id and Copyright. 2000-02-02 15:12:10 +00:00
hubertf b932078a68 remove clutter left after switching to mkstemp 2000-02-02 14:54:50 +00:00
hubertf 4b164aae49 Use mkstemp instead of mkstemp. 2000-02-02 14:42:53 +00:00
hubertf 45d0c80c1d add copyright and (more important!) _RCS_ID() 2000-02-02 14:09:40 +00:00
itojun 94a0a3b5f3 align message a bit better. 2000-02-02 05:18:32 +00:00
itojun 4d9ae69b8a bring in latest KAME tree. show kludge entry. 2000-02-02 05:04:17 +00:00
itojun faa17682df add -R (accept router renumbering packet). now router renumbering is disabled
by default for ipsec config twists.
dies gracefully on SIGTERM.
2000-02-02 04:07:50 +00:00
enami 04553a3a98 Kill the period in SEE ALSO. 2000-02-02 01:55:55 +00:00
thorpej 732a15a21d Printf formats on LP64. 2000-02-02 01:08:26 +00:00
agc cf6ad33088 Set the environment variables to have zero-length strings on Solaris. 2000-02-01 10:46:55 +00:00
enami 1b1b19c5c5 Emit `.MAIN: all' to force the target `all' as default target. 2000-02-01 05:13:17 +00:00
itojun 4b061adfdb sync with latest libipsec.
since outgoing and incoming policy is separated, inetd can take multiple
policy specification, separated by ";".
2000-01-31 14:28:17 +00:00
itojun a58fc4d3b8 sync with latest libipsec/kernel. 2000-01-31 14:25:42 +00:00
itojun 6b2922d06b catch up with latest libipsec/kernel. 2000-01-31 14:22:41 +00:00
agc 2a29f83468 Fix a typo.
Make a start at linting this.
2000-01-31 13:39:08 +00:00
agc 69acf6de93 Fix for Solaris: don't try to call unsetenv(). 2000-01-31 13:33:19 +00:00
itojun e38f0bc373 add pim6sd: PIMv6 sparse mode daemon. (from KAME) 2000-01-28 19:32:43 +00:00
itojun 55ffb1ce63 make error check against getnameinfo(). 2000-01-27 19:52:43 +00:00
thorpej d65c17674f In callit() and logit(), set a slightly informative proctitle to make
it easier to determine where large numbers of wedged portmap processes
are coming from.
2000-01-27 16:28:32 +00:00
itojun 33ba3a0f18 IPv6 support, using rcmd-family funciton added.
NetBSD PR: 9050
From: Feico Dillema
2000-01-27 05:39:50 +00:00
hubertf 938c6a8b17 be a bit more liberal WRT slow servers 2000-01-26 02:12:14 +00:00
hubertf 549295852e -current's gcc seems to be a bit picky about using pointer-differences as
args to the "*" of a printf "%*.*s" pattern. Add some casts to int.
(At least on NetBSD, ptrdiff_t is typedef'ed to int anyways)
2000-01-25 17:21:07 +00:00
sommerfeld 0cd03c86b4 Fix use of -I and -P at the same time by refactoring so there's only
one set of code which knows how to resize the packet.
Report when we shrink MTU because of an EMSGSIZE return; fix
formatting to let this not look ugly.
Add a few likely MTU's to the table (1480 and 1280).
2000-01-25 16:24:32 +00:00
hubertf 4a961a7fc3 some code cleanup 2000-01-25 12:09:19 +00:00
enami 0d45936ccf Please pay an attention to the existing code and not to introduce
different coding style.
2000-01-25 01:16:00 +00:00
ad 04ddf7ae0d Default bit/byte order with #define's and fix usage(). 2000-01-25 01:04:07 +00:00
itojun 3f638e0b65 fix pathname for rtadvd.conf. (/etc/rtadvd.conf for netbsd-current) 2000-01-24 12:59:30 +00:00
mycroft cbe35e1b13 One last bit of .mk lossage. 2000-01-24 06:49:29 +00:00
hubertf 764307a5a1 Keeping my kernel config files under RCS control, I always wished to
have a way to embed the revision number into the kernel's "uname -v"
output. The patch below does this, by generating a new keyword "ident"
that can be followed by any string, e.g.

        ident   "NOON-$Revision$"

will lead to
                                           vvvvvvvvvvvvvvvvvvvvvv
        char version[] =     "NetBSD 1.4P (NOON-$Revision: 1.21 $) #37: Thu Jan
20 02:01:23 MET 2000\n    feyrer@noon:/usr/cvs.local/src-current/sys/arch/i386/c
ompile/NOON\n";

This will lead to a version of "MYMACHINE-$Revision$" instead of the
kernel config file name. If "ident" is not present, the current behaviour
of using the kernel config file's name as identifier is used.

Implement by writing the ident to a file ("ident") in the compile dir,
which newvers.sh will pick up for generating the ident.
2000-01-23 23:37:42 +00:00
mycroft a73ccc591a More .mk file fallout. *sigh* 2000-01-23 21:55:44 +00:00
mycroft c077907823 Add explicit endianness overrides. 2000-01-23 19:59:32 +00:00
drochner b2fa2f59f4 improve logging: tell whether a request was declined by the loopback
security check
2000-01-23 15:54:31 +00:00
tron 932885638e Remove bogus declaration of "errno". 2000-01-22 10:18:07 +00:00
tron ed4d897b2e Remove bogus declarations of "errno". 2000-01-22 10:16:23 +00:00
tron 1bc6630de6 Remove bogus declaration of "errno". 2000-01-22 10:05:13 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
abs 918a3dbacc small grammar fix 2000-01-21 11:10:51 +00:00
itojun 57f7502caf inet_pton() error must be checked with 1. see inet_pton(3).
will notify the original author.
2000-01-20 04:55:52 +00:00
thorpej aa1aaac03e Allow abolute pathnames as prefixes. 2000-01-20 00:08:08 +00:00
hubertf 9d0c5bb4ee FTP wildcard depends code, initial commit.
Modulo some code cleanup, this gives NetBSD full wildcard support not
only in pkgsrc, but esp. for binary packages installed from local disk
and via FTP. For more information, see:

	http://www.feyrer.de/NetBSD/wildcards.html
2000-01-19 23:28:28 +00:00
christos 716b39b67a PR/9245: Feico Dillema: ip6 support in pppd doesn't compile/work 2000-01-19 20:23:46 +00:00
itojun 5e54c56a6d add manpage, rip6query(8). 2000-01-19 06:35:22 +00:00
pk 3357e41c5c Dump softdep mode. 2000-01-18 20:24:19 +00:00
itojun eada5082e8 Moved to sbin/sysctl/sysctl.c,v 2000-01-17 02:32:07 +00:00
itojun 53e0058d18 Moved to sbin/sysctl/sysctl.8,v 2000-01-17 02:31:51 +00:00
itojun b98e3c2504 Moved to sbin/sysctl/pathconf.c,v 2000-01-17 02:31:15 +00:00
itojun dcaf710696 Moved to sbin/sysctl/Makefile,v 2000-01-17 02:30:19 +00:00
itojun 2f39c47e7f disable sysctl for now (avoid breakage during move from usr.sbin to sbin) 2000-01-17 02:29:48 +00:00
hubertf d46e75859c Reverse wording for -R. Per PR 9141 by Jim Bernard <jbernard@ox.mines.edu> 2000-01-17 00:48:52 +00:00
cgd 9a222ad604 remove .cvsignore files; if the tree doesn't clean completely, that's a bug 2000-01-16 08:27:40 +00:00
bouyer f0f0eba116 In real_plog() change vsprintf() to vsnprintf() to be sure we'll never overflow
msg[]. I didn't check all the plog() call so I don't know if this overflow
is possible by a non-root user or not.
Suggested by Zdenek Salvet <salvet@ics.muni.cz> a looong time ago.
2000-01-15 15:51:54 +00:00
jlam 2cda0d3aff Add 'l' to getopt-checked flags 2000-01-13 16:04:53 +00:00
itojun a31f62a92c call sigsetmask() on ipsec initialization failure. 2000-01-13 15:53:00 +00:00
abs 0e026526cf fix bug that caused first load to fail - from jkunz@unixag-kl.fh-kl.de 2000-01-10 19:33:18 +00:00
hubertf bbb733f849 mention -Ss in usage 2000-01-10 14:53:56 +00:00
hubertf be120f8f41 Also move the +SIZE files into place, if a pkg comes with some. 2000-01-09 17:21:53 +00:00
tsutsui 5cb06e6456 Use uname(3) to determine MACHINE type. 2000-01-09 04:54:53 +00:00
msaitoh 049ad0d982 machine/exec_coff.h -> sys/exec_coff.h 2000-01-07 09:40:33 +00:00
itojun 293291b23d grammar fix. sync with latest KAME. 2000-01-06 07:58:04 +00:00
itojun 2e904aec57 make IPV6_BINDV6ONLY setsockopt available. it controls behavior of
AF_INET6 wildcard listening socket.  heavily documented in ip6(4).
net.inet6.ip6.bindv6only defines default value.  default is 1.

"options INET6_BINDV6ONLY" removes any code fragment that supports
IPV6_BINDV6ONLY == 0 case (not defopt'ed as use of this is rare).
2000-01-06 06:41:18 +00:00
itojun 9695855746 add missing variables under net.inet6.ip6. 2000-01-06 02:56:44 +00:00
ad a4eb83847b Update for changes to 'struct wsdisplay_font'. 2000-01-05 18:46:43 +00:00
drochner 4b3a806e80 print a warning if a "cinclude"d file cannot be opened and the -v flag
is given
2000-01-05 11:24:02 +00:00
hubertf 873c34bf5e Some changes from David Maxwell <david@fundy.ca>:
- make it clear that a URL or full path can be given on the command line
 - explain where depending pkgs are expected to live
2000-01-04 22:39:28 +00:00
itojun 07c2fe1cd9 add net.inet6.icmp6.nodeinfo sysctl.
this allows you to disable/enable ICMPv6 node information query/reply
processing (which tells remote end the gethostname(3) setting, interface
addresses on the node, and some other things - documented in
draft-ietf-ipngwg-icmp-name-lookup* or something alike).

to test it, try ping6 -w ::1 with nodeinfo=0 and nodeinfo=1.
(sync with kame change)
2000-01-02 16:31:17 +00:00
itojun f5507e1557 avoid use of bitfield in packet format definition. it is non-portable
(packing constraint is unknown).
avoid use of u_int8_t bitfield.  it is illegal.
2000-01-02 13:15:53 +00:00