Commit Graph
2030 Commits
Author SHA1 Message Date
Andreas Gustafsson 78951552dc removed support for trusted keys other than security
roots; check that key name is appropriate even if it is a security
root; added/clarified log messages
2000-05-12 17:41:30 +00:00
Mark Andrews c661868379 Add missing range checks in fromtext(). 2000-05-12 12:59:35 +00:00
Mark Andrews 902acbaefc notify checkpoint 2000-05-12 10:21:06 +00:00
Andreas Gustafsson 3ce4b8b03e added a comment 2000-05-11 22:58:17 +00:00
Andreas Gustafsson c94f485c4b use the UNUSED() macro 2000-05-11 22:48:12 +00:00
Andreas Gustafsson fd9f6afdff use the UNUSED() macro 2000-05-11 22:47:00 +00:00
David Lawrence d8e34837cd isc_file_{stdiofunc} -> isc_stdio_* 2000-05-11 16:14:05 +00:00
Mark Andrews 8adf1b9e74 Checkpoint ratelimiting refresh queries and notifies.
170.   [cleanup]       Remove inter server consistancy checks from zone,
                        these should return as a seperate module in 9.1.
                        dns_zone_checkservers(), dns_zone_checkparents(),
                        dns_zone_checkchildren(), dns_zone_checkglue().

                        Remove dns_zone_setadb(), dns_zone_setresolver(),
                        dns_zone_setrequestmgr() these should now be found
                        via the view.
2000-05-11 10:04:59 +00:00
Michael Graff b9c8f4378a Add address searching to dns_disptach_find(). 2000-05-11 07:33:17 +00:00
Andreas Gustafsson dcd66bf966 include statements in named.conf caused syntax errors due to
not consuming the semicolon ending the include statement before switching
input streams
2000-05-11 02:19:08 +00:00
Andreas Gustafsson 0c59b2a42f dst_key_fromdns() assigned to *keyp even though it returned an error 2000-05-11 02:11:44 +00:00
Michael Graff 65c21f5f73 get rid of a newline in a log message and minor formatting issue (line > 80 chars) 2000-05-11 02:06:18 +00:00
Michael Graff 4cfd0c3960 make magic numbers be the first things in the structures 2000-05-11 00:03:58 +00:00
Michael Graff 202ea9ccee make magic numbers be the first things in the structures 2000-05-10 23:58:12 +00:00
Mark Andrews f4f3f2cf34 167. [bug] Make lack of masters for a slave zone a soft error. 2000-05-10 21:51:17 +00:00
Michael Graff ca9739800f implement dns_dispatchmgr_t, replacing dns_dispatchlist_t. Use it throughout the library/server. 2000-05-10 21:34:50 +00:00
Andreas Gustafsson 18959172ab check isc_lex_openfile() return value against ISC_R_FILENOTFOUND,
not ISC_R_FAILURE
2000-05-10 18:54:04 +00:00
Olafur Gudmundsson ff8d15be4e Fixed 3 bugs in keygen,
it overwrote old keys if new key key-id conflicted
	It was generating non null-keys with id==0
	It was not able to generate DSA null keys.
I changed size of maximum RSA key to 2048.
2000-05-10 17:57:53 +00:00
Michael Graff bc892aec31 implement _find() 2000-05-10 17:26:23 +00:00
Michael Graff 98399fdb3e enable building of dispatchlist.c 2000-05-10 17:25:22 +00:00
Michael Graff abf30e12ba declare dns_dispatchlist_t here 2000-05-10 17:24:55 +00:00
Michael Graff 1cf2ee1ef0 snapshot; dispatch list stuff 2000-05-10 07:28:33 +00:00
Mark Andrews 25d161ae43 Log failures to dump the zone file.
Clear DNS_FLAG_Z_NEEDDUMP after successfully dumping the zone.
2000-05-10 04:47:03 +00:00
David Lawrence f2fdfe7c42 Silence "end-of-loop condition not reached" warnings from Solaris compiler 2000-05-10 03:33:57 +00:00
Andreas Gustafsson c2e880fa8b indicate reason for failure to open configuration file in
error message [RT #61]
2000-05-10 00:37:28 +00:00
Andreas Gustafsson 62890ae20d removed an #if 0 ... #endif section (insted of fixing
the typo in it)
2000-05-10 00:16:09 +00:00
Andreas Gustafsson 3e14b69d19 fixed bugs in previous commit 2000-05-09 23:35:08 +00:00
Andreas Gustafsson 913bc4304d use isc_file_fopen() and isc_file_fclose();
use the logging system, not UNEXPECTED_ERROR()
2000-05-09 23:32:13 +00:00
Andreas Gustafsson 84fcfe530b new logging module DNS_LOGMODULE_MASTERDUMP 2000-05-09 23:31:12 +00:00
Andreas Gustafsson 29446b1149 dns_modules[] was missing dns/request 2000-05-09 23:29:51 +00:00
Andreas Gustafsson 996f4a8bc3 164. [cleanup] Added functions isc_file_fopen(), isc_file_fclose(),
isc_file_fseek(), isc_file_fread(), isc_file_fwrite(),
                        isc_file_fflush(), isc_file_ffsync(), isc_file_remove()
                        to encapsulate nonportable usage of errno and fflush().
2000-05-09 23:19:32 +00:00
David Lawrence 47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +00:00
James Brister c0fcd6b98b Fixed prototype error in yyparse that only HPUX noticed. 2000-05-09 16:49:50 +00:00
David Lawrence fc024be774 argument to tolower() cast to unsigned char 2000-05-09 12:07:32 +00:00
Mark Andrews 8b61d20120 convert TRACE -> logging: ISC_LOG_DEBUG(3) 2000-05-09 05:12:49 +00:00
David Lawrence 1a36eb1209 Silence HP/UX warnings:
cc: "mem.c", line 173: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 180: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 188: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 194: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 205: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 212: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 222: warning 714: Function "realloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 228: warning 714: Function "realloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 236: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 242: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 258: warning 714: Function "set_debug_options_func" called with no prototype or definition in scope.
cc: "mem.c", line 264: warning 714: Function "get_debug_options_func" called with no prototype or definition in scope.
2000-05-08 23:58:23 +00:00
David Lawrence f5add515a3 Quiet HP/UX warnings:
cc: "stack.c", line 231: warning 714: Function called with no prototype or definition in scope.
cc: "stack.c", line 275: warning 714: Function "func" called with no prototype or definition in scope.
2000-05-08 23:53:48 +00:00
David Lawrence 2a8fc4e9f7 Quiet HP/UX warnings:
cc: "lhash.c", line 294: warning 714: Function "func" called with no prototype or definition in scope.
cc: "lhash.c", line 401: warning 714: Function called with no prototype or definition in scope.
cc: "lhash.c", line 422: warning 714: Function called with no prototype or definition in scope.
2000-05-08 23:50:37 +00:00
David Lawrence acbec87f20 Quiet HP/UX warning:
cc: "algchoic.h", line 74: warning 617: Redeclaration of tag "B_AlgorithmInfoType" ignored.
cc: "algchoic.h", line 74: warning 617: Redeclaration of tag "B_AlgorithmInfoType" ignored.

by removing:

struct B_AlgorithmInfoType;

because balgmeth.h already defines that struct tag.
(So does balg.h, but that isn't causing warnings.)
2000-05-08 23:41:59 +00:00
James Brister 7730b2c1db Redefining config file items is now an error.
Error messages changed to 'cannot redefine xxx'
2000-05-08 20:31:13 +00:00
David Lawrence 5d49890aca isc/net.h required for ntohl on some platforms 2000-05-08 20:18:35 +00:00
James Brister 131c2e2e9d No longer validate category names upon config file parsing. 2000-05-08 19:52:03 +00:00
David Lawrence 7bb0f11636 stdlib.h needed on HP/UX for abs() 2000-05-08 19:30:10 +00:00
David Lawrence 6028d1ce03 Needs string.h for function prototypes. For some reason gcc and other
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +00:00
David Lawrence 64574939c4 Removed useless third parameter to MPINIT macro which was always true,
because it was causing HP/UX to barf up eight lines of:

cc: "adb.c", line 2219: warning 509: Condition always evaluates to true: If clause will always be executed.
2000-05-08 18:47:02 +00:00
James Brister a466582ff0 Copy functions were not assigning result to output parameter. Now they are. 2000-05-08 18:42:38 +00:00
James Brister 3cb5571edf Include unistd.h so FreeBSD doesn't complain about getopt() prototype
missing.
2000-05-08 18:37:58 +00:00
David Lawrence 8abddcd3f2 rdata.c needs to include string.h before memcpy is used.
since rdata.c is including string.h, the individual rdata files do not need to.
2000-05-08 16:12:30 +00:00
David Lawrence 1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
James Brister 65c9645ca7 Support new 'database' statement in zone.
database "quoted-string";
2000-05-06 10:18:48 +00:00