David Lawrence
6e49e91bd0
103. [func] libisc buffer API changes for <isc/buffer.h>:
...
Added:
isc_buffer_base(b) (pointer)
isc_buffer_current(b) (pointer)
isc_buffer_active(b) (pointer)
isc_buffer_used(b) (pointer)
isc_buffer_length(b) (int)
isc_buffer_usedlength(b) (int)
isc_buffer_consumedlength(b) (int)
isc_buffer_remaininglength(b) (int)
isc_buffer_activelength(b) (int)
isc_buffer_availablelength(b) (int)
Removed:
ISC_BUFFER_USEDCOUNT(b)
ISC_BUFFER_AVAILABLECOUNT(b)
isc_buffer_type(b)
Changed names:
isc_buffer_used(b, r) ->
isc_buffer_usedregion(b, r)
isc_buffer_available(b, r) ->
isc_buffer_available_region(b, r)
isc_buffer_consumed(b, r) ->
isc_buffer_consumedregion(b, r)
isc_buffer_active(b, r) ->
isc_buffer_activeregion(b, r)
isc_buffer_remaining(b, r) ->
isc_buffer_remainingregion(b, r)
Buffer types were removed, so the ISC_BUFFERTYPE_*
macros are no more, and the type argument to
isc_buffer_init and isc_buffer_allocate were removed.
isc_buffer_putstr is now void (instead of isc_result_t)
and requires that the caller ensure that there
is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Michael Graff
e44487bfc2
convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc.
2000-04-17 19:22:44 +00:00
Andreas Gustafsson
5646eb8cd1
use dns_name_format()
2000-04-11 19:08:32 +00:00
Brian Wellington
17e81b39cd
TSIG signed incoming zone transfer works now.
2000-04-08 04:42:42 +00:00
Andreas Gustafsson
edcb93b49c
wired up view options: request-ixfr, provide-ixfr
2000-04-07 22:30:43 +00:00
Andreas Gustafsson
a25310fd1d
if the first RR in an incoming zone transfer was not an SOA,
...
we got an assertion failure
2000-04-07 19:41:07 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
Andreas Gustafsson
ced0a4548a
quote zone name in log messages to be consistent with
...
outgoing transfers
2000-04-04 19:22:07 +00:00
Bob Halley
f1e96dc67f
ignore out-of-zone data
2000-03-29 21:01:30 +00:00
Andreas Gustafsson
4c2ed12aaa
don't access freed memory when shutting down
...
zone transfer (RT #82 ); added magic number (patch by Bob); 80 columns
2000-03-29 05:03:07 +00:00
Brian Wellington
d497aeb8cf
The TSIG pseudosection should not be explicitly rendered.
2000-03-28 03:18:02 +00:00
Andreas Gustafsson
a54b377fd3
log a message saying whether an incoming zone transfer is
...
incremental or not
2000-03-20 21:07:48 +00:00
Andreas Gustafsson
4bc5101166
wired up the new 'request-ixfr' option
2000-03-20 19:42:21 +00:00
Andreas Gustafsson
2539896175
do not indent CVS ID comment
2000-03-17 17:49:37 +00:00
Andreas Gustafsson
cfab2f4e03
implemented the 'transfers-in' option
2000-02-25 17:34:05 +00:00
Andreas Gustafsson
e01ecff4b1
Implemented the 'transfers' clause of the 'server' statement
...
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Andreas Gustafsson
c011a69280
implemented the 'support-ixfr' clause of the 'server' statement
2000-02-24 21:47:46 +00:00
Andreas Gustafsson
cf755281df
typos in comments
2000-02-15 20:05:37 +00:00
Andreas Gustafsson
da0ecdd70c
zone shutdown rewritten to use separate internal/
...
external refcount and control event instead of onshutdown,
to fix bug where zone could be freed before being shut down
(RT #28 )
2000-02-10 01:12:15 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Mark Andrews
83e592bfba
missing static
2000-02-02 01:01:24 +00:00
Andreas Gustafsson
f8b42037da
obey the max-transfer-idle-in options
2000-01-31 22:55:04 +00:00
Andreas Gustafsson
c718c8aa60
separate transfer-source addresses for IPv4 and IPv6
2000-01-31 18:00:07 +00:00
David Lawrence
697de685e1
In xfrin_logv, do not omit the final dot of the zone name if the zone
...
name is dns_rootname.
2000-01-31 15:10:29 +00:00
Andreas Gustafsson
897ba5e120
Abort incoming zone transfers on server shutdown. To support
...
this, zone transfers now use the zone's task, the zone holds a pointer
to any zone transfer in progress, and the zone now registers a shutdown
callback.
2000-01-28 23:48:58 +00:00
Andreas Gustafsson
4b887af619
obey the transfer-source option of the zone
2000-01-28 01:12:01 +00:00
Bob Halley
6bfaefc3fd
change some logging from INFO to DEBUG
2000-01-26 21:12:04 +00:00
Bob Halley
e485d16462
name tasks
2000-01-25 19:31:23 +00:00
Andreas Gustafsson
ada4d10c44
fail gracefully if task creation fails
2000-01-17 23:54:05 +00:00
Mark Andrews
60f0c36b17
Reposition call back to capture both successful IXFR's as well as AXFR's.
1999-12-24 00:44:59 +00:00
Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
Michael Graff
733b16eb0b
priority rendering
1999-12-22 03:22:59 +00:00
Mark Andrews
4bb1729d24
dns_zone_getxfrtime -> dns_zone_getmaxxfrin
1999-12-13 07:57:36 +00:00
Mark Andrews
0b87eaccdb
Add callback when xfrin completes/fails.
...
Perform a SOA serial upto date check when IXFR attempt fails.
1999-12-13 03:01:53 +00:00
Andreas Gustafsson
d1422e0bda
don't print bogus number of received bytes at end of transfer
1999-12-06 18:00:31 +00:00
Andreas Gustafsson
35b22d104a
new cleanup strategy to handle timeouts correctly
1999-12-02 22:33:15 +00:00
Andreas Gustafsson
67b32ad707
removed embedded newline from log message
1999-12-02 05:11:28 +00:00
Andreas Gustafsson
cd36fa7eb9
obey the max-transfer-time-in option;
...
do not include zone.h twice
1999-12-01 03:55:22 +00:00
Bob Halley
9779deddba
Include <isc/print.h>, so that vsnprintf can be used.
...
Fix typo and eliminate type warning with isc_buffer_putmem().
1999-10-31 00:02:31 +00:00
Andreas Gustafsson
1affefab31
print zone transfer begin/end messages at same level
1999-10-30 01:23:45 +00:00
Andreas Gustafsson
5862cce82b
print the zone name and master address+port when logging
1999-10-30 01:08:52 +00:00
Andreas Gustafsson
63bb6b854b
use the logging library, not printf;
...
sorted dns includes
1999-10-29 22:42:44 +00:00
Mark Andrews
fe37278859
in6_addr.s6_addr is *always* an array.
1999-10-29 06:36:05 +00:00
Andreas Gustafsson
a474ba139d
enabled incoming zone transfer code; there are no SOA
...
queries yet, so we just do an unconditional transfer attempt at server
startup time for each slave zone
1999-10-29 02:41:56 +00:00
Andreas Gustafsson
81ce556e02
moved xfrin.c from bin/named to lib/dns by repository copy
1999-10-29 02:12:01 +00:00
Andreas Gustafsson
30be9a55be
allocate message data structures using dns_message_gettemp* in IXFR case, too
1999-10-28 19:11:33 +00:00
Andreas Gustafsson
5b62e9688e
question section was missing from AXFR request after previous change;
...
don't expect TSIGs on *XFR responses if we didn't TSIGn the request;
if TSIG is used, it is required on the first message of the response
1999-10-28 01:10:38 +00:00
Andreas Gustafsson
a21582b70e
the message library now requires that names are allocated using
...
dns_message_gettempname()
1999-10-28 00:02:08 +00:00
Andreas Gustafsson
d65139063d
eliminate IRIX compiler warning about unreachable statement
1999-10-25 22:20:50 +00:00
Mark Andrews
4c494e429c
Perform explict attach of db to xfr stucture. Calling function to detach.
1999-10-25 12:18:43 +00:00