enami
532da8eb1c
Remove redundant declaration of firstfile().
1999-09-24 04:23:36 +00:00
tron
7469644d8f
Replace place holders (e.g. "@CMD_EXT@") with correct values for NetBSD.
1999-09-23 19:38:10 +00:00
ws
b47ad60693
Correct handling of extended partitions within extended partitions.
...
Problem found and new program tested by Reinoud.Koornstra@ibbnet.nl .
While here, add support for Linux extended partitions.
1999-09-23 15:21:12 +00:00
ws
b17a1042ba
Allow mutual dependencies.
...
Output string-valued options reasonably to option files.
1999-09-22 14:23:03 +00:00
is
54e4d2fc26
Fix grammar, as pointed out by Olaf Seibert.
1999-09-21 15:50:19 +00:00
mason
6b7a2b3594
Fixed typo. (invalud -> invalid)
1999-09-21 01:13:50 +00:00
kleink
8753f5a3c6
Add trailing newline to usage string.
1999-09-20 15:01:36 +00:00
itojun
f7c22e9eaa
fix internal servers (like echo) so that they can accept AF_INET6 connections.
...
add AF_INET6 support for port_good_dg().
1999-09-15 09:59:41 +00:00
mason
164b1b9275
Fixed grammatical error. "Allows to call" -> "Allows calls to"
1999-09-13 19:04:35 +00:00
tron
e6523d9b6c
Don't unnecessarily check device names if "-x" is used.
1999-09-13 16:59:54 +00:00
tron
6c817dd128
Display all drives if "iostat -x <interval>" is used.
...
Fixes PR bin/8389 by Mattias Pantzare.
1999-09-13 16:56:35 +00:00
itojun
e31c5df7d2
sync with recent KAME code.
...
- bark if extra argument is specified.
1999-09-13 11:07:52 +00:00
hubertf
7ddf2760b9
Handle symlinks to directories correctly in "check" and "rebuild".
...
Problem reported by Matthias "tron" Scheler in private mail.
1999-09-13 00:32:14 +00:00
kleink
03126e1c99
Use full month names with .Dd, as per mdoc.samples(7).
1999-09-12 18:47:10 +00:00
itojun
ec7f04c32c
support coff image file.
...
(this is part of NetBSD/sh3 patches)
1999-09-12 16:08:13 +00:00
chs
21eedb0ec1
the PMAP_NEW option is gone as the new interface is no longer optional.
1999-09-12 01:19:23 +00:00
jdolecek
7ee18b2d1f
Add ntfs to the list of exportable filesystem types, now that's it's actually
...
exportable
1999-09-10 16:20:22 +00:00
simonb
fd8040a031
s/acknowledgment/acknowledgement/
1999-09-10 03:24:14 +00:00
mason
c709329170
Fixed typo. inbould -> inbound
1999-09-09 18:31:37 +00:00
hubertf
d29beeb5df
Remove the LogDir (/var/db/pkg/foo-x.y) _after_ we've run the DEINSTALL
...
script a second time (else there's nothing left to run ;).
Noticed by Jim Wise.
1999-09-09 01:36:30 +00:00
hubertf
b59ddc2237
Comment pl_ent_t to make debugging easier.
1999-09-09 01:31:44 +00:00
augustss
fda1b1b26f
Make output a little less confusing if run without root priviliges.
...
From "Soren S. Jorvang" <soren@wheel.dk>
1999-09-08 02:39:36 +00:00
soren
db8381e120
Append newline in usage().
1999-09-08 01:33:39 +00:00
itojun
22dc13ab4a
improve description on ipcomp case. (sync'ed with kAME)
1999-09-07 06:49:37 +00:00
sommerfeld
75397663ed
Correct precision estimate:
...
we buzzloop calling gettimeofday() until we see a big jump.
old code would take the difference between the immediately previous return value.
Now, compute the difference based on the clock value as of right
after the previous big jump.
An alpha pc164 at 500MHz can do about 700 calls to gettimeofday() in
one clock tick, each of which increments tv_usec by 1 -- so the "big
jump" at the end is only ~270us rather than the real clock tick of
976us, which yields a precision value which is overoptimistic by a
factor of ~4. The corrected code now yields the exact tick value
(which is correct since NetBSD/alpha doesn't have a precise
microtime).
1999-09-06 22:27:44 +00:00
sommerfeld
1381ef0ce0
When peers are configured "remotely" (by ntp_intres.c), don't start
...
more than one per timer tick. this will hopefully cause faster
convergence since the responses are less likely to pile up on top of
each other. (they'll eventually get randomized out of synch with each
other, but there's no sense in starting them off synchronized).
1999-09-06 21:58:45 +00:00
veego
c613f31161
Add the doc subdir again.
1999-09-05 08:36:54 +00:00
veego
54a6edeaf0
Remove this files again. See rev 1.2 why we don't need them here.
1999-09-05 08:35:57 +00:00
veego
03f82227d8
Remove the doc subdir til we fix the build problem with it.
1999-09-05 08:14:08 +00:00
christos
38d7b50eed
minor nits.
1999-09-04 23:08:44 +00:00
christos
18f0f293d7
make these undead.
1999-09-04 23:06:40 +00:00
christos
bf36806743
Resolve corn-flakes
1999-09-04 22:38:15 +00:00
christos
39656c1d33
Import the latest to deal with security problems related to amq RPC.
1999-09-04 22:24:52 +00:00
soren
4b5e002090
Do not force logging of status in the POWER_CHANGE case. Any
...
interesting changes will be noticed and printed by power_status().
1999-09-04 18:38:28 +00:00
itojun
bffdeb20f5
tiny sync with KAME code.
1999-09-04 03:58:13 +00:00
itojun
159487207b
add NetBSD RCSID where necessary.
...
add __RCSID where necessary.
make sure "make lint" does not raise fatal error (print-nfs.c)
1999-09-04 03:36:41 +00:00
itojun
8ce82eb757
sbin/rtsol now shares source code with usr.sbin/rtsold.
...
sbin/rtsol is compiled separately for static linkage.
1999-09-03 05:25:43 +00:00
itojun
296a348313
add rtsold into SUBDIR.
1999-09-03 05:19:59 +00:00
itojun
65da2d8803
fix prototypes decls (already back-ported into KAME).
...
RCSID police.
1999-09-03 05:14:37 +00:00
itojun
ba92138668
KAME code, 19990903
1999-09-03 04:56:06 +00:00
itojun
56448bbc4f
sync with recent KAME.
...
- added more friendly debugging code
- fix to make assert looser correctly stop forwarding
- fixed SIGHUP support
1999-09-03 04:49:23 +00:00
itojun
7ddaec434e
sync with recent KAME.
1999-09-03 04:34:34 +00:00
itojun
cc554ec648
follow RFC2553 (sync with recent KAME):
...
s/IN6_IS_ADDR_ANY/IN6_IS_ADDR_UNSPECIFIED/
1999-09-03 04:31:48 +00:00
itojun
672bcec232
sync with recent KAME.
...
- fix 64bit alignment issue in routing socket.
- avoid s6_addr8 (nonstandard), use s6_addr instead.
1999-09-03 04:04:22 +00:00
itojun
6827022dc7
fix routing socket alignment issue on alpha.
...
sync with more recent KAME code.
PR: 8305
1999-09-03 03:54:47 +00:00
itojun
e33da94c5b
configure IPsec policy on sending/receiving socket for bypassing IPsec.
...
If IPsec default policy is configured for destination
traceroute will never success (because encrypted icmp timexceeded
is unrecognizable).
1999-09-03 03:10:38 +00:00
itojun
1c73836310
do not bark even if IPsec is turned off in kernel.
1999-09-03 01:49:16 +00:00
soren
b1f625e524
Per the documented behaviour in the man page, default to
...
serving UDP requests if none of the -t or -u options are
given.
Previously, nfsd wouldn't actually do anything at all
if it was not told to do UDP and/or TCP, which could be
confusing.
Note that at least Solaris and IRIX default to both TCP
and UDP when nfsd is run without options. This might be
useful for NetBSD as well.
Fixes PR bin/7358.
1999-08-31 23:28:34 +00:00
soren
1811ec440c
Order arguments in sample usage.
1999-08-31 23:19:50 +00:00
soren
a668519a3d
Do not rely on implicit '-n' in sample usage.
1999-08-31 22:50:21 +00:00
itojun
1e8c736a70
Apply IPv6 support patch.
...
Note that all IPv6 address must be wrapped with square bracket, like:
ALL: [::1/128] 127.0.0.1/255.255.255.255
Increase shlib minor.
ftp://ftp.kame.net/pub/kame/misc/tcp_wrappers-76-v6-19990831.diff.gz
1999-08-31 13:58:58 +00:00
christos
6829e9be33
pick the proper uname.
1999-08-30 04:20:22 +00:00
itojun
5874d1fc54
conflict resolution after tcp_wrappers upgrade to 7.6.
1999-08-27 16:07:23 +00:00
itojun
fa8f6ba80b
libwrap from tcp_wrappers 7.6
1999-08-27 15:16:16 +00:00
itojun
a91686b4c9
fix printing of IPv4 first fragment size.
...
(variable "len" was damaged by chained header onion-peeling code)
1999-08-26 14:52:04 +00:00
itojun
5176eb1966
sync with kame; print IPv6 fragment id more nicely.
1999-08-26 11:16:06 +00:00
mjl
fecb1c8c63
Reorder arguments to error message so the message actually makes
...
sense. Closes PR/ by Martin Berger <>.
1999-08-25 17:26:20 +00:00
itojun
2df1b7b510
make it compilable with -DINET6.
...
-DINET6 is not enabled, as i run no test yet.
1999-08-25 16:28:41 +00:00
christos
6103aa4e65
forgot two #endif's :-(
1999-08-25 03:15:00 +00:00
christos
62f0521dee
new docs
1999-08-25 03:10:28 +00:00
christos
847e9d2e3b
resolve conflicts
1999-08-25 03:00:12 +00:00
christos
46a65cb807
resolve conflicts.
1999-08-25 02:52:15 +00:00
christos
b384567c88
merge changes.
1999-08-25 02:07:41 +00:00
christos
7cd19ad6f7
New pppd, post 2.3.9 directly from the repository.
1999-08-24 20:25:43 +00:00
bouyer
28602510ee
Add libwrap support to supfilesrv, as annnounced 2 weeks ago on tech-userlevel,
...
conditioned by #ifdef LIBWRAP (on by default).
I renamed '-l' (the 'live' mode) to '-d' and '-l' is now used to enable
logging of successfull connections, to be consistent with what other NetBSD
daemon use.
These changes are on on sup2.fr.netbsd.org since 2 weeks.
1999-08-24 15:52:52 +00:00
enami
9ce05a481a
Move the actual work when dhclient got signal out of signal handlers,
...
and make not to exit the program if the signal is hanldled properly.
Reviewed by: Ted Lemon
1999-08-24 03:25:31 +00:00
hubertf
8ee940971e
Bring closer to /usr/share/misc/style with the aid of indent(1).
1999-08-24 00:48:37 +00:00
hubertf
c39c4fc075
Hide test for URLlength()>0 behind a macro (IS_URL()).
1999-08-23 15:17:03 +00:00
agc
b62dac7b36
Provide full pathnames for chgrp(1), chown(1) and chmod(1), passing
...
them down from Makefile.inc on an OS-specific basis. Fixes PR 8250
from Wiz <wiz@danbala.ifoer.tuwien.ac.at>.
1999-08-23 10:34:53 +00:00
christos
d3964689a5
add better debugging info
1999-08-23 01:09:42 +00:00
garbled
c339da615b
Add a .Xr to mailer.conf to these files.. so users might know that such
...
a manpage exists.. ;)
1999-08-21 06:51:44 +00:00
simonb
b729f2c755
Use ${INSTPRIV} with ${INSTALL}.
1999-08-21 06:27:29 +00:00
hubertf
3fb135484d
Call deinstall-script after files are removed:
...
deinstall <pkg-name> POST-DEINSTALL
(PKGTOOLS_REQD not bumped, as nothing in pkgsrc uses this so far)
1999-08-21 02:21:13 +00:00
agc
eed4a2840a
Fix braino, pointed out by enami - OS is not defined on NetBSD.
1999-08-20 14:34:34 +00:00
agc
cf95737b8e
The copy_hierarchy function is never called. Remove its definition and
...
prototype.
1999-08-20 09:20:20 +00:00
agc
b41eccc5cd
Make this work on Solaris "out of the box"
1999-08-20 09:12:10 +00:00
hubertf
c94d3e89cb
Allow specifying a package name without a version.
...
If no (installed) package is found with the given name, "-[0-9]*" is
appended, and the search retried. Withs with any options to pkg_delete
and (esp.) pkg_info:
pkg_info kde
pkg_info -e emacs
pkg_info -qL xlock
pkg_delete -v emacs
1999-08-19 19:37:20 +00:00
itojun
0b386339a3
sync with recent KAME code.
...
- do not use s6_addr{8,16,32}, which are nonstandard.
- SIGHUP handling now works correctly.
1999-08-19 17:31:05 +00:00
agc
358f97854c
Pass BINDIR down via Makefile.inc, rather than hardcoding /usr/sbin -
...
useful for systems where /usr/sbin is not the directory of choice.
1999-08-19 14:37:36 +00:00
agc
d5c5c423a3
Consolidate URL handling into a table of valid leading strings for
...
URLs, and an access function (URLlength) - saves having various
hardcoded strings all over the place. Delete isURL, and use URLlength
in its place. Also use URLlength when parsing a filename for host
and filename part.
1999-08-19 14:12:34 +00:00
agc
72077b961b
Clean up minor nits in C code.
1999-08-19 13:29:59 +00:00
tron
4ea05d6101
Add two missing "(void)" casts.
1999-08-19 07:18:38 +00:00
tron
dffe3016d3
Modify conflict check to avoid matching packages with the same name prefix
...
(e.g. "teTeX" and "teTeX-share"). Patch is based on a suggestion by
Hubert Feyrer, fixes PR pkg/8219.
1999-08-19 07:17:35 +00:00
cgd
767af34d42
copy the MBR partition table being examined to a local array, to avoid
...
unaligned structure accesses on architectures that care.
1999-08-19 06:06:02 +00:00
cgd
bca4f26548
correct usage message
1999-08-19 05:44:48 +00:00
hubertf
f3269a6dee
Clean up flex output (gram.[ch]).
...
Reported in PR 8232 by Andrew Cagney <ac131313@cygnus.com>
1999-08-19 02:27:02 +00:00
simonb
94628bf62e
In a program request packet during the second and third stage of an
...
Ultrix/mips MOP boot, the "software" packet is 256 bytes - bump the
size of the program array (maximum for the VAX must only be 16 bytes).
1999-08-17 12:38:09 +00:00
is
7637a1f341
Reflect the recent support of wscons.
1999-08-16 20:10:37 +00:00
is
2cd7cc3fc5
Add missing Amiga to the list of architectures supported.
1999-08-16 17:44:43 +00:00
simonb
299578ebd5
Spell "privilege" correctly (correct spelling from Jonathan Stone).
1999-08-16 02:59:22 +00:00
itojun
35a68ecb71
avoid multiple BUGS section.
1999-08-13 13:57:52 +00:00
lukem
ecea2953c2
if, after building WorkList, it is NULL (because there are no entries), don't
...
bother trying to qsort() or traverse it.
noticed when the diagnostic assert()s in my copy of qsort() complained
about a NULL pointer...
1999-08-12 00:19:07 +00:00
perseant
708391677c
Add nullfs, umapfs, unionfs to the list of exportable filesystem types, now
...
that these FSs are in fact exportable. (Left over from PR 5603.)
1999-08-09 20:22:39 +00:00
hwr
38bced384f
Document -s option. Fixes PR 6759 by me.
1999-08-08 16:15:17 +00:00
itojun
d65340456a
do not use tbl for formatting.
...
From: "Heiko W.Rupp" <hwr@netbsd.org>
1999-08-08 13:27:30 +00:00
itojun
d6fd5e2c88
fix dig and nslookup.
...
sizeof(_res) must be the same for libc, libresolv and libbind.
libc and libresolve uses bind4 while libbind seems to use bind8.
complete fix would be to share the same codebase among libc and libbind,
but I don't know if importing bind8 into libc/libresolv (or bind9 to
all the places) is the right answer. it involves a big change.
PR: 7966
1999-08-07 12:40:06 +00:00
bouyer
08713441c4
xref hosts_access and hosts_options in section 5, not 3.
1999-08-02 16:05:40 +00:00
erh
131ee1a7b6
Replace the provided read_line function with calls to the fparseln function in libutil. Maintain compatibility on machines without fparseln through the NEED_READ_LINE define.
1999-08-02 05:36:05 +00:00
sommerfeld
fdadab8fc8
Fix PR7739: correct -DRPC rot in inetd.c
1999-08-02 01:12:21 +00:00
thorpej
8c134b93a0
If unlink() fails w/ ENOENT, don't display an error message.
1999-07-31 05:22:05 +00:00
itojun
55ffd6053b
sync with latest KAME. (no behavior change)
1999-07-30 19:16:45 +00:00
itojun
758e308974
fix behavior on 64bit CPUs. args to ioctl() must be u_long, not int.
1999-07-30 18:59:42 +00:00
itojun
0f5e3f859a
do not include sys/netinet6/in6_systm.h, this has been empty.
1999-07-30 10:29:35 +00:00
itojun
656cf2dd52
allow "traceroute6 -q1 foo".
...
KAME PR: 135
1999-07-30 01:19:58 +00:00
hubertf
b0f5059f43
Don't ignore the return value of two unlink() commands, and print
...
some warnings instead, if unlinking fails.
Fixes PR 4634 by myself.
1999-07-29 20:08:59 +00:00
augustss
e7af5efe23
Make it possible to add a mux.
1999-07-29 18:24:09 +00:00
itojun
e1b53de44e
query service name properly on libwrap warnings.
...
NetBSD PR: 8101
1999-07-28 10:58:31 +00:00
tron
ad6d07bbfa
Message files in binary packages are not displayed with more(1).
1999-07-28 10:07:05 +00:00
itojun
11b205990c
improve icmp6 printing on jumbogram case.
...
sync print-null.c with recent KAME code.
1999-07-26 06:26:58 +00:00
itojun
c4c4038edf
s/u_short/u_int16_t/ and others (just to be sure)
1999-07-26 06:11:57 +00:00
lukem
81a3e76281
remove superfluous casts
1999-07-26 03:01:09 +00:00
itohy
5558ca668c
Eliminate illegal cast from function pointer (sig_t) to object pointer (void *).
...
Remove #include of unused headers.
Fix varargs usage.
KNF.
Const poisoning.
1999-07-26 01:31:47 +00:00
kleink
6e3b46de7d
Make ordering of Xrefs consistent.
1999-07-25 21:59:13 +00:00
lukem
7dc5b4fed5
don't call ypdb_close() until after we're finished using data returned
...
by a previous ypdb_*() operation. seems to fix a problem noted in [bin/8064]
1999-07-25 09:36:02 +00:00
lukem
275da9fc4d
because the ypserv struct datum and the db(3) struct DBT are not exactly
...
the same (datum is { char *, int }, DBT is { void *, size_t /* u_int */ }),
copy info to appropriate temporary variables before calling underlying
db(3) operations.
1999-07-25 09:33:37 +00:00
lukem
811d7dca54
fix up lossage WRT free()ing invalid pointers.
...
noted in [bin/8064]
1999-07-25 09:01:04 +00:00
lukem
96c7d69308
fix up lossage WRT free()ing invalid pointers.
...
noted in [bin/8064]
1999-07-25 07:59:48 +00:00
explorer
a3d357795d
print ip-proto PIM packets (ip proto 103)
1999-07-25 04:23:21 +00:00
itojun
ea6e86754f
print "ip6:" when -e is specified for DLT_NULL device.
1999-07-25 00:13:07 +00:00
thorpej
66986619c4
Clean this up.
1999-07-23 19:06:54 +00:00
hubertf
9992044ef5
We're about to regenerate this ourselves, and will not split it.
...
Needed to make things going with (and probably without also) obj
dirs, pointed out by Matthias Drochner.
1999-07-22 22:44:42 +00:00
hubertf
7da1e27a09
Build and install info page.
1999-07-22 01:16:59 +00:00
hubertf
b568888491
Add code to DTRT with the info file, now that we can use it.
...
Patch submitted in PR by Minoura Makoto <minoura@hauN.org>
I'll not re-import amd but rather perform the steps to get
things going manually.
1999-07-22 01:14:22 +00:00
mycroft
4b3222031d
s/dbm/hash/, since we don't support dbm files in sendmail.
1999-07-21 07:06:01 +00:00
mjacob
8dd6bc6db8
Correct prototyping- gettimeofday takes an address of a struct timeval.
...
localtime needs an address of a time_t. A time_t is not the same as
{struct timeval}.tv_sec.
1999-07-21 02:02:27 +00:00
mrg
ba255f8a34
optionally include CRYPTOPATH Makefile.frag files.
1999-07-20 09:47:07 +00:00
tron
850b3263ac
Remap "_res" to "bind_res" to fix link warnings on ELF systems.
1999-07-20 08:59:15 +00:00
ghudson
113b4934fe
se_wait stores pids; make it a pid_t.
1999-07-19 15:49:39 +00:00
tron
49492782ad
Install "named.conf" to "/usr/share/examples/named".
1999-07-19 12:04:03 +00:00
kleink
a87a0a6236
For XCU5's sake, and due to popular demand, add link(8) and unlink(8)
...
utilities. This addresses PR standards/8027 by Giles Lean, who also submitted
a different implementation along with; I chose to add those files I had written
a while ago for reasons of portability and not requiring being cleaned up wrt.
compile-time warnings.
1999-07-19 09:11:25 +00:00
abs
bb69dd0964
bind comes with a very helpful sample named.conf, so install it in
...
/usr/share/examples/named. I'm not overwhelmed about moving the file
into src/share/examples but there is prior art (amd).
1999-07-19 02:30:43 +00:00
itojun
936dae3338
use /etc/pim6dd.conf, instaed of /usr/local/v6/etc/pim6dd.conf.
1999-07-17 14:12:21 +00:00
itojun
986bd48816
pim6dd: IPv6 PIM (protocol independent multicast),
...
dense mode routing daemon.
1999-07-17 14:06:24 +00:00
itojun
0e03316884
typo and wording fixes. sync'ed with latest KAME.
1999-07-17 13:03:28 +00:00
sommerfeld
5d94c1dc69
Clarify that the empty string, not the string ANY, as the network name means
...
pick any access point
1999-07-15 14:31:52 +00:00
sommerfeld
ebe6b12815
Tweak manpage to reflect wicontrol->wiconfig rename. (This, and all
...
previous commits of the wi driver, were done using the driver in
ad-hoc mode in the 34th floor bar of the SAS Radisson Plaza hotel in
Oslo, Norway).
1999-07-14 22:43:17 +00:00
sommerfeld
13e9a1abb4
Add wiconfig
1999-07-14 22:35:20 +00:00
sommerfeld
7c00275166
Utility to configure wi* 802.11 driver
1999-07-14 22:33:33 +00:00
itojun
e5db40b6de
add faithd, IPv6-to-IPv4 tcp relay translator.
...
utilizes pseudo-device "faith".
1999-07-13 22:16:48 +00:00
thorpej
9630ed475e
Use bsd.crypto.mk.
1999-07-12 22:11:37 +00:00
tron
d5403b6b11
Remove unnecessary "${.CURDIR}/../nslookup" from ".PATH" target.
1999-07-12 08:31:49 +00:00
itojun
578761f0d3
add usr.sbin/pvcsif and usr.sbin/pvctxctl to SUBDIR.
1999-07-11 17:35:33 +00:00
itojun
5dc7053468
adapt to NetBSD code tree.
...
- add NetBSD RCS ID
- cut and paste the copyright notice from c source to manpage source
(unnecessary?)
1999-07-11 17:35:07 +00:00
itojun
47e125616d
import from ALTQ 1.2
1999-07-11 17:28:28 +00:00
itojun
a09df1fc0f
import from ALTQ 1.2 distribution
1999-07-11 17:28:02 +00:00
christos
6e1a032789
cast args to strcmp;
1999-07-10 20:17:21 +00:00
christos
ac79e98358
fix thinko in mtime stuff.
1999-07-10 19:59:28 +00:00
tron
247bd5d560
Remove "parse.c" and "parse.h" during "make cleandir".
1999-07-10 11:31:28 +00:00
thorpej
95a36e1425
Fix bug in previous; allprefixes didn't work if there were multiple prefixes.
1999-07-09 18:46:09 +00:00
thorpej
64f20db21b
Make the outputted INCLUDES directives a bit more cosmetically appealing.
1999-07-09 18:45:31 +00:00
mrg
ecdad0ec33
clean up a bit after jason :)
...
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.
this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej
152af09e65
Add a mechanism to specify prefixes that are transparently prepended
...
to file specifications. The prefixes are arranged in a stack, and
nest, so that file, object, and include specifications are normalized,
and all end up relative to the kernel compile directory.
For example, in the kernel config file:
# Pull in config fragments for kernel crypto
prefix ../crypto-us/sys # push it
cinclude "conf/files.crypto-us" # include it if it's there
prefix # pop it
and in files.crypto-us:
file netinet6/esp_core.c ipsec & ipsec_esp
file netinet6/esp_output.c ipsec & ipsec_esp
file netinet6/esp_input.c ipsec & ipsec_esp
...generates the following in the kernel Makefile:
$S/../crypto-us/sys/netinet6/esp_core.c \
$S/../crypto-us/sys/netinet6/esp_output.c \
$S/../crypto-us/sys/netinet6/esp_input.c \
By placing this all in the kernel config file, all the magic involved in
reaching into non-standard kernel source directories is placed into a file
that the user is expected to edit anyway, and reasonable examples (and
sane defaults, for typical source checkouts) can be provided.
1999-07-09 06:44:58 +00:00
thorpej
02a4ec93e9
Nuke the work-around for non-normalized include paths. They have all
...
been fixed up.
1999-07-09 02:37:26 +00:00
itojun
e5244472c9
style fix (to sync with KAME/NetBSD14)
1999-07-08 16:11:40 +00:00
sommerfeld
eb61e82da9
Fix a bit-count vs. byte-count problem .. /16 routes were added as
...
host routes rather than network routes.
1999-07-08 16:04:56 +00:00
itojun
9c536f2966
sync with KAME/NetBSD14.
...
add warning about upstream/downstream advertisement.
1999-07-08 00:41:21 +00:00
itojun
6002e3435e
fix buffer overrun on kvm_openfiles, last argument.
...
From: Geoff Wing <gcw@pobox.com>
1999-07-07 00:28:29 +00:00
thorpej
0ee6c639c7
Add a mechanism for files.* files to be included, in the kernel configuration
...
file, conditional on their existence. For example:
[ in ../conf/GENERIC ]
cinclude "../crypto-intl/sys/conf/files.crypto-intl"
This required a change to the files.* grammar; pseudo-device in that
context has been changed to defpseudo, to avoid a conflicting rule
for pseudo-device in the kernel config files.
The same grammar change allows vendors to ship files.* files for
commercial drivers, rather than diffs to e.g. files.pci, i.e.:
include "arch/i386/pci/files.zap"
zap* at pci? device ? function ?
Where files.zap might contain:
device zap: ether, ifnet, arp, mii
attach zap at pci
object arch/i386/pci/zap.o zap
1999-07-07 00:02:09 +00:00
christos
78a99dbab7
portability fixes:
...
- don't use timespecs in struct stat on non 4.4BSD systems
- don't assume that tv_sec is a time_t
1999-07-06 15:11:14 +00:00
itojun
a7d1c8590c
mld6query: throw IPv6 MLD query (similar to IPv4 IGMP)
1999-07-06 13:32:01 +00:00
itojun
26c3d764fd
add NetBSD RCS ID.
1999-07-06 13:14:54 +00:00
itojun
22ece3e4cd
add NetBSD RCS ID. retain original RCS ID (without $).
1999-07-06 13:13:03 +00:00
itojun
7e91967d7e
fix for 64bit arch (sizeof(void *) != sizeof(int))
1999-07-06 13:08:12 +00:00
itojun
0ff82b2f3d
fix compilation on alpha.
1999-07-06 13:05:14 +00:00
itojun
6a12600abf
fix for 64bit arch, where sizeof(size_t) != sizeof(int).
...
add NetBSD RCS ID.
1999-07-06 13:02:09 +00:00
hubertf
657f0ba4f7
Actually generate MD5 checksums, as reported in PR 7928.
...
Approved by Dr. Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
1999-07-06 12:59:12 +00:00
agc
42de521154
Correct typo in synopsis.
1999-07-05 10:59:08 +00:00
itojun
6d19cc56e3
more careful signed-ness handling in parsing config file.
1999-07-04 22:14:53 +00:00
fvdl
bec4549303
Update for mount flag change.
1999-07-04 22:09:30 +00:00
itojun
72367d27c8
s/char/int/ for variable that eat return value of getopt().
1999-07-04 21:59:19 +00:00
itojun
daa8445160
add NetBSD RCS ID.
1999-07-04 14:45:54 +00:00
itojun
5833a5a382
add NetBSD RCS ID where necessary.
1999-07-04 02:57:51 +00:00
itojun
b7ee9c3863
add NetBSD RCS ID.
1999-07-04 02:43:39 +00:00
itojun
93de5675b3
be more friendly with non-IPsec kernel (hide warnings).
1999-07-04 00:31:57 +00:00
itojun
202f63e8f8
fix typo (no comma).
...
use NetBSD RCS ID, retain original.
1999-07-03 18:12:18 +00:00
itojun
5e5766862a
comment out rc5-cbc (is removed on KAME on NetBSD-current for
...
possible patent twist)
From: frank@wins.uva.nl (Frank van der Linden)
1999-07-03 11:58:12 +00:00
itojun
9a6abc8c5d
s/CFLAGS/CPPFLAGS/ for -D and -I.
1999-07-03 06:26:25 +00:00
hubertf
ef0989e5e0
Document PKG_TMPDIR
1999-07-02 19:05:45 +00:00
thorpej
8cc65d3aa6
Squash some NULL printf format warnings, providing better error messages
...
to the user in the process.
1999-07-02 18:13:45 +00:00
itojun
961c134c62
s/.Os KAME/.Os/
1999-07-02 17:45:00 +00:00
itojun
c2689aaa05
setkey: configure IPsec keys to the kernel key table
...
(not subject to export control as itself does not contain crypto)
1999-07-02 17:41:23 +00:00
itojun
d161ab0018
clearify and woring fix.
1999-07-02 16:55:45 +00:00
itojun
0d5c089973
document tcp4/tcp6 manipulation.
1999-07-02 16:49:34 +00:00
itojun
e4aa9b3d90
do tcp/udp checksum only if it is IPv4.
...
TODO: IPv6 tcp/udp pseudo header checksum
1999-07-02 14:51:22 +00:00
itojun
bfa86f1cc9
route6d: RIPng daemon (similar to route6d)
...
rip6query: RIPng query (similar to ripquery)
NOTE: we usually do not run route6d on end nodes at startup (rtsol should do
the trick). So I figured that route6d can be in /usr/sbin, not in /sbin
(routed is in /sbin). Correct me if I'm wrong.
1999-07-02 11:47:12 +00:00
itojun
c282889c17
Pv6, IPsec, ospf6, ripng, dhcp and other protocols support.
1999-07-02 11:31:28 +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
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
itojun
2447462b5e
traceroute6: traceroute for IPv6.
...
TODO: better to be separate, or merged?
1999-07-01 20:55:03 +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
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
itojun
38646d353f
IPv6 support.
1999-07-01 19:15:03 +00:00
itojun
38347f727c
s/getaddrinfo/get_addrinfo/, to avoid function name conflict with
...
library function getaddrinfo()
(is defined in RFC2553, will be somewhere in POSIX)
1999-06-30 12:27:34 +00:00
augustss
9d466c7892
usbd is dead. And gone!
1999-06-30 06:56:11 +00:00
augustss
aed7c5dbd9
usbd is dead.
1999-06-30 06:48:05 +00:00
augustss
895c141c35
Improve messages in case of error.
1999-06-30 06:23:28 +00:00
minoura
2844bec4f2
Add special methods for hw.serial and hw.srammode.
1999-06-28 08:49:15 +00:00
minoura
b6f7807a25
Add -DDEBUG for debug. Can be debuged on other (faster) platforms.
1999-06-28 08:48:35 +00:00
explorer
4ca6c63ecd
if returning a pointer to something on the stack, make it a static.
1999-06-28 07:37:13 +00:00
abs
c21e827bb5
Remove last traces of securenet and ypserv.acl
1999-06-28 01:21:51 +00:00
mjl
0f3963f273
Truncate disk names in header to 7 instead of 3 chars, we actually
...
have "raid0".
1999-06-27 12:32:13 +00:00
minoura
909e46e994
Eliminate gcc warnings...
1999-06-25 14:27:55 +00:00
nathanw
42aa7dd2a0
Since this uses memcpy(), we need to pull in string.h to make this compile
...
on the alpha. Now confirmed working on that platform.
1999-06-25 03:22:35 +00:00
sommerfeld
4b5ec636eb
Fix obvious LP64 and aliasing bogons in checksum verification code.
...
Should fix spurious "bad checksum" errors on alpha, but not yet tested
on that platform.
1999-06-25 03:08:02 +00:00
is
a77e5c14be
provide initialized C array output directly, rather than through postprocessor
1999-06-22 20:27:21 +00:00
is
73c9f51034
TMS340x0 adresses are unsigned
1999-06-22 20:00:47 +00:00
minoura
d2b1196311
Add memswitch(8).
1999-06-21 15:57:47 +00:00
minoura
12769637d8
Initial version of memswitch(8), utility to get or set x68k memory switch.
1999-06-21 15:56:03 +00:00
kim
6f775308a6
Only require half of the responses to indicate that the destination is
...
unreachable. This makes traceroute exit when it encounters a Cisco, which
typically does not respond to every other probe (or so) when either there
is no route to the destionation or an access list is blocking the probes.
1999-06-19 05:07:44 +00:00
mrg
fccfa318a5
don't print a useless error message.
1999-06-18 09:50:35 +00:00
christos
717ef4f35b
Add -u flag, that prevents sup from attempting to restore a and m times
...
on the received files.
1999-06-17 05:11:47 +00:00
is
b5937495f5
Fix typo.
1999-06-16 20:47:57 +00:00
is
38f1211404
Add sanity check for MTU size in fragmentation required packets.
1999-06-16 20:43:48 +00:00
is
847d4766be
Factor out common code in the fragmentation required branch.
1999-06-16 20:10:07 +00:00
is
a11ec6ccb8
Don't forget to update the UDP length when changing the packet length.
...
Reported by Johan Danielsson in PR 7781; the fix is an updated version
(by the same person) of the patch in the PR.
1999-06-16 13:52:58 +00:00
is
6f6fd8467a
Cosmetics: a) add missing \n-s, b) this is ntohs, not htons, here.
1999-06-16 13:26:16 +00:00
cgd
bb8cb1198b
Add support for fetching packages from HTTP URLs. Since 'ftp' is already
...
invoked for (FTP) URLs, this was just a matter of recognizing HTTP URLs
in the places where FTP URLs were recognized (and updating a comment and
the manual page).
1999-06-15 06:32:00 +00:00
scottr
b2f847943a
Tweak the usage output a bit, and exit after printing it.
1999-06-10 05:53:51 +00:00
lukem
b04ab05ddd
save/restore errno as necessary (printf() et al might have modified it...)
1999-06-07 15:34:07 +00:00
thorpej
2712865930
Re-indent some of the NFSKERB code, to make the entire loop its in easier
...
to read.
1999-06-07 06:13:41 +00:00
thorpej
6be407523d
Add a missing close bracket, in some currently-unused code.
1999-06-07 06:06:20 +00:00
mrg
b734ec4664
note that the calls to mktemp() are OK.
1999-06-07 03:06:08 +00:00
thorpej
2e2748128a
Use pidfile(3).
1999-06-06 03:39:11 +00:00
thorpej
bcd4659148
Use pidfile(3).
1999-06-06 03:27:35 +00:00
thorpej
ad9c4f4fa5
Use daemon(3) and pidfile(3).
1999-06-06 03:27:06 +00:00
thorpej
56c5efa335
Use pidfile(3).
1999-06-06 02:52:16 +00:00
thorpej
653c3855f5
Use pidfile(3).
1999-06-06 02:38:00 +00:00
thorpej
78688ba793
Use pidfile(3).
1999-06-06 01:50:23 +00:00
tron
ab86ce8dab
Fix byte ordering problem on little endian systems. Patch supplied by
...
Jarle Greipsland in PR bin/7700.
1999-06-05 09:50:39 +00:00
thorpej
4281f72137
If we get an NIS domain name, set it. If we set, clear it when the
...
lease is released.
1999-06-04 20:40:50 +00:00
thorpej
a2b8006ca9
If we get a host-name option, set it.
1999-06-04 20:12:52 +00:00
thorpej
26e41e4c44
The host-name option is text.
1999-06-04 20:09:12 +00:00
tron
343ac4c964
Remove support for absolutes pathnames completely. This can't work with
...
binary packages like we support them now.
1999-05-30 16:08:23 +00:00
christos
3024caeb08
Don't prepend directories if the plist files are absolute.
1999-05-29 20:44:20 +00:00
christos
250a1a772c
PR/7662: TheMan: crontab does not think the file changed if the editing session
...
took < 1sec.
1999-05-29 18:43:40 +00:00
christos
bff7683341
Use postfix as an example
1999-05-29 18:18:30 +00:00
christos
854002ab86
Allow remapped commands to have arguments appended to them.
1999-05-29 18:18:15 +00:00
bad
4254ad64cc
Resurrect the code to check for duplicate interface addresses that was
...
lost in the previous change.
This fixes PRs 7065 and 7482 by Martin Husemann <martin@rumolt.teuto.de>.
Also do the interface copying iff INT_LOOPBACK as in the BSDI version of
this code.
1999-05-27 17:12:22 +00:00
mjl
2a12a3e76d
Correct typo in option name. Fixes PR 7645 by Paul Shupak <paul@plectere.com>
1999-05-25 20:46:54 +00:00
ad
ccc7e59e1f
Add new sysctl (net.inet.tcp.log_refused) that when set, causes refused TCP
...
connections to be logged.
1999-05-23 20:33:50 +00:00
mycroft
01e0430cea
Allow absolute path names for `object' files.
1999-05-23 19:30:30 +00:00
he
d0c388761b
Don't print trailing spaces if there are no flag value to print.
1999-05-23 16:15:18 +00:00
is
ce8cbb67e7
Fix typo..
1999-05-22 21:15:18 +00:00
tron
bf63a3160b
Back out last commit, local includes were out of sync.
1999-05-16 18:00:35 +00:00
tron
0f70bcd711
Adapt for changes in "src/sys/dev/usb/usb.h".
1999-05-16 17:18:41 +00:00
augustss
041a8536ac
s/revision/release/
1999-05-16 12:05:10 +00:00
drochner
5046f283f4
update for keyboard attachment
1999-05-15 14:45:06 +00:00
drochner
6f1e305b69
add support for attaching/deleting of keyboards to/from displays
1999-05-15 14:24:45 +00:00
hubertf
b6d55241da
@srcdir was renamed to @src long ago, reflect this in documentation;
...
noted in PR 7555 by R. C. Dowdeswell <elric@imrryr.org>
1999-05-15 03:27:50 +00:00
tron
1fceefc0ce
Fix wrong error handling in case "/var/db/pkg" needs to be created.
...
Patch suppled by Roland Dowdeswell in PR pkg/7566.
1999-05-12 20:43:49 +00:00
thorpej
7e3a0bf0c5
Decouple inbound and outbound filters. Now instead of using "active-filter"
...
and "pass-filter" and "inbound" and "outbound" qualifiers in the filter
expression, use new "active-filter-in", "active-filter-out", "pass-filter-in",
and "pass-filter-out" without these qualifiers.
This is necessary due to the horrible, awful way "inbound" and "outbound"
were specified for the filter programs when a packet was passed through them.
Basically, the "address" byte in the serial PPP header was overwritten with
a value to indicate the direction. However, the "address" byte doesn't even
exist on PPP headers for all other PPP encaps! So, this old method worked
only for serial encaps, and corrupted packets for all others (PPPoE, ATM, etc.)
1999-05-12 18:50:51 +00:00
thorpej
38d9ae6199
Oops, fix a typo in a printf.
1999-05-11 02:56:55 +00:00
thorpej
fe124d16bb
Add support for the new NetBSD PPP data link types, add some more
...
PPP definitions, and handle Cisco-format frames that come in off
of sync PPP interfaces.
1999-05-11 02:54:29 +00:00
thorpej
e1db0debfa
Fix one that Christos missed.
1999-05-09 21:22:53 +00:00
christos
9fae9a1863
Pass NULL for checking only
1999-05-09 16:07:20 +00:00
christos
405991437d
Adjust for dot_quad_addr() changes
1999-05-09 16:05:35 +00:00
jeremy
60d83bcb76
[PR/5685] Set ONLCR bit in oflags of tty mode to prevent hanging in
...
absence of carrier. From Simon J. Gerraty <sjg@quick.com.au>.
1999-05-06 08:59:21 +00:00
perseant
5415bc30ff
Reversed (corrected) sense of superblock timestamp comparison; added the
...
disk address of the reported superblock to the "master superblock" line
of the report.
1999-05-02 00:26:01 +00:00
sommerfe
88201e4f1b
Fix PR 7196: bad udp checksum reported when capture barely too short
1999-04-29 21:20:13 +00:00
thorpej
44ee87006e
Add support for kern.mbuf.*
1999-04-26 22:13:52 +00:00
mellon
3c82a97a8d
Merge with ISC source.
1999-04-26 15:47:03 +00:00
mellon
58d7576468
Patchlevel 27
1999-04-26 15:43:06 +00:00
abs
bf094b728a
If -s and/or -d set, report invalid host entries in bootparams when parsed.
...
Currently an invalid entry will cause any subsequent entries to fail
if hostlookups take take several seconds (This can happen with DNS).
Now we can more easily detect this situation.
1999-04-26 02:35:17 +00:00
lukem
04833e78b6
split line
1999-04-25 06:28:10 +00:00
mycroft
ce477983b4
The previous change didn't even compile due to a warning.
...
Also, fix the same core dump in the case where there are no `_build' lines.
These should probably both emit a warning, so the user knows what happened.
1999-04-20 14:22:32 +00:00
dante
554cdf7fe9
No more core dump if _crunch section is missing in man.conf
1999-04-20 10:59:13 +00:00
mrg
3e4fcb2e57
newlfs -> newfs_lfs.
1999-04-20 07:15:38 +00:00
mycroft
a6b6e0db55
Don't rebuild the cat page if the time stamp is the *same*; this can happen
...
just because `make install' ran quickly.
1999-04-20 05:02:36 +00:00
bouyer
3cbd4c8d82
Integrate fix from bin/7378: call the extra get_nfs_version() after
...
we make sure nfs_proto is initialised, and only if we have a valid ip.
1999-04-14 09:07:01 +00:00
augustss
caf9aabb3e
Make opyrights conform.
1999-04-13 20:50:48 +00:00
thorpej
246f73e1a0
Fix a printf format warning on the Alpha.
1999-04-13 00:16:24 +00:00
pk
5c3c96216b
Software_Distribution => Software.Distribution.
1999-04-12 20:48:07 +00:00
drochner
fe2da22c81
correct an error message
1999-04-12 17:29:31 +00:00
hubertf
3adf761c0b
Use absolute path to tar(1) in execl() call.
...
*** This makes retrieval of pkgs via ftp work again!
Also don't just call exit() if the execl() call fails, but print some
error (via err()).
1999-04-12 00:29:51 +00:00
hwr
f6aa0f509c
Prevent sending udp data to the obvious bad ports that are used for
...
DoS attacks (e.g. looping packets between two echo ports).
This should "fix" PR bin/2455.
Could please anyone with an appropriate "hacker tools" check this?
1999-04-11 15:40:58 +00:00
simonb
2350b6d9ea
Fix tyop.
1999-04-10 13:05:18 +00:00
hubertf
c7cd57bc07
Fix off-by-one error. (This was detected using libefence)
1999-04-10 02:17:21 +00:00
mellon
177a06d1a4
Resolve conflicts from Patchlevel 25 import.
1999-04-09 17:55:01 +00:00
mellon
95518966c2
Patchlevel 25
1999-04-09 17:52:05 +00:00
perry
57cd21e2b5
Turn on catman. Thanks to dante, it now works right.
1999-04-09 15:12:22 +00:00
cjs
d49fc436a6
Reduce default crontab size limit to 32K. Use the limit in
...
/var/cron/maxtabsize, if that file exists.
1999-04-09 02:47:03 +00:00
cjs
a1d7b99e1e
Make sure that the crontab is not an unreasonable size.
...
(Currently MAXCRONTABSIZE is 256 KB.)
1999-04-08 21:30:02 +00:00
bouyer
da5122af6d
Hack to work around a problem in either SunOS 4.1.4 or our RPC code:
...
once we determined the rigth protocol to use, recall get_nfs_version()
so that the last RPC call was a successfull one. Otherwise with a SunOS 4.1.4
server (which doesn't accept TCP mounts) UDP mounts would fail.
1999-04-07 11:21:49 +00:00
pk
1cd395375d
1, 2, 3 and.. 4!
1999-04-06 20:24:37 +00:00
cgd
b22750720f
change:
...
.Sh "SEE ALSO"
to:
.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
mycroft
9052a41924
Display fs_maxfilesize, and clean up some other formatting.
1999-04-05 19:54:45 +00:00
chopps
1b017ba3a8
fix the cksum routine and parse ESH packets.
1999-04-05 00:58:29 +00:00
dante
7678969db4
catman now use config.c and config.h from usr.bin/man
1999-04-04 16:52:34 +00:00
dante
a7d911d5b7
Reference config.c and config.h from usr.bin/man
1999-04-04 16:50:47 +00:00
dante
bea7444699
Add catman.
...
It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages.
It handle symbolic links, but at this time no hard links.
config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
1999-04-04 10:56:38 +00:00
gwr
5a4e7b6de7
Make this build on Solaris (make -f Makefile.boot)
1999-04-02 06:36:30 +00:00
veego
d698215572
Define __POOL_EXPOSE for <dev/vndvar.h>.
1999-04-01 17:24:03 +00:00
drochner
5faf61eaf6
add some notes and an example
1999-03-31 15:37:47 +00:00
drochner
719a8b0d1d
add some notes and an example
1999-03-31 15:15:57 +00:00
abs
542d17320b
Update - quotacheck is run from rc, not rc.local
1999-03-30 23:58:46 +00:00
abs
4bd70a584f
If -a, we do not want to pay the cost of processing every group and password
...
entry if there are no filesystems with quotas. Speeds up boot on a large YP
site without quotas considerably. If a filesystem has quotas we process
/etc/fstab twice, which is very cheap in relative terms.
1999-03-30 23:56:26 +00:00
ross
740ba5bf1a
Missing .El.
1999-03-30 20:38:33 +00:00
ross
376b343025
LP64 tweak.
1999-03-30 20:36:58 +00:00
mycroft
afd308129a
Output a dependency on `newvers' for *every* kernel. It only gets run at most
...
once per make(1) invocation anyway, and not doing this screwed up parallel
makes.
1999-03-30 12:36:50 +00:00
bouyer
0d0babaea9
Defaults to UDP mounts again. The move to TCP mounts by default was too
...
intrusive, even without bugs on the NetBSD side.
1999-03-30 08:23:26 +00:00
mellon
a20da108b1
Merge patchlevel 22.
1999-03-30 03:12:28 +00:00
mellon
2edefbc506
Import 2.0b1pl22, the pecked-to-death-by-ducks patchlevel.
1999-03-30 03:10:46 +00:00
mellon
6ad36e81ac
Re-add README file and RELNOTES, as they may actually be of some interest.
1999-03-30 01:54:50 +00:00
mellon
ba99fde8c5
Merge patchlevel 21
1999-03-30 01:53:57 +00:00
mellon
1cc8443c6f
Patchlevel 21
1999-03-30 01:51:44 +00:00
mellon
029f7c27bf
Resolve conflicts in pl20a merge.
1999-03-30 00:12:14 +00:00
mellon
4f34fd30b5
Patchlevel 20 fixes
1999-03-30 00:10:08 +00:00
mellon
579e9efdc7
Resolve conflicts in pl20 merge.
1999-03-29 23:08:21 +00:00
mellon
3b4ecb27b5
Patchlevel 20
1999-03-29 23:00:49 +00:00
kleink
b43136023b
Forgot to add these a while ago.
1999-03-28 17:18:45 +00:00
tron
5acbe335e0
Forgot to commit this: install "named.conf.5".
1999-03-28 00:28:17 +00:00
perry
80fe8aba57
only build postfix if BUILD_POSTFIX is set
1999-03-27 03:22:49 +00:00
perry
9864ccf0b9
activate postfix
1999-03-27 03:03:17 +00:00
tron
6a6b1bb99f
Because this manual page describes DNSSEC features not available in
...
BIND 8.1.2 add a disclaimer about its origin at the top.
1999-03-27 00:10:47 +00:00
tron
7414e58610
Import "named.conf" manual page from BIND 8.2 distribution. The only
...
configuration command added after the 8.1.2 release is not even mentioned
so this one will do fine until the rest of 8.2 is imported.
1999-03-26 23:36:02 +00:00
drochner
61e1563f2b
Revert to the last ISC version. The local modification breaks bootp
...
clients which have the requested filename fixed in ROM.
The intended echoing behaviour is already provided by the ISC version
(if no special bootfile name is specified in dhcpd.conf).
1999-03-26 20:15:01 +00:00
kim
9b05f342df
Revert to the version of host installed by the BIND distribution by default.
...
The contrib version was tagged `bind-contrib-host' before this change.
1999-03-26 20:12:44 +00:00
kim
45402fd3fc
Install dig, dnsquery, host, nslookup, nsupdate and pawd in /usr/bin.
1999-03-26 20:04:50 +00:00
mellon
7ccf21d94d
Fix conflicts in merge.
1999-03-26 17:52:45 +00:00
mellon
28f100096f
Patchlevel 19
1999-03-26 17:49:19 +00:00
lukem
e1a9005721
fix comments
1999-03-26 07:15:23 +00:00
perry
e55f6bace6
bind 8 has been the default for months. remove bind 4.
1999-03-25 19:31:19 +00:00
perry
7699b5f8ec
Nuke bind 4. bind 8 has been the default for months.
1999-03-25 19:27:09 +00:00
is
059e654914
Split off /etc/mailer.conf manual page from mailwrapper manual page.
1999-03-25 16:40:17 +00:00
itohy
060a955d94
Make it compile on big-endian platforms.
1999-03-25 05:07:34 +00:00
nathanw
88e775014b
Avoid using a long to store an IP address and simplify slightly.
...
Makes this work on the Alpha.
(What, nobody's netbooted a sun from an alpha before?)
1999-03-24 22:01:38 +00:00
mycroft
68d6f4bf44
Remove spurious .ne's.
1999-03-24 06:27:49 +00:00
thorpej
bc5e782935
Don't rely on an `rcsid' being present.
1999-03-23 22:53:30 +00:00
bad
d1b189e801
Make this understand Token-Ring.
...
From Onno van der Linden.
1999-03-23 00:02:24 +00:00
aidan
3d3560d6aa
Apply soda's patch to make environment sets act like the man-page
...
documentation. i.e., strip the spaces around the '=' sign.
1999-03-22 22:18:45 +00:00
garbled
d1407362ba
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:43:46 +00:00
abs
7960b91475
Ignore files in /var/db/pkg (hint 'pkg_info pkgdb.byfile.db')
1999-03-22 06:04:16 +00:00
hubertf
04417da166
Replace static array of packages given to pkg_perform() with linear
...
list, using chopss' list functions (moved to lib/lpkg.c and
lib/lib.h).
Properly handle wildcards in arguments to "pkg_info", "pkg_delete" and
"pkg_admin check".
Some other minor cleanups.
1999-03-22 05:02:39 +00:00
abs
0dee719066
Fix '-f'.
1999-03-22 03:24:04 +00:00
mycroft
3320901baa
Add my NAT configuration as an example.
1999-03-22 02:53:22 +00:00
hubertf
2b8601f04f
be more cautious about preserving cwd
1999-03-20 00:29:19 +00:00
perry
45d01efb13
/var/run/log.
1999-03-19 00:53:31 +00:00
perry
98c39393e3
symlink /var/run/log to /dev/log for transition period.
1999-03-19 00:43:03 +00:00
fair
47d8058ff9
Patch from PR#6570 to correct for some drift in the calculation of how
...
many seconds to sleep before next queue run.
1999-03-17 20:57:05 +00:00
mycroft
3e2eeb485c
Eep. SMART_HOST was a bad idea.
1999-03-16 07:06:13 +00:00
is
908cc38079
/dev/log moved to /var/run/syslog.socket.
1999-03-15 17:01:00 +00:00
christos
ae673e9f58
Shut-up gcc-2.8.1 warnings.
1999-03-15 08:57:12 +00:00
kleink
d08845709f
Minor cleanups; g/c a dead assignment variable.
1999-03-14 19:36:05 +00:00
kleink
ce8b13e364
Oops, missed global data in static sweep.
1999-03-14 01:47:09 +00:00
kleink
882fe49366
Add KNF-style RCS Id at start of file.
1999-03-14 01:42:20 +00:00
kleink
afe8703841
* Use id_t instead of making guesses about the definitions of [gu]id_t.
...
* Declare internal helper functions static.
* G/C unused globals and declarations.
1999-03-14 01:39:48 +00:00
lukem
7e1c62baf8
set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
1999-03-13 23:17:46 +00:00
lukem
a3b1d07c9b
set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
1999-03-13 23:16:55 +00:00
drochner
04937535d2
cleaner error message, from "Soren S. Jorvang" <soren@t.dk>
1999-03-13 17:25:55 +00:00
christos
d961b8d40f
PR/7133 Mathias Drohner: Add insecure flag.
...
Also use err() and __progname instead of argv[0] and correct usage
string.
1999-03-12 18:06:12 +00:00
tron
137c04ccf1
Fix string handling bugs introduced by last patch.
1999-03-12 17:32:20 +00:00
erh
55f3a4b91b
Fix .Bl/.El imbalance.
1999-03-10 09:29:08 +00:00
erh
9d7d8174c5
Add missing .El line.
1999-03-10 08:33:15 +00:00
erh
65e6435539
Add missing .El lines.
1999-03-10 08:25:37 +00:00
erh
0f61c6801e
Add missing .El line.
1999-03-10 08:17:35 +00:00
erh
ab43bc629f
Add missing .El line.
1999-03-10 08:15:28 +00:00
mrg
84e08b1a6a
use this namespace.h to redefine the bits of libresolv we need, to avoid clashes with the resolver in libc.
1999-03-09 13:23:08 +00:00
agc
530dddb95a
Define TAR_CMD and TAR_FULLPATHNAME, and use them in preference to
...
hardcoded strings "tar" and "/usr/bin/tar". This allows the package
tools to use GNU tar with a different name (it's often installed as
gtar), and from a directory other than /usr/bin.
1999-03-09 11:10:39 +00:00
agc
4a5e3913cb
Include <fcntl.h>, so that the definitions for O_* are defined.
1999-03-09 10:01:12 +00:00
ross
eef3b62aca
Missing .El.
1999-03-09 03:04:25 +00:00
hubertf
e23d146ee6
TAILQ_FIRST and TAILQ_NEXT are not available on NetBSD 1.3 and 1.3.1,
...
define them for now.
Also fix a (unjustified) "variable may be used uninitialized" warning.
1999-03-09 02:20:49 +00:00
hubertf
4db56769f5
Add -R flag (similar to -r but the other way 'round)
1999-03-08 00:20:21 +00:00
mycroft
d77575d3c8
Clean up SYNOPSIS formatting.
1999-03-07 11:58:22 +00:00
mycroft
9b3b0907e1
Don't use .Po/.Pc; this creates a diversion which overflows.
1999-03-07 04:49:50 +00:00
mycroft
30d4082b82
Fix minor formatting error.
1999-03-07 04:05:44 +00:00
mycroft
18d04fc573
Fix minor formatting error.
1999-03-06 22:50:14 +00:00
hubertf
2428218e4b
update comment for findmatchingname()
1999-03-06 02:16:25 +00:00
mycroft
867aa13949
Remove bashism, so this actually works.
1999-03-05 22:37:43 +00:00
mellon
0c19a76c66
Add some documentation on customization.
1999-03-05 18:10:36 +00:00
mellon
83ec6e889e
Merge with 2.0b1pl18
1999-03-05 17:52:44 +00:00
mellon
9c2d0f125c
2.0 Beta 1 Patchlevel 18
1999-03-05 17:43:43 +00:00
mycroft
8336bf2055
Fix the order so allmasquerade works.
1999-03-05 01:32:11 +00:00
mycroft
7218bf528e
More vanity domain stuff...
1999-03-05 01:10:33 +00:00
hubertf
dc7b712a59
Prevent printinv of empty "Requires:" section.
1999-03-04 01:45:22 +00:00
hubertf
7964a11f60
Do not only display the packages which require this package
...
(-> +REQUIRED_BY), but also show which package this package wants
installed (-> @pkgdep).
1999-03-04 00:35:05 +00:00
hubertf
5909aead8e
Back out last fix to remove knowledge about LogDir from require_delete(),
...
because it wasn't in LogDir when it was enterred. :-/
XXX A better fix to this would be to put this save-and-restore-CWD back
in and also add it to recurse_require_find() and require_find(), but
this is too much action for nothing now.
1999-03-03 20:12:06 +00:00
hubertf
fe7b9b969f
Add -O option to only delete things from the pkgdb, and do not touch
...
anything else of the package or it's files. To be used on "make reinstall"
by the buildsystem (quite exclusively).
1999-03-03 17:29:58 +00:00
christos
f81a7584c8
Add ELF for i386 and sparc (Andrew Gillham)
1999-03-03 12:26:07 +00:00
hubertf
9f766d7071
More helpful message on failure
1999-03-03 00:35:16 +00:00
hubertf
3667be3444
More helpful message on failure
1999-03-03 00:24:21 +00:00
agc
21fa5d1385
Cosmetic but annoying - no need to append a newline character in warnx()
...
string - it's done by warnx() itself.
1999-03-02 10:32:23 +00:00
hubertf
bae5f0c988
use mkdtemp also on 1.3I and up
1999-03-02 03:04:06 +00:00
hubertf
c9234a4571
- Put no assumptions into require_delete() on where the old CWD was
...
- Fix check for circular dependency
- Most importantly: DO NOT remove the package if something depends
on it, and -r isn't given!!!!! Without this change, pkg_delete was
happily nuking away any package even if it had some dependencies.
1999-03-02 02:31:23 +00:00
agc
fc1bcfe208
Quieten braindead gcc 2.8.1 unused warning.
1999-03-01 12:11:42 +00:00
agc
d7c7ee9aba
Include <fcntl.h> for the O_* definitions.
1999-03-01 12:06:57 +00:00
tron
f41d893cec
Because the old bound check is used at several places we need to make
...
sure that the array is really NULL terminated. Fixes PR bin/7062.
1999-02-28 11:46:26 +00:00
pk
4bcb8b3a48
Correct precedence in calculation of storage for pollfds.
1999-02-28 11:30:18 +00:00
tron
925f506372
- Don't use static array hack if neither "-p" nor "-P" are used.
...
- Because the logsocket array is not NULL terminated use the entry number
for bound checks.
1999-02-28 11:16:18 +00:00
tron
c87ec3954b
Use correct expression "sizeof(char *)" instead of "sizeof(char **)"
...
to calculate memory size.
1999-02-28 11:03:35 +00:00
christos
974dcb4997
We have RAW_OPTIONS so enable them.
1999-02-26 22:43:03 +00:00
chopps
862b113538
remove strequal, strcmp provides the functionality we need
1999-02-26 17:04:13 +00:00
chopps
ad9eaac8ec
add -r flag to delete all packages that require the user specified one
1999-02-26 10:49:30 +00:00
explorer
3004daca95
Allow non-root users to use ALIASES on real interfaces or on lo0.
1999-02-24 21:21:24 +00:00
mellon
e7b0bff792
Resolve conflicts in 2.0b1pl15
1999-02-24 04:14:34 +00:00
mellon
984693e047
V2 Beta 1 Patchlevel 15
1999-02-24 04:11:01 +00:00
itohy
de08a5e37e
Add minimal dependency to make "make depend" optional
...
after cleandir.
1999-02-24 02:58:42 +00:00
mrg
6ef324e7de
getopt returns -1 not EOF. clear grouplist also if setting gid.
1999-02-23 15:54:26 +00:00
mrg
2aa01ad0b9
if we are chrooting, write a symlink for the pid file so that ndc, etc,
...
continue to work as normal. this allows named to run in a chroot jail
with zero loss of functionality. with the bind8 -u <user> flag, we can
also make it run as non-root. "stay tuned."
1999-02-22 02:37:27 +00:00
tv
6e539bc485
Include <bsd.own.mk>, noticed by <darcy@druid.net>.
1999-02-22 00:39:00 +00:00
mrg
19ef5d758f
- allow -p /log/socket to appear more than once (and work as expected
...
if given this). this is extremely useful for chrooted daemons that
still want to create log entries via a local mechanism.
- create a new -P option that takes a filename of log sockets (equiv.
of calling syslogd which -p <each line of file>. this is useful
for the case of many chroot areas and keeping this information in
one place rather than having to remember it all.
if no -p options are given, the default (_PATH_LOG) is used as normal.
1999-02-21 13:30:15 +00:00
thorpej
0d7a8dcb83
- Rewrite to use fparseln(), strspn(), strsep(). Avoids statically-sized
...
buffers and allows for line continuation.
- Use __progname instead of chopping argv[0] into a statically-sized
temporary buffer.
1999-02-20 22:10:07 +00:00
mellon
aa0c70bd9e
Merge Patchlevel 14 with trunk.
1999-02-19 22:39:06 +00:00
mellon
a72b8385ee
Not needed in NetBSD
1999-02-19 22:38:07 +00:00
mellon
db803634cc
Not needed in NetBSD
1999-02-19 22:01:10 +00:00
mellon
4c4fb0b6fd
Patchlevel 14
1999-02-19 21:58:14 +00:00
wrstuden
d86c8ee7b1
libamd gained new routines and the minor # didn't get bumped. :-(
1999-02-19 21:22:06 +00:00
mellon
d6ea104a53
Update call to write_client_lease.
1999-02-18 22:14:36 +00:00
mellon
8087ed2222
fallback_interface no longer needed.
1999-02-18 22:14:01 +00:00
mellon
2b8be45751
Resolve conflicts in 2.0b1pl13 import
1999-02-18 22:04:06 +00:00
mellon
d661579959
Obsolete
1999-02-18 21:50:49 +00:00
mellon
c6b1d8a95d
DHCP 2.0b1pl13
1999-02-18 21:48:47 +00:00
abs
e88f10c5f0
Replace compile time RPC_SVC_FG with -f option to run in the foreground.
1999-02-18 06:03:47 +00:00
lukem
d5df3fdbce
support $named_flags from rc.conf (this got lost in the upgrade to bind8)
1999-02-17 13:36:00 +00:00
hubertf
4ab7063639
If any other version of this package in stalled, stop. Document this. :)
1999-02-17 12:33:15 +00:00
christos
0b8b373b79
Limit wait time, so that people cannot use this as a flooding tool.
...
From bugtraq, but fixed differently than suggested.
1999-02-17 07:17:28 +00:00
is
2c7fa23c38
Fix Copyright dates
1999-02-16 23:34:10 +00:00
cjs
b3523bee1d
Oops. We don't need limits.h in this program.
1999-02-16 23:27:43 +00:00
cjs
b8bcd9b643
If not root, make sure source address matches a local interface.
1999-02-16 23:18:40 +00:00
is
dc068e0d1f
Assign my files to The NetBSD Foundation, Inc.
1999-02-16 22:46:55 +00:00
cjs
8164a79fad
Check select() return value, and abort the program if an error is
...
returned. Otherwise after sending a packet, select() may return
immediately (if there's an error of some sort) and traceroute
solders on, sending more packets with no delay in between. This is
effectively a small flood attack.
1999-02-16 20:47:24 +00:00
hubertf
36f9d7790a
RCS ID police
1999-02-15 04:03:03 +00:00
hubertf
fe10e41ef3
fix RCS ID
1999-02-15 04:00:14 +00:00
hubertf
57d0b9269d
RCSID police
1999-02-15 03:59:13 +00:00
lukem
61fbe967cf
fix make MKSHARE=no by not protecting MAN=... with MKSHARE != no.
...
(noted by mjl@netbsd.org )
1999-02-14 00:46:35 +00:00
thorpej
db3ee29b72
Fix a logic error which would have caused a NULL pointer dereference
...
if the client's IP address wasn't found on the interface's network.
1999-02-13 19:58:29 +00:00
hubertf
e4f74ec4d3
there is no ftplib.3
1999-02-13 17:46:20 +00:00
carrel
8f967beb1b
include bsd.own.mk _before_ using MKSHARE
1999-02-13 07:35:52 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
kleink
b75d68301e
<sys/fcntl.h> -> <fcntl.h>
1999-02-12 15:04:00 +00:00
lukem
4ee8c8fdad
it's unlikely that 1.4 will ship with support for db backends for
...
services, and if it does, the work this was going to do could be done
with awk | makedbm ...
1999-02-12 04:24:49 +00:00
cjs
6831000ea5
Don't include bsd.obj.mk here; you can't include it without first
...
including bsd.own.mk.
1999-02-12 03:01:56 +00:00
mrg
f2aaba6db6
- add -m and -i to change file flags more usefully.
...
- fix bugs in fileflags checking
all of the above from dr. lex wennmacher <wennmach@geo.Uni-Koeln.DE>
with some error fixes from egcs via myself.
1999-02-11 15:32:23 +00:00
abs
9e3a099478
How I managed to generate bizarre sap packets is one thing, but they did
...
show up a case where tcpdump tries to access pass the end of a packet.
1999-02-11 07:52:14 +00:00
thorpej
bf316e0bb0
Make sure SIGTERM is blocked in the SIGHUP handler and vice versa.
1999-02-10 03:00:06 +00:00
mjl
99d17e2ca4
Mention -v in usage. Fixes PR 6262 by Erik Bertelsen.
1999-02-08 22:32:58 +00:00
lukem
cb2392ad04
services_mkdb; generate db file from services(5) to increase speed of getserv*()
1999-02-08 03:57:04 +00:00
lukem
9783f22c35
minor grammar & whitespace fixes
1999-02-08 03:29:43 +00:00
perry
24f0c2220e
enable mailwrapper
1999-02-05 19:25:10 +00:00
perry
52f97825ea
1) Move sendmail to /usr/libexec/sendmail/sendmail from /usr/sbin/sendmail
...
mailwrapper now sits in /usr/sbin/sendmail
2) the symlinks being built here are now built by the mailwrapper
makefile. Comment out the ones here.
1999-02-05 19:22:50 +00:00
perry
8109fa540a
We shouldn't count on the user building sendmail. Update the make
...
file so that it does the symlinking of newaliases and mailq to
/usr/sbin/mailwrapper directly.
1999-02-05 18:23:25 +00:00
thorpej
be28226520
On second thought, don't use atexit(3). Instead, invoke cleanup() directly
...
from catch_sigterm() before calling exit(). This follows the style of
the rest of the code.
1999-02-05 18:17:27 +00:00
perry
536ca3b1a2
update example to new sendmail location
1999-02-05 18:15:59 +00:00
thorpej
3771908e3d
Reinitialize leases on SIGHUP, and release leases and exit on SIGTERM.
1999-02-05 09:13:32 +00:00
thorpej
44e3c78cf9
Make sure the pidfile is gone upon exit.
1999-02-05 08:52:50 +00:00
hubertf
f7367de849
remove extra "."
1999-02-05 03:28:17 +00:00
kleink
2f237db295
Spellink.
1999-02-04 16:34:12 +00:00
augustss
74345454d5
Xref wsconsctl
1999-02-03 21:01:40 +00:00
augustss
ac531566d5
Xref wsconsctl, wsfontload
1999-02-03 20:59:20 +00:00
tron
6f942f16fd
Add RCS Id as suggested by Rob Windsor in PR bin/6931.
1999-02-03 00:19:00 +00:00
thorpej
cd43b55bc4
Fix a typo in an ACTION_APPEND message.
1999-02-02 09:40:46 +00:00
christos
8e2da38978
Remove duplicate definitions caused by the merge.
1999-02-01 19:56:18 +00:00
christos
a2b1d050d6
Resolve corn-flakes.
1999-02-01 19:05:09 +00:00
christos
eab9b56195
Import am-utils-6.0.1s3
1999-02-01 18:45:36 +00:00
bouyer
938264f6ee
If the client doesn't supply a filename, give it back the first one listed
...
for this station instead of an error. This is required for hp700 machines.
1999-02-01 17:00:44 +00:00
hubertf
e22dd1f460
Allow @exec to be the first (non-comment) thing in a PLIST file
...
IF there is no %d/%D/%f/%F in it.
1999-02-01 02:00:42 +00:00
briggs
833414c6d9
Missing ).
1999-01-31 19:12:27 +00:00
mrg
69dfc0e846
KNF nit.
1999-01-31 10:14:02 +00:00
mrg
cdac266703
discard setgid.
1999-01-31 10:12:33 +00:00
mrg
a8f9f46183
ensure C strings are nul terminated, and do not overflow buffers.
1999-01-31 10:06:16 +00:00
thorpej
5df8e38280
Add ELF support for i386 and m68k.
1999-01-29 22:23:36 +00:00
tsarna
c51f63ace5
Clarify the syntax a bit
1999-01-29 19:41:47 +00:00
hubertf
9bb8dc7ef9
Remove the "struct datum" and use DBT directly.
...
Submitted by Alistair Crooks - thanks a lot!
1999-01-29 13:29:34 +00:00
bouyer
659223bfb2
When searching broadcast addresses, skip interface aliases. From
...
Wolfgang Rupprecht in PR bin/6897.
1999-01-29 13:19:17 +00:00
cjs
e6427037cb
Add descriptions of fields in the ipmon output. I considered converting
...
this to mandoc and didn't, but that's not to say we should or shouldn't.
1999-01-29 00:47:55 +00:00
thorpej
876f7929f4
Use ping -n; if we're running a local nameserver, it may try to
...
reverse-resolve the IP address we're given, which will take a while
to time out, since we're still scanning cached leases (i.e. the network
isn't up yet).
1999-01-28 23:09:07 +00:00
thorpej
4731b4c5b0
Use <sys/disklabel_mbr.h> rather than our own home-grown.
1999-01-27 20:44:04 +00:00
hwr
a1e1a2a4ad
gre(4) no longer supports ipip. Track this change ...
1999-01-26 21:32:39 +00:00
hubertf
7c49b89e86
minor comments fixup
1999-01-26 14:47:32 +00:00
hubertf
1c7d06dd18
comment fileFindByPath(), reindent a bit
1999-01-26 14:26:23 +00:00
sommerfe
6df264a8da
Fix pr6874: add way to specify last resort filename
1999-01-25 22:31:45 +00:00
fvdl
4366964358
Do not block SIGTERM, so that nfsd exits gracefully at shutdown.
1999-01-25 10:12:33 +00:00
ross
9f0dbe1852
Keep the example strings on one line.
1999-01-24 06:27:06 +00:00
hwr
729bc0fae0
The ioctls have been issued on the wrong socket, so they failed with a
...
EINVAL. This has been confirmed by Bill Fenner. The wrong socket led to
masses of syslog entries on hosts connected to the mbone and cache entries
deleted to early.
XXX As the socket need to be the one that is ip_mrouter in netinet/ip_mroute.c,
XXX the kernel could be modified to always return the data for ip_mrouter.
XXX Bill Fenner suggests to upgrade to 3.9.beta-3 with -DIOCTL_OK_ON_RAW_SOCKET
1999-01-23 22:44:43 +00:00
thorpej
56a0200695
Fix some debugging printf formats.
1999-01-23 01:08:55 +00:00
thorpej
dd2ecab580
Use syslog(3) to log debugging info, and only if we're compiled with
...
-DDEBUG.
1999-01-22 02:38:05 +00:00
thorpej
002a1e7cb7
Remove old access control list definitions, and remove the home-grown
...
logging code.
1999-01-22 02:37:00 +00:00
thorpej
c87c1f135c
Throw out the old ypserv access control list code. Instead, use libwrap
...
for access control. Add a -l option, to enable logging of all requests.
Also, just use syslog(3) for all logging, not home-grown logging code.
1999-01-22 02:36:12 +00:00
pk
74098ab84e
Lennart Augustsson's multi-valued locator code.
1999-01-21 13:10:08 +00:00
drochner
d884fbb6b7
fix logging without libwrap: introduce a syslog facility/severity
...
variable independantly of the LIBWRAP definition
1999-01-20 14:12:18 +00:00
mycroft
e37d13ec69
Revert previous.
1999-01-20 09:24:06 +00:00
mycroft
24285e691d
Make all listening sockets non-blocking.
1999-01-20 04:42:17 +00:00
tron
17aa73b995
Include "disktab.h" to get prototype for getdiskbyname().
1999-01-19 22:33:04 +00:00
tron
257673aaae
Include "disktab.h" to get prototype for getdiskbyname().
1999-01-19 22:23:36 +00:00
hubertf
f9e71e406c
Add code for pkgdb.
1999-01-19 17:01:56 +00:00
cgd
c014ce1d6e
Don't use the RCS 'Name' keyword, it makes doing release builds more
...
annoying for no good reason. Since a version seems to be desired,
define an OS_VERSION string in the Makefile and use it in the code.
1999-01-19 07:05:59 +00:00
lukem
c6e56aa78a
don't bother with nsdispatch(); just link in the relevant bits of
...
libc's gethostby*() and getnetby*() directly (with -UYP).
1999-01-19 03:53:27 +00:00
lukem
67ae78f9e1
fix error message
1999-01-18 23:42:38 +00:00
drochner
e755eb28ce
fix the use of the libwrap methods:
...
-fromhost() doesn't work because the file descriptor isn't available
at this point, see PR bin/6813
-it needs some initialization for libwrap to grok the IP address and/or
host names in its rule files (see PR bin/6831 by Andreas Wrede
<andreas@planix.com>, the fix is different)
Needless to say that libwrap's interface sucks.
1999-01-18 19:47:36 +00:00
christos
ee880a75bf
PR/6835: Greg A. Woods: Various problems with tcpdchk
...
- fakelog.c contains extra va_arg
- fix netgroup const problem and remove WARNS flag from Makefile
- use CFLAGS from libwrap
1999-01-18 18:01:26 +00:00
eeh
3efdc5b597
This is also useful for sparc64.
1999-01-17 20:02:29 +00:00
lukem
ab8486e250
* don't print out entries that couldn't be parsed
...
* don't look for comments; fparseln strips them
1999-01-17 07:01:26 +00:00
lukem
bb490684f2
don't bother looking for comments; fparseln() removes them
1999-01-17 06:56:51 +00:00
lukem
5921d0348f
convert from tweaking _res.lookups[] to calling nsdispatch(3) directly
...
for gethostby{name,addr}() (without methods for the yp lookups).
ypserv will now match names for the `hosts:' entry (ignoring `nis' if
specified).
1999-01-17 06:54:14 +00:00
eeh
861fc18871
We need to support both elf32 and elf64 for sparc64.
1999-01-17 01:42:07 +00:00
hannken
c2ed19ee97
Fix is_loopback() to return 1 for a loopback addr as intended.
1999-01-16 20:59:05 +00:00
lukem
8a91b811dc
s/resolver(5)/resolv.conf(5)/
1999-01-16 11:06:49 +00:00
bouyer
3e3f9c7795
#include machine/bswap.h and remove -lutil.
1999-01-15 13:32:05 +00:00
augustss
d7a044aeec
Add -m option to display minutes left. From dbj@netbsd.org
1999-01-15 00:29:02 +00:00
he
8344625106
Apply patches for mtrace in bin/5598 by yours truly.
...
This adds decoding of more error and result codes when tracing through
cisco routers running PIM and/or MBGP.
1999-01-14 21:54:10 +00:00
drochner
4ce0dc1c12
enable wsconscfg + wsfontload
1999-01-13 19:43:41 +00:00
garbled
04739cc2af
Back out previous removal of BUGS section.
1999-01-13 19:17:14 +00:00
drochner
536eedcc4b
utility to download fonts to s wscons display device, currently only
...
useful for VGA
1999-01-13 19:02:34 +00:00
drochner
b43055f3fc
add a tool to add/delete virtual screens at runtime
1999-01-13 17:15:44 +00:00
mjacob
b81c39082c
recover from errno.h changes- how tiresome
1999-01-13 01:01:26 +00:00
garbled
1c8910db02
Inform users of the kernel options necc. to run these programs, and
...
point them to options(4) for more details. Also point out that ipf
is necc. for ipnat to function. Oh, and convert ipnat.8 to mandoc
while I was in here... was easier to convert it then rewrite my stuff
after I noticed..
Closes PR# 4813 by Jeff Thieleke
1999-01-12 18:41:07 +00:00
christos
f3fc048278
iPr/6121: Mycroft, diagnostics messages were not helpful.
1999-01-12 15:11:53 +00:00
garbled
1afdca9280
Remove bugs section and blackhole email address per PR# 5247.
1999-01-12 06:53:09 +00:00
kleink
3ed4fcf61e
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
...
of errno.
1999-01-11 22:39:59 +00:00
jwise
2badef4d79
Add four big changes:
...
* portmap is now tcp-wrapped (i.e. obeys hosts.{allow,deny})
both for lookups (as `portmap') and for forwarded calls to
specific services.
* the new -l flag, analagous to inetd -l, logs all connections
to portmap.
* the new -s flag causes portmap to suid to the user daemon
after binding it's port, so that outgoing connections do
not come from privileged ports. This prevents users from
using portmap to get a free privileged port.
* portmap now _only_ accepts SETs and UNSETs on the loopback
interface. In the past, anyone in the world could do all
sorts of nasty things to your portmap tables. Note that
our libc already_only_ uses the loopback interface to
register rpc ports.
This work is modeled after/partially taken from Wietse Venema's tcp-
wrapped version of the BSD 4.3 portmap. It has benefitted greatly from my
discussions with Luke, Matt and many others.
1999-01-11 20:51:09 +00:00
bouyer
c8c04d5b9e
Properly define ufs_args_t and HAVE_FIELD_UFS_ARGS_T_FSPEC, so that automount
...
of FFS filesystems works.
1999-01-11 15:57:49 +00:00
tron
4c07384685
Avoid problems when trying to link BIND 8 statically, fixes PR bin/6717
...
by gnatios Souvatzis.
1999-01-04 00:04:04 +00:00
tron
81714a52c8
Patches supplied by Greg A. Woods in PR bin/6626 to make "pkg_info"
...
recognize the width of the current terminal.
1998-12-31 00:04:07 +00:00
mcr
63d650cccb
HTML documentation files for XNTP, installed in /usr/share/doc/xntp
1998-12-30 20:19:29 +00:00
augustss
0a52ae7e58
Update for the ioctl(USB_DEVICEINFO) API change.
1998-12-29 15:29:41 +00:00
perry
180c29c35d
Add the "mailwrapper" program, which is designed to act as a switch
...
permitting users to choose between sendmail and other mail systems with a
simple configuration file change. Not yet turned on -- this is being
committed so people can beat on it.
1998-12-25 22:06:58 +00:00
christos
62871103f9
Appease gcc-2.8.1, make printf formats more portable.
1998-12-19 15:38:45 +00:00
christos
ac20cbee1c
PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically
...
when the is a battery low event.
1998-12-19 15:27:58 +00:00
sommerfe
4b41ddc197
Double-check tcp/udp checksum if we get enough data to do it.
1998-12-18 20:28:54 +00:00
thorpej
cdee73fd5b
Add support for WSCONS, and default to it. If the platform also has
...
Sun-style fbio, add support for determining this at run-time and switching
to that mode.
1998-12-18 01:15:43 +00:00
perry
3c8d14096b
Change hard links for newaliases and mailq into symlinks, to make it
...
easier to integrate alternative mailers.
1998-12-16 00:48:22 +00:00
tron
5b7db9e865
Remove "named-bootconf" while doing "make clean".
1998-12-15 01:06:04 +00:00
tron
572fc80939
* use better method to write comments to the correct location
...
* always create an "option" section because "named" will complain
otherwise
* don't check if directory exists while converting a "directory"
statement because we might do it on another machine
1998-12-15 01:00:53 +00:00
lukem
2cc5fd4000
* add support for /CHAOS and /HS suffixes to primary & secondary
...
directives, and add appropriate directives to the zone {} blocks
* change comment delimiter from '//' to '#' (which is more intuitive
for unix config files)
* KNF formatting (single space indenting is hard to read)
1998-12-14 15:39:12 +00:00
tron
8c2d809b71
Use a little bit of magic suggested by Ken Hornstein to find an
...
appropriate source address for the UDP packets. Fixes PR bin/4427
by Luke Mewburn.
1998-12-09 22:53:29 +00:00
christos
c9f7267c6b
Print a clear error message when the reason for not being able to create
...
the password lock is other than EEXIST.
1998-12-09 12:40:15 +00:00
mrg
fdca644f9d
- fix typo in a comment
...
- use the last connection RMPCONN cache correctly, and do not leak
memory for each connection.
1998-12-09 03:41:42 +00:00
augustss
1b498d2b39
Slight code rearrangement.
1998-12-09 00:57:19 +00:00
jwise
2e6cacfae6
Add an `md5' keyword to mtree, which takes as an argument the MD5 cryptographic
...
checksum of the file in question, optionally preceeded by `0x'.
This has been tested, and does work, AFAICT. There is currently no md5 equivalent
of the '-s' flag for use with checksum.
1998-12-06 19:07:53 +00:00
jonathan
92fda0ceb3
Define NLIST_ELF32 for mips native format. Also NLIST_ECOFF (pmax, arc PROMs)
...
NLIST_AOUT (old pmax bootblocks).
1998-12-05 07:30:38 +00:00
itohy
6b676a3cca
getcwd() is not equivalent of getwd() if you want to print an error message.
1998-12-05 03:29:25 +00:00
abs
05c432cdd9
From OpenBSD: ignore requests with bogus network types
...
Also fix 'from from' -> 'from'
1998-12-04 18:24:16 +00:00
thorpej
6b7fe574f7
Use getcwd(3) instead of getwd(3).
1998-12-03 23:33:10 +00:00
fair
2fc486ea01
This seemingly trivial (and computationally pointless) change shuts up
...
GCC 2.7.2.2 about "loff" being uninitialized on line 142 on m68k.
1998-12-03 11:20:50 +00:00
msaitoh
c4cc4294b5
swap arguments of kill (from am-utils-6.0b2s3)
1998-12-01 12:03:16 +00:00
thorpej
e8153d28ba
Even though they're u_quad_t's, GCC expects unsigned long long if using
...
%qu, and u_quad_t's are unsigned longs on LP64 platforms. So, cast them.
1998-11-29 23:51:44 +00:00
sakamoto
6cd8c4c69f
Define NLIST_ELF32 on PowerPC.
1998-11-26 08:11:33 +00:00
augustss
9726cfd1fb
Make the copyright header conform to the NetBSD template.
1998-11-25 22:17:06 +00:00
ross
efccda2e04
Needs <string.h>
1998-11-24 06:06:31 +00:00
ross
096af13560
Needs an LP64 fix plus a <string.h>
1998-11-24 06:06:10 +00:00
ross
a19fc46ab9
Needs <string.h>
1998-11-24 06:05:34 +00:00
ross
0cb059b1db
Incorrect void * casts on ns_panic() calls...LP64 warnings...kill kill kill
1998-11-24 06:05:07 +00:00
ross
40ed59e2df
Needs <string.h>
1998-11-24 06:00:30 +00:00
msaitoh
89dc16d4dc
fix a roff bug
1998-11-22 23:30:29 +00:00
hubertf
9854172140
Remove extra : printed for @cwd,
...
per PR 6481 by Jim Bernard <jbernard@ox.mines.edu>
1998-11-22 16:22:41 +00:00
mrg
78db9d7d95
merge ipf 3.2.10
1998-11-22 15:17:18 +00:00
mrg
5af5d89cf3
ip filter version 3.2.10
1998-11-22 14:21:44 +00:00
kml
fa0f88251d
Tweaks to document and support HIPPI-FP driver
1998-11-20 17:23:27 +00:00