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