2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-23 10:39:16 +00:00

85 Commits

Author SHA1 Message Date
Tatuya JINMEI 神明達哉
307d208450 2660. [func] Add a new set of DNS libraries for non-BIND9
applications.  See README.libdns. [RT #19369]
2009-09-01 00:22:28 +00:00
Automatic Updater
d362465c77 update copyright notice 2009-01-17 23:47:43 +00:00
Francis Dupont
bdfaef63f5 spelling 2009-01-17 14:59:03 +00:00
Mark Andrews
9de0f9b0ae 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:43:04 +00:00
Automatic Updater
2cf81a3d8a update copyright notice 2008-06-23 23:47:11 +00:00
Tatuya JINMEI 神明達哉
386d3a99c1 2375. [security] Fully randomize UDP query ports to improve
forgery resilience. [RT #17949, #18098]
2008-06-23 19:41:20 +00:00
Automatic Updater
70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews
240e57ab98 2074. [bug] dns_request_create2(), dns_request_create3(),
dns_request_createraw2() and dns_request_createraw3()
                        failed to send multiple UDP requests. [RT #16349]
2006-08-21 00:35:36 +00:00
Mark Andrews
acb4f52369 update copyright notice 2006-01-04 23:50:24 +00:00
Mark Andrews
2b66a51a7d 1950. [port] Solaris 2.5.1 and earlier cannot bind() then connect()
a TCP socket. This prevents the source address being
                        set for TCP connections. [RT #15628]
2006-01-04 04:15:55 +00:00
Mark Andrews
69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Michael Graff
e903df2f01 merge 4319 2002-11-12 23:58:14 +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
Andreas Gustafsson
f3ca27e9fe sizeof style 2001-11-12 19:05:39 +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
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
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
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
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
dcc7ea9717 spacing 2001-06-28 21:34:39 +00:00
David Lawrence
92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington
4e56b9615f remove the (now) redundant setting of the magic number. 2001-04-16 21:14:27 +00:00
Brian Wellington
ac6afcd0ca 809. [bug] Configuring a non-local address as a transfer-source
could cause an assertion failure during load.
2001-04-16 18:50:32 +00:00
Brian Wellington
e43b9a2005 move compression context create/delete into the caller of the message
rendering functions.  This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Andreas Gustafsson
8f17525ebc in some situations, a request could be cancelled twice 2001-02-13 21:06:25 +00:00
Andreas Gustafsson
8126e45e8c do dns_request_t cancel processing through a control event to
ensure that dns_dispatch_removeresponse() is called from the correct task
[RT #844]
2001-02-13 02:49:07 +00:00
Andreas Gustafsson
97f26b88f6 removed more needless attaching and detaching of the blackhole ACL 2001-02-09 00:23:16 +00:00
Brian Wellington
94baac869a 712. [bug] Sending a large signed update message caused an
assertion failure. [RT #718]

- Resetting a message should clear the TSIG/SIG(0) sections
- Rerendering a message if the first try returned USETCP should not call
  dns_message_settsigkey() again.
2001-01-27 02:28:33 +00:00
Brian Wellington
dac1e1dd18 remove more duplicated code 2001-01-23 19:50:10 +00:00
Mark Andrews
9a6632fb42 removed unnecessary assignment 2001-01-23 07:45:39 +00:00
Mark Andrews
7c2dce3c4d common code elimination 2001-01-23 07:36:06 +00:00
Brian Wellington
668eb43f1f spacing 2001-01-23 02:00:56 +00:00
Andreas Gustafsson
49d61b46a7 inconsistent spacing in duplicated code 2001-01-23 01:59:03 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
84d982f168 wrong result code tested. 2001-01-03 23:14:53 +00:00
Mark Andrews
046a9aca49 642. [bug] #622 needed more work. 2000-12-31 05:05:34 +00:00
Andreas Gustafsson
0ad8ee89c5 more request shutdown logic fixes from Mark 2000-12-22 19:39:01 +00:00
Mark Andrews
f53848e171 622. [bug] A canceled request could be destroyed before
dns_request_destroy() was called. [RT #562]
2000-12-19 03:36:48 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Mark Andrews
04967d1a5a extraneous isc_mem_get 2000-11-03 08:54:18 +00:00
Brian Wellington
e21d199dca 539. [func] Support the blackhole option. 2000-11-03 02:45:55 +00:00
Mark Andrews
04c22ceaf2 536. [func] Use transfer-source{-v6} when sending refresh queries.
Transfer-source{-v6} now take a optional port
                        parameter for setting the UDP source port.  The port
                        parameter is ignored for TCP.
2000-10-31 01:17:19 +00:00
Mark Andrews
6ef15459b8 535. [func] Use xfrsource[46] when forwarding update requests. 2000-10-30 05:08:07 +00:00
Brian Wellington
6850cdd449 508. [func] dns_message_parse() can now do a best-effort
attempt, which should allow dig to print more invalid
                        messages.
2000-10-06 18:58:30 +00:00
Mark Andrews
056141f287 439. [func] New function dns_request_createraw(). 2000-09-11 06:35:57 +00:00
Brian Wellington
5e387b9ce6 and more calls to DESTROYLOCK 2000-08-26 01:37:00 +00:00