Commit Graph
4892 Commits
Author SHA1 Message Date
Michael Sawyer a2b565626b Add additional test to determine if NOTIFY messages are properly handled
during zone transfers.
2000-06-01 17:56:40 +00:00
David Lawrence ca81c3971c Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 17:39:26 +00:00
David Lawrence 44bd41cce3 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
2000-06-01 17:33:39 +00:00
David Lawrence 87cafc5e70 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.

Also cleaned up a few places where variable names clashed with reserved
identifiers.  (Which mostly works fine, but strictly speaking is undefined
by the standard.)

Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Andreas Gustafsson fd6de7af32 refer to RFC2845, not draft-ietf-dnsext-tsig-00.txt 2000-06-01 16:47:26 +00:00
Andreas Gustafsson 62b2da0aef added rfc2845.txt (TSIG), removed the I-D it replaced 2000-06-01 16:44:08 +00:00
Andreas Gustafsson 4831695ebe no need to include <isc/netaddr.h> to get in_port_t; <isc/net.h> suffices 2000-06-01 16:40:23 +00:00
David Lawrence ee205e0662 [rt #128] removed redundant result check from dns_xfrin_create.
char *msg parameter to xfrin_fail made const.
2000-06-01 13:48:55 +00:00
Jim Reid a88ba6982b Import of PRM 2000-06-01 03:19:06 +00:00
Brian Wellington 399fe4aa0f Lots of bugs fixed in _fromfile and _fromdns. There were enough of them that
they managed to hide each other in most cases.
2000-06-01 02:33:26 +00:00
Brian Wellington 5cfa06cee3 enabling verbose could crash the program 2000-06-01 02:32:12 +00:00
Brian Wellington b058593410 Passed incorrect size to isc_mem_get. 2000-06-01 02:04:38 +00:00
Brian Wellington 2321de58e5 Added #include <isc/netaddr.h>, since in_port_t wasn't defined. 2000-06-01 02:04:01 +00:00
Brian Wellington 7a97b7630f dns_message_gettsig/getsig0 cleanup 2000-06-01 01:30:55 +00:00
Michael Sawyer c4bd4b1a8e Fix up includes and remove a warning 2000-06-01 01:06:40 +00:00
Andreas Gustafsson fea398993b also-notify and trusted-keys are now supported in the view statement 2000-06-01 00:48:13 +00:00
Andreas Gustafsson 92a31c0f86 support view-specific and global 'also-notify' 2000-06-01 00:41:23 +00:00
Andreas Gustafsson 0640343258 222. [bug] The global 'also-notify' option was ignored. 2000-06-01 00:39:45 +00:00
Andreas Gustafsson c8df84cb38 edited entry 217: also-notify and trusted-keys
are now supported in view statements (it said 'supported in config
files', which is true but not a recent change)
2000-06-01 00:39:09 +00:00
Andreas Gustafsson dccfe96a44 RT #127 2000-06-01 00:32:37 +00:00
Michael Graff d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Brian Wellington d03d452499 Signed truncated messages more correctly follow the respective specs. 2000-06-01 00:28:43 +00:00
Andreas Gustafsson eb3807ea54 support per-view security roots 2000-06-01 00:21:12 +00:00
Brian Wellington fe0e3c7707 Rename message->tsigset/querytsigset to tsig/querytsig. 2000-05-31 23:58:35 +00:00
Brian Wellington 91268e69b0 Don't directly access the TSIG field of the message. 2000-05-31 23:57:45 +00:00
Michael Sawyer bcb97dbff8 Fix bug in AXFR processing when multiple servers can potentially answer. 2000-05-31 23:51:14 +00:00
Andreas Gustafsson e6ec99f169 commented 2000-05-31 23:35:09 +00:00
Michael Graff bfd98dd959 don't log ports where they don't make sense 2000-05-31 23:03:01 +00:00
Brian Wellington 75f6c57d95 When an rdataset is signed, its ttl is normalized based on the signature
validity period.
2000-05-31 22:01:39 +00:00
Andreas Gustafsson 5416faa397 Fixed RT #127. After the changes of zone.c 1.120, the variable
'soa' was no longer used, but it was still freed (sometimes)
2000-05-31 21:13:57 +00:00
Andreas Gustafsson c17ac5ad17 removed extraneous empty lines 2000-05-31 19:53:41 +00:00
Andreas Gustafsson bd75e751a7 detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:53:19 +00:00
Andreas Gustafsson bfa633fc0e detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:46:18 +00:00
James Brister f34984369f New alto-notify and trusted-keys view options in config file. 2000-05-31 13:13:04 +00:00
James Brister 725a4773f5 Support also-notify and trusted-keys in a view statement.
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington 3d3ce463d1 use the new TSIG api 2000-05-30 23:49:51 +00:00
Brian Wellington b6e9d91ff0 dns_message_rendersection left the buffer in a corrupted state if there
was reserved space in the message and the section had no names.
2000-05-30 23:47:56 +00:00
Brian Wellington 60681e95fe include isc/buffer.h 2000-05-30 23:20:18 +00:00
Brian Wellington 402ba1a164 include isc/buffer.h, dns/name.h 2000-05-30 23:20:00 +00:00
Brian Wellington c18648ca1c include dns/name.h 2000-05-30 23:16:47 +00:00
Brian Wellington 0f80bfec68 The message code now has functions to manipulate TSIG and SIG(0), and the
callers use these functions.  Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Brian Wellington 4bf54f182d include dns/fixedname.h 2000-05-30 23:12:47 +00:00
Brian Wellington d474ab7b92 include dns/name.h 2000-05-30 22:43:10 +00:00
Brian Wellington 8c8b6b1ce5 include isc/buffer.h, dns/rdatastruct.h 2000-05-30 22:30:39 +00:00
Brian Wellington 090601a51c include dns/rdatastruct.h 2000-05-30 22:30:13 +00:00
Brian Wellington f1788d67ad include isc/buffer.h 2000-05-30 22:29:28 +00:00
Brian Wellington 451a3c5262 include isc/buffer.h, dns/name.h, dns/rdatastruct.h 2000-05-30 22:28:37 +00:00
Brian Wellington 83a44df0a1 include dns/name.h 2000-05-30 22:27:27 +00:00
Andreas Gustafsson ae792d7f4c silence signed/unsigned warning on alpha 2000-05-30 19:39:22 +00:00
Andreas Gustafsson 95b41befcb conform to recent dispatch creation changes; still doesn't work 2000-05-30 18:01:19 +00:00