3384 Commits

Author SHA1 Message Date
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