David Lawrence
8e63fe6323
Silence IRIX warning:
...
"dst_parse.c", line 201: remark(1552): variable "error" was set but never used
2000-05-13 19:30:19 +00:00
David Lawrence
29ee206b9a
Shut up IRIX warnings, including:
...
"bsafe_link.c", line 116: remark(1692): prototyped function redeclared without
prototype
dst_s_bsafersa_init() {
and several variations of:
"bsafe_link.c", line 155: remark(1552): variable "status" was set but never
used
int status = 0;
along with style lint (notably bitwise operands used as truth values:
mode & DST_SIGMODE_INIT versus (mode & DST_SIGMODE_INIT) != 0.
2000-05-13 19:28:15 +00:00
David Lawrence
e52750239e
Changed the CPP symbol it uses from *_HAVENETINET6* to *_NEEDNETINET6*
...
to better clarify what is going on with regard to the symbol.
2000-05-13 18:18:08 +00:00
Andreas Gustafsson
7c74a7745d
comments for dns_zone_setmasters() and dns_zone_setnotify()
...
said they add to a list; this is no longer true, they now set the whole list
2000-05-13 17:54:37 +00:00
Andreas Gustafsson
e1f16346db
validator must not indicate a validation failure by returning
...
ISC_R_NOTFOUND as that seriously confuses query_find(). Introduced new
result codes DNS_R_NOVALIDSIG and DNS_R_NOVALIDNXT to use instead.
2000-05-12 21:25:17 +00:00
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
Michael Graff
3ee8ba5e32
expand on why magic numbers need to be first in the structure
2000-05-11 16:18:01 +00:00
David Lawrence
d8e34837cd
isc_file_{stdiofunc} -> isc_stdio_*
2000-05-11 16:14:05 +00:00
David Lawrence
0c73b546ec
Moved posix_result from file.c to errno2result.[ch], for use by multiple
...
source files. We may want to generalize this as part of the libisc API,
but with a better name.
2000-05-11 15:09:30 +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
Mark Andrews
c052487cdf
169. [func] ratelimiter can now process N events per interval.
2000-05-11 09:23:29 +00:00
Michael Graff
2fc337ec38
add isc_socket_isbound()
2000-05-11 07:39:17 +00:00
Michael Graff
b9c8f4378a
Add address searching to dns_disptach_find().
2000-05-11 07:33:17 +00:00
Michael Graff
6849d91cd7
mark accepted connections as connected and bound.
2000-05-11 06:35:20 +00:00
Michael Graff
8321dd2150
add ISC_R_NOTBOUND and ISC_R_NOTCONNECTED and return them where appropriate.
2000-05-11 05:43:53 +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
Michael Graff
f019e00452
Add (commented out) 'must be bound' checking
2000-05-10 21:17:49 +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
2968701c3a
require that magic numbers be the first item in the structure.
2000-05-10 17:45:45 +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
86bf5e8c34
add ISC_MAGIC('a','b','c','d') to make specifying magic numbers a bit more
...
readable
2000-05-10 17:06:57 +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
Andreas Gustafsson
6a13d6f3c6
Added result codes ISC_R_FILENOTFOUND and ISC_R_FILEEXISTS
2000-05-09 23:10:34 +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
d03ee55286
don't try to build getnet.o, since getnet.c no longer exists
2000-05-09 15:01:15 +00:00
David Lawrence
fc024be774
argument to tolower() cast to unsigned char
2000-05-09 12:07:32 +00:00