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
452606f147
forgot to remove a function declaration in previous change
2001-11-14 23:15:44 +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
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
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
Mark Andrews
0316cd0c04
NODE_VALID -> DNS_RBTNODE_VALID
2001-11-13 06:19:55 +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
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
Brian Wellington
9fbcea8dba
install soa.h
2001-11-09 23:09:29 +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
Andreas Gustafsson
a571ebca8b
style
2001-11-09 01:53:20 +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
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
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
Andreas Gustafsson
ff303bcf27
Begin comments with capital letter; misc other
...
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
0902c53969
typo in debug message [RT #1989 ]
2001-11-04 19:20:39 +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
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
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
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
1ae369c9d2
some variables that should have been static weren't
2001-10-23 01:49:35 +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
0e27dac042
spacing
2001-10-19 01:29:41 +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
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
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
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
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