Commit graph

6193 commits

Author SHA1 Message Date
Michael Sawyer
5da4ef4cf4 A few more minor changes; minor code cleanup and improved error reporting
of errors in thye recv call.
2000-08-02 14:38:51 +00:00
Brian Wellington
aabfa856aa Memory could be leaked if an improper signed keyset was seen. 2000-08-02 13:51:02 +00:00
Brian Wellington
9594482ba3 365. [bug] nsupdate -k leaked memory. 2000-08-02 02:34:40 +00:00
Michael Graff
47ddde4272 note my recent changes 2000-08-02 02:31:27 +00:00
David Lawrence
c037bf9c8e My last change caused new warnings on systems that were already making the
text arrays const.
2000-08-01 19:12:10 +00:00
David Lawrence
d6da642b67 Use the copyrights file (or other list of files) as inputer rather than using
a find command to generate the files to update.  this skips doc/drafts,
doc/rfc, lib/dns/sec/dnssafe, lib/dns/sec/openssl and any other files
we do not make changes to.
2000-08-01 15:25:07 +00:00
David Lawrence
4e2f273e97 bin/tests/system/clean.sh was removed a few weeks ago 2000-08-01 15:22:29 +00:00
David Lawrence
4372495bc7 363. [doc] doc/html was not being maintained so has been removed. 2000-08-01 15:19:19 +00:00
David Lawrence
edf8c55546 362. [bug] rndc no longer aborts if the configuration file is
missing an options statement. [RT #209]
2000-08-01 14:50:15 +00:00
Michael Graff
5ffd3b6473 rewrite bits of strange code. Now xfer-00 doesn't crash. 2000-08-01 14:48:59 +00:00
David Lawrence
15b196c28e Signficantly reduced the const warnings from confparser.c.
I did not copy this to all platforms to test it everywhere, but I will keep
an eye on the build status page to be sure it did not mess up anything else.
2000-08-01 14:34:11 +00:00
Michael Sawyer
a4c4df8be7 Expand out NOMINUM_PUBLIC test-out by one instruction. 2000-08-01 14:12:58 +00:00
David Lawrence
a64c84272d when using strtol to parse a number that is supposed to be smaller than the
range of a long integer, parse it into a long integer and then range check
2000-08-01 14:02:41 +00:00
Michael Graff
4421383e30 only dereference l->keys if it isn't NULL 2000-08-01 13:53:38 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Michael Sawyer
082bc93d68 Various changes (mostly small) picked up in code review 2000-08-01 00:53:20 +00:00
David Lawrence
1cd587d241 utility to trim trailing whitespace 2000-08-01 00:51:14 +00:00
David Lawrence
f4a7d04843 Do not put trailing whitespace on comment lines that
separate paragraphs
in the copyright notice.

Reindented with 8 column indentation.
2000-08-01 00:46:14 +00:00
David Lawrence
c5944292e9 361. [func] When the RBT find or chain functions set the name and
origin for a node that stores the root label
			the name is now set to an empty name, instead of ".",
			to simplify later use of the name and origin by
			dns_name_concatenate(), dns_name_totext() or
			dns_name_format().

 360.	[func]		dns_name_totext() and dns_name_format() now allow
			an empty name to be passed, which is formatted as "@".
2000-07-31 23:27:25 +00:00
Brian Wellington
36e0c37908 359. [bug] dnssec-signzone occasionally signed glue records. 2000-07-31 23:11:23 +00:00
David Lawrence
051d1879fe dns_name_totext() now allows names with 0 labels, which format as "@" 2000-07-31 23:09:49 +00:00
David Lawrence
9658892dbc revert the changes to dns_name_format() back to dns_name_totext() because
dns_name_format() does not print absolute names
2000-07-31 22:34:01 +00:00
Brian Wellington
e4bd5f6907 fixedname.h wasn't being included 2000-07-31 22:11:13 +00:00
David Lawrence
90fc267992 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 21:13:38 +00:00
David Lawrence
d1d5229cc9 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 21:07:25 +00:00
David Lawrence
003e911541 tsig.c:136: warning: unused variable `tmp' -- removed 2000-07-31 21:07:11 +00:00
Michael Graff
6d3496c045 Implement additional-from-{glue,auth} [ yes | no ] ;
with yes being the default.  These control searching in the cache and
other zones we are authorative for.  This is mostly for gdib, but
may be useful elsewhere.

The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
David Lawrence
23b251fbf2 needs <dns/name.h> for dns_name_t 2000-07-31 20:57:06 +00:00
David Lawrence
65260de947 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 20:53:56 +00:00
Brian Wellington
abb04a9d70 Don't print "stop typing" if the user interrupted the entropy gathering. 2000-07-31 20:38:27 +00:00
Brian Wellington
153d59973f Allow keyboard operations to be interrupted by the interrupt or quit
character.
2000-07-31 20:36:08 +00:00
Brian Wellington
0e93f65e10 Print the key id when DNS_STYLEFLAG_COMMENT is passed to _totext() 2000-07-31 19:47:21 +00:00
Brian Wellington
f4811a903a lib/dns/sec/dst/dst_support.c no longer exists. 2000-07-31 19:45:56 +00:00
Brian Wellington
38c3484647 Replace the internal dst__id_calc() with the visible dst_region_computeid(). 2000-07-31 19:44:21 +00:00
Brian Wellington
2b518b5fb4 fixedname.h is not needed 2000-07-31 19:40:52 +00:00
Brian Wellington
c1ee9be19b clean up the text relating to pseudorandom input. 2000-07-31 19:39:42 +00:00
Michael Graff
b4dfb47474 whitespace police 2000-07-31 19:36:48 +00:00
Michael Graff
0eeabc1399 remove trailing blank lines 2000-07-31 19:35:31 +00:00
Brian Wellington
529a6b5224 358. [cleanup] Rename the intermediate files used by the dnssec
programs.
2000-07-31 15:28:21 +00:00
Brian Wellington
862a026a7d 357. [bug] The zone file parser crashed when seeing a quoted
$INCLUDE.
2000-07-31 15:11:53 +00:00
Brian Wellington
b4e3970226 -h wasn't handled properly. 2000-07-30 20:53:49 +00:00
Brian Wellington
3469c26c0e $INCLUDE didn't work with a quoted filename; now it does. None of the
calls to isc_lex_gettoken were properly handling isc_tokentype_special
tokens; it's now an error to see one.
2000-07-30 20:28:07 +00:00
Brian Wellington
eefb0a0720 If there are no writers waiting, always let new readers in. Also change the
hardcoded default read and write quota values to #defines.
2000-07-30 17:57:48 +00:00
Brian Wellington
4eabcbb83b In several places, the resolver assigned values to event->ev_sender simply
because the field couldn't be NULL (until recently).  They now use NULL.
2000-07-29 01:18:36 +00:00
Michael Sawyer
7d1b7c45a3 Allow RNCD connects from any address 2000-07-29 00:26:22 +00:00
Brian Wellington
1cb5d53b09 reflect the current state of the CD bit, and fix a typo 2000-07-29 00:24:06 +00:00
Brian Wellington
da786e7937 Sending a TSIG signed query with a TSIG algorithm that's not
HMAC-MD5.SIG-ALG.REG.INT shouldn't crash the server.  Also, the description
of dns_tsigkey_create was wrong in at least one place, and the function
incorrectly returned an undocumented result.
2000-07-28 23:27:01 +00:00
Andreas Gustafsson
e0f23ee828 check that the server copes with responses containing a CNAME
and other data
2000-07-28 22:42:42 +00:00
Brian Wellington
b98dd4edc8 Remove the commit entry formerly known as #357 since Andreas changed his mind. 2000-07-28 22:40:13 +00:00
Brian Wellington
cd54303345 357. [bug] The server would crash if a response contained both
a CNAME and records of the query type.
2000-07-28 22:37:47 +00:00