2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-23 02:28:55 +00:00

266 Commits

Author SHA1 Message Date
Michael Sawyer
e715e01178 More code duplication removal and general cleanup
Slight change in +nssearch output formatting
2000-07-14 16:35:30 +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
738310d8cf It's probably a bad idea to pre-allocate 64K buffers for each lookup as soon
as you read in the batch file.  Don't.
2000-07-13 01:22:38 +00:00
Michael Sawyer
76959783dd Documentation changes in usage message. 2000-07-12 17:44:03 +00:00
Michael Sawyer
473cb90680 Choose reasonable default values for +trace mode. 2000-07-12 01:41:35 +00:00
Andreas Gustafsson
969b3374ed no space between function name and arg list 2000-07-12 00:22:57 +00:00
Michael Sawyer
6331b9a45e Don't try and reset timers which aren't being used. 2000-07-11 17:35:49 +00:00
Brian Wellington
3ce3305278 Remove a race condition where the final event could be posted before
isc_app_run started.
2000-07-10 18:02:31 +00:00
Michael Sawyer
38cf6e52ce Lots of style changes.
Clean up what appears to be a varient of the race condition, this one set
off in nslookup.
2000-07-05 23:28:32 +00:00
Andreas Gustafsson
24139527f3 lots of style changes; no functional change 2000-07-05 19:31:26 +00:00
Michael Sawyer
1893b56ef9 Move taskmgr shutdown to the correct place. 2000-06-30 14:11:49 +00:00
Michael Sawyer
db8b100cae DO NOT PULL ME UP TO THE RELEASE BRANCH.
This is a fix for the race condition in dig.  It seems to work well, except
there's a memory leak I can't quite track down.  Michael and I will look at
it on the plane ride tommorow, and commit a change via modem once we arrive
in PA.  We'll also be doing general code cleanup.
2000-06-29 05:21:12 +00:00
Michael Sawyer
84c4c99c9e 290. [cleanup] +twiddle option to dig (for testing only) removed. 2000-06-28 18:20:44 +00:00
Mark Andrews
abeb505bb6 276. [bug] dig now supports maximum sized TCP messages. 2000-06-23 16:53:53 +00:00
Michael Sawyer
23e8d9349b Make host -C and dig +nss actually work. 2000-06-22 22:37:31 +00:00
David Lawrence
bb18b04113 "we much have recovered" -> "we must have recovered" 2000-06-22 17:23:48 +00:00
David Lawrence
9ef9f6b8ae #include style lint 2000-06-22 01:26:38 +00:00
Michael Sawyer
c9defbf4b9 Sort #includes 2000-06-21 17:48:32 +00:00
Michael Sawyer
d821f1cd7e Additional debugging options
% comment option in dig
2000-06-21 01:40:42 +00:00
Michael Sawyer
a414896ee9 +ad/+noad option conflicting with +additional/+noadditional option 2000-06-19 19:00:49 +00:00
Michael Sawyer
518c9fea58 Add ability to set AD and CD flags in outgoing query. 2000-06-16 18:00:05 +00:00
Michael Sawyer
960c8888f6 TSIG verification of xfr replies working now. 2000-06-07 00:13:57 +00:00
Michael Sawyer
d62f922122 Fix segfault due to uninitialized variable 2000-06-06 23:06:25 +00:00
Michael Sawyer
910df0c767 Further attempts to make XFR's verify with TSIG keys. Still not
functional, and disabled in this checkin.
Added -debug and -memdebug command line options, to avoid having
to recompile every time these options are needed.
2000-06-06 22:50:44 +00:00
Michael Sawyer
47058d1726 Validate TSIG signatures on replies, *except* for xfr's.
Add Id string.
2000-06-06 18:49:06 +00:00
Michael Sawyer
a5ed46c9fd Send TSIG signed queries with dig. This version requires all queries
from a single invocation of dig use the same key, and doesn't validate
replies yet.  Also, keys must be passed on the command line with the
-y option.  -k forthcoming.
2000-06-06 00:43:17 +00:00
Michael Sawyer
d12ed0876f Add ixfr support to dig, as:
dig domain.nil. ixfr=12345
where 12345 is version you are ixrf'ing against
(testing still in progress of this option)
2000-06-02 18:45:33 +00:00
David Lawrence
7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Brian Wellington
83a44df0a1 include dns/name.h 2000-05-30 22:27:27 +00:00
Michael Sawyer
cc88be4af1 Change global task variable to global_task
Remove unused globals
2000-05-26 22:03:00 +00:00
Michael Sawyer
36e4d8878c Clean up uninitialized variable bug 2000-05-25 17:24:57 +00:00
Michael Sawyer
6afdb1e5e4 Clean up some unused variables... 2000-05-25 00:01:30 +00:00
Michael Sawyer
0eb5cf7351 Fix lookup limit.
Fix non-closing of sockets when finished.
2000-05-24 23:39:30 +00:00
Michael Sawyer
17747cd5ee Clean up warnings I accidentally left in in previous commit.
Add resetting of lookup counter between different name searches.
2000-05-24 19:49:51 +00:00
Michael Sawyer
932b781b81 Modify dig to use message_*totext() routines. 2000-05-24 19:27:01 +00:00
David Lawrence
b0ab096ce6 added missing prototype to show_usage().
added UNUSED(first) for when USEINITALWS is not defined.
use ISC_TF() when assigning a boolean value.
added missing spaces around assignment operators per ISC style.
2000-05-24 03:05:58 +00:00
Michael Sawyer
4e0dc7b50c Add option to bind to a specified address 2000-05-19 17:54:04 +00:00
Michael Sawyer
88e216c7b4 Remove duplicate printing of greeting message 2000-05-18 01:32:53 +00:00
Michael Sawyer
b437fa469e Correct bug in batch file handling 2000-05-18 01:21:19 +00:00
Michael Sawyer
df834113a3 Fix bug in dig's message printing. 2000-05-17 18:36:31 +00:00
Michael Sawyer
0cfdce899b Add +[np]cmd option 2000-05-16 18:54:40 +00:00
Michael Sawyer
844eaa56d6 Minor error in return codes fixed in dighost.c
Additional functionality to nslookup
2000-05-16 17:53:35 +00:00
Michael Sawyer
9fe3676b84 Clean up command line parsing in dig.
Fix bug in nslookup interactive mode.
2000-05-12 18:45:38 +00:00
Michael Sawyer
6fe03d6c83 Code cleanup of dighost.c, hopefully making some of the flow of
command a bit more obvious.
Addition of TCP fallback on UDP failure.  Will add option to disable this.
Further work on nslookup.
(nslookup is not built by default now, and is far from fully functional.
Interactive mode currently segfaults.)
2000-05-12 01:02:37 +00:00
Michael Sawyer
cefd68008f Host was broken in last commit; fixed here.
Add nslookup.c; non-functional and not compiled by make all.
2000-05-09 18:05:13 +00:00
Michael Sawyer
f17b62a64b Added +bufsize (EDNS0) option to dig
Added 1.2.3.4-> 4.3.2.1.in-addr.arpa translation to host
Added +defname, +aaonly, +cmd, +nostats, +qr flags to dig
Reviewed (and changed) result codes of dig.
2000-05-08 22:51:08 +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
Michael Sawyer
6c7a2db63c Add +trace option, change some of the behavior of other options. 2000-05-06 01:16:07 +00:00