Commit Graph

3851 Commits

Author SHA1 Message Date
Mark Andrews
769dd27de8 add notify-any & notify-relay
added missing / corrected comment spelling of NOMINUM_PUBLIC
added REQUIRE(ISLOCKED(????)); to zone.c
2000-08-17 13:13:37 +00:00
Mark Andrews
2910719100 Add ISLOCKED macro. 2000-08-17 09:25:38 +00:00
Brian Wellington
15e513925f add sec/dst/gssapi_link.o 2000-08-17 02:13:18 +00:00
Brian Wellington
acba1142b4 The region passed to isc_buffer_copyregion() should be const. 2000-08-17 02:09:12 +00:00
Brian Wellington
a00c5e2151 gss-tsig support 2000-08-17 02:08:27 +00:00
Brian Wellington
c9e998ea51 A bit of gss-tsig code. Don't expect this to work. 2000-08-17 02:04:22 +00:00
Andreas Gustafsson
e1368a7770 397. [func] Added utility functions dns_view_gettsig() and
dns_view_getpeertsig().
2000-08-17 00:18:12 +00:00
Brian Wellington
90c917523e entropy.h was missing from HEADERS, so it wasn't being installed. 2000-08-17 00:18:00 +00:00
Andreas Gustafsson
593cb00bd1 rewrote 383. to reduce code duplication and increase functionality:
now all records are printed in a sorted order, not just the SOA and NS and
their SIGS
2000-08-16 22:33:32 +00:00
Andreas Gustafsson
771714e6ad eliminated the function address_to_ptr_name 2000-08-16 22:21:17 +00:00
Andreas Gustafsson
39f029558d in dns_name_totext(), check that the target buffer is
valid, and make use of the new isc_buffer_* macros
2000-08-16 22:18:20 +00:00
David Lawrence
b41fa90be0 tabify 2000-08-16 02:41:08 +00:00
Mark Andrews
c05eb51a1b 388. [cleanup] dns_zone_setdbtype now has const char **dbargv.
397.   [bug]           result was not being set in notify_send_toaddr().
                        RT#238
2000-08-16 02:16:49 +00:00
Brian Wellington
5b148f96cc An error in a .private file could lead to an assertion. 2000-08-16 00:30:56 +00:00
David Lawrence
beea173d49 Rewrote the INSIST in dns_tsigkey_create() so that dstalg was guaranteed to
be set, even when INSISTS() are turned off.
2000-08-16 00:18:30 +00:00
David Lawrence
cd5a526372 ISC_R_NRESULTS was not bumped when ISC_R_FAMILYNOSUPPORT was added. 2000-08-15 23:30:22 +00:00
Mark Andrews
031f9084fc 394. [bug] Current name was not propagated via $INCLUDE.
393.   [func]          Initial answer while loading (awl) support.
                        Entry points: dns_master_loadfileinc(),
                        dns_master_loadstreaminc(), dns_master_loadbufferinc().
                        Note: calls to dns_master_load*inc() should be rate
                        be rate limited so as to not use up all file
                        descriptors.
2000-08-15 03:33:52 +00:00
Mark Andrews
44215b932d 392. [func] Add ISC_R_FAMILYNOSUPPORT. Returned when OS does
not support the given address family requested.

 391.   [clarity]       ISC_R_FAMILY -> ISC_R_FAMILYMISMATCH.
2000-08-15 01:43:38 +00:00
Brian Wellington
6f071989da cancellation fixes 2000-08-15 01:22:33 +00:00
Brian Wellington
2a123ac026 remove unused variable 2000-08-15 00:52:49 +00:00
Brian Wellington
9cd6710f91 validators can now be cancelled. 2000-08-15 00:21:05 +00:00
Andreas Gustafsson
ef97e09e20 make the validator attach to the view only weakly, so that
the view can start shutting down even though a validation is in progress.
2000-08-14 22:17:40 +00:00
Brian Wellington
1e2749dba8 Yet more minor cleanup. 2000-08-14 22:00:00 +00:00
Andreas Gustafsson
07f69609fc log messages should start with lower case letter 2000-08-14 21:59:57 +00:00
Andreas Gustafsson
59d1ce0b01 don't try to configure a max-names option for stub zones 2000-08-14 21:47:42 +00:00
Andreas Gustafsson
0e05b42192 dns_zt_print() is gone 2000-08-14 19:52:21 +00:00
Andreas Gustafsson
99a9da7941 RT #235: attempts to send a reqeust over IPv6 on systems
that do not support IPv6 caused an assertion failure
2000-08-14 19:31:49 +00:00
Brian Wellington
b0f941a50f 387. [func] Add dns_byaddr_createptrname(), which converts
an address into the name used by a PTR query.
2000-08-14 19:09:56 +00:00
Brian Wellington
f2338a0d6a Minor tsig cleanup. 2000-08-14 18:13:11 +00:00
Andreas Gustafsson
d5e72d5dba signed/unsigned mismatch 2000-08-14 03:50:59 +00:00
Andreas Gustafsson
d56b56dbba nodecount() returns unsigned int, not isc_boolean_t 2000-08-14 02:49:32 +00:00
Mark Andrews
a207c319ac Remove redundant test 2000-08-14 01:28:21 +00:00
Andreas Gustafsson
ff59f0e4fe removed dns_zt_print(), dns_zone_print(), dns_zone_tostr(),
PRINT_ZONE_REF; these were only used by the zone2_test program which
has now been removed
2000-08-13 23:51:55 +00:00
Andreas Gustafsson
7e6d32fdba #endif /* NOMINUM_PUBLIC */ was missing the magic comment 2000-08-11 21:51:04 +00:00
Andreas Gustafsson
e02884167b use the UNUSED() macro 2000-08-11 16:47:33 +00:00
Brian Wellington
d3ed0df76c The acl name was being assigned to NULL before it could be freed. 2000-08-11 02:34:45 +00:00
Brian Wellington
ea52f8cf9c A pointer returned by isc_mem_strdup() wasn't being checked. 2000-08-11 02:11:20 +00:00
Andreas Gustafsson
ea419adc4e 386. [bug] Missing strdup() of ACL name caused random
ACL matching failures.
2000-08-11 01:53:47 +00:00
Brian Wellington
de58ecaa9c Treat undefined acls as an error, rather than warning and then later
throwing an assertion.
2000-08-11 00:20:59 +00:00
Andreas Gustafsson
a3e7b6450e style 2000-08-10 23:42:17 +00:00
Brian Wellington
5e989d1777 If isc_socket_bind tries to bind to a socket with a different address
family than the address specified, return a meaningful error.
2000-08-10 23:11:12 +00:00
Andreas Gustafsson
dc685fd1d3 typo 2000-08-10 22:44:00 +00:00
Brian Wellington
f15eb342bd Add DST_R_OPENSSLFAILURE, which basically means that openssl returned
an error and we don't know why.
2000-08-10 22:28:36 +00:00
Brian Wellington
3d37f10b91 On send, treat EPERM like ISC_R_HOSTUNREACH. send() seems to return EPERM
on Linux when firewall rules block the send.
2000-08-10 21:47:46 +00:00
Andreas Gustafsson
9be4279a95 [RT #231] dns_db_nodecount() could be invoked with a NULL argument.
Also moved the database size logging to the same place as the database
size checking.
2000-08-10 20:26:08 +00:00
Andreas Gustafsson
562cc4924b when sending notifies is suppressed due to the zone being
unloaded, clear the NEEDNOTIFY flag so that we don't reschedule the
notify every second
2000-08-10 19:50:02 +00:00
Brian Wellington
c758ad35e7 Check that the zone is still loaded in the notify event handler. 2000-08-10 19:34:49 +00:00
Andreas Gustafsson
c03ce72a3b log error messages for attempts to use nonexistent database types 2000-08-10 18:38:10 +00:00
Andreas Gustafsson
eea2865fec 385. [cleanup] Removed function dns_zone_equal(). 2000-08-10 18:35:46 +00:00
Brian Wellington
147b0c9ba7 The server would crash trying to unload an unloaded zone if the initial
AXFR had more than maxnames records.
2000-08-10 17:11:23 +00:00