Commit Graph
4865 Commits
Author SHA1 Message Date
Michael Graff bfd98dd959 don't log ports where they don't make sense 2000-05-31 23:03:01 +00:00
Brian Wellington 75f6c57d95 When an rdataset is signed, its ttl is normalized based on the signature
validity period.
2000-05-31 22:01:39 +00:00
Andreas Gustafsson 5416faa397 Fixed RT #127. After the changes of zone.c 1.120, the variable
'soa' was no longer used, but it was still freed (sometimes)
2000-05-31 21:13:57 +00:00
Andreas Gustafsson c17ac5ad17 removed extraneous empty lines 2000-05-31 19:53:41 +00:00
Andreas Gustafsson bd75e751a7 detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:53:19 +00:00
Andreas Gustafsson bfa633fc0e detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:46:18 +00:00
James Brister f34984369f New alto-notify and trusted-keys view options in config file. 2000-05-31 13:13:04 +00:00
James Brister 725a4773f5 Support also-notify and trusted-keys in a view statement.
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington 3d3ce463d1 use the new TSIG api 2000-05-30 23:49:51 +00:00
Brian Wellington b6e9d91ff0 dns_message_rendersection left the buffer in a corrupted state if there
was reserved space in the message and the section had no names.
2000-05-30 23:47:56 +00:00
Brian Wellington 60681e95fe include isc/buffer.h 2000-05-30 23:20:18 +00:00
Brian Wellington 402ba1a164 include isc/buffer.h, dns/name.h 2000-05-30 23:20:00 +00:00
Brian Wellington c18648ca1c include dns/name.h 2000-05-30 23:16:47 +00:00
Brian Wellington 0f80bfec68 The message code now has functions to manipulate TSIG and SIG(0), and the
callers use these functions.  Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Brian Wellington 4bf54f182d include dns/fixedname.h 2000-05-30 23:12:47 +00:00
Brian Wellington d474ab7b92 include dns/name.h 2000-05-30 22:43:10 +00:00
Brian Wellington 8c8b6b1ce5 include isc/buffer.h, dns/rdatastruct.h 2000-05-30 22:30:39 +00:00
Brian Wellington 090601a51c include dns/rdatastruct.h 2000-05-30 22:30:13 +00:00
Brian Wellington f1788d67ad include isc/buffer.h 2000-05-30 22:29:28 +00:00
Brian Wellington 451a3c5262 include isc/buffer.h, dns/name.h, dns/rdatastruct.h 2000-05-30 22:28:37 +00:00
Brian Wellington 83a44df0a1 include dns/name.h 2000-05-30 22:27:27 +00:00
Andreas Gustafsson ae792d7f4c silence signed/unsigned warning on alpha 2000-05-30 19:39:22 +00:00
Andreas Gustafsson 95b41befcb conform to recent dispatch creation changes; still doesn't work 2000-05-30 18:01:19 +00:00
Mark Andrews 48841a4ae9 When checking for notifies in the queue first check to see if a request has
been sent.

Check DNS_ZONE_F_NEEDREFRESH when we have got to the last master in
refresh_callback.
2000-05-29 05:47:18 +00:00
Brian Wellington 7077846f3b minor cleanup 2000-05-27 00:24:07 +00:00
Andreas Gustafsson c8c884b79b made defaults for max-cache-ttl and max-ncache-ttl the same as in
BIND 8: 7 days and 3 hours, respectively
2000-05-27 00:20:39 +00:00
Brian Wellington 311918e5a6 Don't allow dynamic updates of SIG records, since it either leaves the
database in an inconsistent state or fails when it shouldn't.  This will be
supported at some point, but it's better to flat out refuse than fail badly.
2000-05-27 00:07:52 +00:00
Andreas Gustafsson 7cd4c3ddd1 The 'cache-ttl' and 'ncache-ttl' options now work 2000-05-26 23:17:56 +00:00
Andreas Gustafsson 76a191c420 failures at certain points in request processing could cause
the assertion INSIST(client->lockview == NULL) to be triggered
2000-05-26 22:43:36 +00:00
Brian Wellington 9a4a878733 removed debugging code 2000-05-26 22:03:47 +00:00
Michael Sawyer cc88be4af1 Change global task variable to global_task
Remove unused globals
2000-05-26 22:03:00 +00:00
Brian Wellington ca9af3aaf7 Lots of restructuring to make code easier to follow. Also a few bugs fixed,
and hopefully not too many new ones introduced.
2000-05-26 21:45:53 +00:00
Andreas Gustafsson 396dba6250 added /*FALLTHROUGH*/ comments where appropriate 2000-05-26 18:18:12 +00:00
Andreas Gustafsson 115635379a style 2000-05-26 17:46:16 +00:00
Andreas Gustafsson fef059dcec 214. [func] New public function isc_netaddr_format(), for
formatting network addresses in log messages.
2000-05-26 16:40:44 +00:00
Andreas Gustafsson 6c7bfa7c59 added ISC_NETADDR_FORMATSIZE as a counterpart to
ISC_SOCKADDR_FORMATSIZE and commented them both
2000-05-26 16:39:28 +00:00
Andreas Gustafsson bf16dd5997 use dns_name_format() 2000-05-26 16:12:30 +00:00
Michael Graff bd81a43c73 drop ::1.2.3.4 and ::ffff:1.2.3.4 in the resolver, not the adb. 2000-05-26 02:16:10 +00:00
Brian Wellington 35fc29dd6d fixed a typo that prevented compiling 2000-05-26 01:28:46 +00:00
Brian Wellington 5f80c1428b Don't leak memory when reloading the zone if an update-policy clause was
present in the old zone.
2000-05-26 00:48:59 +00:00
Michael Sawyer fe0de35951 Fix a major oops in my last commit, causing segfaults. 2000-05-26 00:48:18 +00:00
Andreas Gustafsson bb25076ffc implement isc_sockaddr_totext() in terms of isc_netaddr_totext() 2000-05-26 00:41:57 +00:00
Andreas Gustafsson 8eaa51a699 new functions isc_netaddr_totext() and isc_netaddr_format() 2000-05-26 00:41:03 +00:00
Andreas Gustafsson 46e8a97c7c use isc_sockaddr_format() 2000-05-26 00:38:12 +00:00
David Lawrence 6d831cd0ba "make include", added by marka during his megacheckin of every file getting
the message "in6_addr.s6_addr is *always* an array" (been there, done that)
is actually useful to just rebuild the include/dns/*.h files which
"gen" generates ... if only the rule had a backslash, so that
include/dns/rdatastruct.h was recognized as a dependent rather than
the command to execute.   now it does.
2000-05-26 00:21:52 +00:00
Brian Wellington e1a972b32d Conform with recent API changes, lots of memory leaks fixed. 2000-05-26 00:17:56 +00:00
Brian Wellington af60263664 Added dns_tsigkey_attach & _detach, to simplify reference counting.
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +00:00
David Lawrence 82a30bf0a0 in dns_name_fromtext, REQUIRE() that the source buffer not have an
isc_buffer_remaininglength of 0.  this finds problems like isc_buffer_init
not followed by isc_buffer_add much sooner.

also, enforce the already documented contract requirements of needing
a valid source buffer and either a valid target buffer or a name
with a dedicated buffer.
2000-05-25 23:57:25 +00:00
Andreas Gustafsson 98c7e0d8ba 'key' and 'server' are now supported as view options 2000-05-25 23:25:45 +00:00
Andreas Gustafsson b3aaa872e1 211. [func] The 'key' and 'server' statements can now occur
inside 'view' statements.

 210.   [bug]           The 'allow-transfer' option was ignored for slave
                        zones, and the 'transfers-per-ns' option was
                        was ignored for all zones.
2000-05-25 22:25:54 +00:00