Commit graph

4676 commits

Author SHA1 Message Date
Mark Andrews
07d6480b68 704. [port] RLIMIT_NOFILE in to available on all platforms.
[RT #695]
2001-01-23 03:14:28 +00:00
Mark Andrews
363cb30a83 703. [port] sys/select.h is needed on older platforms. [RT #695] 2001-01-23 03:07:18 +00:00
Brian Wellington
47f65caf30 The msgcat text contained an extra %s. 2001-01-23 02:27:19 +00:00
Brian Wellington
5d18f1205a remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
668eb43f1f spacing 2001-01-23 02:00:56 +00:00
Andreas Gustafsson
49d61b46a7 inconsistent spacing in duplicated code 2001-01-23 01:59:03 +00:00
Brian Wellington
fd091cb3cd freerrset() wasn't. 2001-01-23 01:51:21 +00:00
Brian Wellington
d29da750d2 statistics counting was slowing down the server. Make client.c:count_query()
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Brian Wellington
ea6709ec8a 702. [func] If the address 0.0.0.0 is seen in resolv.conf,
use 127.0.0.1 instead. [RT #693]
2001-01-23 00:41:55 +00:00
Andreas Gustafsson
57ecc983c0 removed unused edns_level member from ADB entry 2001-01-22 22:53:13 +00:00
Andreas Gustafsson
d5874af5a5 removed avoid_bitstring feature from the ADB 2001-01-22 22:51:23 +00:00
Brian Wellington
70b4889c85 A minor optimation to the rbt hash code that should reduce the number
of calls to dns_name_fullcompare().
2001-01-22 20:41:43 +00:00
Brian Wellington
9d967288c3 zero length keys from the config file were not being logged as too short to be
secure.
2001-01-22 20:27:04 +00:00
Andreas Gustafsson
5042f374bc a valid buffer has the current pointer before or at the
used pointer by definition; there is no need to require that explicitly
2001-01-22 18:21:45 +00:00
Andreas Gustafsson
3a5cbb3c22 Fixed 39 cases where either named or rndc would crash when
given empty string values in rndc.conf or on the command line
2001-01-22 03:59:21 +00:00
Mark Andrews
ce1269825c 700. [bug] $GENERATE range check was wrong. [RT #688] 2001-01-22 03:34:25 +00:00
Brian Wellington
9427d22299 make dns_name_fromtext fail when passed an empty string, not assert. 2001-01-22 03:30:27 +00:00
Andreas Gustafsson
e8af4e1524 699. [bug] The lexer mishandled empty quoted strings. [RT #694] 2001-01-22 02:46:34 +00:00
Brian Wellington
bf6d4f9cad Install the lwres man pages. 2001-01-19 22:46:27 +00:00
Brian Wellington
6e8b041d9c blackholed addresses were mishandled in the resolver. 2001-01-19 22:22:17 +00:00
Mark Andrews
89f4a7085c 694. [bug] $GENERATE did not produce the last entry. [RT#683] 2001-01-19 20:45:33 +00:00
Andreas Gustafsson
eed89be339 incremented library version number for 9.2 2001-01-19 01:55:11 +00:00
Andreas Gustafsson
d36250a1b2 include zone.c function names in debug log messages only;
export dns_zone_log() for use by related modules
2001-01-18 23:29:31 +00:00
Brian Wellington
2a006fffe4 our NAPTR implementation does conform to RFC 2915. 2001-01-18 22:05:41 +00:00
Andreas Gustafsson
7ed2d93fa4 691. [bug] Configuring per-view forwarders caused an assertion
failure. [RT #675]
2001-01-18 19:01:39 +00:00
Mark Andrews
ca9c0ba235 690. [func] $GENERATE now supports DNAME. [RT #654] 2001-01-18 08:53:34 +00:00
Brian Wellington
6ec4990544 copyright update 2001-01-18 02:00:59 +00:00
Brian Wellington
21e82177fb make message->rcode a dns_rcode_t 2001-01-18 00:26:36 +00:00
Bob Halley
5c7d67e3e6 include <stdlib.h> to get prototype for exit() 2001-01-17 19:48:45 +00:00
Andreas Gustafsson
8bb77cd31b fix RT #660 differently 2001-01-17 17:44:49 +00:00
Brian Wellington
0aed1e6e6b add a cast to silence the annoying MS compiler. [RT #662] 2001-01-17 03:02:01 +00:00
Brian Wellington
39bb14491f Negating an unsigned int is a bad idea. Make it an int instead. [RT #660] 2001-01-17 02:58:28 +00:00
Brian Wellington
cb2ad98ea4 make prefixlen an isc_uint8_t [RT #658] 2001-01-17 02:54:17 +00:00
Mark Andrews
fb0663dbdd 687. [bug] Only say we have IPv6, with sufficent functionality,
if it has actually been tested.  [RT #586]
2001-01-17 02:11:20 +00:00
Brian Wellington
18d110413c Move dns_dnssec_iszonekey to dns_zonekey_iszonekey, to make the rbtdb not
require all of dst to be linked in.
2001-01-17 01:22:20 +00:00
Brian Wellington
5d0cca62ee Renamed keyid.c to key.c, and moved in a bunch of other functions that don't
depend on crypto.
2001-01-17 01:08:08 +00:00
Brian Wellington
64dcb08113 If the app is blocked and a shutdown signal arrives, just exit(). 2001-01-17 00:48:54 +00:00
Brian Wellington
d7483d67f7 Move dst_region_computeid into a new file dst/keyid.c, so that all of the
dnssec code doesn't need to be linked in by using rdata routines.
2001-01-17 00:33:37 +00:00
Andreas Gustafsson
6c90ca893c quote substituted parts of log messages with single quotes,
not double quotes
2001-01-17 00:16:20 +00:00
Brian Wellington
564c1b8f42 remove the use of abs(), which could have led to false positives because of
64 to 32 bit truncation.
2001-01-16 22:47:56 +00:00
Andreas Gustafsson
1da54a3de9 removed redundant error check [RT #669] 2001-01-16 21:18:10 +00:00
Mark Andrews
4e864e0101 84. [bug] memory leak with view forwarders. [RT #656] 2001-01-16 13:39:42 +00:00
Mark Andrews
2728a98ee4 683. [bug] file leak in isc_lex_openfile(). 2001-01-16 07:47:16 +00:00
Mark Andrews
d722697400 681. [bug] $GENERATE specifying output format was broken. [RT#653] 2001-01-16 07:04:30 +00:00
Mark Andrews
7dbb39a417 680. [bug] dns_rdata_fromstruct() mis-handles options bigger
than 255 octets.
2001-01-16 06:14:00 +00:00
Brian Wellington
6df90b6515 Typo. 2001-01-15 19:54:12 +00:00
Brian Wellington
f98d6edb19 Multiple outstanding requests don't actually help. Never have more than 1. 2001-01-13 01:33:27 +00:00
Brian Wellington
bd703253b7 oops, a mutex was locked too early. 2001-01-13 00:23:34 +00:00
Brian Wellington
f0e246e271 Fully implement the cachefile option, which allows persistent caching. This
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Andreas Gustafsson
d94b209b95 added another INSIST() to dns_dbiterator_pause() as suggested by Bob 2001-01-12 20:11:28 +00:00