Commit graph

4686 commits

Author SHA1 Message Date
Brian Wellington
1e3bc7eaeb only use data from accept() if accept succeeds. 2001-01-23 21:07:12 +00:00
Andreas Gustafsson
b346ae570d style 2001-01-23 20:45:31 +00:00
Brian Wellington
e90441d922 INSIST that accept() returns a socket of the correct protocol family. Also
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00
Brian Wellington
dac1e1dd18 remove more duplicated code 2001-01-23 19:50:10 +00:00
James Brister
6ca537b8a3 New include statement for ndc.conf
include "/tmp/foo";

only allowed at file level (not at any random whitespace location).
2001-01-23 13:15:12 +00:00
Mark Andrews
9a6632fb42 removed unnecessary assignment 2001-01-23 07:45:39 +00:00
Mark Andrews
7c2dce3c4d common code elimination 2001-01-23 07:36:06 +00:00
Mark Andrews
ab0380976c add isc/platform.h 2001-01-23 06:00:11 +00:00
Mark Andrews
4ae98f5100 Use approptiate typoe based on configure results. 2001-01-23 05:13:25 +00:00
Mark Andrews
66ad1d85cb 703. [port] sys/select.h is needed on older platforms. [RT #695] 2001-01-23 04:47:56 +00:00
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