2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

2623 Commits

Author SHA1 Message Date
James Brister
1a9dbcf032 Save port numbers in host-byte order.
memset unused areas of isc_sockaddr_t
1999-10-28 17:53:16 +00:00
Brian Wellington
06f9d6486e dns_message_signer update 1999-10-28 14:18:52 +00:00
William King
bf04258ed1 been having trouble with the FreeeBSD system - wait, waitpid and family
act totally broken, but only for programs run from cron. the waitpid
loop in t_api.c times out eventually, and the testcases are killed
and reaped, but the net effect of the problem is to cause
each testcase to take 60 seconds, which is the default timeout. As
a result, the tests take forever to run and often don't finish before
the report generator is run, causing the report generator to incorrectly
reports an overall test status based on an incomplete journal ...

so ... I've added some more simplistic journal correctness checking
for now so that the FreeBSD test status is correctly reported - if
a journal doesn't end with the correct end stanza, a test result of
inspect(incomplete journal) is reported.

obviously, at some point in the future, a test case count needs added
so that the report generator can do more complete correctness checking
of the journal.
1999-10-28 03:21:27 +00:00
Bob Halley
b3539cf94a move some static function declarations into the declarations section to
avoid problems with some versions of YACC

make lastyylval and lasttoken static.
1999-10-28 02:25:22 +00:00
Bob Halley
3894acca89 lint 1999-10-28 01:37:43 +00:00
Andreas Gustafsson
0e42fb6588 ISC_NET_HAVESALEN -> ISC_PLATFORM_HAVESALEN 1999-10-28 01:36:36 +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
William King
e5838b5af4 added argv[0] to end stanza, again. 1999-10-28 00:39:45 +00:00
Michael Graff
5a5b79c5ab remove duplicate checks 1999-10-28 00:37:31 +00:00
Bob Halley
54b3853dd7 cleanup parts of the fetch done event that we don't care about 1999-10-28 00:29:47 +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
David Lawrence
bdc1edb6ea initial copy from the DHCP source pool 1999-10-27 23:55:07 +00:00
Andreas Gustafsson
c0227b1e1f fixed infinite memory allocation loop introduced by previous change 1999-10-27 23:38:54 +00:00
William King
4bbf3aa4b5 lengthen test timeout to 5 minutes ... 1999-10-27 22:47:25 +00:00
William King
749356ec0e more waitpid loop tinkering 1999-10-27 22:45:42 +00:00
Brian Wellington
e5c7544550 dns_message_signer 1999-10-27 22:25:55 +00:00
Michael Graff
2bcb48cfca adb does fetches for A records now. Has a memory leak still. 1999-10-27 22:24:40 +00:00
David Lawrence
f3ff03fc48 initial copy from the DHCP source pool 1999-10-27 22:24:32 +00:00
Brian Wellington
a61063ca9c Added the keys used in the Diffie-Hellman tests 1999-10-27 21:41:13 +00:00
Brian Wellington
7c37bc1a67 Added Diffie-Hellman tests 1999-10-27 21:26:08 +00:00
William King
1ac2cbd4cf cleanup of waitpid logic - freebsd still acting bizarre 1999-10-27 20:59:30 +00:00
Bob Halley
b622f2b07b ISC_MEM_FILL was corrupting memory when the block being allocated or freed
was bigger than the memory context's max size.

Force alignment to 8 bytes, since some otherwise 32-bit platforms have a 64
bit "long long".
1999-10-27 20:55:21 +00:00
Bob Halley
12bf2c63ea fix incorrect REQUIRE 1999-10-27 20:48:06 +00:00
Brian Wellington
904a34b853 DH constants are mostly statically allocated now 1999-10-27 20:46:33 +00:00
Brian Wellington
24e49b2133 TSIG initialization moved until after config file parsing 1999-10-27 20:00:40 +00:00
Brian Wellington
e552b98037 - TSIG keys are created from the config structures
- TSIG key initialization cleanup
1999-10-27 19:59:34 +00:00
Michael Graff
1c3bc66ada snapshot; nearly all fetch infrastructure is in place. 1999-10-27 19:36:58 +00:00
Michael Graff
0583bf2d0a set names on mempools 1999-10-27 19:33:49 +00:00
Brian Wellington
0a595c94a4 dns_tsig_create didn't null terminate the key name 1999-10-27 17:51:38 +00:00
Brian Wellington
8946128190 tkey memory leak 1999-10-27 17:50:58 +00:00
Brian Wellington
b76a252ade fix yesterday's hmac context fix 1999-10-27 16:52:55 +00:00
Bob Halley
18670af94d fix memory corruption problem 1999-10-27 16:37:34 +00:00
William King
8e8964cd7e add argv[0] to end stanza journal line format 1999-10-27 14:26:06 +00:00
Mark Andrews
c31c447853 Update usage comments 1999-10-27 05:55:03 +00:00
Mark Andrews
412e2345a7 Add a FILE * arguement to dns_journal_print() and dns_diff_print(). 1999-10-27 05:53:59 +00:00
William King
2fa4747b9b changed test timeout to 5 minutes for slow systems 1999-10-27 02:01:47 +00:00
William King
c786320d84 changed a message 1999-10-27 02:00:25 +00:00
William King
2768168c72 changed assertion number of test 2 to 2 from 3 ... 1999-10-27 01:21:51 +00:00
William King
943158d697 the test case now identifies which signal caused an exception 1999-10-27 00:59:35 +00:00
William King
339d7df653 manage interaction of default -a behavior with the
-t and -n options and allow multiple -t and -n options
1999-10-27 00:46:57 +00:00
Bob Halley
7b87e35d02 use dns_view_findzonecut() 1999-10-27 00:44:24 +00:00
Bob Halley
08f8af2a42 add dns_view_findzonecut() 1999-10-27 00:43:56 +00:00
Bob Halley
c5a031ab2c add dns_rdatalist_init() 1999-10-27 00:43:43 +00:00
Andreas Gustafsson
9e933a78a3 sorted dns includes;
use the logging library, not printf
(this probably breaks bin/tests/zone2_test.c)
1999-10-27 00:32:50 +00:00
Andreas Gustafsson
61ba96e2f9 added DNS_LOGMODULE_JOURNAL 1999-10-27 00:30:28 +00:00
Michael Graff
7ec42e4be4 Handle the case where kill_name() is called on an already dead name correctly. 1999-10-26 23:57:38 +00:00
William King
21aaaeddab lengthen timeout on memory exercise tests 1999-10-26 23:49:44 +00:00
Michael Graff
a253e35c24 cleanup:
kill_name(): names are killed by a single function.
	link_name(), unlink_name():  names (and bucket reference counts)
		are managed by these.
	cancel fetches at names when killing the name.
	if fetches are pending when killing, set a "dead" flag in the
		name instead and let it die when the last fetch comes in.
1999-10-26 23:44:36 +00:00
William King
3b70941ff5 just a couple of little ones ... 1999-10-26 23:35:20 +00:00
William King
2644902ba9 just a couple a little ones ... 1999-10-26 23:20:21 +00:00