Commit Graph

95 Commits

Author SHA1 Message Date
Andreas Gustafsson
e7e3b748f8 missing NULL initialization before attach 2000-02-24 18:44:16 +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
Andreas Gustafsson
be1395f914 typo 2000-02-15 18:24:26 +00:00
James Brister
334e2ce758 Handle new dns_c_ipmatch_any type in address lists. Use (negated)
when parsing address 'none'.
Also make better use of localhost and localnets ipmatch elements.
2000-02-15 17:05:11 +00:00
James Brister
e0df4c98c8 Support parsing new allow-update-forwarding statement inside zones and
views.
2000-02-14 17:20:35 +00:00
James Brister
51c7627c91 Support queyer-source-v6 and transfer-source-v6
Is now an error if a IPv6 address is used in a transfer-source or
query-source statement.
Ditto for an IPv4 address in *-v6 statement.
Cleaned up error messages.
2000-02-09 16:45:52 +00:00
Bob Halley
d01ac47e73 move up some forward declarations 2000-02-08 20:44:53 +00:00
James Brister
8561310bf9 Removed extraneous semi-colon. 2000-02-06 15:07:03 +00:00
Bob Halley
8c5039fd81 improve error message if zone callback fails; revise error levels 2000-02-02 00:38:11 +00:00
James Brister
3b94d5eaf9 Implement ALSO_NOTIFY and TRANSFER_SOURCE in options block.
Corrected type of FORWARDERS.
Implemented several new values in a VIEW.
2000-01-28 23:52:41 +00:00
James Brister
c71fc7ffdd Remove definition and use of dns_c_severity_t and replace with dns_severity_t. 2000-01-28 19:56:25 +00:00
Andreas Gustafsson
b4166f2452 if a maybe_wild_addr was wild, the port was not zeroed and
the length was not set
2000-01-28 01:14:41 +00:00
James Brister
6ca3b786b4 Support new 'tcp-clients' and 'recursive-clients' statements. 2000-01-17 14:41:24 +00:00
James Brister
ad62ba2e70 Do checks on some integers for size limits. 1999-12-17 18:32:38 +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
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
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
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
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
James Brister
4c716c8642 Somei minor grammer changes to help with view statements.. 1999-10-29 11:10:04 +00:00
Mark Andrews
c9c070991c in6_addr.s6_addr is always an array. 1999-10-29 07:13:04 +00:00
Mark Andrews
8b2779bba0 return ISC_TRUE/ISC_FALSE not 1/0 1999-10-29 06:05:10 +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
James Brister
bb4b118f9b Added tkey-domain and tkey-dhkey support. 1999-10-25 10:00:38 +00:00
Bob Halley
b8257bd2d8 logging tweaks and fixes 1999-10-23 00:02:23 +00:00
Mark Andrews
c30970926d refering to a non-existant acl causes segfault. 1999-10-13 23:19:45 +00:00
James Brister
d7d543b0ce Use isc_log_t for low-level complaints. 1999-10-13 17:55:47 +00:00
James Brister
f7a00c14fd Misc changes due to views 1999-10-10 17:16:07 +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
James Brister
9e12c99099 Use logging system. 1999-10-02 21:23:11 +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
James Brister
7c337a9ca9 IPv6 fixes.
Removed config specific address type and replced with isc_sockaddr_t
1999-09-17 14:22:06 +00:00
Michael Graff
5f0e2c8913 update copyright text 1999-09-16 00:02:20 +00:00
Bob Halley
33bb967e5d include stdlib.h, declaring getenv() 1999-09-13 19:02:02 +00:00
James Brister
92db5cd726 Renamed many identifiers to match coding guidelines. 1999-09-03 20:59:50 +00:00
James Brister
265cfd9711 Config file yacc parser. 1999-07-20 20:19:24 +00:00