Commit graph

2087 commits

Author SHA1 Message Date
Michael Sawyer
0371079513 Wire up key option in masters line. 2000-07-21 23:13:59 +00:00
Andreas Gustafsson
3f290e501e don't use initial capital letter in log message 2000-07-21 23:04:44 +00:00
Brian Wellington
4e160a846f Removed the tsig keyring, since it's no longer needed. 2000-07-21 22:26:08 +00:00
Michael Sawyer
f840a7bd0d Remove unused variable, fix char*[] variable 2000-07-21 22:25:15 +00:00
James Brister
c35f1e5937 341. [func] Support 'key' clause in named.conf zone masters
statement:

                                masters {
                                        10.0.0.1 port 666 key "foo";
                                        10.0.0.2 ;
                                };
2000-07-21 21:25:01 +00:00
Andreas Gustafsson
baf50a7210 removed unsightly spaces 2000-07-21 21:21:26 +00:00
Andreas Gustafsson
b6dcb3d243 print_name() formatted text into a buffer of 256
character pointers, not 256 characters; also changed it to
use dns_name_format()
2000-07-21 21:13:40 +00:00
Brian Wellington
87ab7fb07d The keys weren't properly freed. Also added a "-p port" option and did
some other cleanup.
2000-07-21 21:02:46 +00:00
Andreas Gustafsson
c3c57248e0 missing NULL initialization 2000-07-21 21:02:15 +00:00
Brian Wellington
42b98b222c The call to dns_tsigkey_setdeleted is no longer needed. 2000-07-21 20:38:30 +00:00
Michael Sawyer
9b72c4648f Internal code for masters with key entries. Not wired into config yet. 2000-07-21 18:47:23 +00:00
Michael Sawyer
8bf0f722f8 Count and possibly limit how many names and rr's in a xfr.
(Needed by GDIB folks)
2000-07-20 19:41:44 +00:00
Michael Sawyer
390132bd98 Run resolver test in make tests 2000-07-20 19:38:05 +00:00
Brian Wellington
e860332b07 A call to isc_mem_put could pass a different size than was gotten. Use
isc_mem_allocate instead.
2000-07-20 17:58:59 +00:00
Michael Sawyer
26cebf3482 Slight bug in batch processing 2000-07-20 17:56:20 +00:00
Andreas Gustafsson
b0e67b3020 removed unnecessary call to isc_socket_cancel() 2000-07-19 20:34:14 +00:00
Andreas Gustafsson
8b2d2acbff in the multi-stage positive validation test, allow the
recursive server to omit the authority section
2000-07-19 19:54:50 +00:00
Michael Sawyer
3caa2d8362 Probably no need to call srandom() if we never call random(). 2000-07-19 18:24:40 +00:00
Michael Sawyer
68f0d29d61 Fix a minor race condition in SIGINT handling
Allow dig to used name key files
Allow SIGINT in nslookup
2000-07-19 17:52:27 +00:00
Brian Wellington
70c2802fd7 In query_addbestns, check that both the rdataset and sigrdataset are not
pending before adding them.
2000-07-18 22:24:45 +00:00
Michael Sawyer
5e804988e9 Add comments to source code 2000-07-18 18:51:40 +00:00
Brian Wellington
663841abe0 338. [bug] lwresd logged to syslog as named, not lwresd. 2000-07-18 17:50:02 +00:00
Andreas Gustafsson
e54e6744d6 do two queries; added comments 2000-07-18 17:13:40 +00:00
Michael Sawyer
aa6054ec74 Clean up type and class code. (No more ugly istype() and isclass() functions)
Minor changes to timeout handling code.
Don't preload batch file.
2000-07-18 01:28:20 +00:00
Brian Wellington
9df7d74e42 Use isc_base64_decodestring() instead of an explicit lexer. 2000-07-18 01:14:17 +00:00
Brian Wellington
2b8f0e9fac Don't allocate and use a tsig keyring, since it's no longer needed. 2000-07-18 00:47:00 +00:00
Brian Wellington
7a184cd4e5 don't copy a name structure, copy a pointer. 2000-07-18 00:44:52 +00:00
Andreas Gustafsson
3668b37b8b cleaner, but more invasive, fix to 335. 2000-07-17 23:19:14 +00:00
Brian Wellington
178f73169a 335. [bug] named would occasionally attempt recursion when
it was disallowed or undesired.
2000-07-17 18:43:32 +00:00
Andreas Gustafsson
d987e0d8e8 reviewed and edited; removed lwres intro material
that is better covered in lwres(3)
2000-07-17 17:49:25 +00:00
Brian Wellington
bd2a38d6af Use isc_base64_decodestring() instead of explicitly creating a lexer. 2000-07-17 17:42:54 +00:00
Brian Wellington
9c4cba349f 334. [func] Added hmac-md5 to libisc. 2000-07-17 17:33:39 +00:00
Andreas Gustafsson
92103a4e2c typo 2000-07-15 01:11:37 +00:00
Andreas Gustafsson
5fff4f8a54 typo 2000-07-15 00:37:23 +00:00
Andreas Gustafsson
f427699c6a fixed prerequisite test 2000-07-15 00:22:08 +00:00
Andreas Gustafsson
f2c814353b added resolver/ test directory, with a single regression
test for the INSIST(!external) bug
2000-07-14 23:38:14 +00:00
Andreas Gustafsson
1a92f5c182 removed dead code 2000-07-14 23:16:45 +00:00
Brian Wellington
0e71d03672 Check for DNS_R_NAMETOOLONG when testing names that are too long. 2000-07-14 22:21:14 +00:00
Michael Sawyer
4b7d316065 A few bug fixes. 2000-07-14 21:33:03 +00:00
Michael Sawyer
925a734426 Handle SIGINT properly during batch mode. 2000-07-14 20:14:36 +00:00
Michael Sawyer
8cd54a7461 Lots of changes to the shutdown code. Get rid of the annoying "just exit"
method of shutting down.
Known bug: SIGINT while doing batch mode causes assertion.
2000-07-14 17:57:27 +00:00
Michael Sawyer
e715e01178 More code duplication removal and general cleanup
Slight change in +nssearch output formatting
2000-07-14 16:35:30 +00:00
David Lawrence
1867b6276e char secret[], for decoding the base64 string, should not have been const 2000-07-14 14:57:24 +00:00
Mark Andrews
8d51d9e67e 331. [bug] Only log "recursion denied" if RD is set. (RT #178) 2000-07-14 02:26:22 +00:00
Michael Sawyer
0840ae769a When doing multi-stage lookups (like +trace and +nss), don't wait for all
of the servers being queried to return results if we only need one of them.
2000-07-13 22:53:51 +00:00
Michael Sawyer
a31dbaa03f Replace +aa option, per AG. 2000-07-13 21:12:21 +00:00
Michael Sawyer
8f56f93547 Clean up duplicate code in host.c
Fix a socket cleanup problem which, in some isolated cases, prevented
correct shutdown.
Remove +aa option completely.
2000-07-13 21:01:00 +00:00
Michael Sawyer
c5ec9b45bb Lots of duplicate code removed
+tcp mode bug fixed
2000-07-13 18:52:58 +00:00
Michael Sawyer
58cdafb232 Style changes, nothing functional 2000-07-13 02:14:17 +00:00
Michael Sawyer
77365675e9 Use mempools instead of free lists for the comm buffers. 2000-07-13 01:49:44 +00:00