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
Brian Wellington
64fa945ab6
The default value of zone->maxnames should be 0, not DNS_ZONE_MINRETRY (?)
2000-08-10 16:57:25 +00:00
Brian Wellington
8eb6e41bfb
A zone is now considered secure if there is a zone key at the apex.
2000-08-10 02:02:10 +00:00
Brian Wellington
41654670e7
Added dns_dnssec_iszonekey() to determine if a KEY is a zone key without
...
the overhead of converting it to a dst key.
2000-08-10 02:00:35 +00:00
Brian Wellington
2f507825cf
_tostruct had a few typos.
2000-08-10 01:59:39 +00:00
Brian Wellington
674f1cfb1d
383. [func] When writing a master file, print the SOA and NS
...
records (and their SIGs) before other records.
2000-08-10 01:02:00 +00:00
Andreas Gustafsson
886b96ebfd
382. [func] The function dns_zone_setdbtype() now takes
...
an argc/argv style vector of words and sets
both the zone database type and its arguments,
making the functions dns_zone_adddbarg()
and dns_zone_cleardbargs() unnecessary.
2000-08-10 00:53:36 +00:00
Brian Wellington
cd7ffa4c12
381. [bug] Check for IPV6_RECVPKTINFO and use it instead of
...
IPV6_PKTINFO if found. [RT #229 ]
2000-08-10 00:05:45 +00:00
Brian Wellington
281fce5ed7
When tracing allocations, don't die with an assertion failure if
...
isc_mem_setdestroycheck(mctx, ISC_FALSE) was called. Also, print the
context in the trace statement.
2000-08-09 23:03:15 +00:00
Brian Wellington
8b858da2bb
An error message was printing a result code as a number, not a string.
2000-08-09 21:15:32 +00:00
Andreas Gustafsson
1199d0ee34
use isc_sockaddr_anyofpf()
2000-08-09 19:11:27 +00:00
Andreas Gustafsson
ff92fcaff3
some isc_sockaddr_* functions were undocumented, and others were
...
documented in the source file rather than the header file
2000-08-09 19:09:09 +00:00
Andreas Gustafsson
5bba7216f3
added isc_sockaddr_anyofpf()
2000-08-09 18:57:16 +00:00
David Lawrence
76c6a504d8
rootname() is no longer necessary now that the rbt will always return a
...
relative name via the find or chain APIs
2000-08-09 04:54:17 +00:00
Brian Wellington
e1818a34f7
Handle DNS_R_ZONETOOLARGE by unloading the zone and deleting the on-disk
...
database and journal.
2000-08-09 00:17:20 +00:00
Andreas Gustafsson
e605e98f3e
use DNS_NAME_MAXTEXT/DNS_NAME_FORMATSIZE
2000-08-09 00:09:36 +00:00
Andreas Gustafsson
1913796b78
typo
2000-08-08 23:49:28 +00:00
Andreas Gustafsson
efadda9a7b
added UNUSED() macros to suppress compiler warnings when
...
compiling with assertion checking turned off
2000-08-08 23:40:46 +00:00
Andreas Gustafsson
4870ad08e8
wired up and implemented the max-names zone option (for GNI)
2000-08-08 23:36:24 +00:00
Brian Wellington
3d136ddc82
missed a comma when adding the zone too large result text
2000-08-08 23:33:05 +00:00
Andreas Gustafsson
4a2af70858
added DNS_NAME_MAXTEXT and DNS_NAME_FORMATSIZE
2000-08-08 23:20:14 +00:00
Andreas Gustafsson
f4bc158a46
in dns_name_isabsolute(), dns_name_fullcompare(),
...
and dns_name_compare(), do not require that the name has >0 labels
so that these functions can be used on the degenerate relative name @
2000-08-08 23:18:12 +00:00
Andreas Gustafsson
7048bc2b71
wired up and implemented the max-names zone option (for GNI)
2000-08-08 23:14:29 +00:00
Brian Wellington
c18730e2c0
Protect all of the max-names stuff with NOMINUM_PUBLIC
2000-08-08 23:04:55 +00:00
Brian Wellington
0a4577a158
Added DNS_R_ZONETOOLARGE
2000-08-08 22:50:34 +00:00
Andreas Gustafsson
2821f5aeab
createiterator() failed to set rbtdbiter->common.db
...
to NULL before attaching it
2000-08-08 21:41:58 +00:00
Andreas Gustafsson
2d63e8f8d2
dns_db_attach() failed to check the requirement that
...
the pointer being attached to is NULL
2000-08-08 18:41:42 +00:00
Brian Wellington
cb8a455cd5
A few calls to dst_region_computeid() passed in regions with the wrong
...
length.
2000-08-08 16:13:40 +00:00
Andreas Gustafsson
7d823f705d
deal with nonstandard MS extension
2000-08-07 20:37:34 +00:00
Andreas Gustafsson
7bf91d95eb
tab sets for default and explicitttl styles were
...
swapped (?)
2000-08-07 19:54:50 +00:00
Andreas Gustafsson
979f959fb5
fixed incomplete sentence
2000-08-07 19:30:58 +00:00
Michael Graff
3d9892109d
print out (debug level 2) the number of nodes in the zone on axfr, ixfr, and load
2000-08-04 13:26:48 +00:00
Brian Wellington
48d861c067
The node counting stuff didn't work.
2000-08-03 21:34:27 +00:00
Mark Andrews
e06aebbe7b
371. [doc] document that dns_journal_rollforward can return
...
ISC_R_RANGE.
2000-08-03 21:31:41 +00:00
Mark Andrews
512661edd7
370. [bug] The error message for roll forward failures was
...
overly terse.
2000-08-03 21:24:49 +00:00