Commit Graph
1258 Commits
Author SHA1 Message Date
David Lawrence 0e64f7883a define THIRTY_TWO_BIT instead of SIXTY_FOUR_BIT on WIN32. Since
this file is already heavily ifdef'd with WIN32, one more seemed like
the most reasonable way to handle the matter.
1999-10-08 22:01:05 +00:00
David Lawrence 25ebcfe710 fixed some string manipulation that was aesthetically unpleasing to me.
it must have been the percocet that made me do it the other way.  sorry.
1999-10-08 21:55:31 +00:00
David Lawrence 63430de345 Check the rdata type for range before uint16_tobuffer, because by the time
uint16_tobuffer is called the loss of data from strtol() already occurred
and uint16_tobuffer would not be able to detect a range error.

delint: integral size mismatch in call to dns_rcode_totext with a 32 bit
int passed where a 16 bit is expected.  since the variable was retrieved
via uint16_fromregion immediately prior to dns_rcode_totext, casting
the 32 bit to 16 bit (to dns_rcode_t) is sufficient.
1999-10-08 21:45:01 +00:00
David Lawrence 0bd044c2af Check the rdata type for range before uint16_tobuffer, because by the time
uint16_tobuffer is called the loss of data from strtol() already occurred
and uint16_tobuffer would not be able to detect a range error.

also, use token.value.as_char when assigning to char c, which is already
checked to be < 256.
1999-10-08 21:42:23 +00:00
David Lawrence 6e482e595d fromtext_nxt(): check the range of 'dns_rdatatype_t covered' from the long int
that is read via strtol() rather than assigning covered directly from strtol(),
so that a value greater than the width of dns_rdatatype_t can be detected.
1999-10-08 21:26:42 +00:00
David Lawrence 722cc17289 delint: integral size mismatch in call to dns_cert_totext with a 32 bit
int passed where a 16 bit is expected.  since the variable was retrieved
via uint16_fromregion immediately prior to dns_cert_totext, casting
the 32 bit to 16 bit (to dns_cert_t) is sufficient.
1999-10-08 21:22:27 +00:00
Brian Wellington 949d406b57 reference counting on TSIG keys. Necessary for TKEY delete 1999-10-08 20:14:47 +00:00
Brian Wellington 3f6dc1703f tsig structure/function name change 1999-10-08 18:37:24 +00:00
Bob Halley 139154bd98 fix the makefile fixes added because nmake sucks 1999-10-08 16:40:38 +00:00
Brian Wellington 2c12fc4d63 the TSIG key name shouldn't be created with dns_name_dup 1999-10-08 16:39:17 +00:00
Brian Wellington 069104dd6a the message->cleanup list was being improperly cleaned 1999-10-08 14:59:02 +00:00
Brian Wellington 22fe53a629 more warning fixes 1999-10-08 13:08:57 +00:00
Bob Halley d2358a453e improve exit/cleanup code 1999-10-08 00:05:59 +00:00
William King 31654d4333 ran into what looks like a compiler problem ... 1999-10-07 22:49:27 +00:00
Brian Wellington 452123247d updated to match struct changes for tsig and sig 1999-10-07 21:51:49 +00:00
Brian Wellington cf3f14106d Changed 'dns_name_t *' in structs to 'dns_name_t' 1999-10-07 21:49:39 +00:00
Brian Wellington be51993531 added key to/from/free struct 1999-10-07 21:48:52 +00:00
Bob Halley e3027d397f resolver checkpoint 1999-10-07 19:41:16 +00:00
Bob Halley 63d1ef9e77 add DNS_R_DROP 1999-10-07 19:40:57 +00:00
Bob Halley 21737e85d8 preserve rr ordering 1999-10-07 19:40:30 +00:00
Bob Halley 3e70e0a2c0 hack to avoid resolver issues 1999-10-07 19:39:53 +00:00
Bob Halley 6d58c9b95e unsend 1999-10-07 19:38:39 +00:00
Bob Halley 5d454a5920 using $? is bad 1999-10-07 16:28:23 +00:00
Bob Halley 36ca3df1eb revert to 1.54 1999-10-07 02:56:46 +00:00
Bob Halley c44989e64a revert to 1.25 (unix only) 1999-10-07 02:55:00 +00:00
David Lawrence 83e8c58817 moved to unix/include/isc/int.h 1999-10-07 02:39:23 +00:00
William King da663418c6 added -b option to support chdir to a base directory so that data files
can be specified w/out full paths in tests
1999-10-07 02:31:34 +00:00
David Lawrence eac339874d no more unistd.h; use remove() from stdio rather than unlink() 1999-10-07 02:10:10 +00:00
David Lawrence eaff62e089 use isc_commandline_parse instead of getopt. still dependent on unistd.h 1999-10-06 20:15:52 +00:00
David Lawrence f46a6d4e43 no more dirent.h and unistd.h.
use isc_dir_* and isc_commandline_parse.
1999-10-06 19:55:29 +00:00
David Lawrence 712aad2d2f gen.c now depends on libisc for isc_commandline_parse and isc_dir_* 1999-10-06 19:52:47 +00:00
David Lawrence bc39100623 added "-I ../unix/include" ... because ultimately int.h needs to go there, and currently i need the unix string changed to win32 when building on NT 1999-10-06 19:48:27 +00:00
David Lawrence 7c47a2a03c netdb.h for win32 1999-10-06 19:43:19 +00:00
David Lawrence a72b5fec9d makefiles and cvsignores for the win32 subtree 1999-10-06 19:41:39 +00:00
David Lawrence 156d37e2dc dir.h added to HEADERS 1999-10-06 19:41:01 +00:00
David Lawrence 09da984c2c commandline.h added to HEADERS 1999-10-06 19:40:20 +00:00
David Lawrence f164ff7b52 win32 needs inet_pton() 1999-10-06 19:37:25 +00:00
David Lawrence a91a5c2322 New CPP macros ISC_DIR_NAMEMAX and ISC_DIR_PATHMAX; win32 are based
on _MAX_FNAME and _MAX_PATH, unix are "reasonable values" (256 and 1024)
because unix is inconsistent about this.
1999-10-06 19:36:13 +00:00
David Lawrence b21507bc8d makefiles and cvsignores for the win32 subtree 1999-10-06 19:32:37 +00:00
David Lawrence 7182ad9121 removed the mutex method 1999-10-06 19:25:41 +00:00
David Lawrence af97e49f21 + commandline.c
+ WIN32OBJS
1999-10-06 19:23:36 +00:00
David Lawrence d209a67373 BSD short option getopt, name mangled for the ISC. 1999-10-06 19:23:05 +00:00
Michael Graff e51511aa32 snapshot 1999-10-05 23:50:43 +00:00
Bob Halley d1be0cf18b add CD and AD 1999-10-05 22:11:58 +00:00
Bob Halley 66100d11b5 define socket types in types.h 1999-10-05 21:22:02 +00:00
Bob Halley 51917258db build system cleanups; improved include handling 1999-10-05 19:52:30 +00:00
Bob Halley 10ba7f6f56 lint 1999-10-05 19:50:53 +00:00
Brian Wellington f9e5d1c8ca Added a routine to compute the length of a generated shared secret 1999-10-05 15:08:52 +00:00
Brian Wellington 688d43f2ac check for known primes was backwards 1999-10-05 15:06:37 +00:00
Brian Wellington 95bf6e9625 fix casting problem 1999-10-05 15:04:27 +00:00