Commit graph

6996 commits

Author SHA1 Message Date
Brian Wellington
17a2a1d3c1 fix invalid format string 2002-03-14 00:43:00 +00:00
Brian Wellington
6585d8782b the region passed to dns_name_fromregion() can be const. 2002-03-14 00:36:07 +00:00
Mark Andrews
fd0528d19d remove dead code 2002-03-12 04:10:57 +00:00
Mark Andrews
80b469ae8c silence compiler 2002-03-12 04:07:37 +00:00
Mark Andrews
03fae7ef21 1227. [bug] dns_lex_getmastertoken() now returns ISC_R_BADNUMBER
if a number was expected and some other token was
                       found. [RT#2532]
2002-03-11 05:38:29 +00:00
Mark Andrews
ad611e746d 1226. [func] Use EDNS for zone refresh queries. [RT #2551] 2002-03-11 04:41:53 +00:00
Mark Andrews
603d1d1e20 1225. [func] dns_message_setopt() no longer requires that
dns_message_renderbegin() to have been called.
2002-03-11 01:59:16 +00:00
Mark Andrews
9de92818ae warn that rrset-order 'fixed' is not implemented. 2002-03-10 23:40:31 +00:00
Brian Wellington
861cef1397 default_fromtext_callback should print a newline 2002-03-08 01:58:10 +00:00
Brian Wellington
231ffa6c85 add a new result code so that parsing a bad KEY record doesn't result in
"unknown class/type".
2002-03-08 01:38:57 +00:00
Mark Andrews
412e65017e rrset-order checks 2002-03-08 00:54:48 +00:00
Mark Andrews
6f49c3e315 rrset-order is nolonger not implemented.
rrset-order should be a view level option.
2002-03-07 13:48:02 +00:00
Mark Andrews
2dd99c098c 1234. [bug] 'rrset-order' and 'sortlist' should be additive
not exclusive.

1223.   [func]          'rrset-order' partially works 'cyclic' and 'random'
                        are supported.
2002-03-07 13:46:41 +00:00
Brian Wellington
df5e0316a7 - add the missing typedef for dns_order_t
- change the order of parameters to dns_order_create() for consistency
- add multiple inclusion protection to order.h
- fix a couple of typos
2002-03-07 07:48:48 +00:00
Mark Andrews
f4ea263511 rrset-order support. 2002-03-07 06:29:37 +00:00
Mark Andrews
1fb264ed3a 1222. [bug] Specifying 'port *' did not always result in a system
selected (non-reserved) port being used. [RT #2537]
2002-03-07 00:07:27 +00:00
Brian Wellington
a615e9a446 ALP -> APL 2002-03-06 18:33:13 +00:00
Mark Andrews
feb8ae0931 1220. [func] Support for APL rdata type. 2002-03-06 07:41:25 +00:00
Mark Andrews
8133c5d6ae We could select on a closed file descriptor. 2002-03-05 06:41:08 +00:00
Brian Wellington
aa05bbdef7 When printing a warning about a value not being a valid decimal dotted
quad, it seems excessive to print "warning" when the message is already logged
at log level WARNING by the warn() callback.
2002-03-05 01:02:06 +00:00
Brian Wellington
da362f71bd warning messages generated by dns_master_load* should not print
dns_master_load, since it violates the "don't print function names in
error messages" rule.
2002-03-05 00:59:42 +00:00
Mark Andrews
95b604c5e9 1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on
when there was a BADTIME error. [RT #2519]
2002-03-05 00:06:02 +00:00
Mark Andrews
2211bec6a0 1217. [func] Report locations of previous key definition when a
duplicate is detected.
2002-03-04 05:27:31 +00:00
Mark Andrews
89f7901415 INSIST -> RUNTIME_CHECK 2002-03-04 05:24:33 +00:00
Mark Andrews
fcb2ecdb52 1216. [bug] Multiple server clauses for the same server were not
reported.  [RT #2514]
2002-03-04 05:07:06 +00:00
Brian Wellington
65c709f4de add isc_parse_uint16() and isc_parse_uint8() 2002-02-28 20:08:06 +00:00
Mark Andrews
dc57e5e0ca pullup:
<isc/print.h> for snprintf
2002-02-28 05:17:49 +00:00
Mark Andrews
ce24330566 <isc/print.h> for snprintf 2002-02-28 05:13:57 +00:00
Mark Andrews
b9c80c8bdd 1214. [bug] Win32: isc_file_renameunique() could leave zero length
files behind.
2002-02-28 00:23:34 +00:00
Brian Wellington
9e6286de2a add dst_key_privatefrombuffer(), which coverts a public key into a private
key.
2002-02-27 22:12:06 +00:00
Mark Andrews
1962186055 pullup 2002-02-27 07:20:25 +00:00
Mark Andrews
f82e386bfc remove dead code 2002-02-27 04:05:02 +00:00
Mark Andrews
27269e9dd4 pullup from BIND 8:
1212.   [port]          libbind: 64k answer buffers were causing stack space
                        to be exceeded for certian OS.  Use heap space instead.
2002-02-27 04:03:11 +00:00
Bob Halley
e7164f3fcd pull up 1206 for Mark 2002-02-26 23:24:18 +00:00
Bob Halley
991343d9a3 #1204 failed to set sin_len (pull up for Mark) 2002-02-26 23:13:33 +00:00
Mark Andrews
f38c274c21 1211. [bug] dns_name_fromtext() incorrectly handled certian
valid octal bitlabels. [RT #2483]
2002-02-26 12:43:38 +00:00
Mark Andrews
2e8d4fabc2 #1204 failed to set sin_len 2002-02-26 05:03:10 +00:00
Mark Andrews
84ef147b1f pullup:
1210.  [bug]           libbind: getnameinfo() failed to lookup IPv4 mapped /
                       compatible addresses. [RT #2461]
2002-02-26 03:15:00 +00:00
Brian Wellington
f9f2e770a9 add REQUIREs 2002-02-21 23:51:49 +00:00
Andreas Gustafsson
3806b4e01e removed unused struct field isc_lex_t::options 2002-02-21 20:04:01 +00:00
Mark Andrews
fcde24ec36 LOGIT not LOGITFILE 2002-02-21 01:00:41 +00:00
Brian Wellington
26bb3b1733 oops, forgot to assign lctx->keep_lex. 2002-02-21 00:56:14 +00:00
Mark Andrews
fc7fbdf6e6 1208. [bug] dns_master_load*() failed to log a error message if
an error was detected when parsing the ownername of
                        a record.  [RT #2448]
2002-02-21 00:51:22 +00:00
Brian Wellington
011dc51eee dns_master_loadlexer[inc], to load master files from existing lexers 2002-02-21 00:45:11 +00:00
Brian Wellington
02e5f92113 isc_lex_setsourcename(), for use when lexing buffers or streams 2002-02-21 00:44:16 +00:00
Brian Wellington
8cf24d101a add dns_rdataslab_tordataset() 2002-02-20 22:57:13 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Mark Andrews
4daf63c4b0 copyright dates 2002-02-20 02:17:28 +00:00
Andreas Gustafsson
6a8832f784 There are four "i":s in "initialize" 2002-02-20 01:45:15 +00:00
Andreas Gustafsson
258eca377d pullup:
1207.   [bug]           libbind: getaddrinfo() could call freeaddrinfo() with
                        an invalid pointer.
2002-02-20 01:06:19 +00:00
Andreas Gustafsson
6bc9a03601 pullup:
1205.   [bug]           OPT, TSIG and TKEY cannot be used to set the "class"
                        of the message. [RT #2449]
2002-02-20 00:47:40 +00:00
Andreas Gustafsson
9cdcf06d3b pullup:
1204.   [bug]           libbind: res_nupdate() failed to update the name
                        servers addresses before sending the update.
CHANGES
2002-02-20 00:43:46 +00:00
Andreas Gustafsson
fd7505872d pullup:
1201.   [bug]           Require that if 'callbacks' is passed to
                        dns_rdata_fromtext(), callbacks->error and
                        callbacks->warn are initalised.
2002-02-20 00:39:27 +00:00
Brian Wellington
8d87d1d81c DNS_R_NOMEM -> ISC_R_NOMEMORY 2002-02-19 23:46:32 +00:00
Andreas Gustafsson
2d6ff29a07 spelling 2002-02-19 22:58:29 +00:00
Andreas Gustafsson
44b8e407b5 pullup:
1200.   [bug]           Log 'errno' that we are unable to convert to
                        isc_result_t. [RT #2404]
2002-02-19 22:44:51 +00:00
Andreas Gustafsson
191fdb73be pullup:
1198.   [bug]           OPT printing style was not consistant with the way the
                        header fields are printed.  The DO bit was not reported
                        if set.  Report if any of the MBZ bits are set.
2002-02-19 22:39:25 +00:00
Andreas Gustafsson
1f40299d87 pullup:
1197.   [bug]           Attempts to define the same acl multiple times were not
                        detected.
2002-02-19 22:30:05 +00:00
Andreas Gustafsson
a07532875f pullup:
1193.   [bug]           Best effort parsing didn't handle packet truncation.
2002-02-19 22:13:00 +00:00
Mark Andrews
3023a2fb9d Don't mark a server as not supporting a EDNS on SERVFAIL. There are too
many other potential causes.
2002-02-19 06:16:36 +00:00
Mark Andrews
b700c2c3d2 libisccfg now requires libdns 2002-02-19 04:43:32 +00:00
Mark Andrews
986be654fe pullup from BIND8:
1207.   [bug]           libbind: getaddrinfo() could call freeaddrinfo() with
                        an invalid pointer.
2002-02-19 03:45:07 +00:00
Danny Mayer
966cd6ced9 Undo previous checkin which was for v9_2 branch 2002-02-19 03:04:26 +00:00
Mark Andrews
c26c65b7a0 1206. [bug] SERVFAIL and NOTIMP responses to a EDNS should trigger
a non-EDNS retry.
2002-02-19 00:48:21 +00:00
Mark Andrews
e6012d7b37 pullup:
Fixes for error handling that were missing in previous commit.
2002-02-19 00:40:09 +00:00
Danny Mayer
e2759ff73a Fixes for error handling that were missing in previous commit 2002-02-18 22:20:13 +00:00
Danny Mayer
b19179cdd2 Added libdns to link as check.c now references DNS functions 2002-02-18 22:04:22 +00:00
Mark Andrews
43733a83ed 1205. [bug] OPT, TSIG and TKEY cannot be used to set the "class"
of the message. [RT #2449]
2002-02-18 04:20:53 +00:00
Mark Andrews
bda64555f6 1204. [bug] libbind: res_nupdate() failed to update the name
servers addresses before sending the update.
2002-02-15 04:17:35 +00:00
Mark Andrews
39c2b74142 1203. [func] Report locations of previous acl and zone definitions
when a duplicate is detected.
2002-02-13 04:36:52 +00:00
Mark Andrews
751109bdd5 pullup:
memory leak
2002-02-13 04:02:36 +00:00
Mark Andrews
ca9eb5fd16 memory leak 2002-02-13 03:56:57 +00:00
Mark Andrews
9727d74064 report line of previous acl definition. 2002-02-13 03:43:09 +00:00
Mark Andrews
de36c606c5 1202. [func] New functions: cfg_obj_line() and cfg_obj_file().
This should allow duplicate reports to identify the location of both objects.
2002-02-13 03:32:56 +00:00
Mark Andrews
5d1e521490 pullup:
Allocate and free key used to check for duplicate zones.
2002-02-12 13:30:33 +00:00
Mark Andrews
d368d43ec7 Allocate and free key used to check for duplicate zones. 2002-02-12 13:17:23 +00:00
Mark Andrews
f2048c5dff update_copyrights 2002-02-12 06:05:52 +00:00
Mark Andrews
d7e2b53041 make distclean should remove "rules", "includes" and "mkdep". 2002-02-12 05:42:04 +00:00
Mark Andrews
184f677780 Order subdirectory processing 2002-02-12 04:07:36 +00:00
Mark Andrews
9ef64d35b7 only issue warning if callbacks is none NULL. 2002-02-12 03:57:59 +00:00
Mark Andrews
23cb957a81 1201. [bug] Require that if 'callbacks' is passed to
dns_rdata_fromtext(), callbacks->error and
                        callbacks->warn are initalised.
2002-02-12 03:45:54 +00:00
Mark Andrews
c73c1c33ec 1193. [bug] dig +besteffort parsing didn't handle packet
truncation.  dns_message_parse() has new flag
                        DNS_MESSAGE_IGNORETRUNCATION.
2002-02-12 02:10:33 +00:00
Mark Andrews
b6a0341bcb don't reference through potentially NULL callback pointers. 2002-02-11 22:30:28 +00:00
Andreas Gustafsson
773f604c52 1194. [bug] Not all duplicate zone definitions were being detected
at the named.conf checking stage. [RT #2431]
2002-02-11 21:50:17 +00:00
Andreas Gustafsson
65ae185312 pullup:
1195.   [bug]           Attempts to redefine builtin acls should be caught.
                        [RT #2403]
2002-02-11 21:42:10 +00:00
Andreas Gustafsson
28e509b145 const correctness 2002-02-11 18:19:26 +00:00
Mark Andrews
28d8b4118d 1200. [bug] Log 'errno' that we are unable to convert to
isc_result_t. [RT #2404]
2002-02-11 05:11:07 +00:00
Mark Andrews
5d7b81d2a4 1198. [bug] OPT printing style was not consistant with the way the
header fields are printed.  "do" was not reported if
                        set.  Report is any of the MBZ bits are set.
2002-02-11 02:03:23 +00:00
Mark Andrews
8f63de3029 1197. [bug] Attempts to define the same acl multiple times were not
detected.
2002-02-11 00:46:26 +00:00
Mark Andrews
9aa1fb4861 1192. [bug] The seconds fields in LOC records were restricted
to three decimal places.  More decimal places should
                        be allowed but warned about.

Paul requested that this be a warned about.
2002-02-10 23:52:26 +00:00
cvs2git
a51c70decc This commit was manufactured by cvs2git to create branch 'v9_2'. 2002-02-08 05:42:25 +00:00
Mark Andrews
73d7583d98 update copyrights 2002-02-08 03:57:47 +00:00
Brian Wellington
08102bb28c consistency - all of the other arrays of checking-related stuff are not
null-terminated.
2002-02-06 06:54:31 +00:00
Mark Andrews
9ae90732df 1195. [bug] Attempts to redefine builtin acls should be caught.
[RT #2403]
2002-02-06 06:45:40 +00:00
Mark Andrews
f3222d48cc 1194. [bug] Not all duplicate zone definitions were being detected
at the named.conf stage. [RT #2431]
2002-02-06 05:58:06 +00:00
Mark Andrews
e95cc59f90 1193. [bug] best effort parsing didn't handle packet truncation. 2002-02-06 04:20:23 +00:00
Brian Wellington
60e9e70654 1024 -> DNS_NAME_FORMATSIZE 2002-02-05 21:41:31 +00:00
Brian Wellington
47db0efda1 spacing 2002-02-05 20:02:47 +00:00
Brian Wellington
8839b6acbf clean up the shutdown "logic". 2002-02-05 19:46:30 +00:00
Brian Wellington
db462c020e spacing 2002-02-05 19:44:55 +00:00
Brian Wellington
32dd66cc5e spacing 2002-02-05 07:54:08 +00:00
Brian Wellington
ecb55f9962 The code for parsing non-answer messages could get confused if it saw a SIG NS
before an NS.
2002-02-05 01:15:21 +00:00
Danny Mayer
c6d29fbd5f Added isc_fsaccess_changeowner function similar to the code to set file access attributes 2002-02-02 01:01:15 +00:00
Brian Wellington
18b7133679 more minor cleanups 2002-02-01 20:18:33 +00:00
Brian Wellington
23e4260821 minor cleanup 2002-02-01 20:08:56 +00:00
Andreas Gustafsson
45ddf396e9 spacing 2002-02-01 02:33:26 +00:00
Brian Wellington
9ecd36e0de RFC 2065 -> RFC 2535 2002-01-31 01:50:46 +00:00
Brian Wellington
0062c1ddfe 1192. [bug] The seconds fields in LOC records were restricted
to three decimal places.  More decimal places should
			be allowed and silently truncated.
2002-01-27 20:52:47 +00:00
Mark Andrews
323de351b3 update for 9.2.1rc1 2002-01-25 04:21:19 +00:00
Mark Andrews
6b345bc209 update for 9.2.1rc1 2002-01-25 04:12:35 +00:00
Mark Andrews
d3fafb3213 update for 9.2.1 2002-01-25 04:06:02 +00:00
Danny Mayer
6fedbb60b2 Change freebuf flag to be local to calls to NTstrerror() and be threadsafe 2002-01-25 03:39:25 +00:00
Mark Andrews
fa85f47357 pullup:
1108.   [bug]           On Win32, rndc was hanging when named was not running
                        due to failure to select for exceptional conditions
                        in select(). [RT #1870]

win32 fixes for:
1081.   [bug]           Multicast queries were incorrectly identified
                        based on the source address, not the destination
                        address.

1066.   [bug]           Provide a thread safe wrapper for strerror().
                        [RT #1689]  (socket.c only)

General cleanup from mainline.
2002-01-25 00:24:58 +00:00
Danny Mayer
efd263562b Removed C++ "//" comment lines 2002-01-24 23:43:28 +00:00
Mark Andrews
8a044e464b pullup:
1081.   [bug]           Multicast queries were incorrectly identified
                        based on the source address, not the destination
                        address.
(from JINMEI Tatuya)
2002-01-24 23:22:25 +00:00
Danny Mayer
d7979cbb6c Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage. 2002-01-24 23:19:35 +00:00
Andreas Gustafsson
3f25cb17e3 pullup:
1070.  [bug]           Copy DNSSEC OK (DO) to response as specified by
                       draft-ietf-dnsext-dnssec-okbit-03.txt.
2002-01-24 19:00:27 +00:00
Mark Andrews
db18d1997e DNS_ZONEFLG_FLUSH was not being cleared.
dns_zone_flush() could return a misleading result.
If the zone was being dumped incrementaly when dns_zone_flush() was
called ensure that it gets redumped if the were still outstanding
changes.
2002-01-24 13:45:36 +00:00
Brian Wellington
b6279d0b4b Don't freeze an already frozen zone. 2002-01-24 09:58:42 +00:00
Andreas Gustafsson
fff1dbdf55 pullup:
1166.   [bug]           "Not Implemented" should be reported as NOTIMP,
                        not NOTIMPL. [RT #2281]
2002-01-23 17:57:51 +00:00
Andreas Gustafsson
69e7554caa pullup:
1170.   [bug]           Don't attempt to print the token when a I/O error
                        occurs when parsing named.conf.  [RT #2275]
2002-01-23 17:54:06 +00:00
Brian Wellington
b2ca6fd3a8 #1187 was both unclean and broken. Fix it and clean it up. 2002-01-23 08:46:40 +00:00
Mark Andrews
ab92fa0aca pullup: style 2002-01-23 03:49:20 +00:00
Mark Andrews
7e715a0fc5 alignment 2002-01-23 03:42:23 +00:00
Mark Andrews
8a4f85e204 pullup:
1188.   [bug]           Dynamic updates of a signed zone would fail if
                        some of the zone private keys were unavailable.
2002-01-23 03:19:03 +00:00
Mark Andrews
622a5774e6 pullup:
1189.   [bug]           On some systems, malloc(0) returns NULL, which
                        could cause the caller to report an out of memory
                        error. [RT #2398]
2002-01-23 03:09:31 +00:00
Mark Andrews
eab966fdb3 pullu: typo in comment 2002-01-23 02:55:10 +00:00
Andreas Gustafsson
4c7c397275 1183. [bug] Handle ENOSR error when writing to the internal
control pipe. [RT #2395]
2002-01-23 02:35:56 +00:00
Andreas Gustafsson
05b8c412f8 pullup:
pullup from BIND 8:
1185.   [bug]           libbind: don't assume statp->_u._ext.ext is valid
                        unless RES_INIT is set when calling res_*init().

1184.   [bug]           libbind: call res_ndestroy() if RES_INIT is set
                        when res_*init() is called.
2002-01-23 02:34:14 +00:00
Andreas Gustafsson
bc1268ea83 pullup:
leave isc_lex_destroy() to close any open streams.
2002-01-23 02:08:57 +00:00
Andreas Gustafsson
d8f67a1d88 pullup:
Fix RT #2309 differently, allowing rather than rejecting empty
 also-notify clauses
2002-01-23 02:05:42 +00:00
Andreas Gustafsson
b6e20238b6 Fix RT #2309 differently, allowing rather than rejecting empty
also-notify clauses
2002-01-23 02:03:05 +00:00
Andreas Gustafsson
8bb8f9c6c8 pullup:
initalise warning
initalise token
only print known token types.
2002-01-23 01:53:28 +00:00
Mark Andrews
de619d1e81 remove also-notify empty checks. 2002-01-23 01:51:16 +00:00
Andreas Gustafsson
e47a6956a1 pullup:
1173.   [bug]           Potential memory leaks in isc_log_create() and
                        isc_log_settag(). [RT #2336]
2002-01-23 01:31:15 +00:00
Andreas Gustafsson
93aba2cb04 The comment saying that the string passed to isc_log_settag()
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Andreas Gustafsson
7366e9c47d pullup:
1174.   [bug]           Win32: add WSAECONNRESET to the expected errors
                        from connect(). [RT #2308]
2002-01-23 01:07:54 +00:00
Mark Andrews
a818127616 pullup: cut-and-paste-o:s 2002-01-23 00:11:14 +00:00
Andreas Gustafsson
d7224e6672 pullup:
reference after free in error path.
2002-01-22 23:17:44 +00:00
Andreas Gustafsson
057fc2ec3f pullup:
1165.   [bug]           We were rejecting notify-source{-v6} in zone clauses.
2002-01-22 23:14:45 +00:00
Andreas Gustafsson
80670d2633 pullup:
1164.   [bug]           Empty masters clauses in slave / stub zones were not
                        handled gracefully.  [RT #2262]
2002-01-22 22:51:05 +00:00
Brian Wellington
cde7dfea4c 1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
[RT #2394]

Basically, "freeze" disables dynamic updates to a zone, syncs the journal
file into the master file, and removes the journal.  This allows manual
edits of a dynamic zone file without stopping the server, since the
zone is temporarily considered non-dynamic.  "unfreeze" re-enables dynamic
updates to a zone.

So, instead of the old:
	rndc stop
	edit master file
	remove journal
	restart server
you can now do:
	rndc freeze zone
	edit master file
	rndc reload zone
	rndc unfreeze zone
which doesn't require stopping the server.

About everyone here at the secure dynamic update workshop wanted this.
It will be documented soon.
2002-01-22 22:05:59 +00:00
Andreas Gustafsson
915c16e8aa typo in comment 2002-01-22 21:52:32 +00:00
Andreas Gustafsson
47af71b523 use token.value.as_textregion.base, not token.value.pointer 2002-01-22 19:31:57 +00:00
Brian Wellington
fca9cc33ad 1189. [bug] On some systems, malloc(0) returns NULL, which
could cause the caller to report an out of memory
			error. [RT #2398]
2002-01-22 15:40:24 +00:00
Brian Wellington
2ca2e1a1ce 1188. [bug] Dynamic updates of a signed zone would fail if
some of the zone private keys were unavailable.
2002-01-22 13:04:45 +00:00
Brian Wellington
84185d19c7 1187. [bug] named was incorrectly returning DNSSEC records
in negative responses when the DO bit was not set.
2002-01-22 09:07:30 +00:00
Mark Andrews
8ac220d5cc pullup:
1186.   [bug]           isc_hex_tobuffer(,,length = 0) failed to unget the
                        EOL token when reading to end of line.
2002-01-22 06:08:47 +00:00
Mark Andrews
2bffec87ac pullup:
Out of date comment.
2002-01-22 05:00:30 +00:00
Mark Andrews
f9409b10fd pullup:
1152.   [bug]           libbind: read buffer overflows.
2002-01-22 04:15:45 +00:00
Mark Andrews
5da1e589c2 pullup from BIND 8:
1185.   [bug]           libbind: don't assume statp->_u._ext.ext is valid
                        unless RES_INIT is set when calling res_*init().

1184.   [bug]           libbind: call res_ndestroy() if RES_INIT is set
                        when res_*init() is called.
2002-01-22 03:16:28 +00:00
Mark Andrews
852fa3b2e3 1183. [bug] Handle ENOSR error when writing to the internal
control pipe. [RT #2395]
2002-01-22 02:38:34 +00:00
Mark Andrews
f10e90ebb4 1182. [bug] The server could throw an assertion failure when
constructing a negative response packet.
2002-01-21 22:27:03 +00:00
Brian Wellington
8569ab045a 1182. [bug] The server could throw an assertion failure when
constructing a negative response packet.
2002-01-21 16:26:06 +00:00
Brian Wellington
a5c077e40c 1181. [func] Add the "key-directory" configuration statement,
which allows the server to look for online signing
			keys in alternate directories.
2002-01-21 11:00:25 +00:00
Brian Wellington
930ecd3756 style 2002-01-21 09:47:09 +00:00
Brian Wellington
97527fc03c 1179. [func] Add SIG(0) support to nsupdate. 2002-01-21 07:59:15 +00:00
Mark Andrews
c46f10e4a1 Use as_textregion.base not as_pointer. [RT #2385] 2002-01-21 01:07:32 +00:00
Mark Andrews
e1c2a8b9c1 1178. [func] Follow and cache (if appropriate) A6 and other
data chains to completion in the additional section.
2002-01-17 00:16:30 +00:00
Brian Wellington
3a8d4a316e openssl 0.9.6a and higher don't have the RSA locking bug that earlier versions
did, so don't disable precomputation.  Note that while this was fixed for
RSA, other algorithms still don't do locking when performing precomputation,
and thus we still disable it.
2002-01-15 22:09:45 +00:00
Mark Andrews
b7064914ca 1177. [func] Report view when loading zones if it is not a
standard view (_default or _bind). [RT #2270]
2002-01-15 06:42:15 +00:00
Brian Wellington
6e8b843125 When parsing a hex string of unknown length, properly unget the EOL token
at the end.  This doesn't affect any existing code, since the one caller
passes a known length, but it's still a bug.
2002-01-15 02:10:10 +00:00
Mark Andrews
b627356826 re-do:
1168.   [bug]           Empty also-notify clauses were not handled. [RT #2309]
2002-01-14 04:16:03 +00:00
Andreas Gustafsson
9cf6d43887 cut-and-paste-o:s 2002-01-11 01:30:32 +00:00
Mark Andrews
d073663cb4 1174. [bug] Win32: add WSAECONNRESET to the expected errors
from connect(). [RT #2308]
2002-01-10 03:50:13 +00:00
Mark Andrews
cad61731f8 1173. [bug] Potential leaks in isc_log_create() and
isc_log_settag(). [RT #2336]
2002-01-09 06:16:10 +00:00
Brian Wellington
e74100e3f4 move isc_region_compare to isc/region.[ch], not isc/buffer.[ch] 2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114 Adding function isc_region_compare and using in instead of compare_region in lib/dns 2002-01-05 07:05:28 +00:00
Mark Andrews
9c827a3997 initalise warning
initalise token
only print known token types.
2002-01-04 06:19:20 +00:00
Mark Andrews
adbb11147c 1170. [bug] Don't attempt to print the token when a I/O error
occurs when parsing named.conf.  [RT #2275]
2002-01-04 05:42:12 +00:00
Andreas Gustafsson
6a2a7fbfd1 oops, forgot this file in last commit 2002-01-04 04:34:51 +00:00
Andreas Gustafsson
669e9657c7 Split off the named.conf grammar into a source module separate
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2002-01-04 02:32:16 +00:00
Mark Andrews
77467267d9 1168. [bug] Empty also-notify clauses were not handled gracefully.
[RT #2309]
2001-12-29 04:49:51 +00:00
Brian Wellington
b7dca533e0 avoid calling set_offsets() in dns_name_copy() if possible. 2001-12-28 20:59:27 +00:00
Mark Andrews
0fa218cc7c reduce the log level of connection reset from error to info. 2001-12-27 05:07:26 +00:00
Mark Andrews
da5d1cf1b1 1164. [bug] "Not Implemented" should be reported as NOTIMP. 2001-12-19 12:16:47 +00:00
Mark Andrews
df1415d1e8 Out of date comment. 2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889 reference after free in error path. 2001-12-19 05:44:54 +00:00
Danny Mayer
13f20ab1fa Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999 2001-12-19 03:46:57 +00:00
Mark Andrews
4099c201ff whitespace cleanup 2001-12-19 01:29:35 +00:00
Mark Andrews
6cb12c44a3 pullup:
fix large DH key generation, hopefully for the last time.
2001-12-19 01:09:58 +00:00
Mark Andrews
66291de206 1165. [bug] We were rejecting notify-source{-v6} in zone clauses. 2001-12-18 23:23:32 +00:00
Brian Wellington
0118965e19 fix large DH key generation, hopefully for the last time. 2001-12-18 06:05:41 +00:00
Mark Andrews
6c06bc591a 1164. [bug] Empty masters clauses in slave / stub zones were not
handled gracefully.  [RT #2262]
2001-12-17 22:56:58 +00:00
Mark Andrews
c36f45e354 1163. [func] isc_time_formattimestamp() will now reports the year.
The format matches BIND 8 date stamp.
2001-12-17 02:55:06 +00:00
Mark Andrews
7caf656a15 pullup:
1162.   [bug]           The allow-notify option was not accepted in slave
                        zone statements.
2001-12-13 06:50:59 +00:00
Mark Andrews
5fc932977a pullup:
check that allow-notify is only specified for slave zones
2001-12-13 06:47:48 +00:00
Andreas Gustafsson
9cec4ca6ca 1162. [bug] The allow-notify option was not accepted in slave
zone statements.
2001-12-13 06:31:00 +00:00
Brian Wellington
19f0d00107 check that allow-notify is only specified for slave zones 2001-12-13 06:20:40 +00:00
Brian Wellington
fefd6c28ab 1161. [bug] named-checkzone looped on unbalanced brackets.
[RT #2248]
2001-12-13 06:17:34 +00:00
Mark Andrews
23fb770906 1161. [bug] named-checkzone looped on unbalanced brackets.
[RT #2248]
2001-12-13 06:13:44 +00:00
Brian Wellington
1898837a5e Add the well-known 1536 bit prime from draft-ietf-dnsext-rfc2539bis-dhk-01.txt 2001-12-12 17:18:52 +00:00
Brian Wellington
9af8851b85 whitespace style 2001-12-12 17:09:39 +00:00
Mark Andrews
6124a262fa pullup:
1160.   [bug]           Generating Diffie-Hellman keys longer than 1024
                        bits could fail. [RT #2241]
2001-12-12 17:05:20 +00:00
Brian Wellington
0cb27602e5 1160. [bug] Generating Diffie-Hellman keys longer than 1024
bits could fail. [RT #2241]
2001-12-12 16:43:24 +00:00
Mark Andrews
21b1491aa2 pullup:
1154.  [bug]           Don't attempt to obtain the netmask of a interface
                       if there is no address configured.  [RT #2176]
2001-12-12 00:16:47 +00:00
Mark Andrews
5af6873693 tag slave zones when loading 2001-12-11 20:52:41 +00:00
Mark Andrews
ff1b064f5e 1159. [bug] MD and MF are not permitted to be loaded by RFC1123. 2001-12-11 20:37:16 +00:00
Brian Wellington
efc01ed4ad fix comment 2001-12-08 02:14:46 +00:00
Brian Wellington
708f3fd049 Added the DNS_DBFIND_FORCENXT flag to dns_db_find, which causes the lookup
to search for NXT records, even if the zone is not marked as secure.
2001-12-08 00:37:07 +00:00
Mark Andrews
880723fb13 1157. [func] match-clients and match-destinations now accept
keys. [RT #2045]
2001-12-06 04:38:51 +00:00
Brian Wellington
e128be1387 track the size of memory blocks when debugging is enabled. 2001-12-05 19:13:26 +00:00
Mark Andrews
e23cb8a303 RUNTIME_CHECK(dns_rdata_tostruct())
if isc_time_add() fails, issue warning message and retry with a half interval,
this should only happen if we are approaching time wrap around (2038 for UNIX
systems).
2001-12-05 03:21:23 +00:00
Andreas Gustafsson
ee515ce130 commented 2001-12-05 03:05:30 +00:00
Mark Andrews
fefbb64a75 1155. [func] Recover from master files being removed from under
us.
2001-12-04 05:17:53 +00:00
Brian Wellington
41e50ece38 add dns_name_hashbylabel() and make the rbt use it. 2001-12-04 01:32:44 +00:00
Andreas Gustafsson
5d727330e4 brace style 2001-12-03 19:44:08 +00:00
Mark Andrews
111e3433d2 1154. [bug] When scanning interfaces skip the interface
if address no address is configured.  [RT #2176]
2001-12-03 04:41:42 +00:00
Brian Wellington
b7415ddd79 let isc_lex_destroy() close sources. 2001-11-30 18:26:46 +00:00
Mark Andrews
5e8f2512a6 leave isc_lex_destroy() to close any open streams. 2001-11-30 03:14:50 +00:00
Brian Wellington
2e4bec457d Before signing with a key, make sure that it's not the public-only part.
A sane crypto toolkit would catch this and return an error, but openssl
unceremoniously seg faults.
2001-11-30 02:11:04 +00:00
Andreas Gustafsson
1f1d36a87b Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
9ac8796f16 1152. [bug] libbind: read buffer overflows. 2001-11-30 01:19:02 +00:00
Andreas Gustafsson
242bba8991 1151. [bug] nslookup failed to check that the arguments to
the port, timeout, and retry options were
                        valid integers and in range. [RT #2099]

1150.   [bug]           named incorrectly accepted TTL values
                        containing plus or minus signs, such as
                        1d+1h-1s.

1149.   [func]          New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Mark Andrews
ef29912666 1147. [func] Set IPV6_IPV6ONLY on IPv6 sockets if supported by
the OS.  listen-on-v6 { any; }; should no longer
                        result in IPv4 queries be accepted.  Similarly
                        control { inet :: ... }; should no longer result
                        in IPv4 connections being accepted.  This can be
                        overridden at compile time by defining
                        ISC_ALLOW_MAPPED=1.
2001-11-29 13:14:33 +00:00
Mark Andrews
0cfa2fb26d 1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
supported by the OS by a new function
                        isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
bfbea562e6 new function dns_diff_applysilently() [RT #2157] 2001-11-29 00:15:35 +00:00
Brian Wellington
3638017bd3 1143. [bug] When a trusted-keys statement was present and named
was built without crypto support, it would leak memory.
2001-11-28 02:35:02 +00:00
Andreas Gustafsson
eacbf2cc01 pullup:
shutup bogus ambiguous else compiler warning.
2001-11-27 23:21:56 +00:00
Mark Andrews
6737b6ebf0 shutup bogus ambiguous else compiler warning. 2001-11-27 22:53:55 +00:00
Mark Andrews
60213f2815 1139. [func] It is now possible to flush a given name from the
caches via 'rndc flushname name [view]'.  [RT #2051]
2001-11-27 04:06:17 +00:00
Mark Andrews
6c8abf481d 1138. [func] It is now possible to flush given names from the
cache dns_cache_flushname().
2001-11-27 03:10:32 +00:00
Mark Andrews
1e4bfff185 1137. [func] It is now possible to flush given names from the
adb cache dns_adb_flushname().
2001-11-27 03:00:50 +00:00
Andreas Gustafsson
91cd0f93ad sizeof style 2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +00:00
Andreas Gustafsson
4d1d37a19d out-of-range SOA timers were silently clamped [RT #2081] 2001-11-26 23:51:21 +00:00
Andreas Gustafsson
751af0ee2f duplicate code consistently 2001-11-26 23:37:24 +00:00
Danny Mayer
022dd8775a Added dns_sdb_putrdata to list of visible functions 2001-11-22 04:33:33 +00:00
Danny Mayer
d67b892041 isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message 2001-11-22 03:08:12 +00:00
Mark Andrews
402313b3db pullup:
1134.   [bug]           Multithreaded servers could deadlock in ferror()
                        when reloading zone files. [RT #1951, #1998]
2001-11-22 01:23:19 +00:00
Andreas Gustafsson
887c9d05c2 pullup:
1133.   [bug]           IN6_IS_ADDR_LOOPBACK was not portably defined on
                        platforms without IN6_IS_ADDR_LOOPBACK. [RT #2106]
2001-11-22 00:22:02 +00:00
Andreas Gustafsson
d9d6d2f77f 1134. [bug] Multithreaded servers could deadlock in ferror()
when reloading zone files. [RT #1951, #1998]
2001-11-21 22:26:46 +00:00
Mark Andrews
eb2c518a38 1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
without IN6_IS_ADDR_LOOPBACK. [RT #2106]
2001-11-21 13:06:20 +00:00
Danny Mayer
d5f394f4c4 Change strerror references to use isc__strerror [RT #1689] 2001-11-21 05:07:25 +00:00
Andreas Gustafsson
4f30395c97 Suppress compiler warnings about empty translation units 2001-11-20 21:28:41 +00:00
Brian Wellington
81f6192a0c spacing 2001-11-20 18:42:26 +00:00
Andreas Gustafsson
945f7311ca Don't return a value from isc__strerror(); it was never used, and
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
17453368fa Reimplemented the built-in CHAOS zones using sdb. 2001-11-20 01:18:15 +00:00
Andreas Gustafsson
6cd7bd1fb5 spacing 2001-11-19 22:32:04 +00:00
Andreas Gustafsson
459d31fa83 consistently put the LIBDNS_EXTERNAL_DATA before the const 2001-11-19 21:34:31 +00:00
Danny Mayer
e61793f086 Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32 2001-11-19 03:08:44 +00:00
Danny Mayer
33b8775d3a Updated to support tree organization changes and to support the lib/bind9 library code 2001-11-18 03:11:06 +00:00
Danny Mayer
74dfe6155f Add win32 support for bind9 library 2001-11-17 03:57:12 +00:00
Brian Wellington
25fd0feeea 1121. [bug] The server could attempt to access a NULL zone
table if shut down while resolving.
			[RT #1587, #2054]
2001-11-16 21:47:27 +00:00
Andreas Gustafsson
1e1f1edb7d pullup:
130.   [bug]           Log messages reporting an out-of-range serial number
                        did not include the out-of-range number but the
                        following token. [RT #2076]
2001-11-16 19:00:37 +00:00
Mark Andrews
fefab489c7 pullup:
1129.   [bug]           Multithreaded servers could crash under heavy
                        resolution load due to a race condition. [RT #2018]
2001-11-16 11:04:38 +00:00
Mark Andrews
d1abb8bb02 1130. [bug] Out of range serial number were not being logged.
[RT #2076]
2001-11-16 10:50:00 +00:00
Brian Wellington
db0e722d83 oops, remove the other call to freehostent() 2001-11-16 06:48:22 +00:00
Brian Wellington
09ce736e9a unitialized variable [RT #2075] 2001-11-16 04:43:04 +00:00
Brian Wellington
d972554740 mismatched parens, missing failure return, remove incorrect use of
freehostent() [RT #2075]
2001-11-16 04:41:58 +00:00
Andreas Gustafsson
db40c6bfdf don't unlock the node lock in no_references() [RT #2018] 2001-11-16 00:17:07 +00:00
Andreas Gustafsson
307ba34fa0 1128. [func] sdb drivers can now provide RR data in either text
or wire format, the latter using the new functions
                        dns_sdb_putrdata() and dns_sdb_putnamedrdata().
(in preparation for sdb-izing the built-in CHAOS zones)
2001-11-15 20:32:05 +00:00
Brian Wellington
d9af67ef70 add RSA to the secalgs list in rdata.c (as a synonym for RSAMD5), remove the
special case code in dnssec-keygen to parse RSA.
2001-11-15 19:44:52 +00:00
Andreas Gustafsson
36d8518388 indentation 2001-11-15 19:06:04 +00:00
Mark Andrews
913e3def6d pullup:
extra text after #else
2001-11-15 06:21:38 +00:00
Andreas Gustafsson
3179bab5b8 extra text after #else 2001-11-15 01:58:28 +00:00
Brian Wellington
00c8cf21f0 simplify #ifdef mess 2001-11-15 01:29:42 +00:00
Mark Andrews
309979a136 pullup:
Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-11-15 01:24:21 +00:00
Andreas Gustafsson
20c21edada deal with the NO_DATA/NO_ADDRESS mess using a bunch
of #ifs and #ifdefs, as recommended by Mark
2001-11-15 01:20:16 +00:00
Andreas Gustafsson
cef23f1f01 no need to include <isccfg/cfg.h>; include <isc/net.h> to define in_port_t 2001-11-15 01:04:06 +00:00
Andreas Gustafsson
06364bcf06 did not compile on systems lacking getaddrinfo() due to typos 2001-11-15 00:58:00 +00:00
Andreas Gustafsson
a79f12ba46 remove NO_ADDRESS, not NO_DATA 2001-11-15 00:53:05 +00:00
Andreas Gustafsson
78f0b08d54 duplicate switch case on systems defining NO_ADDRESS and NO_DATA with the same value 2001-11-15 00:51:10 +00:00
Mark Andrews
fc67f3e0e3 pullup:
Partial fix for RT #2053.  The potential for deadlock still exists,
but it is much less likely to occur because we now only take the ADB lock when
the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-15 00:35:17 +00:00
Andreas Gustafsson
452606f147 forgot to remove a function declaration in previous change 2001-11-14 23:15:44 +00:00
Brian Wellington
0f1938c982 set ai_socktype in the hints to getaddrinfo, so that the result doesn't
contain duplicate addresses.
2001-11-14 23:03:42 +00:00
Andreas Gustafsson
ca50fa0230 Partial fix for RT #2053. The potential for deadlock still exists,
but it is much less likely to occur because we now only take the ADB lock when the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-14 22:32:10 +00:00
Brian Wellington
a873540eb6 When in singlethreaded mode, don't drain the event queue before exiting
isc_app_run().  The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Brian Wellington
b493dfe8bc Add bind9_getaddresses(), a consistent version of the get_address function
from dig/host/nslookup, nsupdate, and rndc.  This should make it
easier to have the various programs support multiple addresses for a hostname.
2001-11-14 22:08:38 +00:00
Andreas Gustafsson
cab27680d6 change 1077. introduced a locking hierarchy violation; fix by
introducing a separate lock for resolver->nfctx.
2001-11-14 22:05:05 +00:00
Brian Wellington
f109354dce copyright 2001-11-14 22:01:40 +00:00
Andreas Gustafsson
2869504d83 1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
[RT #2046]
2001-11-14 01:31:12 +00:00
Andreas Gustafsson
138cc7f283 1121. [bug] The server could attempt to access a NULL zone
table if shutting down while resolving.
                        [RT #1587, #2054]
2001-11-14 01:01:28 +00:00
Andreas Gustafsson
63d380e078 pullup:
1116.   [bug]           Setting transfers in a server clause, transfers-in,
                        or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
(Technically, this is an API change, but since it only changes the signedness of some
function parameters, it is still binary compatible in practice and I'll let it slip
by without bumping the major library version number)
2001-11-13 18:57:14 +00:00
Andreas Gustafsson
46879265d7 pullup:
1120.   [bug]           Errors in options were not fatal. [RT #2002]
2001-11-13 18:36:04 +00:00
Mark Andrews
ae29b66fbf BIND 8.3 compat "suppress-initial-notify". 2001-11-13 06:57:11 +00:00
Mark Andrews
aa51fc8106 1119. [bug] Errors in options were not fatal. [RT #2002] 2001-11-13 06:34:59 +00:00
Mark Andrews
0316cd0c04 NODE_VALID -> DNS_RBTNODE_VALID 2001-11-13 06:19:55 +00:00
Danny Mayer
5c4e92b973 Added support for NTFS disks 2001-11-13 05:07:57 +00:00
Mark Andrews
29d7ef1bca cleanup allow-update-forwarding. 2001-11-13 02:52:10 +00:00
Mark Andrews
be7d7a6638 pullup:
1118.   [bug]           On multithreaded servers, a race condition
                        could cause an assertion failure in resolver.c
                        during resolver shutdown. [RT #2029]
2001-11-12 22:37:05 +00:00
Mark Andrews
d0b2beb93d pullup:
1111.   [bug]           Multithreaded servers could deadlock processing
                        recursive queries due to a locking hieararchy
                        violation in adb.c. [RT #2017]
2001-11-12 22:28:30 +00:00
Andreas Gustafsson
f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Andreas Gustafsson
e3e94dd137 1118. [bug] On multithreaded servers, a race condition
could cause an assertion failure in resolver.c
                        during resolver shutdown. [RT #2029]
2001-11-12 18:48:50 +00:00
Mark Andrews
014f9142bc pullup:
1114.   [port]          Ignore more accept() errors. [RT #2021]
2001-11-10 03:03:44 +00:00
Andreas Gustafsson
c0bf2b179a When DNS_RBT_USEMAGIC is defined as true, do magic number
checking of RBT nodes
2001-11-10 01:37:44 +00:00
Andreas Gustafsson
d76ac5ddfd pullup:
install soa.h
2001-11-09 23:17:17 +00:00
Brian Wellington
9fbcea8dba install soa.h 2001-11-09 23:09:29 +00:00
Andreas Gustafsson
b5c8773673 pullup:
theoretically potential file descriptor leak.
2001-11-09 20:21:41 +00:00
Mark Andrews
3e42bdfdc9 1116. [bug] Setting transfers in a server clause, transfers-in,
or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
2001-11-09 04:21:58 +00:00
Mark Andrews
b20eef7ab0 1115. [func] Set maximum values for cleaning-interval,
heartbeat-interval, interface-interval,
                        max-transfer-idle-in, max-transfer-idle-out,
                        max-transfer-time-in, max-transfer-time-out,
                        statistics-interval of 28 days and
                        sig-validity-interval of 3660 days. [RT #2002]
2001-11-09 03:34:55 +00:00
Andreas Gustafsson
a571ebca8b style 2001-11-09 01:53:20 +00:00
Mark Andrews
f498427f17 theoretically potential file descriptor leak. 2001-11-09 00:37:10 +00:00
Andreas Gustafsson
bad3251d3f Undo the parts of 1113. pertaining to the allow-update option; simplify grammar 2001-11-08 21:13:42 +00:00
Andreas Gustafsson
ea01b618d9 1114. [port] Ignore more accept() errors. [RT #2021] 2001-11-08 20:24:25 +00:00
Danny Mayer
afce5ee1c8 On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear 2001-11-08 03:29:05 +00:00
Brian Wellington
bcf53cf8d0 Move the memory allocation wrappers into openssl_link.c, since they're
openssl specific.
2001-11-07 23:03:54 +00:00
Andreas Gustafsson
78bf1ca895 1111. [bug] Multithreaded servers could deadlock processing
recursive queries due to a locking hieararchy
                        violation in adb.c. [RT #2017]
2001-11-07 22:40:33 +00:00
Mark Andrews
773e64ec15 try-edns is no more 2001-11-07 04:25:19 +00:00
Danny Mayer
e209942448 Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870] 2001-11-07 04:24:38 +00:00
Mark Andrews
be9932698b max-adb-size is no more.
1073.  [bug]           The adb cache should also be space driven.
                       [RT #1915, #1938]
2001-11-07 03:52:20 +00:00
Brian Wellington
51e66e5dee missing static 2001-11-06 23:10:34 +00:00
Brian Wellington
88d64279bb if the function table entry already exists when _init() is called, don't
overwrite it.
2001-11-06 22:51:00 +00:00
Brian Wellington
f368466f81 Creating a NULL KEY shouldn't trigger a "no crypto" error. 2001-11-06 22:27:52 +00:00
Brian Wellington
ba45e16a66 Clean up the implementation cleanup mechanism. Also remove ->issymmetric,
since it's easier to just do it in dst_api.c.
2001-11-06 20:47:59 +00:00
Andreas Gustafsson
d8c1b06854 pullup:
memory leaks on errors
2001-11-06 20:44:26 +00:00
Andreas Gustafsson
fb17fdbd0e pullup:
cvs rdiff -r1.89 -r1.90 bind9/lib/dns/sec/dst/dst_api.c
2001-11-06 19:24:08 +00:00
Brian Wellington
2f93757751 Rework the "no crypto support" test. Rather than explicitly checking whether
built without openssl, instead return NOCRYPTO if the algorithm is not
supported but known.
2001-11-06 18:08:07 +00:00
Brian Wellington
3bc4de1f1b memory leaks on errors 2001-11-06 17:59:50 +00:00
Brian Wellington
7b5bf4bea4 a key could be freed twice in an unlikely error case. 2001-11-06 03:02:48 +00:00
Mark Andrews
035ef37ffa pullup:
grammar summary output for named maps was missing the name field
2001-11-05 23:22:21 +00:00
Andreas Gustafsson
06278dd28a grammar summary output for named maps was missing the name field 2001-11-05 22:24:31 +00:00
Andreas Gustafsson
ca08f931b9 regenerated 2001-11-05 21:36:27 +00:00
Andreas Gustafsson
569b52d136 don't try to insert the nonexistent file lib/bind/COPYRIGHT into configure.in 2001-11-05 21:34:51 +00:00
Andreas Gustafsson
e81b4c677b regenerated 2001-11-05 21:28:35 +00:00
Brian Wellington
9476a30889 pullup:
1104.   [bug]           Invalid arguments to the transfer-format option
                        could cause an assertion failure. [RT #1995]
(+ don't say "'foo' unexpected near 'foo'" - once is enough)
2001-11-05 20:21:54 +00:00
Andreas Gustafsson
ff303bcf27 Begin comments with capital letter; misc other
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
67145f44e5 don't say "'foo' unexpected near 'foo'" - once is enough 2001-11-05 18:21:22 +00:00
Andreas Gustafsson
7e2f4ceafa 1104. [bug] Invalid arguments to the transfer-format option
could cause an assertion failure. [RT #1995]
2001-11-05 18:19:46 +00:00
Andreas Gustafsson
c5f432d9c2 pullup:
typo in debug message [RT #1989]
2001-11-04 19:21:50 +00:00
Andreas Gustafsson
0902c53969 typo in debug message [RT #1989] 2001-11-04 19:20:39 +00:00
Andreas Gustafsson
8dda8ff186 pullup:
1087.   [bug]           libbind: struct __res_state to large on 64 bit arch.
(including later fix known as change 1284 in BIND 8)
2001-11-03 00:21:34 +00:00
Mark Andrews
50c7ddaa5e pullup from BIND 8.3:
1284.   [bug]           struct __res_state was still broken after #1265.
2001-11-02 23:23:34 +00:00
Andreas Gustafsson
7c6f960a20 remove empty line 2001-11-02 22:31:38 +00:00
Andreas Gustafsson
75c43836c1 removed empty line as an excuse for making
another commit so that I can note that the commit message
of the previous commit should have been:
pullup:
silence compiler the same way
2001-11-02 22:31:14 +00:00
Andreas Gustafsson
7752f1112e pullup:
CHANGES lib/bind/dst/dst_api.c lib/bind/dst/support.c
trebuchet ~/9.2 $ cvs commit -mpullup:
2001-11-02 22:26:21 +00:00
Andreas Gustafsson
148fd45777 pullup:
1100.   [bug]           libbind: DNSSEC key ids were computed incorrectly.
2001-11-02 22:25:29 +00:00
Andreas Gustafsson
c7443ec439 pullup:
1099.   [cleanup]       libbind: defining REPORT_ERRORS in lib/bind/dst caused
                        compile time errors.
2001-11-02 21:38:18 +00:00
Andreas Gustafsson
2f65d19e93 pullup:
1098.   [bug]           libbind: HMAC-MD5 key files are now mode 0600.
2001-11-02 21:35:30 +00:00
Andreas Gustafsson
6cb735c864 pullup:
spelling and order
2001-11-02 21:32:52 +00:00
Andreas Gustafsson
ad7a535899 pullup:
1093.   [doc]           libbind: miscellaneous nroff fixes.
2001-11-02 21:06:16 +00:00
Andreas Gustafsson
84189fe5ad pullup:
1092.   [bug]           libbind: get*by*() failed to check if res_init() had
                        been called.
2001-11-02 20:55:24 +00:00
Andreas Gustafsson
b15ba3f20d pullup:
1091.   [bug]           libbind: misplaced va_end().
2001-11-02 20:45:32 +00:00
Andreas Gustafsson
a3a89d7c36 pullup:
1090.   [bug]           libbind: dns_ho.c:add_hostent() was not returning
                        the amount of memory consumed resulting in garbage
                        address being returned.  Alignment calculations were
                        wasting space.  We wern't suppressing duplicate
                        addresses.
2001-11-02 20:35:28 +00:00
Andreas Gustafsson
6c87ddb75d pullup:
1088.   [port]          libbind: MPE/iX C.70 (incomplete)
2001-11-02 20:12:58 +00:00
Andreas Gustafsson
aa224791dd pullup:
1086.   [port]          libbind: sunos: old sprintf.
2001-11-02 17:56:07 +00:00
Andreas Gustafsson
cad0e68589 pullup:
1085.   [port]          libbind: solaris: sys_nerr and sys_errlist do not
                        exist when compiling in 64 bit mode.
2001-11-02 17:45:31 +00:00
Danny Mayer
93c498f0c6 ntfile.c now unnecessary as the iob array is now properly referenced 2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559 Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work 2001-11-02 05:02:15 +00:00
Andreas Gustafsson
540f27d8bc pullup:
1101.   [bug]           Array bounds read error in lwres_gai_strerror.
2001-11-02 01:32:53 +00:00
Mark Andrews
552a117791 1101. [bug] Array bounds read error in lwres_gai_strerror. 2001-11-02 00:48:06 +00:00
Mark Andrews
c78ef9f491 pullup:
Deal with AIX defining in6addr_any but not in6addr_loopback
in libc, even though both are declared in <netinet/in.h>.  This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-02 00:20:12 +00:00
Andreas Gustafsson
785d1541b6 yet another in6addr_loopback change 2001-11-01 23:20:21 +00:00
Andreas Gustafsson
9f6c66e1b3 Deal with AIX defining in6addr_any but not in6addr_loopback
in libc, even though both are declared in <netinet/in.h>.  This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Andreas Gustafsson
50d93bb5f8 pullup:
1084.   [cleanup]       libbind: gai_strerror() rewritten.
2001-11-01 19:00:47 +00:00
Mark Andrews
9d34aaa2bd silence compiler the same way 2001-11-01 07:15:28 +00:00
Mark Andrews
f3e4c3d6c5 1100. [bug] libbind: DNSSEC key ids were computed incorrectly. 2001-11-01 06:51:25 +00:00
Mark Andrews
6fb633bc3f 1099. [cleanup] libbind: defining REPORT_ERRORS in lib/bind/dst caused
compile time errors.
2001-11-01 06:24:39 +00:00
Mark Andrews
ca033e166c 1098. [bug] libbind: HMAC-MD5 key files are now mode 0600. 2001-11-01 06:11:43 +00:00
Mark Andrews
ca6cee1837 gettimeofday.h is no longer require (prototype in port_after.h). 2001-11-01 05:50:19 +00:00
Mark Andrews
c82af3a7f1 1094. [func] libbind: add support gcc's format string checking. 2001-11-01 05:15:27 +00:00
Mark Andrews
e82a62f172 spelling and order 2001-11-01 05:09:41 +00:00
Mark Andrews
f9321a16fb 1096. [func] libbind: RES_PRF_TRUNC for dig. 2001-11-01 05:07:54 +00:00
Mark Andrews
c8bedec446 1096. [func] libbind: "DNSSEC OK" (DO) support. 2001-11-01 04:59:18 +00:00
Mark Andrews
7a104af70f 1095. [func] libbind: resolver option: no-tld-query. disables
trying unqualified as a tld.  no_tld_query is also
                        supported for FreeBSD compatability.
2001-11-01 04:51:00 +00:00
Mark Andrews
923de3bb9c 1094. [func] libbind: add support gcc's format string checking. 2001-11-01 04:21:15 +00:00
Mark Andrews
2359261a25 1093. [doc] libbind: miscellaneous nroff fixes. 2001-11-01 04:06:38 +00:00
Mark Andrews
769cd7d5dd 1092. [bug] libbind: get*by*() failed to check if res_init() had
been called.
2001-11-01 04:03:40 +00:00
Mark Andrews
6bad645917 1091. [bug] libbind: misplaced va_end(). 2001-11-01 04:00:57 +00:00
Mark Andrews
11931cc68d 1090. [bug] libbind: dns_ho.c:add_hostent() was not returning
the amount of memory consumed resulting in garbage
                        address being returned.  Alignment calculations were
                        wasting space.  We wern't suppressing duplicate
                        addresses.
2001-11-01 03:55:57 +00:00
Mark Andrews
d91d025def 1089. [func] libbind: inet_{cidr,net}_{pton,ntop}() now have IPv6
support.
2001-11-01 03:52:16 +00:00
Mark Andrews
985b4f1c86 1088. [port] libbind: MPE/iX C.70 (incomplete) 2001-11-01 03:49:00 +00:00
Mark Andrews
1d556695ef 1087. [bug] libbind: struct __res_state to large on 64 bit arch. 2001-11-01 03:37:18 +00:00
Mark Andrews
e9ca87459a 1086. [port] libbind: sunos: old sprintf. 2001-11-01 00:57:49 +00:00
Mark Andrews
4b711da3c2 regen 2001-11-01 00:49:46 +00:00
Mark Andrews
ca690f9802 1085. [port] libbind: solaris: sys_nerr and sys_errlist do not
exist when compiling in 64 bit mode.
2001-11-01 00:48:05 +00:00
Mark Andrews
137a1f98e3 1084. [cleanup] libbind: gai_strerror() re-written. 2001-11-01 00:30:41 +00:00
Andreas Gustafsson
65775fe205 1081. [bug] Multicast queries were incorrectly identified
based on the source address, not the destination
                        address.
(from JINMEI Tatuya)
2001-10-31 01:24:58 +00:00
Andreas Gustafsson
30e3e23338 replaced the name RLIMIT_NOFILE by WIN32_MAX_OPEN_FILES, since
it was used for something completely unrelated to the Unix meaning of
RLIMIT_NOFILE
2001-10-31 00:32:42 +00:00
Andreas Gustafsson
6032e43f38 mark the memstatistics-file option as unimplemented (on 9.2
branch only, since it is implemented on the mainline) [RT #1972]
2001-10-30 20:30:33 +00:00
Andreas Gustafsson
3c76e82a76 pullup:
1078.  [bug]           We failed to correct bad tv_usec values in one case.
                       [RT #1966]
2001-10-30 17:57:52 +00:00
Mark Andrews
bc508906db 1078. [bug] We failed to correct bad tv_usec values in one case.
[RT #1966]
2001-10-30 02:39:33 +00:00
Mark Andrews
5e8d4ff0bf pullup:
1074.   [bug]           Running out of memory in dump_rdataset() could
                        cause an assertion failure. [RT #1946]
2001-10-30 01:57:16 +00:00
Andreas Gustafsson
a504607ef1 pullup:
1076.   [bug]           A badly defined global key could trigger an assertion
                        on load/reload if views were used. [RT #1947]
2001-10-29 20:18:48 +00:00
Andreas Gustafsson
b352902413 1077. [func] Do not accept further recursive clients when
the total number of of recursive lookups being
                        processed exceeds max-recursive-clients, even
                        if some of the lookups are internally generated.
                        [RT #1915, #1938]
2001-10-29 19:02:48 +00:00
Mark Andrews
72e8c079c4 1076. [bug] A badly defined global key could trigger an assertion
on load/reload if views were used. [RT #1947]
2001-10-29 06:09:05 +00:00
Mark Andrews
74ceb7b203 1075. [bug] Out-of-range network prefix lengths were not
reported. [RT #1954]
2001-10-28 22:48:33 +00:00
Andreas Gustafsson
7923de0ddd consistently begin debug log messages with a lower case letter 2001-10-27 00:32:31 +00:00
Andreas Gustafsson
d3f58baf38 log a debug log message when reaching a memory water mark 2001-10-27 00:29:35 +00:00
Andreas Gustafsson
6b07de6abf document the rdatasetheader next and down pointers 2001-10-27 00:27:54 +00:00
Andreas Gustafsson
c8ab83c08e 1075. [bug] Out-of-range network prefix lengths were not
reported. [RT #1954]
2001-10-26 19:35:03 +00:00
Danny Mayer
7e7bede4bd Fix indentation 2001-10-26 02:29:43 +00:00
Danny Mayer
339335189b Added support for max open files for Win32 2001-10-26 01:25:29 +00:00
Andreas Gustafsson
4e57d3ff7d 1074. [bug] Running out of memory in dump_rdataset() could
cause an assertion failure. [RT #1946]
2001-10-25 23:18:05 +00:00
Brian Wellington
06289aeea8 comment fix 2001-10-25 21:39:48 +00:00
Andreas Gustafsson
66bea4d912 if() condition in check_expire_entry did not have
the effect I think was intended due to operator precedence: || binds tighter than ?:.
Rewrote it without :?.
2001-10-25 17:47:16 +00:00
Brian Wellington
6a4c22bc4d style 2001-10-25 17:07:21 +00:00
Mark Andrews
081cff0c33 1073. [bug] The adb cache should also be space driven,
max-adb-size.  [RT #1915, #1938]
2001-10-25 04:57:46 +00:00
Mark Andrews
a7cb695600 1070. [bug] Copy DNSSEC OK (DO) to response as specified by
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Andreas Gustafsson
897f762e3c Fixed a race condition in the new request retransmission code:
if a machine is slow or busy enough, the retransmission timer could theoretically fire
again before the first transmission has finished.  This could cause us to lose track
of whether a send is in progress or not, since that information is stored in a boolean
flag (DNS_REQUEST_F_SENDING), not a counter
2001-10-23 23:10:14 +00:00
Andreas Gustafsson
1a32d316dd add a version.h for liblwres, too 2001-10-23 18:45:53 +00:00
Mark Andrews
3a0f5543c9 pullup:
some variables that should have been static weren't
2001-10-23 02:42:00 +00:00
Andreas Gustafsson
1ae369c9d2 some variables that should have been static weren't 2001-10-23 01:49:35 +00:00
Mark Andrews
8153dde6c8 pullup:
eliminated race condition in water() [RT #1932]
2001-10-23 01:31:08 +00:00
Mark Andrews
3476dfe9d7 mutex leak 2001-10-23 01:21:44 +00:00
Andreas Gustafsson
ce3c351d81 eliminated race condition in water() [RT #1932] 2001-10-23 00:56:33 +00:00
Andreas Gustafsson
5a78ccdf1f pullup:
1068.   [bug]           errno could be overwritten by catgets(). [RT #1921]
1066.   [bug]           Provide a thread safe wrapper for strerror().
                        [RT #1689]
(Also some changes to configure.in, config.h.in, and acconfig.h that were
necessary to allow config.h.in to be correctly regenerated with the
HAVE_STRERROR definition needed by 1066.)
2001-10-22 23:28:26 +00:00
Andreas Gustafsson
40a31ba506 strerror.c did not compile if HAVE_STRERROR was not defined 2001-10-22 22:17:30 +00:00
Andreas Gustafsson
8bdf7f2972 stdtime.@O@ was listed twice in OBJS 2001-10-22 21:37:28 +00:00
Andreas Gustafsson
a9bc22bf37 if() statement needs braces after isc__strerror() call added 2001-10-22 20:57:41 +00:00
Andreas Gustafsson
3931325c6d spacing 2001-10-22 18:18:34 +00:00
Andreas Gustafsson
0ae6a5f852 pullup:
1063.   [bug]           libbind: "make install" was failing on IRIX.
(lib/bind/port/irix/include/paths.h was pulled up by tagging)
2001-10-22 17:00:49 +00:00
Mark Andrews
1255d388f0 1067. [func] Allow quotas to be soft, isc_quota_soft(). 2001-10-22 07:09:25 +00:00
Mark Andrews
31d3464c0c 1065. [func] Runtime support to select new / old style interface
scanning using ioctls.
2001-10-22 04:01:32 +00:00
Mark Andrews
ea7b38cd1e 1063. [bug] libbind: irix "make install" was failing. 2001-10-22 00:40:47 +00:00
Mark Andrews
31e12a627d add 2001-10-22 00:32:56 +00:00
Andreas Gustafsson
b8685833f1 expand the qstringornone type in the grammar summary 2001-10-19 18:08:27 +00:00
Andreas Gustafsson
0e27dac042 spacing 2001-10-19 01:29:41 +00:00
Andreas Gustafsson
059a29a179 when using the system malloc, isc__mempool_get(), isc__mempool_put(),
and isc_mempool_destroy() failed to update memory statistics. [RT #1915]
2001-10-19 01:29:09 +00:00
Andreas Gustafsson
eb7f938194 style 2001-10-19 00:38:18 +00:00
Mark Andrews
c65bd9be83 pullup:
1061.   [bug]           If periodic cache cleaning happened to start
                        while cleaning due to reaching the configured
                        maximum cache size was in progress, the server
                        could catch an assertion failure. [RT #1912]
2001-10-19 00:22:26 +00:00
Andreas Gustafsson
dfafc36515 style 2001-10-19 00:17:17 +00:00
Mark Andrews
07eaf0b8d0 1060. [func] Move UDP retry processing into dns_request. 2001-10-18 06:12:04 +00:00
Mark Andrews
cf70df7d0e 1059. [func] dns_request now support will now retry UDP queries,
dns_request_createvia2() and dns_request_createraw2().
2001-10-18 06:09:39 +00:00
Mark Andrews
9234d92d4e 1058. [func] Limited lifetime ticker timers are now available,
isc_timertype_limited.
2001-10-18 06:06:13 +00:00
Andreas Gustafsson
86a292d459 added more logging to help track down RT #1912 if not fixed by previous commit 2001-10-18 01:48:35 +00:00
Andreas Gustafsson
937ccb270e The call to incremental_cleaning_action() added to cleaning_timer_action()
in revision 1.40 is clearly incorrect.  If the cleaner is already in the busy state, a call to
incremental_cleaning_action() has already been scheduled as an event, and there is no
need to do an extra call.  Furthermore, the call passed the timer event as an argument
to incremental_cleaning_action(), which would ultimately cause it to be passed
to end_cleanin() and assigned to cleaner->resched_event rather than freed.
This commit may or may not fix RT #1912.
2001-10-18 01:40:56 +00:00
Andreas Gustafsson
dcfc52bbba Added a version.h file for each library; made version
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
3c3fe07225 1055. [func] Version and hostname queries can now be disabled
using "version none;" and "hostname none;",
                        respectively.
(for consistency with "pid-file none" and each other)
2001-10-16 22:18:59 +00:00
Andreas Gustafsson
8d2b885018 The option for disabling the PID file is now pid-file none, not pid-file "none" 2001-10-16 20:04:41 +00:00
Mark Andrews
ec95dac291 pullup:
1054.   [bug]           winnt: cfg_categories and cfg_modules need to be
                        visible outside of the libisccfg DLL.
2001-10-16 05:58:29 +00:00
Mark Andrews
c8b58baa78 Change #1042 was incomplete. cfg_categories and cfg_modules need to be
visible outside of the DLL.
2001-10-16 05:28:14 +00:00
Mark Andrews
a1a06d7854 pullup:
1052.  [bug]           Journals were not being created in binary mode
                       resulting in "journal format not recognized" error
                       under Windows NT/2000.  [RT #1889]
2001-10-15 04:57:51 +00:00
Mark Andrews
1094dec52a 1052. [bug] Journals were not being created in binary mode
resulting in "journal format not recognized" error
                        under Windows NT/2000.  [RT #1889]
2001-10-15 04:47:55 +00:00
Mark Andrews
267d8eb613 pullup:
1050.  [bug]           Log messages reporting malformed IP addresses in
                       address lists such as that of the forwarders option
                       failed to include the correct error code, file
                       name, and line number. [RT #1890]
2001-10-13 03:52:13 +00:00
Andreas Gustafsson
b38ab99bdc patch from Danny:
Fixed formattimestamp to use locale specific dates and times, the same way
as Unix format
2001-10-13 01:57:37 +00:00
Andreas Gustafsson
6e93e6ea45 if the sdb lookup function fails at the zone origin for reasons other
than nonexistence of the domain name, the failure should be propagated
to the caller
2001-10-13 01:37:58 +00:00
Andreas Gustafsson
01818a424a document return value of the sdb lookup function 2001-10-13 01:32:34 +00:00
Andreas Gustafsson
62a3dbe63e 1050. [bug] Log messages reporting malformed IP addresses in
address lists such as that of the forwarders option
                        failed to include the correct error code, file
                        name, and line number. [RT #1890]
2001-10-12 22:00:31 +00:00
Andreas Gustafsson
315eafec07 pullup:
1039.   [bug]           Negative responses with CNAMEs in the answer section
                        were cached incorrectly. [RT #1862]
2001-10-12 17:49:41 +00:00
Mark Andrews
a4fbe403e4 pullup:
1048.   [bug]           Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
                        didn't work.
2001-10-12 01:17:37 +00:00
Andreas Gustafsson
e69b9ffb0f 1048. [bug] Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
didn't work.
2001-10-12 00:35:11 +00:00
Andreas Gustafsson
29ca9003a5 use "oldconfig", not "_placeholder" as the name of the
obsolete DNS_LOGCATEGORY_CONFIG logging category, to lessen confusion in
case someone links a 9.2.0-pre-rc7 binary against an rc7 or newer shared
library
2001-10-11 23:07:00 +00:00
Andreas Gustafsson
7779b6cbf6 pullup:
1045.   [bug]           It was possible to skip saving glue for a nameserver
                        for a stub zone.
2001-10-11 17:20:40 +00:00
Andreas Gustafsson
e370391b5e pullup:
1044.   [bug]           Specifying allow-transfer, notify-source, or
                        notify-source-v6 in a stub zone was not treated
                        as an error.
2001-10-11 17:12:42 +00:00
Mark Andrews
ada9b8ab20 1045. [bug] It was possible to skip saving glue for a nameserver
for a stub zone.
2001-10-11 06:12:42 +00:00
Mark Andrews
3a92768cad 1044. [buf] Specifying allow-transfer, notify-source or
notify-source-v6 in a stub zone was not treated as
                        a error.
2001-10-11 04:52:21 +00:00
Mark Andrews
329fd2fe75 pullup:
1043.   [bug]           Specifying a transfer-source or transfer-source-v6
                        option in the zone statement for a master zone was
                        not treated as an error. [RT #1876]
2001-10-11 03:31:04 +00:00
Mark Andrews
8002894e6e pullup:
1042.   [bug]           The "config" logging category did not work properly.
                        [RT #1873]
2001-10-11 02:03:23 +00:00
Andreas Gustafsson
bb60abb445 1043. [bug] Specifying a transfer-source or transfer-source-v6
option in the zone statement for a master zone was
                        not treated as an error. [RT #1876]
2001-10-11 01:55:03 +00:00
Andreas Gustafsson
024face21c 1042. [bug] The "config" logging category did not work properly.
[RT #1873]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
78d811f8fb spacing 2001-10-11 01:07:50 +00:00
Andreas Gustafsson
247b6de61b Some comments referred to DNS_R_NOTVERIFIEDYET as
DNS_R_SIGNOTVERIFIEDYET
2001-10-10 21:39:16 +00:00
Mark Andrews
13f2c161db 1039. [bug] We cached an incorrect negative response if there were
CNAMES in the answer section.  [RT#1862]
2001-10-10 04:11:32 +00:00
Andreas Gustafsson
ae62248c8a pullup:
1038.   [bug]           TKEY queries with an owner name other than the root
                        could cause an assertion failure. [RT #1866, #1869]
2001-10-09 23:06:57 +00:00
Brian Wellington
173a45b43c fix assertion in tkey code [RT #1866] 2001-10-09 17:26:33 +00:00
Mark Andrews
3fc4c1434d 1037. [bug] We failed to reject some self inconsistant answers.
[RT #1862]
2001-10-09 08:03:32 +00:00
Andreas Gustafsson
96bc10707a pullup:
on plaforms with no gettimeofday(), use struct _TIMEZONE instead of
struct timezone
2001-10-09 00:51:07 +00:00
Andreas Gustafsson
6c6ceac1bc reverted incorrect commit 2001-10-08 18:58:11 +00:00
Andreas Gustafsson
c7302ffd98 pullup:
1031.   [bug]           libbind.a: isc__gettimeofday() infinite recursion.
                        [RT #1858]
2001-10-08 18:10:57 +00:00
Mark Andrews
df7596a03e 1032. [func] hostname.bind/txt/chaos now returns the name of
the machine hosting the nameserver.  This is useful
                        in diagnosing problems with anycast servers.
2001-10-08 07:46:11 +00:00
Danny Mayer
f3fcde886c Fixed formattimestamp to use locale specific dates and times, the same way as Unix format 2001-10-08 01:20:08 +00:00
Mark Andrews
f08782f092 1031. [bug] libbind.a: isc__gettimeofday() infinite recursion.
[RT #1858]
2001-10-08 00:33:45 +00:00
Danny Mayer
4186249fea Eliminate unnecessary macro and increase buffer length MAX_NAME_LENGTH 2001-10-06 01:10:06 +00:00
Danny Mayer
5ea492b94d Restore Andrea's changes along with the updates 2001-10-05 22:25:54 +00:00
Bob Halley
8db00cd940 add 2001-10-05 20:57:24 +00:00
Danny Mayer
49d23a92a9 Check for malloc out-of-memory conditions, changed return codes to provide more meaningful error codes. Minor cleanup 2001-10-05 05:51:50 +00:00
Andreas Gustafsson
4e9291c48b pullup:
the wrong result code was checked [RT #1847]
2001-10-04 19:43:06 +00:00
Brian Wellington
61e30d3194 the wrong result code was checked [RT #1847] 2001-10-04 18:22:57 +00:00
Andreas Gustafsson
a1d2958b24 pullup:
1022.   [bug]           Don't report empty root hints as "extra data".
                        [RT #1802]
2001-10-03 22:31:19 +00:00
Mark Andrews
b09f4e054c 1025. [bug] Don't use multicast addresses to resolve iterative
queries.  [RT #101]
2001-10-03 07:43:03 +00:00
Mark Andrews
40dd9cb8cc 1024. [port] HP and Sun decided to use the same macros and
structures for different things.
2001-10-03 05:08:32 +00:00
Mark Andrews
8f534756ca Disallow creation of TYPE0 records from wire data 2001-10-03 02:07:34 +00:00
Mark Andrews
2d4f039432 Disallow creation of TYPE0 records from master files, since the server
reserves type 0 for internal purposes related to negative caching
2001-10-03 02:05:25 +00:00
Andreas Gustafsson
6bebabb376 Also disallow creation of TYPE0 records from wire data 2001-10-03 00:51:38 +00:00
Andreas Gustafsson
de5247ae16 Disallow creation of TYPE0 records from master files, since the server reserves type 0 for
internal purposes related to negative caching
2001-10-02 23:33:04 +00:00
Mark Andrews
c54091c8ed IPv6 addresses containing mapped IPv4 addresses generate the same hash
value as the equivalent IPv4 address.  This is now true regardless of
the value of address_only.  Document.
2001-10-02 06:06:15 +00:00
Andreas Gustafsson
1b8eaf4143 style 2001-10-01 20:58:51 +00:00
Andreas Gustafsson
24dd4582a2 install check.h in include/bind9, not include/isccfg 2001-10-01 20:53:48 +00:00
Andreas Gustafsson
9066d09c3e Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Andreas Gustafsson
1ebadd777b pullup:
1021.   [bug]           On Win32, log message timestamps were one month
                        later than they should have been, and the server
                        would exhibit unspecified behavior in December.
2001-10-01 01:42:38 +00:00
Mark Andrews
96ea98af24 1023. [func] Accept hints without TTLs. 2001-09-30 04:31:28 +00:00
Mark Andrews
54c4aa0f62 1022. [bug] Allow hints to be completely empty. [RT #1802] 2001-09-30 03:02:47 +00:00
Danny Mayer
37f08fab28 Timestamp was one month later than it should have been. SYSTEMTIME starts with January=1 2001-09-30 02:41:11 +00:00
Bob Halley
3e1f3de348 check.h has moved to libbind9 2001-09-29 20:00:39 +00:00
Bob Halley
6d7c0fd73b add 2001-09-29 19:59:29 +00:00
Bob Halley
27ef660057 cfg.h and log.h are not in libbind9 2001-09-29 19:59:11 +00:00
Bob Halley
e83e8e7734 libtool is generated 2001-09-29 19:58:52 +00:00
Andreas Gustafsson
513dd4a616 style 2001-09-28 23:34:55 +00:00
Andreas Gustafsson
c3312fd9d0 pullup:
dns_tsigkey_createfromkey wasn't checking that the key algorithm matched the
key name.
2001-09-27 23:17:10 +00:00
Brian Wellington
ff7b9eede9 dns_tsigkey_createfromkey wasn't checking that the key algorithm matched the
key name.
2001-09-27 17:49:11 +00:00
Andreas Gustafsson
82c168127c When retrying with AXFR after a failed IXFR, don't do a SOA query
over TCP before the AXFR request.  Doing so has not been
necessary since zone maintenance using UDP SOA queries was
implemented in zone.c a long time ago.
2001-09-27 01:01:46 +00:00
Brian Wellington
c9b3f64262 fix comment 2001-09-25 22:45:02 +00:00
Danny Mayer
7e351cd18f Added named service location in Registry 2001-09-25 01:41:43 +00:00
Danny Mayer
ecde762a60 Code to fetch list of NT Groups for a given account. This is used for retrieving privilege information and rights for an account as well as for NTFS File system and other object security 2001-09-25 01:37:02 +00:00
Andreas Gustafsson
4632c084a6 missing comma in last pullup [RT #1780] 2001-09-21 23:18:45 +00:00
Andreas Gustafsson
1d89523b69 pullup:
1000.   [bug]           BIND 8 compatibility: accept "HESIOD" as a alias
                        for class "HS".  [RT #1759]
2001-09-21 20:46:35 +00:00
Andreas Gustafsson
4fdcaf0cc7 redo pullup:
1013.   [bug]           It was possible to cancel a query twice when marking
                        a server as bogus or by having a blackhole acl.
                        [RT #1776]
2001-09-21 20:40:06 +00:00
Andreas Gustafsson
7e470ba93b oops, previous commit included other stuff in addition to the
intended pullup; reverting it
2001-09-21 20:37:09 +00:00
Andreas Gustafsson
f0f9aa979b pullup:
1013.   [bug]           It was possible to cancel a query twice when marking
                        a server as bogus or by having a blackhole acl.
                        [RT #1776]
2001-09-21 18:50:46 +00:00
Mark Andrews
8296690f17 DNS_EVENT_QUERYABORTED is no longer gemerated. 2001-09-21 14:00:06 +00:00
Mark Andrews
595a14576e 1013. [bug] It was possible to cancel a query twice when marking
a server as bogus or by having a blackhole acl.
                        [RT #1776]
2001-09-21 13:31:55 +00:00
Brian Wellington
8f674b13e8 dns_time*_fromtext should take "const char *"s, not "char *"s. 2001-09-21 00:11:30 +00:00
Andreas Gustafsson
1299e93989 1011. [cleanup] Removed isc_dir_current(). 2001-09-20 21:21:53 +00:00
Andreas Gustafsson
d6baaf3649 added INSISTs to help diagnose RT #1775 2001-09-20 16:48:20 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +00:00
Mark Andrews
ae5df22719 iadd missing const 2001-09-20 06:50:34 +00:00
Mark Andrews
ad8e6236a4 add missing const to declaration. 2001-09-20 06:50:08 +00:00
Brian Wellington
a25169ea43 pullup:
1006.   [bug]           If a KEY RR was found missing during DNSSEC validation,
			an assertion failure could subsequently be triggered
			in the resolver. [RT #1763]
2001-09-19 21:51:42 +00:00
Andreas Gustafsson
01446841be 1006. [bug] If a KEY RR was found missing during DNSSEC validation,
an assertion failure could subsequently be triggered
                        in the resolver. [RT #1763]
2001-09-19 21:25:46 +00:00
Mark Andrews
5e8c385e64 pullup:
1004.  [port]          Deal with recvfrom() returning EHOSTDOWN. [RT #1770]
2001-09-19 02:37:21 +00:00
Brian Wellington
21825a8d00 Sync up the dnssec key algorithms listed in include/dns/keyvalues.h and
rdata.c.
2001-09-19 00:14:48 +00:00
Andreas Gustafsson
1de63e34f1 1004. [port] Deal with recvfrom() returning EHOSTDOWN. [RT #1770] 2001-09-18 22:54:02 +00:00
Andreas Gustafsson
9b009c9f5a reverted previous change since it doesn't compile after make clean 2001-09-18 18:43:16 +00:00
Mark Andrews
2bb3d8bdfe Make casting easier in symbolic debuggers by using different names
for the 64 bit version.
2001-09-18 14:30:10 +00:00
Andreas Gustafsson
94c8b1aa0f pullup:
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745]
2001-09-17 22:28:57 +00:00
Andreas Gustafsson
67298a4b2f "data" is plural 2001-09-17 20:24:13 +00:00
Mark Andrews
36a91ab163 Don't send notifies to mapped addresses. 2001-09-17 14:04:32 +00:00
Mark Andrews
8138bb315d The hash of IPv6 isc_sockaddr_t containing mapped IPv4 addresses should be
the same as the hash of the corresponding IPv4 isc_sockaddr_t.
2001-09-17 06:58:18 +00:00
Mark Andrews
f0261e88a8 check view/zone classes. 2001-09-17 02:48:58 +00:00
Danny Mayer
8423b244ec doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745] 2001-09-16 06:19:22 +00:00
Mark Andrews
e6f17474cb 1000. [func] Accept "HESIOD" as a alias for class "HS". 2001-09-16 05:27:04 +00:00
Mark Andrews
5fe1a246cf replace common code in dns_journal_commit by calling index_to_disk().
remove redundant call to index_to_disk() from dns_journal_compact().
2001-09-15 07:16:39 +00:00
Andreas Gustafsson
b2eeaf6500 pull up part of 997.:
ISC_R_SUCCESS could be returned on failure
2001-09-15 00:37:18 +00:00
Brian Wellington
4fb42a8382 unused #defines 2001-09-15 00:27:26 +00:00
Brian Wellington
36e37042c6 997. [func] Add support for RSA-SHA1 keys. 2001-09-15 00:01:58 +00:00
Andreas Gustafsson
4a20a92f4f replaced 994. with alternative fix:
994.   [func]          Treat non-authoritative responses to queries for type
                        NS as referrals even if the NS records are in the
                        answer section, because BIND 8 servers incorrectly
                        send them that way.  This is necessary for DNSSEC
                        validation of the NS records of a secure zone to
                        succeed when the parent is a BIND 8 server. [RT #1706]
2001-09-14 21:04:35 +00:00
Andreas Gustafsson
34aa790937 reverted 994. 2001-09-14 20:53:33 +00:00
Mark Andrews
56d69016f4 994. [bug] If the unsecure proof fails for unsigned NS records
attempt a secure proof using the NS records found as
                        glue to find the NS records from the zone's servers
                        along with associated glue rather than from parent
                        servers.  [RT #1706]
2001-09-13 07:23:39 +00:00
Andreas Gustafsson
5de2109e1c pullup:
A message could be leaked when a segment of an incoming zone transfer
failed to verify.
2001-09-12 20:44:04 +00:00
Brian Wellington
ee3555e8c0 A message could be leaked when a segment of an incoming zone transfer
failed to verify.
2001-09-12 20:39:36 +00:00
Andreas Gustafsson
db3822841c failures in dns_db_diff() could cause the server to leak
memory
2001-09-12 18:45:02 +00:00
Andreas Gustafsson
115019ee2c replay the journal on the initial load only,
as it is not needed on subsequent loads and will fail
if the zone is a newly edited zone with ixfr-on-differences
enabled
2001-09-12 18:44:54 +00:00
Mark Andrews
da4535c4b4 991. [func] Lower UDP refresh timeout messages to DEBUG(1). 2001-09-12 03:46:32 +00:00
Andreas Gustafsson
1015c4cdea pullup:
989.   [bug]           Report filename if $INCLUDE fails for file related
                        errors. [RT #1736]
2001-09-11 23:32:55 +00:00
Mark Andrews
9de04a5713 LOGIT -> LOGITFILE 2001-09-11 05:09:41 +00:00
Mark Andrews
1592bf7349 989. [bug] Report filename if $INCLUDE fails for file related
errors.  [RT #1736]
2001-09-11 04:56:06 +00:00
Andreas Gustafsson
976dd45973 pullup:
compare: a REQUIRE() was comparing a variable against itself not agaist the
other arguement as it should have been.
2001-09-11 01:09:07 +00:00
Mark Andrews
f3352b9bec compare: a REQUIRE() was comparing a variable against itself not agaist the
other arguement as it should have been.
2001-09-10 23:47:26 +00:00
Andreas Gustafsson
8cccaeaee1 New named.conf option "ixfr-from-differences" [RT #1727] 2001-09-08 00:21:49 +00:00
Mark Andrews
e0806ab5ed Correct comment saying that 'max_size' is ignored. 2001-09-07 00:51:51 +00:00
Mark Andrews
ae35d154ce pullup:
host-statistics is not implemented,
maintain-ixfr-base is obsolete [RT #1717]
2001-09-06 23:06:43 +00:00
Andreas Gustafsson
50a8312c9f #define ISC_MEM_TRACKLINES 1 2001-09-06 23:03:17 +00:00
Andreas Gustafsson
f8dbd659d0 When ISC_MEM_TRACKLINES=1, don't calle {add,delete}_trace_entry()
for every alloc/free if neither ISC_MEM_DEBUGTRACE nor
ISC_MEM_DEBUGRECORD is turned on.  This removes my
last objection to setting ISC_MEM_TRACKLINES=1 by default.
2001-09-06 23:03:01 +00:00
Andreas Gustafsson
6d858e75d4 more documentation; indentation 2001-09-06 22:13:47 +00:00
Andreas Gustafsson
fe5146716e host-statistics is not implemented,
maintain-ixfr-base is obsolete [RT #1717]
2001-09-06 21:52:46 +00:00
Andreas Gustafsson
18159f6f60 document what ISC_MEM_DEBUG does; clarify descriptions of other
memory debugging options
2001-09-06 18:23:35 +00:00
Andreas Gustafsson
eb70ba210b spacing 2001-09-06 01:06:24 +00:00
Mark Andrews
2958e100b5 check return value of strftime() 2001-09-06 00:34:06 +00:00
Mark Andrews
aa6e560fbd 980. [bug] Incoming zone transfers restarting after an error
could trigger an assertion failure. [RT #1692]
2001-09-06 00:23:19 +00:00
Andreas Gustafsson
3f538ef15c pullup:
[RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-06 00:14:18 +00:00
Andreas Gustafsson
847169dab2 980. [bug] Incoming zone transfers restarting after an error
could trigger an assertion failure. [RT #1692]
2001-09-05 23:02:28 +00:00
Brian Wellington
ed29aefe31 [RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington
aba9f3dd7e remove an invalid close paren 2001-09-05 21:05:36 +00:00
Andreas Gustafsson
f58f6043ce pullup:
Assertion failure when ISC_MEM_DEBUGRECORD set.
2001-09-05 17:51:13 +00:00
Andreas Gustafsson
f17bffa68d pullup:
isc_time_formattimestamp() created static const for bad time string
2001-09-05 17:32:05 +00:00
Andreas Gustafsson
b1436346a0 pullup:
isc_file_getmodtime() does not need write access to file
2001-09-05 17:29:25 +00:00
Andreas Gustafsson
26f327f1f5 const correctness 2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d check return value of strftime() 2001-09-05 17:05:47 +00:00
Andreas Gustafsson
fdd3a3e7fa pullup:
needs #include <isc/print.h>
2001-09-05 17:04:43 +00:00
Andreas Gustafsson
33f87146a8 needs #include <isc/print.h> 2001-09-05 17:03:42 +00:00
Andreas Gustafsson
e282509475 80 columns 2001-09-05 16:55:05 +00:00
Mark Andrews
e6e233e73f remove extranous debugging 2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade Call dns_master_dumpinc() for "regular" dumps. 2001-09-05 14:13:29 +00:00
Mark Andrews
ed03e26c44 Add dns_dumpctx_db() and dns_dumpctx_version(). 2001-09-05 10:28:55 +00:00
Mark Andrews
7f006841fc Assertion failure when ISC_MEM_DEBUGRECORD set. 2001-09-05 06:26:07 +00:00
Mark Andrews
1d32e01f17 testing wrong variable 2001-09-05 06:04:58 +00:00
Danny Mayer
e78a28ffb5 isc_time_formattimestamp() created static const for bad time string 2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1 isc_file_getmodtime() does not need write access to file 2001-09-05 04:17:13 +00:00
Andreas Gustafsson
7ee450d5f6 pullup:
972.   [bug]           The file modification time code in zone.c was using the
                        wrong epoch.  [RT #1667]
(This pullup includes not only the changes to zone.c, but all the
recent epoch-related fixes)
2001-09-05 00:38:13 +00:00
Andreas Gustafsson
641e33bdd4 pullup:
978.   [bug]           dns_db_attachversion() had an invalid REQUIRE()
                        condition.
2001-09-04 23:09:33 +00:00
Andreas Gustafsson
faedfb6dce pullup:
Previous update was missing the release version of telling how to build the
resource file [RT #1668]
2001-09-04 22:54:59 +00:00
Andreas Gustafsson
89227c76be pullup:
977.   [bug]           Improve "not at top of zone" error message.
2001-09-04 22:51:41 +00:00
Andreas Gustafsson
e5094285ce pullup:
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-04 19:36:33 +00:00
Andreas Gustafsson
2c141ce0fb pullup:
975.   [bug]           "max-cache-size default;" as a view option
                        caused an assertion failure.

 974.   [bug]           "max-cahe-size unlimited;" as a global option
                        was not accepted.
2001-09-04 19:15:36 +00:00
Mark Andrews
c6b5faa001 remove extraneous UNUSED(). 2001-09-04 14:27:42 +00:00
Mark Andrews
9aba20edee 979. [func] Incremental master file dumping. dns_master_dumpinc(),
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
                        dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
e8d86192fc 978. [bug] dns_db_attachversion() had an invalid REQUIRE()
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer
aa7638fce5 Fix some signed/unsigned mismatches when comparing offsets 2001-09-04 04:14:31 +00:00
Danny Mayer
6f2e507e7e Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files 2001-09-04 03:22:23 +00:00
Danny Mayer
7c7b389ae0 Added isc_file_truncate routine 2001-09-04 03:10:33 +00:00
Danny Mayer
dcc35bf6a4 Previous update was missing the release version of telling how to build the resource file [RT #1668] 2001-09-04 03:05:55 +00:00
Mark Andrews
bae5d9fcb4 977. [bug] Improve "not at top of zone" error message. 2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96 zone_settimer() nolonger needs to calculate the interval between two times.
[RT #1691]
2001-09-03 01:21:19 +00:00
Danny Mayer
a22a4084dd Update to change path to resolv.conf and define RESOLV_CONF 2001-09-01 05:22:04 +00:00
Andreas Gustafsson
847ed3fccf new configuration data type cfg_type_sizenodefault,
which can be a size or the string 'unlimited' but not the string
'default'.  This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f allow setting a default max-journal-size in the options or view 2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe call the new option for setting the maximum journal
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Andreas Gustafsson
355cc22e32 The epoch is once again zero in Win32;
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson
43f117d5f0 typo in comment 2001-09-01 00:46:04 +00:00
Andreas Gustafsson
b3034d815c isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after 2001-09-01 00:18:43 +00:00
Andreas Gustafsson
bdec94477c isc_file_getmodtime() should call GetFileTime(), not file_stats(),
so that the time returned is a native win32 FILETIME
2001-09-01 00:05:38 +00:00
Andreas Gustafsson
528baec07b removed C++ comments; comment and indentation style 2001-08-31 23:57:05 +00:00
Andreas Gustafsson
ff8cd3afa7 implemented isc_time_formattimestamp() for Win32.
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Andreas Gustafsson
6184f9fc1e REQUIRE(len > 0) 2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86 added isc_time_formattimestamp() (Unix only so far);
call it from log.c [RT #1687]
2001-08-31 21:51:27 +00:00
Andreas Gustafsson
0674850fcb in dns_zone_notifyreceive(), the variable 'now' was
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648 in zone_settimer(), it seems cleaner to check whether
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Andreas Gustafsson
9113f8b75c pullup: string formats 2001-08-31 18:01:22 +00:00
Mark Andrews
4b87939256 strerror() -> isc__strerror() [RT #1689] 2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107 string formats 2001-08-31 04:47:59 +00:00
Mark Andrews
ac9d955cdd pullup:
The request object would fail to send its completion event when
the control event was delivered if a response was received between
sending and delivery of the completion event [RT #1676]
Fix locking hierarchy violation [RT #1672]
2001-08-31 02:07:11 +00:00
Mark Andrews
cfa3ab7f89 Timers now use isc_time_t rather than isc_stdtime_t.
zone->expiretime now has a consistant epoch [RT #1686]
2001-08-31 02:01:56 +00:00
Andreas Gustafsson
39125379e5 made mkstemp() static 2001-08-30 21:16:41 +00:00
Andreas Gustafsson
faa96aba6d removed empty line 2001-08-30 20:55:37 +00:00
Andreas Gustafsson
c2df80e759 lower case 2001-08-30 20:40:27 +00:00
Andreas Gustafsson
6aa1a89bf1 pullup:
RT #1675 resolv.conf was specified to be in an invalid directory.
Location was changed to be in the same etc directory as all of the other
configuration files
2001-08-30 20:29:53 +00:00
Andreas Gustafsson
9ec3c7b42d mem.c did not compile when ISC_MEM_TRACKLINES was not defined 2001-08-30 20:23:44 +00:00
Mark Andrews
6668eca26b 972. [bug] The file modification time code in zone.c was using the
wrong epoch.  [RT #1667]
2001-08-30 06:48:43 +00:00
Mark Andrews
06a960c681 971. [func] 'try-edns' can be use to disable edns on all queries. 2001-08-30 05:52:18 +00:00
Mark Andrews
90989375ca Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set. 2001-08-30 05:40:04 +00:00
Mark Andrews
bd3091eb7d compact journals on succesful dumps to the zone file. 2001-08-30 05:24:44 +00:00
Mark Andrews
cc0a5f7142 journal-size can now be set from named.conf 2001-08-30 05:23:00 +00:00
Mark Andrews
fa59c08f71 abort transfer if SOA response is not authoritative. 2001-08-30 05:12:39 +00:00
Mark Andrews
2c64908ae0 DNS_R_NOTAUTHORITATIVE 2001-08-30 05:10:55 +00:00
Mark Andrews
53e3724e23 dns_journal_compact() 2001-08-30 05:04:18 +00:00
Mark Andrews
59251c9e9c isc_file_truncate() 2001-08-30 04:55:36 +00:00
Mark Andrews
91579a2424 add isc_strerror to build 2001-08-30 04:49:36 +00:00
cvs2git
92e662f530 This commit was manufactured by cvs2git to create branch 'v9_3'. 2001-08-30 04:33:22 +00:00
cvs2git
02da396800 This commit was manufactured by cvs2git to create branch 'v9_2'. 2001-08-30 04:33:21 +00:00
Mark Andrews
c654449ccf isc__strerror 2001-08-30 04:33:20 +00:00
Danny Mayer
b602bf9e8b RT #1667. File modification dates were wrong due to the isc_time_set routine not adding back the epoch to give the absolute Windows time and isc_file_settime not correctly making the right calls to modify the file date 2001-08-30 04:31:31 +00:00
Danny Mayer
e2a35f7524 RT #1675 resolv.conf was specified to be in an invalid directory. Location was changed to be in the same etc directory as all of the other configuration files 2001-08-30 04:28:24 +00:00
Andreas Gustafsson
8068ceb2a9 The request object would fail to send its completion event
when the control event was delivered if a response was received between sending and delivery
of the completion event [RT #1676]
2001-08-29 23:52:28 +00:00
Andreas Gustafsson
9cb39bbe40 fix locking hierarchy violation [RT #1672] 2001-08-29 21:15:56 +00:00
Mark Andrews
7231717254 Ensure that the files contents have been synced to disk prior to renaming. 2001-08-29 05:52:49 +00:00
Danny Mayer
06b47b13db Bug #1671 isc_time_now was erroneously calling strtime() 2001-08-29 05:13:42 +00:00
Danny Mayer
9559bf89b1 Bug #1668 resource file was missing in link 2001-08-29 05:08:58 +00:00
Mark Andrews
28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
9c067741f1 don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666] 2001-08-27 21:47:00 +00:00
Andreas Gustafsson
fba21fcab9 regenerated 2001-08-27 18:53:29 +00:00
Andreas Gustafsson
b495fd2992 each AC_MSG_CHECKING should be balanced with an
AC_MSG_RESULT
2001-08-27 18:52:59 +00:00
Andreas Gustafsson
c7eb99970e consistently use single quotes around varying text
in log messages
2001-08-27 17:21:56 +00:00
Andreas Gustafsson
135c1c53b8 don't INSIST() that calling dns_db_find() on the root hints
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443 965. [bug] Using non root hints caused a rbtdb node reference
leak.    [RT #1581, RT #1618]
2001-08-27 06:10:17 +00:00
Mark Andrews
440906ce59 INSIST that the rdataset is unassociated. 2001-08-27 03:58:44 +00:00
Mark Andrews
73ac1894ea 964. [func] Warn if non root hints data is found in hints file. 2001-08-27 03:36:00 +00:00
Mark Andrews
330b421487 963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645] 2001-08-20 23:56:25 +00:00
Mark Andrews
9b30c8e8f0 regen 2001-08-20 07:47:05 +00:00
Mark Andrews
e22dca2a9a 962. [bug] libbind: bad "#undef", don't attempt to install
non-existant nlist.h.  [RT #1640]
2001-08-20 07:44:53 +00:00
Mark Andrews
d7728fcf85 add nlist.h 2001-08-20 07:29:47 +00:00
Mark Andrews
2c0b26955e 961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
was not defined.  [RT #1482]
2001-08-16 07:27:48 +00:00
Mark Andrews
2449f41e75 960. [port] liblwres failed to build on systems with support for
getrrsetbyname() in the OS.  [RT #1592]
2001-08-16 06:39:33 +00:00
Mark Andrews
6f7660093e 959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584] 2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e silence format warning: remove unused arg. 2001-08-12 00:12:14 +00:00
Mark Andrews
a28db387fc full copyrights 2001-08-09 06:15:34 +00:00
Mark Andrews
2861ab6188 regen 2001-08-09 06:09:30 +00:00
Mark Andrews
8e6813696a support running configure in a directory other than the source directory 2001-08-09 05:59:58 +00:00
Danny Mayer
51ac5c28de Changed win32 code to remove references to named.key 2001-08-09 02:55:41 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
b21320abb5 brace style 2001-08-08 20:52:34 +00:00
Danny Mayer
66352c0a05 Added support for key for win32 2001-08-06 05:34:26 +00:00
Mark Andrews
907ec2c618 952. [bug] The server required manual intervention to serve the
affected zones if it died between creating a journal
                        and committing the first change to it.
2001-08-06 02:10:59 +00:00
Andreas Gustafsson
66ff5b7d78 cut-and-paste-o 2001-08-03 23:19:01 +00:00
Andreas Gustafsson
7dac8d231c the server would catch an assertion failure if the key statement in rndc.key
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d mark rrset-order as unimplemented [RT #1561] 2001-08-02 23:36:23 +00:00
Danny Mayer
a59a1d313a Updated .mak files to remove dependancies 2001-08-02 07:05:43 +00:00
Andreas Gustafsson
23a020bc13 950. [bug] Explicit TTLs did not properly override
due to a bug in change 834. [RT #1558]
2001-08-01 17:58:45 +00:00
Andreas Gustafsson
ab54086529 print detailed description of grammar of socket addresses instead
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
Mark Andrews
43e2ec89d8 redundate #include 2001-07-31 03:45:04 +00:00
Andreas Gustafsson
9f5a862a90 lwres.h should be installed, and net.h should not 2001-07-31 01:32:45 +00:00
Mark Andrews
c38b92000c 947. [bug] dns_rdata_soa_t had a badly name element "mname" which
was really the RNAME field from RFC1035.  To avoid
                        confusion and silent errors that would occur it ther
                        "origin" and "mname" elements were given their correct
                        names "mname" and "rname" respectively, the "mname"
                        element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Danny Mayer
b59115de5f Updated config information 2001-07-28 02:50:39 +00:00
Andreas Gustafsson
321fd0ceb4 in named-checkconf, pass in the complete path of named.conf
as NAMED_CONFFILE instead of constructing it by compile-time concatenation of NS_SYSCONFDIR
and /named.conf, to facilitate win32 support
2001-07-27 17:45:29 +00:00
Danny Mayer
0794ffffee Added paths info 2001-07-27 05:17:39 +00:00
Danny Mayer
075a7534a8 Added path information - retry 2001-07-27 05:16:55 +00:00
Danny Mayer
61e561c2ca Added path information 2001-07-27 05:15:27 +00:00
Andreas Gustafsson
90e289c59f A6 has an RFC now 2001-07-26 21:34:02 +00:00
Andreas Gustafsson
657a6a6f3c some unimplemented options were not marked as such in the grammar summary output 2001-07-26 21:27:51 +00:00
Brian Wellington
26a5f97dd8 Don't refer to keys as "TSIG keys", since they might be used for rndc only,
and this could be confusing.
2001-07-26 20:54:35 +00:00
Brian Wellington
ee3ab6063d 945. [func] Add the new view-specific options
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson
e5b18854e3 define RNDC_AUTOCONFFILE on win32 so that the code again
compiles on win32 and behaves like it did before.
2001-07-26 20:40:01 +00:00
Andreas Gustafsson
38f0e0520c tabified 2001-07-26 20:31:48 +00:00
Andreas Gustafsson
dcfaeabc63 renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Brian Wellington
d81622b537 944. [func] Check for expired signatures on load. 2001-07-24 18:49:06 +00:00
Danny Mayer
b61c97cebd Changed initialize to include void. This keeps the VC++ compiler from complaining about the isc_once_do code arguments 2001-07-24 05:23:38 +00:00
Andreas Gustafsson
831bbce008 commented trust levels 2001-07-23 17:55:37 +00:00
Andreas Gustafsson
2fa436a15c 80 columns 2001-07-23 16:58:18 +00:00
Mark Andrews
90228beed3 regen 2001-07-23 07:03:10 +00:00
Mark Andrews
af898946e4 osf 4.0 support 2001-07-23 07:02:48 +00:00
Mark Andrews
3ef9b0c10f regen 2001-07-23 05:22:22 +00:00
Mark Andrews
a1a421899e BSDI 4.2 support [RT #1529] 2001-07-23 05:21:56 +00:00
Danny Mayer
dfca19a1aa Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations 2001-07-23 05:00:44 +00:00
Danny Mayer
1bf250400e Make file for bindevt 2001-07-23 03:04:32 +00:00
Danny Mayer
2b9debd520 syslog for win32 2001-07-23 03:03:22 +00:00
Danny Mayer
10266aa76f Conditionalize declaration of LIBLWRES_EXTERNAL_DATA 2001-07-23 03:01:56 +00:00
Mark Andrews
06596f0ec7 wrog prototype for getnetbyaddr_r under glibc 2001-07-23 00:48:51 +00:00
Andreas Gustafsson
33654a83db const correctness [RT #1011] 2001-07-23 00:23:30 +00:00
Mark Andrews
75b3a86c57 regen 2001-07-23 00:05:04 +00:00
Mark Andrews
ab35bf14bd osf getnetent_r changes 2001-07-23 00:04:28 +00:00
Danny Mayer
72dc0b0824 Added make file 2001-07-22 06:30:18 +00:00
Danny Mayer
1186577d90 Updated scripts and added make file 2001-07-22 06:28:49 +00:00
Danny Mayer
e056d87076 Updated scripts 2001-07-22 06:26:47 +00:00
Danny Mayer
138fc7eeba Created makefile 2001-07-22 06:25:34 +00:00
Danny Mayer
22a0a2c432 Fixed variable declarations 2001-07-22 06:22:28 +00:00
Danny Mayer
71542eaf04 Added make file and updated scripts 2001-07-22 06:21:05 +00:00
Mark Andrews
4bec81d388 regen 2001-07-20 11:06:19 +00:00
Mark Andrews
2da0b7dfbd 942. [port] libbind: GETNETBYADDR_ADDR_T was not correctly
defined on some platforms.
2001-07-20 11:06:05 +00:00
Andreas Gustafsson
7faa8f35e5 coding style 2001-07-19 17:13:54 +00:00
Andreas Gustafsson
001d1ceec6 coding style 2001-07-19 16:59:32 +00:00
Brian Wellington
1cb6e8cbe4 941. [bug] The configuration checker crashed if a slave
zone didn't contain a masters statement. [RT #1514]
2001-07-19 16:29:14 +00:00
Danny Mayer
3316814025 Added support for win32 2001-07-19 06:11:31 +00:00
Mark Andrews
2033e30585 940. [bug] Double zone locking failure on error path. [RT #1510] 2001-07-19 05:08:03 +00:00
Mark Andrews
3489d64bde "or equals" rather than "not equals" 2001-07-19 04:57:46 +00:00
Danny Mayer
7181165333 Add support for win32 2001-07-19 02:50:12 +00:00
Andreas Gustafsson
7ecaf69507 need <lwres/platform.h> 2001-07-18 20:14:52 +00:00
Andreas Gustafsson
3abbed44db coding style 2001-07-18 18:29:59 +00:00
Mark Andrews
aac5a28f1f LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h 2001-07-18 08:15:23 +00:00
Mark Andrews
964a14ad23 regen 2001-07-18 05:50:18 +00:00
Mark Andrews
f24920422d we don't need to know about rlim_t 2001-07-18 05:49:13 +00:00
Mark Andrews
9c1a4265ad regen 2001-07-18 05:42:07 +00:00
Mark Andrews
51bb20b0d7 report the results of "checking for socket length type..." 2001-07-18 05:40:52 +00:00
Mark Andrews
29493eee3d paths.h 2001-07-18 05:13:27 +00:00
Danny Mayer
5236050c0f Add support for win32 2001-07-18 02:37:15 +00:00
Andreas Gustafsson
d2a7d7e26c all failures opening /dev/random were reported as
'I/O error'.  This was highly confusing.
2001-07-18 01:31:13 +00:00
Brian Wellington
8b8812c41d regen 2001-07-17 22:29:27 +00:00
Brian Wellington
5aaf43590f lib/bind doesn't actually use linux/capability.h or sys/prctl.h 2001-07-17 22:29:16 +00:00
Andreas Gustafsson
07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Andreas Gustafsson
4954945531 coding style 2001-07-17 19:17:02 +00:00
Mark Andrews
15903c9f3a memory allocation failure would cause INSIST(ctx->stats[i].gets == 0) failure.
use consistant arguement name for MEMRECORD
2001-07-17 10:02:46 +00:00
Danny Mayer
fd0ec4bfad Initial win32 Release 2001-07-17 06:13:59 +00:00
Danny Mayer
c84e68d720 Initial win32 Release 2001-07-17 06:10:24 +00:00
Mark Andrews
0176adc7c5 937. [bug] A race when shutting down a zone could trigger a
INSIST() failure. [RT #1034]
2001-07-17 02:49:44 +00:00
Andreas Gustafsson
ba35e9924e added isc_file_ischdiridempotent() 2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c added unix implementation of isc_file_absolutepath() 2001-07-16 17:26:44 +00:00
Andreas Gustafsson
dee69dd3aa renamed isc_file_getabsolutepath() to isc_file_absolutepath()
to be more consistent with established naming conventions
2001-07-16 17:22:17 +00:00
Andreas Gustafsson
5827c8e0a6 80 columns 2001-07-16 17:15:08 +00:00
Andreas Gustafsson
83018d6cf9 removed spurious empty line inserted in previous commit 2001-07-16 17:14:38 +00:00
Mark Andrews
ac1f768061 regen 2001-07-16 14:43:49 +00:00
Mark Andrews
47dfc702de glibc getserv*_r() 2001-07-16 14:43:40 +00:00
Brian Wellington
cabaeca9ae missing assertion checks 2001-07-16 09:48:05 +00:00
Mark Andrews
e88c4a4917 regen 2001-07-16 08:38:06 +00:00
Mark Andrews
101e6adfe0 glibc getproto*_r() 2001-07-16 08:37:45 +00:00
Mark Andrews
fd61f111a8 regen 2001-07-16 08:05:43 +00:00
Mark Andrews
16b5ecc6f3 glibc getnet*_r() 2001-07-16 08:05:20 +00:00
Danny Mayer
1336066b63 Added support for Win32 2001-07-16 05:48:16 +00:00
Mark Andrews
acee1ae35c glibc prototypes 2001-07-16 05:23:28 +00:00
Mark Andrews
7c7c717788 HOST_R_SETANSWER 2001-07-16 05:17:13 +00:00
Mark Andrews
8c8d889d10 glibc prototypes for gethost*_r(). 2001-07-16 05:16:33 +00:00
Danny Mayer
f621719829 Added support for Win32 2001-07-16 05:10:30 +00:00
Mark Andrews
5deaff6621 regen 2001-07-16 05:02:58 +00:00
Mark Andrews
3024819c2e int -> size_t 2001-07-16 05:01:27 +00:00
Mark Andrews
692d2a9c7e regen 2001-07-16 04:55:31 +00:00
Mark Andrews
4ccd54f3af in 2001-07-16 04:54:23 +00:00
Mark Andrews
42f476472a regen 2001-07-16 04:24:38 +00:00
Mark Andrews
6cf48dea49 glibc's gethost*_r() is different to anyone elses. 2001-07-16 04:23:00 +00:00
Andreas Gustafsson
9115330256 coding style 2001-07-16 04:09:45 +00:00
Danny Mayer
3bd4083e48 Updates to support win32 2001-07-16 03:52:14 +00:00
Mark Andrews
f73c8fffee pullup from BIND 8:
1242.   [bug]           inet_pton() failed to reject octal input.
2001-07-16 03:31:45 +00:00
Mark Andrews
bddfe77128 936. [func] Warn when non dotted decimal quad's are used.
[RT #1084]

 935.   [bug]           inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews
bd12be6e88 spelling 2001-07-15 23:29:48 +00:00
Andreas Gustafsson
aa0dc8d920 934. [port] Deal with systems where accept() spuriously returns
ECONNRESET.
2001-07-15 22:50:24 +00:00
Mark Andrews
9ec26a1862 regen 2001-07-15 22:23:13 +00:00
Mark Andrews
159b83ff18 unixware [RT #1496] 2001-07-15 22:20:43 +00:00
Mark Andrews
5c2551db52 regen 2001-07-14 23:16:50 +00:00
Mark Andrews
47d48791fc 933. [bug] configure failed doing libbind on platforms not
supported by BIND 8.  [RT #1496]
2001-07-14 23:14:09 +00:00
Brian Wellington
b9be76ed89 lwres.h wasn't installed [RT #1494] 2001-07-14 18:41:33 +00:00
Andreas Gustafsson
86a733bc74 use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Mark Andrews
0792e396ea regen 2001-07-13 02:46:21 +00:00
Mark Andrews
5e68d98eff add libtool support to libbind [RT #1491] 2001-07-13 02:38:28 +00:00
Danny Mayer
c4958494a9 Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup 2001-07-12 05:58:28 +00:00
Mark Andrews
c70896e026 namespace collision [RT #1399] 2001-07-12 03:51:14 +00:00
Mark Andrews
39ebcd5955 #927
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Andreas Gustafsson
dc9b928cf6 net.h has moved 2001-07-11 21:42:25 +00:00
Brian Wellington
b6d7e96688 LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK 2001-07-11 19:12:53 +00:00
Brian Wellington
529017a705 The testing framework didn't handle T_UNTESTED at all. It also sucks. 2001-07-11 18:51:22 +00:00
David Lawrence
37aa910318 ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk 2001-07-11 05:32:55 +00:00
Mark Andrews
e9596e1fb3 927. [bug] Don't hold the zone lock for the entire dump to disk.
[RT #1423]
2001-07-11 05:20:26 +00:00
Danny Mayer
ad38e19578 Fix isabsolute for absolute path names 2001-07-11 04:32:15 +00:00
Bob Halley
c54210716e avoid deadlock with the ADB when shutting down [RT #1324] 2001-07-11 01:19:56 +00:00
Brian Wellington
9a43e47721 ordering 2001-07-10 23:38:44 +00:00
Brian Wellington
3fcf6b956f 925. [cleanup] Remove openssl from the distribution; require that
--with-openssl be specified if DNSSEC is needed.
2001-07-10 21:40:10 +00:00
Brian Wellington
6614bac268 oops, don't return an isc_boolean_t as an isc_result_t. 2001-07-10 21:27:59 +00:00
Andreas Gustafsson
1858039a0e spacing 2001-07-10 21:13:07 +00:00
Andreas Gustafsson
3d4d93c35b misplaced cast could cause EDNS extended RCODE bits to be lost [RT #1483] 2001-07-10 20:09:24 +00:00
Andreas Gustafsson
55a96dbea0 need sys/time.h on some platforms 2001-07-10 19:54:01 +00:00
Brian Wellington
5939aa7265 wording 2001-07-10 19:08:28 +00:00
Brian Wellington
3b31ce9da9 functions can now return DST_R_NOCRYPTO 2001-07-10 19:05:53 +00:00
Andreas Gustafsson
34729dbcb3 split lwres/net.h into separate Unix and Win32 version to facilitate
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Andreas Gustafsson
5d97773191 rewrote isc_file_isabsolute() 2001-07-10 17:31:05 +00:00
Danny Mayer
14597c218d Fix memory leak [RT 1478] 2001-07-10 06:27:44 +00:00
Danny Mayer
bb48ac4f81 array bounds error in isc_file_isabsolute and REQUIRE != NULL fixes [RT 1470] 2001-07-10 06:24:15 +00:00
Brian Wellington
28e2058c5f macro style 2001-07-10 05:12:43 +00:00
Brian Wellington
9622173ccb only create a memory pool if OPENSSL is defined. 2001-07-10 05:00:42 +00:00
Brian Wellington
4f0187f10c DST_R_NOCRYPTO 2001-07-10 04:34:36 +00:00
Brian Wellington
bb5de15290 REQUIRE that parameters are not NULL in many functions [RT #1470] 2001-07-10 04:23:01 +00:00
Brian Wellington
024550401d #if defined(OPENSSL) ==> #ifdef OPENSSL
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Andreas Gustafsson
a8f94d29b3 compile the version number into the isccfg and isccc libraries,
like we do with all other libraries
2001-07-09 22:25:29 +00:00
Andreas Gustafsson
38fed7505d do multiple inclusion protection in all header files, and using the established ISC style 2001-07-09 21:34:44 +00:00
Andreas Gustafsson
ec4f2e859f 80 columns 2001-07-09 21:27:45 +00:00
Andreas Gustafsson
e76d4c91bf coding style 2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1 924. [port] Extend pre-RFC2133 support. [RT #987] 2001-07-09 08:07:41 +00:00
Mark Andrews
de18d9daa6 regen 2001-07-09 07:35:03 +00:00
Mark Andrews
752b0c0fa7 install as ${prefix}/bind/*. [RT #1472] 2001-07-09 07:33:11 +00:00
Danny Mayer
36d26b9d26 add export for isc_ntfile_printf 2001-07-08 07:22:42 +00:00
Danny Mayer
11045ab3d1 code style cleanup 2001-07-08 05:16:13 +00:00
Danny Mayer
68c2ccc953 code style cleanup 2001-07-08 05:09:35 +00:00
Brian Wellington
0a2d5c9905 924. [port] Apply #910 to lib/lwres. [RT #987] 2001-07-07 00:03:26 +00:00
Andreas Gustafsson
f2ee3341c7 spacing 2001-07-06 22:53:48 +00:00
Andreas Gustafsson
886db6ade3 make install failed in lib/bind/include due to lack of a mkinstalldirs script
in lib/bind
2001-07-06 22:23:42 +00:00
Andreas Gustafsson
305795c093 finish app.h move 2001-07-06 22:12:21 +00:00
Andreas Gustafsson
1e71bc82b8 coding style 2001-07-06 21:57:22 +00:00
Andreas Gustafsson
718d6eadd4 spacing 2001-07-06 21:47:15 +00:00
Andreas Gustafsson
96ed624253 923. [bug] Multiline TSIG secrets (and other multiline strings)
were not accepted in named.conf. [RT #1469]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
ad493ef9dd spacing 2001-07-06 20:15:08 +00:00
Andreas Gustafsson
675a191f43 moved <isc/app.h> to OS-independent include directory 2001-07-06 19:50:05 +00:00
Andreas Gustafsson
8e3366bd7c simplified 2001-07-06 19:40:33 +00:00
Andreas Gustafsson
19b34f979c removed initializations of nonexistent variables at Danny's request 2001-07-06 17:35:04 +00:00