itojun
7201a8f4cd
sync with recent KAME. give a better debugging information.
1999-12-10 05:47:51 +00:00
itojun
6baefd92e4
sync with recent KAME.
...
- more length overflow check for ip6 related parsing
- protocol decode fixes
- add dhcp6 parser
XXX how should we maintain usr.sbin/tcpdump for years to come?
relationship with www.tcpdump.org codebase?
1999-12-10 05:45:07 +00:00
itojun
d81f686e11
typo fixes.
1999-12-10 01:09:06 +00:00
itojun
4265f28e51
sync with latest KAME. cleanup on interface type determination.
1999-12-09 15:34:19 +00:00
itojun
119ee78fd0
sync with latest KAME tree. manpage improvements.
1999-12-09 15:30:43 +00:00
itojun
9e8f1055f6
sync with latest KAME. nuke use of ss_{len,family}.
...
CVsA: ----------------------------------------------------------------------
1999-12-09 15:20:02 +00:00
itojun
d9a742bd0d
improve debugging functionality.
...
(sync with latest KAME)
1999-12-09 15:08:33 +00:00
msaitoh
01dc593408
fix the table of the STATE field of "pstat -t"
1999-12-08 22:01:53 +00:00
lukem
8c1445f5dc
* cleanup the usage messages:
...
- put `usage' at the start of each message
- put a space between the option and arg in [-x foo]
* fix command parsing for when a two word command is invoked without
args or with an invalid second arg so that a more appropriate error
message is printed.
1999-12-08 21:45:54 +00:00
hubertf
73332d1d4c
Make MKDIR just be /bin/mkdir, without -p
1999-12-08 18:22:54 +00:00
hubertf
f925a43bdf
- Only use strlcpy() on systems that have it, i.e. >=1.4K. This makes
...
this working again on 1.4 systems.
- Revert last change to argument passing which broke "user del",
"user mod", ...
1999-12-08 18:12:16 +00:00
soren
5220b33459
Add user(8).
1999-12-08 09:19:04 +00:00
itojun
6ac6bbb103
sync with more recent KAME.
1999-12-08 04:54:15 +00:00
itojun
92732ebc68
netbsd rcsid fix.
1999-12-08 04:51:04 +00:00
itojun
9f2f48b6ef
fix pathname to /etc/rtadvd.conf.
...
NetBSD PR: 8966
1999-12-08 02:31:26 +00:00
soren
6cc6a03447
Add adduser(8) for compatibility.
1999-12-08 00:01:36 +00:00
soren
e7d9a82c6f
'If it comes from a client that already knows its address and is not
...
requesting a broadcast response, and we can unicast to a client without
using the ARP protocol, sent it directly to that client.'
Make some ARCS firmware happy.
Many thanks to Ted Lemon for debugging this.
1999-12-07 23:23:16 +00:00
wennmach
914178b225
code.c is no longer used, we use strsvis instead. Removed prototypes
...
from extern.h
1999-12-07 18:42:06 +00:00
mrg
5b6d0e7e39
- add timeouts to displayq(), rmremote(), sendfile() and response(),
...
and use these timeout in the lpq, lpd and lprm programs.
these stop hung remote printers that accept tcp connections but do
not process jobs from hanging the whole system and letting the sysadmin
have a clue about what is going on with this rogue printer.
- add a -r flag to lpd to allow `of' filters for remote jobs.
i know there are ways around this, but i just don't care.
- add a -f flag to lpf to add missing carriage returns.
useful when printing UNIX files to an, eg, LaserWriter that wants CR's
as well as LF's in raw text. stair-stepped text is no fun.
- implement child process accounting: we just have a limit on the number
of children we can have (settable by the sysadmin), and we sleep when
this number is reached. this can reduce malicious not-so-malicious
attacks on the print server by a rogue remote client..
- use setproctitle() where appropriate so the sysadmin has a clue about
what each of the lpd's here are doing.
this was useful to help diagnose a problem (that the above child process
accounting change reduces the lossages of) where a rogue client was
attempting "lpq" operations on one stuck queue in rapid succession,
causing the lpd server to be extremely slow, due to the large number
of lpd processes running.
i have been running these changes in production for about a year.
1999-12-07 14:54:44 +00:00
ad
8ad73e9274
RCSID police.
1999-12-07 11:30:27 +00:00
lukem
bbd13d34a8
* don't dump core if run without args
...
* use strlcpy() instead of homegrown strnncpy()
* sort #includes
1999-12-07 10:42:12 +00:00
lukem
02bc52bd3e
remove unused STRNCPY macro
1999-12-07 10:37:57 +00:00
lukem
dda92ed7f3
missing ,
1999-12-07 10:25:33 +00:00
lukem
c7a4f3b509
use (c) instead of 8bit copyright symbol...
1999-12-07 10:14:01 +00:00
simonb
837589f349
Fix up a few calls to usage().
1999-12-06 23:11:27 +00:00
simonb
e919f8db3f
Use FILES= to install example files instead of home-grown install rule.
...
Fix DPADD usage.
1999-12-06 22:52:18 +00:00
simonb
d193cbd060
Make this compile with WARNS=1.
1999-12-06 22:50:46 +00:00
simonb
faba922c92
Make ./etc/skel and ./usr/share/examples/usermgmt with mtree, and don't
...
create the directory in the user(8) Makefile.
1999-12-06 22:44:47 +00:00
simonb
a4bb8cea12
Make this compile with WARNS=1.
1999-12-06 22:29:02 +00:00
simonb
7506323401
Use LINKS+= not LINKS=.
1999-12-06 22:28:12 +00:00
agc
7beb00d627
Fix typos.
1999-12-06 21:39:20 +00:00
agc
af1b2fe493
Add SVR4/Solaris-like useradd/usermod/userdel functionality, and
...
groupadd/groupmod/groupdel functionality, along with two front-end
utilities, user(8) and group(8).
Based on the addnerd package, but most of the interface has been
completely rewritten, and suggestions from simonb and mrg have been
incorporated.
1999-12-06 21:31:42 +00:00
itojun
4ba0077ac0
be more friendly with non-IPv6 kernel.
1999-12-06 01:26:26 +00:00
jdolecek
5986e9b6ee
main(): g/c variable errs accidentaly introduced in last commit, rename
...
'i' to 'opt'
1999-12-05 22:22:05 +00:00
jdolecek
0e29a42af3
Change the formatting of output so that entries with host:user longer than
...
24 characters would be displayed correctly.
Fixes bin/8880 by Brian Stark <bstark@uswest.net>.
While here, convert code to use getopt(3) and do some const poisoning.
Also g/c variables uid and euid, they are no longer needed after
the split of ../common_source/common.c
1999-12-05 22:18:40 +00:00
jdolecek
b86257129c
put fatal() and a some of variables used independantly of other functions
...
in common.c into separate files - this slighly cuts down size of pac(1)
not that it's really significant, but every bit counts ....
1999-12-05 22:10:57 +00:00
itojun
9d1c5f0b5c
IPv6 support in syslogd. actually we need library update as well.
...
NetBSD PR #8934 from Feico Dillema <dillema@acm.org> (with memory leak fix).
1999-12-02 16:17:29 +00:00
wennmach
e1bf4e526c
Use strunvis instead of homebrewed "decode" routine
1999-12-01 22:14:46 +00:00
wennmach
dff19e227b
Now that we have strsvis, use it.
1999-12-01 22:12:52 +00:00
hubertf
d11f27480e
Not without my handbag. (Forgot this in last commit)
1999-12-01 15:15:29 +00:00
hubertf
402f80b9da
- Comment code
...
- Minor re-indenting
- Fix printing of @ignore in pkg_info (did this ever work?)
- Fix installing of local wildcard dependencies (unused in main system)
- Fix deleting of packages that depend on wildcard dependencies
(fexist() is not enough there :-)
1999-12-01 14:51:50 +00:00
hubertf
28f1032831
Document the current round of the game. :-)
1999-12-01 05:08:34 +00:00
hubertf
2b494f847d
Don't be verbose unnecessarily. (Instead, just remove this stale debug
...
code)
1999-12-01 05:08:10 +00:00
sommerfeld
772dc3bc64
nope, those are unsigned long longs; correct accordingly..
1999-12-01 03:40:51 +00:00
sommerfeld
71b188db88
Render LL128-safe (fixing printf formats)
1999-11-30 21:13:46 +00:00
veego
5ceefc298e
Backout the last change.
1999-11-30 20:34:51 +00:00
veego
626fb4bb79
ndc is now a binary so we don't need the 'exec' anymore.
1999-11-30 20:18:11 +00:00
sommerfeld
3e6c42c11a
Bugfix: deal with ${CC} containing spaces.
1999-11-30 18:28:16 +00:00
ad
73f0c424f5
- Fix location of RCS Id string.
...
- It's now syslogd.pid, not syslog.pid.
1999-11-30 12:08:49 +00:00
hubertf
ecf89794f5
Put support for @src back in.
...
For users who use private packages that use it. (Hi Bill!)
1999-11-29 20:09:54 +00:00
hubertf
406791739c
Add code to include the size of a package into both the
...
installed version and binary packages. The size can be queried then
via pkg_info:
xfeyrer @ noon% pkg_info -s xv
Information for xv-3.10apl1:
Size of this package in bytes: 4670692
xfeyrer @ noon% pkg_info -S xv
Information for xv-3.10apl1:
Size in bytes including required pkgs: 14610165
While doing work on the size code, support for the @src directive was
removed (formerly enabled with the pkg_create -s switch, but unused in
our pkg system). The new pkg_info -s and -S switches were tested on
installed, local (file) and remote (ftp) packages.
In bsd.pkg.mk, take special care for pkg_* versions that do not have
the pkg_create -s and -S switches and do not record size information
there.
1999-11-29 19:48:44 +00:00
itojun
879146211f
align stat results better.
1999-11-29 13:53:00 +00:00
itojun
0641b08184
add cnwctl(8), a control program for cnw interface.
...
from bsdi/freebsd-pao cnwctl(8).
1999-11-29 12:55:06 +00:00
itojun
876c4c29f7
cnw driver controller, from FreeBSD/PAO2 repository
1999-11-29 12:32:17 +00:00
veego
9f3c20bc0f
Use the libc md5 function.
1999-11-28 17:39:06 +00:00
veego
5e5665ea10
Remove commented lines which are not used here.
1999-11-28 17:02:27 +00:00
veego
ff8362d781
Install named.conf again into /usr/share/examples/named.
...
Somehow it vanished when I updated the bind version.
1999-11-28 16:58:16 +00:00
lukem
683d885daf
more gracefully detect _NG_ERROR
1999-11-28 04:40:21 +00:00
mrg
6663793e96
add some debug messages.
1999-11-27 14:51:49 +00:00
simonb
da434805dc
Remove update(8) now that we have trickle-sync.
1999-11-25 01:20:27 +00:00
itojun
ad663a8d32
refrain using non-standard .Sh. use .Ss.
1999-11-21 17:28:23 +00:00
veego
f038a8aeeb
Add the missing all-named-xfer all-ndc: all-named target.
1999-11-21 16:55:23 +00:00
itojun
395f032639
s/make/${MAKE}/
1999-11-21 16:46:33 +00:00
itojun
b7a7f5becf
use print-objdir instead.
...
Suggested by: tsubai
1999-11-21 16:39:54 +00:00
itojun
5d6d47c96c
fix compilation of named-xfer and ndc, when you do "make obj" (including
...
"make build" from the top).
XXX
if you do "make obj", you have to reference:
bind/named/obj/pathnames.h
from either of them by using relative path:
${.OBJDIR} = bind/named-xfer/obj or
${.CURDIR} = bind/named-xfer
-I${.OBJDIR}/../named was included but is not the correct one.
I used -I${.CURDIR}/../named/obj, but I'm not sure if it is the right way.
1999-11-21 16:26:03 +00:00
veego
b4f26a2c2c
Ups, remove the LDSTATIC which was only there for tests.
1999-11-20 20:42:39 +00:00
veego
3c25783fec
Use the bind source from basesrc/dist/bind.
1999-11-20 19:47:10 +00:00
abs
3214d69367
Our db btree(3) implementation is tuned for ordered insertion, so pipe
...
through sort before makedbm.
This drops Erik Rungi's <rungus@openface.ca> passwd.byname generation for
3000 entries from 25-30 seconds down to 0.75 seconds.
1999-11-19 16:55:25 +00:00
bouyer
689cdcf64b
Adapt printf formats for 64bit counters.
1999-11-19 10:45:23 +00:00
mrg
b016d0483c
fix MKSHARE=no
1999-11-19 04:20:14 +00:00
enami
82d7115cf2
Don't pass so many args to .Nd macro. It just overflows.
1999-11-19 01:12:39 +00:00
kristerw
2220c68654
Typos (from OpenBSD)
1999-11-18 19:02:31 +00:00
enami
2ca792df74
- Sync mount options and vnode flags with reality.
...
- Use i_e2fs_rdev.
- Print per filesystem data only if an inode is associated to the vnode.
1999-11-18 08:34:38 +00:00
enami
041d1aa9b5
Cosmetic changes; fix indentation and usage of white spaces.
1999-11-18 08:27:39 +00:00
enami
c1fd241001
The field to print vnode tag isn't necessary so wide.
1999-11-18 03:08:38 +00:00
fredb
60fae50bc1
Don't preserve uids or permissions of checked out files (MTREE, DEINSTALL,
...
INSTALL) into package tarballs. Files installed by the package itself are
not affected.
1999-11-18 02:05:16 +00:00
jonathan
436062d739
Update to 4.0.98f. fix last remaining references to xntp.
1999-11-16 03:53:21 +00:00
mjl
f214fa323a
From FreeBSD bin/14844 (slightly modified): Due to signed calculations
...
with the packet size, a short packet would trigger an infinite loop
on little endian machines.
1999-11-15 15:59:24 +00:00
mjl
2c3c567c94
From FreeBSD misc/14850: When communicating with a BOOTP server,
...
dhclient would fail to configure the interface and crash. Added check
for lease time option present before using that value.
1999-11-15 15:50:16 +00:00
sommerfeld
3fc2334c5d
After some light testing, it worked for me, so...
...
Commit mrg's fix from pr8791: don't un-export filesystems which are just going
to be re-exported; instead, do additions, then deletions.
1999-11-14 14:37:16 +00:00
wennmach
5677540edf
Add __RCSID()
1999-11-12 14:42:35 +00:00
abs
9c1ad975e8
Check return value from realpath() to avoid a NULL pointer being passed to
...
alloc_lpkg(). Avoids coredump if current directory is invalid.
1999-11-10 18:51:47 +00:00
drochner
b12f1e565f
print a nicer error message if a screen is already configured
1999-11-10 16:34:58 +00:00
wennmach
7b5b69d3cb
Add RCS tag
1999-11-09 22:41:53 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
drochner
68062ca8dc
prototype encode()/decode()
1999-11-09 10:16:55 +00:00
wennmach
7db0eb0492
Encode file names using strvis(3) when creating a specification.
...
Escape white space characters and `#' characters. Do the inverse
when reading specs.
This is a temporary fix until we have strzouvis(3) (or some such)
which is an improved version of strvis (taking an additional list
of characters to encode).
Fixes PR 5006 and PR 7663
1999-11-07 20:23:01 +00:00
erh
6752f572d8
Remove ELFNAME defines since they are defined in sys/exec_elf.h
1999-11-04 02:00:17 +00:00
hwr
e00fb667a6
Change bogus section headers. From PR 8735.
1999-11-03 21:44:37 +00:00
lukem
1e0635835d
fix title. noted by Danny Thomas <D.Thomas@cmcb.uq.edu.au> in [bin/8734]
1999-11-02 10:30:38 +00:00
veego
09d42ef262
Use BIN{OWN,GRP,MODE} to create the directory and not DOC{OWN,GRP,MODE}.
1999-10-31 22:46:17 +00:00
is
6f86d72282
Document the callback option, in a way similar to what John A. Maier
...
suggested in PR 8550.
1999-10-28 09:41:56 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
veego
10a4c3c374
Updated to the new NetBSD source layout with basesrc and syssrc.
...
Apply the MKMAN and MKSHARE changes which someone changed in the Makefiles
but did not apply them here.
Add the mediaone example.
Changes for the new ipfilter version 3.3.3.
1999-10-24 19:56:31 +00:00
msaitoh
dac65e51e9
skip check if the output database file name != "/var/db/kvm.db"
1999-10-23 04:02:09 +00:00
hannken
5fb16f4d15
Undo last change. While these macros are defined in exec_elf.h, they are
...
enclosed by `#ifdef _KERNEL'.
1999-10-22 10:58:00 +00:00
erh
59b90d4a0e
Remove ELFNAME macros which are already defines in exec_elf.h
1999-10-21 21:17:08 +00:00
jonathan
44249bfade
*** empty log message ***
1999-10-21 02:46:21 +00:00
erh
c98f493f90
Fix arguments to printf string. Was causing a crash on out of range mtu settings.
1999-10-14 18:29:02 +00:00
jdolecek
1374533c20
document ddb.fromconsole & DBCTL_FROMCONSOLE, description taken from options(4)
1999-10-14 09:33:51 +00:00
jonathan
88beeca68b
Perl script to aid importers of ntp-4.x (replaces xntp)
1999-10-13 22:18:53 +00:00
sjg
872404ddf2
avoid warnings from gcc about x possibly being uninitialized
1999-10-11 12:40:12 +00:00
sjg
6c501163d3
missing P in \fP
1999-10-11 12:37:43 +00:00
mrg
f01ad921fa
notice "dty" as well as "tty".
1999-10-11 11:44:59 +00:00
mrg
7ca673b24b
add a (long) cast to previous fix like the other arguments.
1999-10-10 00:15:27 +00:00
hubertf
4fa18183d7
Install example dhcpd.conf into /usr/share/examples/dhcp
1999-10-09 15:33:36 +00:00
msaitoh
0fcbe067c6
s/ the the / the /
1999-10-08 20:13:42 +00:00
msaitoh
e73ef7c8bf
s/ a a / a /
1999-10-08 19:55:43 +00:00
ad
d3f47cfba9
A colon is the preferred way to split a user and group name pair; make this
...
possible and depreciate the use of dot.
1999-10-06 21:54:10 +00:00
ad
29836f5681
When reporting on group quotas, don't label the first column with "User".
1999-10-06 12:17:31 +00:00
mycroft
c960d1da4a
Adjust this to work on the Alpha.
1999-10-06 07:20:20 +00:00
is
a7c7586cf6
First part of ARCnet support.
...
Matching for anything won't work (as we need to teach the stuff about
variable length link level headers), but printing is fine.
1999-10-05 20:37:21 +00:00
mycroft
357cd6197f
Make this work on file systems larger than 2GB.
1999-10-05 03:14:28 +00:00
proff
e09818f9fd
Apply Force (-f) recursively
1999-10-04 17:16:59 +00:00
soren
bcc362ca92
Account for widening of the v_usecount member in struct vnode.
1999-10-01 23:11:24 +00:00
sjg
dbb9ca2738
Add printing of TELNET options (with -v) and hex/ascii (-X).
...
Thanks to Alan Barrett for the simpler hexdump code and testing.
Tested on -current and 1.4.1.
1999-09-30 14:49:12 +00:00
soren
30d18a154c
Remove extraneous colons and newlines from perror(3) arguments.
1999-09-30 12:35:52 +00:00
bouyer
1679d2b98e
Add handling of the proc hierarchy. Document it, as well as kern.defcorename.
1999-09-28 14:48:48 +00:00
kleink
3e833f70b4
Need <sys/param.h> for MAXHOSTNAMELEN.
1999-09-26 10:40:32 +00:00
mrg
23b9fac082
delint and other cleanups.
1999-09-26 10:32:27 +00:00
kleink
99c164dd65
Need <sys/param.h> for MAXHOSTNAMELEN.
1999-09-26 10:27:40 +00:00
msaitoh
c67cb58b47
add "-o database" option to specify alternate database file path.
1999-09-24 20:08:08 +00:00
hubertf
1f6247c83d
Add some sanity checks on what pkgdb_retrieve() returns.
...
Noted by D'Arcy J.M. Cain <darcy@druid.druid.net> on current-users.
1999-09-24 14:39:44 +00:00
enami
8e1cda20c6
Fix the path of ioconf.incl.$MACHINE using sourcepath(). This is part
...
of PR#8369. Also, make sure that the file pointer ifp is always closed.
1999-09-24 04:48:37 +00:00
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