2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

65 Commits

Author SHA1 Message Date
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
James Brister
c6d0fc864d Added build of confresolv.o and confcache.o 1999-10-10 17:12:52 +00:00
James Brister
95360399dc Placeholders for future config file structures. 1999-10-10 17:09:37 +00:00
David Lawrence
9e0c6fc4c1 The return value of zone_delete is isc_reuslt_t, so compare with ISC_R_SUCCESS,
not with NULL.

Do not need string.h, because confcommon.h includes it.
Ditto isc/net.h.

Do not need sys/types.h.
1999-10-08 23:12:00 +00:00
David Lawrence
14981f88a2 Use ISC_DIR_PATHMAX for PATH_MAX.
Cast argument to htons() to isc_uint16_t to delint NT's CL.  It is range
checked before the call.
1999-10-08 23:05:00 +00:00
David Lawrence
5e7e5134a9 dns_c_logginglist_addcategory() 4th arg is isc_boolean_t, not isc_boolean_t * 1999-10-08 22:55:33 +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
James Brister
f3aea701e8 Use changed name for an internal config type 1999-10-02 21:25:15 +00:00
James Brister
9e12c99099 Use logging system. 1999-10-02 21:23:11 +00:00
David Lawrence
35b63cc1a3 use type in_port_t instead of unsigned int for ports,
include string.h for memset prototype,
include isc/net.h instead of arpa/inet.h, netinet/in.h and sys/socket.h
1999-10-02 02:59:35 +00:00
David Lawrence
a252c2771f include isc/net.h, do not include sys/socket.h, netinet/in.h or arpa/inet.h,
and/or use type in_port_t instead of unsigned int for ports
1999-10-02 02:54:16 +00:00