Commit Graph

100 Commits

Author SHA1 Message Date
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 7bd6fd354d unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
wiz fe6e776886 Misc typo fixes from Adrian Mrva. 2002-12-21 13:28:25 +00:00
wiz bc4d201af4 finished with two is, from Adrian Mrva. 2002-12-21 12:28:59 +00:00
wiz 0e4ac4f3e5 incorporated with two os, from Adrian Mrva. 2002-12-21 12:28:14 +00:00
itojun 729df1257b sync with bind 8.3.4. 2002-11-17 14:09:52 +00:00
itojun 90a2edbc75 apply http://www.isc.org/products/BIND/patches/bind833.diff to fix recent
vulnerabilities:

* BIND: Remote Execution of Code (BIND 4 & 8)
* BIND: Multiple Denial of Service (BIND 8 only)
2002-11-14 02:04:27 +00:00
itojun 73c2dd3286 fix dig -x ip6addr. PR 18193. 2002-09-06 04:50:02 +00:00
itojun 59c47fdbd5 resolver(5) -> resolv.conf(5). PR 17691 2002-07-23 22:43:08 +00:00
jdolecek 580acd6b37 Fix bug introduced in previous rev 1.5 - the for() body in decode_bitstring()
needs to be wrapped with curly braces.
Pointed out by Greg A. Woods in bin/17525.
2002-07-10 19:30:14 +00:00
itojun 44f496c00a sync with audit result from kame.
- sprintf() can return negative value on error, so p += sprintf(p, blah)
  is unsafe
- signed/unsigned mixup
- wrong assumption: sizeof(time_t) <= sizeof(int)
- need to init errno to 0 before strtoul()
2002-07-04 23:30:39 +00:00
itojun b5c8e03553 no need to care about crypto portion on import - license is
not compatible with netbsd.
2002-07-04 22:46:04 +00:00
itojun 7b2c9d8551 be consistent with libc getaddr/nameinfo. 2002-06-28 06:40:51 +00:00
itojun 9421d2b57a patch from pkgsrc - initialize *res to NULL 2002-06-28 06:21:29 +00:00
itojun 2adbce1610 kill one more use of tandem variable. 2002-06-28 06:20:55 +00:00
itojun 2200386ee7 sync with 8.3.3. 2002-06-28 06:11:47 +00:00
itojun e2ab8bb835 BIND 8.3.3. fixes buffer overrun in resolver code. 2002-06-28 05:59:12 +00:00
itojun 70cb50a3c5 typo (unneeded whitespace) 2002-06-20 12:14:08 +00:00
itojun 65ef1d4426 correct conflicts.
sync document with reality (dig/host/nslookup now does IPv6 transport!)
2002-06-20 12:01:49 +00:00
itojun ce924b0f55 sync with 8.3.2. 99% of conflicts were due to $NetBSD$ tag. 2002-06-20 11:42:53 +00:00
itojun 123de7c9ca ISC BIND 8.3.2. various IPv6 fixes and correctins. 2002-06-20 10:29:14 +00:00
kleink f7d2af261c Sync with libc implementation (change size argument from size_t to
socklen_t); pointed out by Chris Gilbert.
2002-05-15 20:58:19 +00:00
simonb 1706b9a6ec There's no use assigning the output of strtoul() to a 32-bit variable
then checking that against ULONG_MAX.  Instead use a "unsigned long"
as the temporary variable.  Then check against UINT32_MAX before
assigning back to the original variable.
2002-05-09 03:14:14 +00:00
bjh21 c701db92ac Remove .cvsignore file.
<URL:http://www.netbsd.org/developers/cvs-repos/notes.html#cvsignore>
2002-04-04 17:08:24 +00:00
bjh21 dca4ae94d6 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-09 13:22:52 +00:00
wiz 53036766b1 Drop trailing spaces after section names. 2002-03-06 14:20:34 +00:00
ross 8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
wiz a3de79a4f7 Fn argument doesn't need (), add space between macro name and argument. 2001-12-07 19:18:14 +00:00
wiz 1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
wiz 456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
mrg 0a8258e16a back out previous; it is handled by etc/rc.d/named. 2001-08-24 13:25:57 +00:00
mrg d7003aa4a3 reapply (relevant parts of) lost patch:
revision 1.3
date: 1999/02/22 02:37:27;  author: mrg;  state: Exp;  lines: +19 -1
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.
2001-08-24 08:37:33 +00:00
wiz aa7e878621 Remove trailing whitespace in Dt, and some xref fixes. 2001-06-05 12:49:36 +00:00
wiz 4abaa1bb50 No argument for .Os. 2001-06-05 11:11:07 +00:00
wiz 48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
itojun 2d9b34e41a no import needed for crypto tree 2001-05-27 04:45:20 +00:00
itojun 4cd3525823 upgrade to 8.2.4. 2001-05-17 22:59:37 +00:00
itojun ddb7465740 BIND 8.2.4 2001-05-17 22:41:07 +00:00
itojun 942f3643b6 actually split crypto source. 2001-05-17 20:52:58 +00:00
itojun 900d6f1790 BIND 8.2.4 2001-05-17 20:45:58 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
itojun a317219c0b copy "Version" file for import. 2001-02-11 07:04:20 +00:00
itojun 47b90546f9 BIND 8.2.3 2001-02-11 06:41:22 +00:00
itojun 37ea810d37 BIND823 bug ID 1150: forwarders: it was possible to use freed memory. 2001-02-06 10:02:04 +00:00
itojun b4eb727352 separately populate lib/{cylink,dnssafe} into basesrc/crypto/dist/bind. 2001-01-27 08:09:42 +00:00
itojun 93ea2d0c7a re-add md5 from BIND8 kit. lib/dnssafe does not compile without it. 2001-01-27 07:58:25 +00:00
itojun 1a7fc7b687 upgrade to BIND 8.2.3. the upgrade is critical (security fixes).
please test.
2001-01-27 07:21:56 +00:00
itojun 10a27e85b1 BIND 8.2.3 2001-01-27 06:15:38 +00:00
lukem 1509cd1434 #undef USE_LOG_CONS, to prevent openlog() being called with LOG_CONS.
there's no real justification for most programs to spam /dev/console just
because syslog can't talk to syslogd isn't available, especially chatty
programs such as bind.  (init, shutdown, reboot are probably exceptions here)
2001-01-11 02:39:43 +00:00