Commit Graph
76 Commits
Author SHA1 Message Date
Michael Graff 3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
James Brister ad62ba2e70 Do checks on some integers for size limits. 1999-12-17 18:32:38 +00:00
James Brister 4239a56ab2 Added new function dns_c_checkconfig . 1999-12-17 18:29:38 +00:00
Mark Andrews e7340552be missed a master xfer out change 1999-12-16 01:24:27 +00:00
James Brister b9dc54b8dd - Fixed transfer/idle times in zones that were being lef as minutes.
- Added checking for minutes that are too big to be converted to seconds.
1999-12-14 10:28:00 +00:00
Mark Andrews 2ea83bcfe5 Stub zones do not transfer out.
Master zones do transfer out.
1999-12-13 05:24:13 +00:00
James Brister e8cf926e39 Fix (and test) for max-transfer statements inside zones. 1999-12-11 14:07:19 +00:00
James Brister 0b8e472452 Support new max-transfer-time-out, max-transfer-idle-in and
max-transfer-idle-out statements in options block and zone statements.
1999-12-11 13:44:46 +00:00
James Brister 0e0be28c8b Added some extra REQUIREs and fixed up some magic number handling. 1999-12-06 18:25:40 +00:00
James Brister 638434f6d3 Dead code removal. 1999-12-06 18:22:41 +00:00
James Brister 1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
James Brister 29bf8316a3 - Hold list of pubkeys instead of a single pubkey in zones.
- Change dns_zone_copy to use pubkey list.
- MAGIC-number related fixes and miscellaneous defensive programing issues.
1999-12-01 16:29:00 +00:00
Andreas Gustafsson afaaf4c0aa Multiple fixes to address match list parsing:
- When no IP prefix length is specified, use 32 (IPv4) or 128 (IPv6), not 0
 - Allow an explicit prefix length of 32 (IPv4) or 128 (IPv6)
 - use isc_sockaddr_fromin()/isc_sockaddr_fromin6() to build isc_sockaddr_t
   structures so that the length field gets set correctly
1999-11-30 22:01:16 +00:00
Bob Halley b03c7e14f1 build confparser.c when depending 1999-11-22 19:14:16 +00:00
James Brister 17c551bed1 Attach (instead of straight pointer copy) a returned dns_c_ipmatchlist
when pulled from a zone.
1999-11-17 22:28:52 +00:00
James Brister 292031c9fc - Removed config *_delete functions on structures that use reference
counting and replaced with *_detach.
- Changed config *_attach functions to return the new attached value through
  the paramater list rather than as a return value.
- Changed config *_delete functions to no longer allow deletion of a null
  pointer
- Changed calls to the config *_delete functions to make sure no null
  pointers were passed in.
- Changed use of the config *_attach function to match new signature.
1999-11-17 21:52:32 +00:00
James Brister e42197260c Support forward and forwarders values inside master, slave and stub zones. 1999-11-02 15:49:44 +00:00
James Brister 3f8c638594 Support rfc2308-type1 options statement. 1999-11-02 09:13:48 +00:00
Mark Andrews 2b89e0b33c remover compiler warning 1999-11-01 00:14:59 +00:00
Bob Halley 9e5bf8aab6 Comment out 'optional_string' which was defined but not used, causing YACC
on a number of platforms to die.
1999-10-29 15:44:06 +00:00
Mark Andrews 90adbb5f1c Remove various "enumerated type mixed with another type" warnings.
More still to be removed.
#define ISC_TF(x) to covert logical result to isc_boolean_t
1999-10-29 12:56:58 +00:00
James Brister 0e28c9756a Remove yacc-generated files in distclean. 1999-10-29 11:28:48 +00:00
James Brister 4c716c8642 Somei minor grammer changes to help with view statements.. 1999-10-29 11:10:04 +00:00
James Brister 95aa368fae Added dns_c_kdeflist_append and dns_c_kdef_copy.
Modifications to kdef cleanup.
Fixed some broken names.
1999-10-29 11:08:24 +00:00
James Brister f44bd3637e Added missing accessors for kdef list. 1999-10-29 11:05:38 +00:00
Mark Andrews c9c070991c in6_addr.s6_addr is always an array. 1999-10-29 07:13:04 +00:00
Mark Andrews 56b048781d uid_t / gid_t are usually declared unsigned the days. use format %lu and
cast to (unsigned long) to make sure.
1999-10-29 06:19:56 +00:00
Mark Andrews 8b2779bba0 return ISC_TRUE/ISC_FALSE not 1/0 1999-10-29 06:05:10 +00:00
Mark Andrews 22ce92d1bd fix call to isalpnum 1999-10-29 04:19:34 +00:00
Mark Andrews b3a2ce7d96 fix calls to isdigit() 1999-10-29 04:18:07 +00:00
Bob Halley afa0257adf log if the zone callback or options callbacks fail so we don't get a
"parsing failed" result without logging why it failed.
1999-10-29 03:42:03 +00:00
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
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
James Brister 01fa4e3634 Removed tkey from server statement.
Added integer argument to tkey options value.
1999-10-26 15:25:38 +00:00
Bob Halley d7778ed2d3 remove \n from calls to isc_log_write() 1999-10-25 18:57:27 +00:00
Bob Halley c03e11d62f eliminate \n in calls to isc_log_write() 1999-10-25 18:51:54 +00:00
James Brister bb4b118f9b Added tkey-domain and tkey-dhkey support. 1999-10-25 10:00:38 +00:00
James Brister 57840f518a Changes to config generators.
Added tkey-domain and tkey-dhkey to options block.
1999-10-25 09:55:40 +00:00
James Brister 285ae3ab80 Minor changes to config file generators.
Added a lookup function for server lists.
1999-10-25 09:52:42 +00:00
Bob Halley b8257bd2d8 logging tweaks and fixes 1999-10-23 00:02:23 +00:00
James Brister 80bd254851 Updated use of magic numbers. 1999-10-16 01:34:30 +00:00
Mark Andrews 9feed601eb REQUIRE() testing wrong variable, (viewptr != NULL) not (view != NULL). 1999-10-14 05:02:42 +00:00
Mark Andrews c30970926d refering to a non-existant acl causes segfault. 1999-10-13 23:19:45 +00:00
Mark Andrews 448de38fe4 add dns_c_ipmatchelement_equal().
add dns_c_ipmatchlist_equal().
	add dns_c_iplist_equal().
1999-10-13 22:24:18 +00:00
Mark Andrews 309fb45354 add dns_c_pubkey_equal(). 1999-10-13 22:21:58 +00:00
James Brister 0a3e4adbbc Don't bump reference count when putting a zone in a zonelist. 1999-10-13 17:58:36 +00:00
James Brister 62d223097f Added dns_c_view_getname and fixed up output. 1999-10-13 17:57:01 +00:00
James Brister d7d543b0ce Use isc_log_t for low-level complaints. 1999-10-13 17:55:47 +00:00
James Brister 792d41ce3f Include viewtable in generated config files. 1999-10-13 17:54:27 +00:00
James Brister f7a00c14fd Misc changes due to views 1999-10-10 17:16:07 +00:00