Commit Graph

27 Commits

Author SHA1 Message Date
David Lawrence
9e532f8f5e use ISC_TF to assign an isc_boolean_t 2000-06-06 15:21:46 +00:00
James Brister
616c83b78b temporarily disable code that validates listen-on and listen-on-v6 lists. 2000-06-06 14:20:03 +00:00
James Brister
c78dc8b001 Added new listen-on-v6 config file statement.
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +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
James Brister
e2cf9c2db3 support 'disabled' statement in zone config (causes
zone to be parsed and then ignored). Currently must
come after the 'type' clause.

support optional ports in masters and also-notify
statements:

	masters [ port xxx ] { y.y.y.y [ port zzz ] ; }

removed some unused arguments.

stop issuing some warnings about some features that
were not implemented, but now are.
2000-05-03 19:29:43 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
James Brister
616ee4a3f7 Changes to support keys inside views. 2000-04-07 13:35:06 +00:00
James Brister
da47a1b896 Removed listen-on from views.
Changed syntax of grant/deny statements so they now must be inside an
'update-policy' block.

quote rr types when printing grant/deny statements as they can
clash with config file keywords.

Added rcs Id inside comment.
2000-03-28 22:58:25 +00:00
James Brister
e323a667e0 Replace use of private config type user for server statement with new
dns_peer_t.
Support two forms of server key statement:

	keys "blah";
	keys { "foo" ; };

Non longer build confserv.c
2000-02-24 14:48:30 +00:00
James Brister
7d1c47756f Support new ipmatch elements type: dns_c_ipmatch_any
Also handle address name 'none' to be same as '!any'
2000-02-15 17:01:50 +00:00
Bob Halley
0fffa9dcca update copyright 2000-02-03 23:17:52 +00:00
James Brister
c0b1ee1cc5 Fixed probably with printing masked ip addresses.
Catch bogus mask values.
2000-01-28 23:47:18 +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
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
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
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
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
d7778ed2d3 remove \n from calls to isc_log_write() 1999-10-25 18:57:27 +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
James Brister
80bd254851 Updated use of magic numbers. 1999-10-16 01:34:30 +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
Bob Halley
10ba7f6f56 lint 1999-10-05 19:50:53 +00:00
James Brister
9e12c99099 Use logging system. 1999-10-02 21:23:11 +00:00
James Brister
7c337a9ca9 IPv6 fixes.
Removed config specific address type and replced with isc_sockaddr_t
1999-09-17 14:22:06 +00:00
James Brister
67d3afc471 Renamed many identifiers to match coding guidelines. 1999-09-03 20:48:22 +00:00
James Brister
0eb5c95878 Config library implementation files. 1999-07-19 13:25:18 +00:00