Commit Graph

2763 Commits

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