Mark Andrews
4e259c5a23
1768. [bug] nsecnoexistnodata() could be called with a non-NSEC
...
rdataset. [RT #12907 ]
2004-11-17 23:52:31 +00:00
Mark Andrews
73fb13fe97
1755. [func] allow-update is now settable at the options / view
...
level. [RT #6636 ]
2004-11-11 01:08:24 +00:00
Mark Andrews
dd95acdbce
1761. [bug] 'rndc dumpdb' didn't report unassociated entries.
...
[RT #12971 ]
2004-11-10 22:33:18 +00:00
Mark Andrews
77fad835c5
1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS
...
even when it failed. [RT #12995 ]
2004-11-10 22:22:10 +00:00
Mark Andrews
e3d982f4a8
1754. [bug] We wern't always attempting to query the parent
...
server for the DS records at the zone cut.
[RT #12774 ]
2004-11-10 21:57:46 +00:00
Mark Andrews
71e7ac828e
1760. [bug] Host / net unreachable was not penalising rtt
...
estimates. [RT #12970 ]
2004-11-10 21:46:48 +00:00
Mark Andrews
a8be540f55
1764. [bug] dns_zone_replacedb failed to emit a error message
...
if there was no SOA record in the replacment db.
[RT #13016 ]
2004-11-09 22:16:57 +00:00
Mark Andrews
84a5b69f00
1756. [func] named-checkconf now checks the logging configuration.
...
[RT #12352 ]
2004-11-09 21:24:20 +00:00
Mark Andrews
e743a2b3b7
1753. [bug] Don't serve a slave zone which has no NS records.
...
[RT #12894 ]
2004-10-26 02:01:19 +00:00
Mark Andrews
40e7c805a8
1740. [bug] Replace rbt's hash algorithm as it performed badly
...
with certain zones. [RT #12729 ]
2004-10-25 01:27:54 +00:00
Mark Andrews
21094b43a2
1749. [bug] 'check-names response ignore;' failed to ignore.
...
[RT #12866 ]
2004-10-21 01:53:44 +00:00
Mark Andrews
49210da3fb
1676. [func] New option "allow-query-cache". This lets
...
allow-query be used to specify the default zone
access level rather than having to have every
zone override the global value. allow-query-cache
can be set at both the options and view levels.
If allow-query-cache is not set allow-query applies.
2004-10-21 00:58:33 +00:00
Mark Andrews
2651dcdf75
1750. [port] lib/bind/make/rules.in:subdirs was not bash friendly.
...
[RT #12864 ]
2004-10-19 23:33:48 +00:00
Mark Andrews
4181218570
1747. [bug] BIND 8 compatability: named/named-checkconf failed
...
to parse "host-statistics-max" in named.conf.
2004-10-17 23:11:30 +00:00
Mark Andrews
61a4d5e7d8
1742. [bug] If isc_taskmgr_create() was not able to create the
...
requested number of worker threads then destruction
of the manager would trigger an INSIST() failure.
[RT #12790 ]
2004-10-15 00:45:34 +00:00
Mark Andrews
ad98a86993
1747. [func] Make public the function to read a key file,
...
dst_key_read_public(). [RT #12450 ]
2004-10-14 05:55:52 +00:00
Mark Andrews
1672cff96d
1684. [func] ixfr-from-differences now takes master and slave in
...
addition to yes and no at the options and view levels.
2004-10-14 00:49:34 +00:00
Mark Andrews
276f1d9a38
1744. [bug] If tuple2msgname() failed to convert a tuple to
...
a name a REQUIRE could be triggered. [RT #12796 ]
2004-10-13 22:24:18 +00:00
Mark Andrews
073bd4c4bc
1739. [bug] dns_rbt_deletetree() could incorrectly return
...
ISC_R_QUOTA. [RT #12695 ]
1738. [bug] Enable overrun checking by default. [RT #12695 ]
2004-10-11 05:49:29 +00:00
Mark Andrews
207f0a15bb
1705. [func] Allow the journal's name to be changed via named.conf.
2004-10-07 02:15:14 +00:00
Mark Andrews
0553f5554f
1729. [func] Improve check-names error messages.
...
1728. [doc] Update check-names documentation.
1727. [bug] named-checkzone: check-names support didn't match
documentation.
2004-10-06 05:56:29 +00:00
Mark Andrews
43fe2897fc
1731. [port] darwin: relax version test in ifconfig.sh.
...
[RT #12581 ]
1730. [port] Determine the length type used by the socket API.
[RT #12581 ]
2004-10-05 03:17:18 +00:00
Mark Andrews
2d2e0fff8e
1736. [bug] dst_key_fromnamedfile() could fail to read a
...
public key. [RT #12687 ]
2004-10-01 00:10:59 +00:00
Mark Andrews
a1d1525f1c
regen
2004-09-27 04:26:43 +00:00
Mark Andrews
0795769851
aix5
2004-09-24 04:32:33 +00:00
Mark Andrews
f8ea158366
silence compiler
2004-09-17 13:33:58 +00:00
Mark Andrews
0d51617897
silence compiler
2004-09-17 05:59:28 +00:00
Mark Andrews
a449ffac7f
silence compiler
2004-09-16 07:08:43 +00:00
Mark Andrews
3ca9bffc1d
silence compiler
2004-09-16 07:02:53 +00:00
Mark Andrews
e69e397944
make -j3 support
2004-09-16 05:13:55 +00:00
Mark Andrews
12e8e73d76
1722. [bug] Don't commit the journal on malformed ixfr streams.
...
[RT #12519 ]
1721. [bug] Error message from the journal processing were not
always identifing the relevent journal. [RT #12519 ]
2004-09-16 04:54:03 +00:00
Mark Andrews
51f99a878d
1720. [bug] 'dig +chase' did not terminate on a RFC 2308 Type 1
...
negative response. [RT #12506 ]
1719. [bug] named was not correctly caching a RFC 2308 Type 1
negative response. [RT #12506 ]
1718. [bug] nsupdate was not handling RFC 2308 Type 3 negative
responses when looking for the zone / master server.
[RT #12506 ]
2004-09-16 02:10:42 +00:00
Mark Andrews
ffcbf9ea91
silence compiler warnings
2004-09-16 01:01:27 +00:00
Mark Andrews
49954c293c
pullup
...
1684. [port] 64 bit size_t issues / compiler warnings.
2004-09-16 00:56:12 +00:00
Mark Andrews
a9977c0fda
bad descriptions s/dns_label_countlabels/dns_name_countlabels/
2004-09-08 00:26:14 +00:00
Mark Andrews
d6fe7ba949
1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()
...
for conformance to the name space convention. Binary
backward compatibility to the old function name is
provided. [RT #12376 ]
2004-09-01 05:13:06 +00:00
Mark Andrews
3dd9bafd2e
fix typo in unexecuted code
2004-09-01 04:38:43 +00:00
Mark Andrews
0150a81aad
match startrecv() prototype to function.
2004-09-01 04:25:20 +00:00
Mark Andrews
119056cca4
1682. [bug] gethostby*_r() implementations that copied the return
...
pointer got NULL returned on success.
2004-09-01 02:04:50 +00:00
Mark Andrews
16a68807e1
1704. [port] lwres needed a snprintf() implementation for
...
platforms without snprintf(). Add missing
"#include <isc/print.h>". [RT #12321 ]
2004-08-28 06:20:14 +00:00
Mark Andrews
ed18f74496
1703. [bug] named would loop sending NOTIFY messages when it
...
failed to receive a response. [RT #12322 ]
2004-08-28 05:53:12 +00:00
Mark Andrews
9176737468
style
2004-08-27 12:35:03 +00:00
Mark Andrews
68ae0f83c0
1706. [bug] 'rndc stop' failed to cause zones to be flushed
...
sometimes. [RT #12328 ]
2004-08-27 12:28:10 +00:00
Mark Andrews
bcaa5957ce
pullup:
...
1679. [bug] A bad length check was introduced by change #1661
in dns_ho.c.
2004-08-24 00:33:35 +00:00
Mark Andrews
2cd182921e
regen
2004-08-23 00:05:48 +00:00
Mark Andrews
d7a8ba373d
copyright
2004-08-19 04:44:08 +00:00
Mark Andrews
5f3df6134c
1677. [bug] IN6_IS_ADDR_MC_NODELOCAL() addresses can also have
...
symbolic scope id's.
2004-08-17 05:50:13 +00:00
Tatuya JINMEI 神明達哉
455bb19b5d
1697. [bug] xxx-source{,-v6} was not effective when it
...
specified one of listening addresses and a
different port than the listening port. [RT #12257 ]
2004-08-15 04:37:38 +00:00
Mark Andrews
7f2a6b0ef7
1695. [bug] DS records when forwarding require special handling.
...
[RT #12133 ]
2004-08-10 00:38:56 +00:00
Mark Andrews
2597c68ffe
improve dns_name_getlabelsequence() description.
2004-08-10 00:35:01 +00:00
Mark Andrews
8418c435e6
pullup from bind 8:
...
1674. [bug] getaddrinfo() failed to set sin6_scope_id correctly
on some platforms.
2004-08-09 07:49:21 +00:00
Mark Andrews
2538b3b9c0
pullup from bind 8
...
1675. [bug] match any returned scope when a scope is not specified
on non global scope address in resolv.conf.
2004-08-09 07:47:01 +00:00
Mark Andrews
4721a0c646
make use of if_nametoindex() test result.
2004-08-09 07:40:17 +00:00
Mark Andrews
d1b65f4487
redo if_nametoindex() test
2004-08-09 07:39:14 +00:00
Mark Andrews
5dbec64fde
probe for if_nametoindex()
2004-08-09 07:19:08 +00:00
Mark Andrews
f697150aef
1693. [bug] max-journal-size was not effective for master zones
...
with ixfr-from-differences set. [RT# 12024]
2004-07-29 00:17:06 +00:00
Mark Andrews
b712879fcb
1694. [bug] Report if the builtin views of "_default" / "_bind"
...
are defined in named.conf. [RT #12023 ]
2004-07-29 00:08:10 +00:00
Mark Andrews
cf62bb6918
pullup:
...
1672. [bug] libbind: failed to print unknown types and classes
above 4095. didn't correctly print unknown records
with zero length.
2004-07-28 20:16:50 +00:00
Mark Andrews
c4f9e613e1
1680. [func] rndc: the source address can now be specified.
2004-07-23 04:15:27 +00:00
Mark Andrews
c0d2891f6e
1691. [bug] sdb's attachversion was not complete. [RT #11990 ]
2004-07-22 03:58:07 +00:00
Mark Andrews
1a6204b6f2
1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros
...
contained gratuitous semicolons. [RT #11707 ]
2004-07-22 00:09:27 +00:00
Mark Andrews
d8c2b17871
1687. [bug] Race condition in dispatch. [RT #10272 ]
2004-07-21 00:48:19 +00:00
Mark Andrews
9f7d51ee32
1688. [bug] LDFLAGS was not supported.
2004-07-20 07:13:43 +00:00
Mark Andrews
98f31157df
pullup:
...
1669. [bug] Only test the gcc minor version when the major version
is known.
2004-07-19 05:54:08 +00:00
Rob Austein
fbdadf789f
1684. [bug] Change #1679 loop tests weren't quite right.
2004-07-02 21:37:58 +00:00
Mark Andrews
ae507663cf
indenting
2004-07-01 04:53:14 +00:00
Mark Andrews
0a683f0dd3
pullup:
...
1668. [port] solaris: allow applications compiling against
libbind to be compiled with "cc -Xc".
2004-07-01 04:41:20 +00:00
Mark Andrews
9aa7706900
1681. [bug] Only set SO_REUSEADDR when a port is specified in
...
isc_socket_bind(). [RT #11742 ]
2004-06-30 23:35:17 +00:00
Jakob Schlyter
8638eaef79
correct speling, s/intializes/initializes
2004-06-28 06:23:05 +00:00
Jakob Schlyter
e3494255c5
incorrect speling, s/intial/initial/
2004-06-27 10:10:55 +00:00
Mark Andrews
a73a3b2a04
change #1679 still left case where address could not be tried.
...
fix loop termination condition to ensure that all finds are tried.
2004-06-27 01:21:41 +00:00
Mark Andrews
e30e7913c9
1679. [bug] When there was a single nameserver with multiple
...
addresses for a zone not all addresses were tried.
[RT #11706 ]
2004-06-25 04:39:19 +00:00
Mark Andrews
d1359824d3
pullup:
...
document RES_DEBUG2 to that it not assigned.
2004-06-25 00:39:54 +00:00
Mark Andrews
be89b43c7c
1665. [port] getnameinfo() was broken on machines with 8 octet
...
longs.
2004-06-25 00:35:36 +00:00
Mark Andrews
e8346a529a
1678. [bug] RRSIG should use TYPEXXXXX for unknown types.
2004-06-24 00:43:15 +00:00
Mark Andrews
b0196673ab
1674. [port] linux: increase buffer size used to scan
...
/proc/net/if_inet6.
2004-06-22 05:25:49 +00:00
Mark Andrews
4916f4c2ca
add a explict dependancy for interfaceiter.@O@.
2004-06-22 02:54:55 +00:00
Mark Andrews
40fe5e7ac2
1673. [port] linux: issue a error messages if IPv6 interface
...
scans fails.
2004-06-22 02:25:32 +00:00
Mark Andrews
1d8abe0521
1671. [cleanup] Tests which only function in a threaded build
...
now return R:THREADONLY (rather than R:UNTESTED)
in a non-threaded build.
2004-06-21 05:36:41 +00:00
Mark Andrews
358043e40f
1667. [port] linux: not all versions have IF_NAMESIZE.
2004-06-19 00:48:15 +00:00
Mark Andrews
7389e8330d
1666. [bug] The optional port on hostnames in dual-stack-servers
...
was being ignored.
1665. [func] rndc now allows addresses to be set in the
server clauses.
2004-06-18 04:38:47 +00:00
Mark Andrews
e180037bc1
1661. [bug] Restore dns_name_concatenate() call in
...
adb.c:set_target(). [RT #11582 ]
2004-06-18 01:22:32 +00:00
Mark Andrews
99ba7fc5ff
1660. [bug] win32: connection_reset_fix() was being called
...
unconditionally. [RT #11595 ]
2004-06-18 01:14:59 +00:00
Mark Andrews
5f059eef43
1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'.
2004-06-16 01:41:52 +00:00
Mark Andrews
cc3aafe737
1659. [cleanup] Cleanup some messages that were referring to KEY vs
...
DNSKEY, NXT vs NSEC and SIG vs RRSIG.
1658. [func] Update dnssec-keygen to default to KEY for HMAC-MD5
and DH. Tighten which options apply to KEY and
DNSKEY records.
2004-06-11 01:12:40 +00:00
Mark Andrews
3386e92795
1655. [bug] Logging multiple versions w/o a size was broken.
...
[RT #11446 ]
2004-06-11 00:36:30 +00:00
Mark Andrews
23fdb6a5a3
1654. [bug] isc_result_totext() contained array bounds read
...
error.
1653. [func] Add key type checking to dst_key_fromfilename(),
DST_TYPE_KEY should be used to read TSIG, TKEY and
SIG(0) keys.
1652. [bug] TKEY still uses KEY.
2004-06-11 00:27:06 +00:00
Mark Andrews
e5477896ce
1647. [bug] It was possible trigger a INSIST when chasing a DS
...
record that required walking back over a empty node.
[RT #11445 ]
2004-06-07 03:28:55 +00:00
Mark Andrews
6ecbd11029
1644. [bug] Update the journal modification time after a
...
sucessfull refresh query. [RT #11436 ]
2004-06-04 02:40:50 +00:00
Mark Andrews
c315e5cfea
1648. [func] Update dnssec-lookaside named.conf syntax to support
...
multiple dnssec-lookaside namespaces (not yet
implemented).
2004-06-04 02:31:43 +00:00
Mark Andrews
f66cd386cf
1646. [bug] win32: logging file versions didn't work with
...
non-UNC filenames. [RT#11486]
2004-06-04 02:19:17 +00:00
Mark Andrews
0d5f92db3f
res_servicenumber returns -1 on error.
2004-06-03 04:43:34 +00:00
Mark Andrews
00cf69e0ae
don't compare unsigned w/ <= 0.
2004-06-03 04:42:38 +00:00
Mark Andrews
7e2c0c16d6
1645. [bug] named could trigger a REQUIRE failure if multiple
...
masters with keys are specified.
2004-05-28 23:53:46 +00:00
Mark Andrews
8d5b4ce1eb
1643. [bug] dns_db_closeversion() could leak memory / node
...
references. [RT #11163 ]
2004-05-23 06:59:20 +00:00
Mark Andrews
c0707105f6
1642. [port] Support OpenSSL implementations which don't have
...
DSA support. [RT #11360 ]
2004-05-21 08:09:27 +00:00
Mark Andrews
b407caa0b5
pullup:
...
1661. [cleanup] indiscriminate use strlcat/strlcpy make auditing
harder.
2004-05-17 07:52:46 +00:00
Mark Andrews
4a6f552617
1634. [bug] named didn't supply a useful error message when it
...
detected duplicate views. [RT #11208 ]
2004-05-17 05:37:41 +00:00
Mark Andrews
be00eb0795
1640. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
...
incorrectly closing the socket. [RT #11291 ]
2004-05-17 03:15:59 +00:00
Tatuya JINMEI 神明達哉
ec3f1d3517
1629. [func] dig now supports IPv6 scoped addresses with the
...
extended format in the local-server part. [RT #8753 ]
2004-05-15 03:37:34 +00:00
Mark Andrews
5ba04ba7a9
1638. [bug] "ixfr-from-differences" could generate a REQUIRE
...
failure if the journal open failed. [RT #11347 ]
2004-05-14 05:08:00 +00:00
Mark Andrews
6fac7ff1f9
1606. [bug] DVL insecurity proof was failing.
...
1605. [func] New dns_db_find() option DNS_DBFIND_COVERINGNSEC.
2004-05-14 04:45:58 +00:00
Mark Andrews
f6f0bf7d4b
1637. [bug] Node reference leak on error in addnoqname().
2004-05-14 01:07:23 +00:00
Mark Andrews
4e681da26d
1636. [bug] The dump done callback could get ISC_R_SUCCESS even if
...
a error had occured. The database version no longer
matched the version of the database that was dumped.
2004-05-14 00:55:57 +00:00
Michael Graff
e3421eaa6c
include <sys/param.h> for NetBSD
2004-05-12 23:01:36 +00:00
Mark Andrews
78ef0ebab3
1631. [bug] dns_journal_compact() could sometimes corrupt the
...
journal. [RT #11124 ]
2004-05-11 22:20:13 +00:00
Mark Andrews
71839e2a42
1628. [bug] Typo in Compaq Trucluster support. [RT# 11264]
2004-05-06 03:16:07 +00:00
Mark Andrews
38e8022ace
1625. [bug] named failed to load/transfer RFC2535 signed zones
...
which contained CNAMES. [RT# 11237]
2004-05-05 01:32:58 +00:00
Mark Andrews
af6e33e7a0
silence compiler punned warning (adjust signed/unsigned chars).
2004-05-04 03:28:31 +00:00
Mark Andrews
578f588228
1627. [bug] win32: sockets were not being closed when the
...
last external reference was removed. [RT# 11179]
2004-05-03 23:54:38 +00:00
Mark Andrews
8407fbc61d
1624. [bug] zonemgr_putio() call should be locked. [RT# 11163]
2004-04-29 01:44:44 +00:00
Mark Andrews
cc32d38366
1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
...
available, and suppress wildcard binding if not.
1621. [bug] match-destinations did not work for IPv6 TCP queries.
[RT# 11156]
2004-04-29 01:37:14 +00:00
Mark Andrews
08b40678f3
1623. [bug] A serial number of zero was being displayed in the
...
"sending notifies" log message when also-notify was
used. [RT #11177 ]
2004-04-28 04:23:24 +00:00
Mark Andrews
3dc3d557be
1620. [func] When loading a zone report if it is signed. [RT #11149 ]
2004-04-28 04:07:28 +00:00
Mark Andrews
ec13cdb55e
pullup:
...
decunix/ibm: gethostbyname_r() only supported a small number of addresses.
2004-04-22 03:32:33 +00:00
Mark Andrews
fa81ddd7b9
1613. [bug] Builds would fail on machines w/o a if_nametoindex().
...
Missing #ifdef ISC_PLATFORM_HAVEIFNAMETOINDEX/#endif.
[RT #11119 ]
2004-04-20 06:46:46 +00:00
Mark Andrews
2dc1141d73
silence compiler warning
2004-04-19 23:16:20 +00:00
Mark Andrews
86548554f6
1618. [bug] Fencepost errors in dns_name_ishostname() and
...
dns_name_ismailbox() could trigger a INSIST().
2004-04-19 21:47:43 +00:00
Mark Andrews
eec7c83e23
add missing entry points
2004-04-19 05:16:42 +00:00
Mark Andrews
5ed76fa7ea
1617. [port] win32: VC++ 6.0 support.
2004-04-19 04:16:55 +00:00
Mark Andrews
b21b49a1d4
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
...
it is defined.
2004-04-19 02:54:15 +00:00
Mark Andrews
8d414d1559
1600. [bug] Duplicate zone pre-load checks were not case
...
insensitive.
1599. [bug] Fix memory leak on error path when checking named.conf.
1598. [func] Specify that certain parts of the namespace must
be secure (dnssec-must-be-secure).
2004-04-15 23:40:27 +00:00
Mark Andrews
b4fe7caac9
1611. [bug] solaris: IPv6 interface scanning failed to cope with
...
no active IPv6 interfaces.
2004-04-15 07:02:06 +00:00
Mark Andrews
42b48d11ca
hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR.
2004-04-15 01:58:25 +00:00
Mark Andrews
9a2127f833
Attempt to disable parallel processing.
2004-04-15 00:32:44 +00:00
Mark Andrews
9287a6b182
silence compiler warning
2004-04-14 05:09:43 +00:00
Mark Andrews
5567c75d30
add description for RES_NO_NIBBLE2
2004-04-13 07:19:18 +00:00
Mark Andrews
2e7f4872e3
decunix prototype mismatch
...
decunix silence compiler warning.
2004-04-13 04:57:08 +00:00
Mark Andrews
7b18445dd6
#ifdef EPFNOSUPPORT
2004-04-12 07:07:06 +00:00
Mark Andrews
8862388bcb
1602. [bug] Logging to a file failed unless a size was specified.
...
[RT# 10925]
2004-04-10 04:33:36 +00:00
Mark Andrews
e76c2e04a4
pullup from BIND 8
...
1657. [bug] gmtime_r() called incorrectly.
2004-04-10 03:47:09 +00:00
Mark Andrews
61e1dc26d6
regen
2004-04-07 00:57:04 +00:00
Mark Andrews
e3f6b4d219
regen
2004-04-06 22:04:52 +00:00
Mark Andrews
3b1fce680f
1595. [func] New notify type 'master-only'. Enable notify for
...
master zones only.
2004-03-30 02:13:45 +00:00
Mark Andrews
0b9af9eb37
1596. [func] Accept 'notify-source' style syntax for query-source.
2004-03-30 02:05:40 +00:00
Mark Andrews
c5cde9d5a7
1593. [bug] rndc should return "unknown command" to unknown
...
commands. [RT# 10642]
2004-03-22 01:46:01 +00:00
Mark Andrews
36fa8f333a
Update description: ISC_R_CONTINUE -> DNS_R_CONTINUE
2004-03-19 04:50:20 +00:00
Mark Andrews
1676408640
pullup silence compiler fixes
...
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
28b863e609
pullup fixed from 9.3
2004-03-16 05:52:24 +00:00
Mark Andrews
1fa26403d7
copyright
2004-03-16 05:22:33 +00:00
Mark Andrews
50105afc55
1589. [func] DNSSEC lookaside validation.
...
enable-dnssec -> dnssec-enable
2004-03-10 02:19:58 +00:00
Mark Andrews
5a680f4170
1587. [bug] dns_message_settsigkey() failed to clear existing key.
...
[RT #10590 ]
2004-03-10 00:47:40 +00:00
Mark Andrews
a80cc8dfd9
update libbind to BIND 8.4.5
2004-03-09 06:30:18 +00:00
Mark Andrews
0707a8c04f
regen
2004-03-05 12:40:39 +00:00
Mark Andrews
8a66318e41
regen / copyright update
2004-03-05 08:32:21 +00:00
Mark Andrews
af5073d032
update copyrights
2004-03-05 05:48:29 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
3c353d26cb
add targets docclean manclean
2004-03-05 03:10:55 +00:00
Mark Andrews
ba3d80bcba
configure.lineno
2004-03-05 00:03:05 +00:00
Mark Andrews
a03848252f
1580. [bug] Zone destuction on final detach takes a long time.
...
[RT #3746 ]
1579. [bug] Multiple task managers could not be created.
2004-03-04 06:56:41 +00:00
Mark Andrews
1285fa26e6
1588. [bug] win32: TCP sockets could become blocked. [RT #10115 ]
2004-03-04 05:54:29 +00:00
Mark Andrews
1d7cbe71b9
1583. [bug] Records add via UPDATE failed to get the correct trust
...
level. [RT #10452 ]
2004-03-04 02:46:28 +00:00
Mark Andrews
d249a25043
sig0 uses sig not rrsig
2004-03-04 02:44:54 +00:00
Mark Andrews
3f08fb69eb
1577. [bug] Use isc_uint32_t in ultrasparc optimizer bug
...
workaround code. [RT #10331 ]
2004-03-04 01:43:24 +00:00
Mark Andrews
7554feaef6
1571. [bug] rbt:hash_node() could fail leaving the hash table
...
in an inconsistant state. [RT #10208 ]
2004-03-03 22:40:56 +00:00
Mark Andrews
7052e191ce
1544. [bug] Named would logged a single entry to a file despite it
...
being over the specified size limit.
1543. [bug] Logging using "versions unlimited" did not work.
2004-03-03 05:39:05 +00:00
Mark Andrews
d5ad558234
1540. [bug] "rndc reload <dynamiczone>" was silently accepted.
...
[RT #8934 ]
2004-03-02 02:37:11 +00:00
Mark Andrews
821644d49b
1574. [bug] Don't attempt to open the controls socket(s) when
...
running tests. [RT #9091 ]
2004-03-02 02:01:41 +00:00
Mark Andrews
d970376259
checkowner had wrong type and class
2004-03-02 01:40:44 +00:00
Mark Andrews
f0e57c23e0
1552. [bug] Accept NOTIFY requests from mapped masters if
...
matched-mapped is set. [RT #10049 ]
2004-03-02 01:19:51 +00:00
Mark Andrews
7ad4d54f29
1537. [func] New option "querylog". If set specify whether query
...
logging is to be enabled or disabled at startup.
2004-03-02 01:15:00 +00:00
Mark Andrews
2047977ce2
1586. [func] "check-names" is now implemented.
2004-02-27 20:41:51 +00:00
Mark Andrews
74cb99072c
1573. [port] linux: update to libtool 1.5.2 so that
...
"make install DESTDIR=/xx" works with
"configure --with-libtool". [RT #9941 ]
2004-02-24 01:41:28 +00:00
Mark Andrews
22fa4e3206
1578. [bug] Don't use CLASS E IPv4 addresses when resolving.
...
[RT #10346 ]
2004-02-20 00:52:46 +00:00
Mark Andrews
c569a0e4d5
1582. [bug] rrset-order failed to work on RRsets with more
...
than 32 elements. [RT #10381 ]
2004-02-19 01:23:42 +00:00
Mark Andrews
89783da064
1581. [func] Disable DNSSEC support by default. To enable
...
DNSSEC specify "enable-dnssec yes;" in named.conf.
2004-02-17 03:40:23 +00:00
Mark Andrews
91c79af475
1576. [bug] Race condition in dns_dispatch_addresponse().
...
[RT# 10272]
2004-02-10 06:11:17 +00:00
Mark Andrews
daa73eae70
silence punned messages
2004-02-03 00:59:05 +00:00
Mark Andrews
e27d677170
#include <isc/string.h>
2004-02-02 04:37:39 +00:00
Mark Andrews
beb5c413b5
Replace sparse switch with if-else
...
Style
Add warning comments on known sparce switches.
2004-02-01 23:56:19 +00:00
Mark Andrews
774c3a62d9
1566. [port] Support for the cmsg framework on Solaris and HP/UX.
...
This also solved the problem that match-destinations
for IPv6 addresses did not work on these systems.
[RT #10221 ]
2004-01-29 04:39:19 +00:00
Mark Andrews
f7e94169a9
1567. [bug] B.ROOT-SERVERS.NET is now 192.228.79.201.
2004-01-29 04:34:13 +00:00
Mark Andrews
6bd3b1fdb3
1565. [bug] CD flag should be copied to outgoing queries unless the
...
query is under a secure entry point in which case CD should
be set.
2004-01-27 04:49:09 +00:00
Mark Andrews
96c973a6a9
1562. [bug] isc_socket_create() and isc_socket_accept() could
...
leak memory under error conditions. [RT #10230 ]
2004-01-26 23:33:32 +00:00
Mark Andrews
26cca757be
CD is state is returned to querier.
2004-01-21 14:13:51 +00:00
Mark Andrews
7ac0df5322
explicitly set last two elements to NULL
2004-01-20 14:21:14 +00:00
Mark Andrews
519b239fc4
#include <isc/string.h>
2004-01-20 14:19:42 +00:00
Mark Andrews
78187348ca
save bucketnum so that we can unlock the lock after the fctx is destroyed.
2004-01-20 12:49:45 +00:00
Mark Andrews
ad430189fb
1560. [port] FreeBSD: work around FreeBSD 5.2 mapping EAI_NODATA
...
and EAI_NONAME to the same value.
2004-01-14 20:23:53 +00:00
Mark Andrews
b346807a32
regen documentation
2004-01-14 02:13:45 +00:00
Mark Andrews
5c6762838c
seperate out objects from lib/dns
2004-01-14 02:12:45 +00:00
Mark Andrews
35541328a8
1558. [func] New DNSSEC 'disable-algorithms'. Support entry into
...
child zones for which we don't have a supported
algorithm. Such child zones are treated as unsigned.
1557. [func] Implement missing DNSSEC tests for
* NOQNAME proof with wildcard answers.
* NOWILDARD proof with NXDOMAIN.
Cache and return NOQNAME with wildcard answers.
2004-01-14 02:06:51 +00:00
Mark Andrews
61fb42c4ef
1555. [func] 'rrset-order cyclic' now longer has a random starting
...
point. [RT #7572 ]
2004-01-12 04:19:42 +00:00
Mark Andrews
bece90bfd7
double ))
2004-01-08 08:23:11 +00:00
Mark Andrews
c3f9bda20f
1553. [bug] The windows socket code could stop accepting
...
connections.
2004-01-08 05:35:53 +00:00
Mark Andrews
2cb73c34bf
ireq ->ifreq
2004-01-07 21:55:47 +00:00
Mark Andrews
d0aebc5a55
1549. [func] named-checkzone can now write out the zone contents
...
in a easily parsable format (-D and -o).
2004-01-07 05:27:17 +00:00
Mark Andrews
5e41884b4a
1536. [bug] Windows socket code failed to log a error description
...
when returning ISC_R_UNEXPECTED. [RT #9998 ]
2004-01-05 08:14:56 +00:00
Mark Andrews
37225662b6
1534. [bug] Race condition when priming cache. [RT# 9940]
2004-01-05 07:45:34 +00:00
Mark Andrews
fd44706162
1547. [bug] Named wasted memory recording duplicate lame zone
...
entries. [RT #9341 ]
2004-01-05 06:44:30 +00:00
Mark Andrews
d6f0e45014
1535. [bug] When parsing APL records it was possible to silently
...
accept out of range ADDRESSFAMILY values. [RT# 9979]
2004-01-05 06:11:39 +00:00
Mark Andrews
818c37e7ba
removed unvariable
2004-01-05 05:44:25 +00:00
Mark Andrews
9f1bca36e4
1546. [bug] We were rejecting valid secure CNAME to negative
...
answers.
reviewed: explorer
2004-01-05 05:42:16 +00:00
Mark Andrews
0e0d2891c0
1545. [bug] It was possible to leak memory if named was unable to
...
bind to the specified transfer source and TSIG was
being used. [RT #10120 ]
2004-01-05 04:21:30 +00:00
Mark Andrews
1e59437940
remove test for type 0 being set in from wire.
2003-12-13 04:33:53 +00:00
Mark Andrews
5697061cf7
unused variables
2003-12-13 04:31:37 +00:00
Mark Andrews
185fd22738
1541. [func] NSEC now uses new bitmap format.
2003-12-13 04:20:44 +00:00
Mark Andrews
7360d06313
{strlcpy,strlcat} -> isc_string_{strlcpy,strlcat}
2003-11-17 01:19:52 +00:00
Mark Andrews
f7145c9c9d
add -allow-undefined
2003-11-04 23:31:39 +00:00
Mark Andrews
881702c9c0
1524. [port] AIX more libtool fixes.
2003-11-04 07:01:35 +00:00
Mark Andrews
6f80859318
1530. [bug] It was possible to trigger a INSIST() failure if a
...
slave master file was removed a just the correct
moment. [RT #9462 ]
2003-11-04 05:23:31 +00:00
Mark Andrews
2eb9c41504
1529. [bug] "notify explict;" failed to log that NOTIFY messages
...
were being sent for the zone. [RT# 9442]
2003-11-03 23:40:24 +00:00
Mark Andrews
0f98d5c83e
repeated words
2003-11-02 22:49:10 +00:00
Mark Andrews
b7e6fb4e84
whitespace
2003-10-26 21:33:47 +00:00
Tatuya JINMEI 神明達哉
e407562a75
1528. [cleanup] Simplify some dns_name_ functions based on the
...
deprecation of bitstring labels.
2003-10-25 00:31:12 +00:00
Tatuya JINMEI 神明達哉
6da7c87a77
1527. [cleanup] Reduce the number of gettimeofday() calls without
...
losing necessary timer granularity.
(reviewed by marka and Kurt)
2003-10-25 00:09:14 +00:00
Mark Andrews
fedd92b14f
want free should be initaliased to ISC_FALSE.
2003-10-17 05:31:05 +00:00
Mark Andrews
fcb54ce0a4
whitespace / layout
2003-10-17 03:46:46 +00:00
Mark Andrews
2f0bdbae4a
only look for IFF_POINTOPOINT if it is defined.
2003-10-16 05:56:25 +00:00
Mark Andrews
5f1f24822f
whitespace.
2003-10-16 05:46:19 +00:00
Mark Andrews
e724512f2b
1525. [bug] dns_cache_create() could dereference a NULL pointer
...
during error cleanup.
2003-10-15 07:01:45 +00:00
Mark Andrews
d88e1c30a4
three -> two
2003-10-13 00:40:29 +00:00
Tatuya JINMEI 神明達哉
cf756bac81
typo in a comment line.
2003-10-10 06:39:23 +00:00
Mark Andrews
402ca8ace0
INSIST -> RUNTIME_CHECK
2003-10-10 00:39:09 +00:00
Mark Andrews
71247c33a4
INSIST -> RUNTIME_CHECK
2003-10-10 00:19:01 +00:00
Mark Andrews
da318480f3
INSIST -> RUNTIME_CHECK
2003-10-10 00:13:50 +00:00
Mark Andrews
b6d52ee5be
1524. [port] AIX needs to be able to resolve all symbols when
...
creating shared libraries (--with-libtool).
2003-10-08 06:36:13 +00:00
Mark Andrews
b657d7db3b
1523. [bug] Fix race condition in rbtdb. [RT# 9189]
2003-10-08 00:24:28 +00:00
Mark Andrews
846f974d57
1517. [port] Support for IPv6 interface scanning on HP/UX and
...
TrueUNIX 5.1.
2003-10-07 03:34:30 +00:00
Mark Andrews
a2b8bb8777
remove extraneous spaces before semicolons
2003-10-03 06:12:34 +00:00
Mark Andrews
8d42bb315c
1522. [bug] dns_db_findnode() relax the requirements on 'name'.
...
[RT# 9286]
2003-10-03 03:12:35 +00:00
Mark Andrews
4efe32b8bb
1521. [bug] dns_view_createresolver() failed to check the
...
result from isc_mem_create(). [RT# 9294]
2003-10-03 02:19:31 +00:00
Mark Andrews
89639a5e13
1520. [protocol] Add SSHFP (SSH Finger Print) type.
...
Supplied by Jakob Schlyter jakob@rfc.se .
2003-10-01 10:05:00 +00:00
Mark Andrews
49fcdcd940
1518. [bug] dns_nsec_buildrdata(), and hence dns_nsec_build(),
...
contained a off-by-one error when working out the
number of octets in the bitmap.
2003-10-01 04:07:27 +00:00
Mark Andrews
12040a4f5c
missing includes [RT#9194]
2003-10-01 00:58:07 +00:00
Mark Andrews
9e09ddba95
add sig0 comment
2003-09-30 06:18:11 +00:00
Mark Andrews
3970098dcd
regen documentation
2003-09-30 06:13:33 +00:00
Mark Andrews
93d6dfaf66
1516. [func] Roll the DNSSEC types to RRSIG, NSEC and DNSKEY.
2003-09-30 06:00:40 +00:00
Tatuya JINMEI 神明達哉
600cbd1fce
1515. [func] Allow transfer source to be set in a server statement.
...
[RT #6496 ]
implemented by marka, reviewed and documented by jinmei.
Notes:
lib/dns/zone.c had to be modified manually.
ARM html files were not regenerated (yet).
2003-09-25 18:16:50 +00:00
Mark Andrews
fbc27dfec6
don't fallback to tcp on refused for stub zones. [rt#8945]
2003-09-24 01:03:37 +00:00
Mark Andrews
baee883e37
1511. [bug] delegation-only was generating false positives
...
on negative answers from subzones.
2003-09-21 13:05:16 +00:00
Mark Andrews
7999602b31
log more stuff to see if we can see why the are false positives w/ delegation
...
only.
2003-09-21 02:52:35 +00:00
Mark Andrews
f4fb3dc516
remove extaneous semicolon
2003-09-19 14:35:03 +00:00
Mark Andrews
62091d9b54
wrong element delonly -> rootexclude
2003-09-19 13:27:18 +00:00
Mark Andrews
68a918e038
rootexlude -> rootexclude
...
free and initialise rootdelonly & rootexclude
buy -> by
2003-09-19 13:17:21 +00:00
Mark Andrews
0b1da8124c
1510. [func] New view option "root-delegation-only". Apply
...
delegation-only check to all TLDs and root.
Note there are some TLDs that are NOT delegation
only (e.g. DE and MUSEUM) these can be excluded
from the checks buy using exclude.
root-delegation-only exclude { "DE"; "MUSEUM"; };
2003-09-19 12:39:49 +00:00
Mark Andrews
da34d92aee
1509. [bug] Hint zones should accept delegation-only. Forward
...
zone should not accept delegation-only.
1508. [bug] Don't apply delegation-only checks to answers from
forwarders.
1507. [bug] Handle BIND 8 style returns to NS queries to parents
when making delegation-only checks.
2003-09-19 05:53:28 +00:00
Mark Andrews
20d90a3753
1506. [bug] Wrong return type for dns_view_isdelegationonly().
2003-09-17 15:01:26 +00:00
Mark Andrews
fefe1106d9
1505. [bug] Uninitaliased rdataset is sdb. [RT #8750 ]
2003-09-17 05:34:55 +00:00
Mark Andrews
4607e7a9b8
1504. [func] New zone type "delegation-only".
2003-09-17 05:24:43 +00:00
Mark Andrews
cc083bb703
sizeof style
2003-09-11 01:49:18 +00:00
Mark Andrews
1b5a728293
1499. [bug] isc_random need to be seeded better if arc4random()
...
is not used.
2003-08-05 00:08:30 +00:00
Mark Andrews
5e9f612524
1498. [port] bsdos: 5.x support.
2003-07-30 01:43:28 +00:00
Mark Andrews
d19fc9d988
#include <isc/string.h> [RT #8537 ]
2003-07-30 01:10:46 +00:00
Mark Andrews
57443f34ba
remove redundant check [RT #8539 ]
2003-07-30 00:54:27 +00:00
Mark Andrews
a8f061d5c6
#include <config.h>
2003-07-29 04:31:23 +00:00
Mark Andrews
3f40de5598
isc_int32_t -> isc_uint32_t
2003-07-29 04:22:53 +00:00
Mark Andrews
3184ff5e45
1496. [port] test for pthread_attr_setstacksize().
2003-07-25 05:08:51 +00:00
Mark Andrews
d5d2dca925
missing '*'
2003-07-25 05:02:54 +00:00
Mark Andrews
96391d4178
add hash.c/hash.h
2003-07-25 02:57:58 +00:00
Mark Andrews
1e107b3d7b
1495. [cleanup] Replace hash functions with universal hash.
2003-07-25 02:22:26 +00:00
Mark Andrews
4691e18ca0
deconst
2003-07-25 02:04:28 +00:00
Mark Andrews
5eb91bd90e
silence compiler warnings (HPUX/11i)
2003-07-25 00:01:16 +00:00
Mark Andrews
4c54e122fe
silence compiler warning (HPUX/11i)
2003-07-24 06:41:20 +00:00
Mark Andrews
cc6271e46c
1494. [security] Turn on RSA BLINDING as a precaution.
2003-07-24 06:08:20 +00:00
Mark Andrews
ce08911be8
typo
2003-07-23 03:18:56 +00:00
Mark Andrews
17a14e451d
1492. [cleanup] Preserve rwlock quota context when upgrading /
...
downgrading. [RT #5599 ]
2003-07-21 01:14:18 +00:00
Mark Andrews
afbb7b15ae
Only fall back to TCP for slave zones if UDP refresh queries fail.
...
[RT #8253 ]
2003-07-21 01:11:29 +00:00
Mark Andrews
f488b1c311
1487. [compat] Treat 'allow-update' on slave zones as a warning.
...
[RT #3469 ]
2003-07-18 06:00:41 +00:00
Mark Andrews
4bb16c5856
1488. [bug] Don't override trust levels for glue addresses.
...
[RT #5764 ]
2003-07-18 04:30:01 +00:00
Mark Andrews
c676c1b497
1487. [bug] A REQUIRE() failure could be triggered if a zone was
...
queued for transfer and the zone was then removed.
[RT #6189 ]
2003-07-18 02:54:23 +00:00
Mark Andrews
ffdfae8e41
1486. [bug] isc_print_snprintf() '%%' consumed one too many format
...
characters. [RT# 8230]
2003-07-18 02:27:40 +00:00
Mark Andrews
471e0563c7
1485. [bug] gen failed to handle high type values. [RT #6225 ]
2003-07-17 08:05:15 +00:00
Mark Andrews
3ca4b8062f
1481. [bug] Refresh and stub queries failed to use masters keys
...
if specified. [RT #7391 ]
2003-07-17 07:05:12 +00:00
Mark Andrews
72ddc4cef9
1480. [bug] Provide replay protection for rndc commands. Full
...
replay protection requires both rndc and named to
be updated. Partial replay protection (limited
exposure after restart) is provided if just named
is updated.
2003-07-17 06:24:44 +00:00
Mark Andrews
dbd34ac1d0
remove potential file descriptor leak
2003-07-09 03:28:44 +00:00
Mark Andrews
5798e5b3d4
update WIDE copyright notice.
2003-07-04 05:21:47 +00:00
Mark Andrews
ad4b2f37e0
1479. [bug] cfg_create_tuple() failed to handle out of
...
memory cleanup. parse_list() would leak memory
on syntax errors.
2003-07-03 01:50:25 +00:00
Mark Andrews
3425cd6803
1473. [bug] create_map() and create_string() failed to handle out
...
of memory cleanup. [RT #6813 ]
2003-07-03 00:43:28 +00:00
Mark Andrews
edc6991f4b
1471. [bug] libbind: updated to BIND 8.4.0.
2003-07-02 04:00:40 +00:00
Mark Andrews
9c1eb2279d
1477. [bug] memory leak using stub zones and TSIG.
2003-07-01 03:51:30 +00:00
Mark Andrews
f95231835f
1475. [port] Probe for old sprintf().
2003-06-24 06:24:44 +00:00
Mark Andrews
090f79c6c2
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:18:39 +00:00
Mark Andrews
21f1794606
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
0cb25226fb
1473. [bug] free_map() and free_string() failed to handle out
...
of memory cleanup. [RT #6813 ]
2003-06-20 02:50:48 +00:00
Mark Andrews
692ae2fff9
don't print redundant $ORIGIN's.
2003-06-18 05:42:45 +00:00
Mark Andrews
c8af2c78dd
Use LOCK_ZONE/UNLOCK_ZONE.
2003-06-06 06:09:39 +00:00
Mark Andrews
90df33887f
1471. [bug] libbind: updated to BIND 8.4.0.
2003-06-03 06:40:22 +00:00
Mark Andrews
68e6e43c2b
regen:
...
1471. [bug] libbind: updated to BIND 8.4.0.
2003-06-03 04:40:51 +00:00
Mark Andrews
7a857bdb68
1471. [bug] libbind: updated to BIND 8.4.0.
2003-06-03 04:39:35 +00:00
Mark Andrews
7767c2a7aa
try tcp axfr/ixfr even if refresh fails/refused.
2003-05-21 14:15:32 +00:00
Mark Andrews
ceb514ea0c
zone->masterscnt was being zero'd rather than zone->curmaster = 0
2003-05-14 02:41:17 +00:00
Mark Andrews
d20c22f634
check that proc != NULL
2003-05-11 02:24:11 +00:00
Mark Andrews
fc87397df6
1470. [bug] incorrect length passed to snprintf. [RT #5966 ]
2003-05-08 04:03:25 +00:00
Mark Andrews
1f58c45566
memset the entire lifc structure
2003-05-01 00:35:33 +00:00
Mark Andrews
64655588e7
use-alt-transfer-source when the master refused soa queries. [RT #5528 ]
2003-04-22 04:03:25 +00:00
Mark Andrews
1a4d687359
1468. [func] Internal zones are nolonger for 'rndc status'.
...
[RT #4706 ]
2003-04-17 12:11:39 +00:00
Mark Andrews
397f86cf27
1467. [func] $GENERATES now supports optional class and ttl.
2003-04-17 11:31:02 +00:00
Mark Andrews
f5af519ab5
1465. [bug] isc_base64_decodestring() and isc_base64_tobuffer()
...
failed to check that trailing bits were zero allowing
some invalid base64 strings to be accepted. [RT #5397 ]
2003-04-17 06:04:13 +00:00
Mark Andrews
b0c2141b23
1464. [bug] Preserve "out of zone" data for outgoing zone
...
transfers. [RT #5192 ]
2003-04-17 05:40:45 +00:00
Mark Andrews
182a34004c
1463. [bug] dns_rdata_from{wire,struct}() failed to catch bad
...
NXT bit maps. [RT #5577 ]
2003-04-17 03:43:35 +00:00
Mark Andrews
603658ea65
1462. [bug] parse_sizeval() failed to check the token type.
...
[RT #5586 ]
2003-04-17 03:26:58 +00:00
Mark Andrews
163547c0c0
1461. [bug] Remove deadlock from rbtdb code. [RT #5999 ]
2003-04-17 01:56:35 +00:00
Mark Andrews
8ff31bab2f
1454. [bug] inet_pton() failed to reject certian malformed
...
IPv6 literals.
2003-04-17 01:52:45 +00:00
Mark Andrews
c716229384
win32: define S_ISREG if it not already defined.
2003-04-12 04:57:17 +00:00
Mark Andrews
806c235ecf
1458. [cleanup] sprintf() -> snprintf().
2003-04-11 07:25:31 +00:00
Mark Andrews
935000aa6e
1457. [port] Provide strlcat() and strlcpy() for platforms without
...
them.
2003-04-10 04:47:56 +00:00
Mark Andrews
2fd63cf561
1455. [bug] <netaddr> missing from server grammar in
...
doc/misc/options. [RT #5616 ]
2003-04-10 02:16:11 +00:00
Mark Andrews
817314313f
missing #include's
2003-04-10 02:06:51 +00:00
Mark Andrews
8ca42f6318
1454. [port] Use getifaddrs() if available for interface scanning.
...
--disable-getifaddrs to override. Glibc currently
has a getifaddrs() that does not support IPv6.
Use --enable-getifaddrs=glibc to force the use of
this version under linux machines.
2003-04-01 05:18:22 +00:00
Tatuya JINMEI 神明達哉
c596c075f9
rt #5222 : useing a wrong return type for isc_file_exists().
...
developer: marka
reviewer: jinmei
2003-03-23 13:18:53 +00:00
Mark Andrews
036f643016
Non-NULL pointer passed when verifing looking for "kal".
2003-03-20 00:43:08 +00:00
Mark Andrews
c480adf955
OSF defines "try" as __builtin_try.
2003-03-20 00:19:55 +00:00
Mark Andrews
be8aff07bb
spelling
2003-03-19 17:43:41 +00:00
Mark Andrews
c1561e8a36
tab -> space
2003-03-03 01:42:59 +00:00
Mark Andrews
602d2e93f7
close of wrong socket [RT #5221 ]
2003-03-03 01:41:27 +00:00
Mark Andrews
b500de3be9
alt-transfer-source-v4 -> alt-transfer-source
2003-02-27 05:12:47 +00:00
Mark Andrews
6bd8cee983
1450. [bug] Fetching expired glue failed under certian
...
circumstances. [RT #5124 ]
developer: marka
reviewer: explorer
2003-02-27 02:20:15 +00:00
Mark Andrews
8b5de97014
1448. [bug] Handle empty wildcards labels.
...
developer: marka
reviewer: explorer
2003-02-27 00:19:04 +00:00
Mark Andrews
80b782f356
1447. [bug] We were casting (unsigned int) to and from (void *).
...
rdataset->private4 is now rdataset->privateuint4
to reflect a type change.
developer: marka
reviewer: explorer
2003-02-26 23:52:30 +00:00
Mark Andrews
476386968b
1446. [func] Implemented undocumented alternate transfer sources
...
from BIND 8. See use-alt-transfer-source,
alt-transfer-source-v4 and alt-transfer-source-v6.
SECURITY: use-alt-transfer-source is ENABLED unless
you are using views. This may caues a security risk
resulting in accidental disclosure of wrong zone
content if the master supplying different source
content based on IP address. If you are not certian
ISC recommends setting use-alt-transfer-source no;
developer: marka
reviewer: explorer
2003-02-26 23:29:00 +00:00
Mark Andrews
53cf671865
1445. [bug] DNS_ADBFIND_STARTATROOT broke stub zones. This has
...
been replaced with DNS_ADBFIND_STARTATZONE which
causes the search to start using the closest zone.
1444. [func] dns_view_findzonecut2() allows you to specify if the
cache should be searched for zonecuts.
developer: marka
reviewer: explorer
2003-02-26 22:54:29 +00:00
Mark Andrews
888bb8bf68
1443. [func] Masters lists can now be specified and referenced
...
in zone masters clauses and other masters lists.
developer: marka
reviewer: explorer
2003-02-26 06:04:03 +00:00
Mark Andrews
b312748a11
1442. [func] New fuctions for manipulating port lists:
...
dns_portlist_create(), dns_portlist_add(),
dns_portlist_remove(), dns_portlist_match(),
dns_portlist_attach() and dns_portlist_detach().
1441. [func] It is now possible to tell dig to bind to a specific
source port.
1440. [func] It is now possible to tell named to avoid using
certian source ports (avoid-v4-udp-ports,
avoid-v6-udp-ports).
developer: marka
reviewer: explorer
2003-02-26 05:05:16 +00:00
Mark Andrews
463fc8f9d6
1437. [bug] Leave space for stdio to work in. [RT #5033 ]
...
developer: marka
reviewer: explorer
2003-02-26 04:00:20 +00:00
Mark Andrews
c3ea698877
1436. [func] dns_zonemgr_resumexfrs() can be used to restart
...
stalled transfers.
1435. [bug] zmgr_resume_xfrs() was being called read locked
rather than write locked. zmgr_resume_xfrs()
was not being called if the zone was being
shutdown.
1434. [bug] "rndc reconfig" failed to initiate the initial
zone transfer of new slave zones.
developer: marka
reviewer: explorer
2003-02-26 03:45:59 +00:00
Mark Andrews
9368d7df83
1433. [bug] named could trigger a REQUIRE failure if it could
...
not get a file descriptor when attempting to write
a master file. [RT #4347 ]
developer: marka
reviewer: explorer
2003-02-26 03:06:46 +00:00
Mark Andrews
e2fb08b85d
1432. [func] The advertised EDNS UDP buffer size can now be set
...
via named.conf (edns-udp-size).
developer: marka
reviewer: explorer
2003-02-26 02:04:00 +00:00
Mark Andrews
71dfe8bb7a
spelling
2003-02-26 01:21:09 +00:00
Mark Andrews
22a9cd54c0
1431. [bug] isc_print_snprintf() "%s" with precision could walk of
...
end of arguement. [RT #5191 ]
2003-02-25 21:32:07 +00:00
Mark Andrews
21ba6c18e4
1430. [port] linux: IPv6 interface scanning support.
...
reviewed: jinmei
developer: marka
This is a interim solution that needs to be compared to getifaddrs()
and PF_NETLINK solution spaces which Jinmei is exploring. It's not
clear which linux kernels support which of these three interfaces.
2003-02-24 01:46:11 +00:00
Mark Andrews
a9bdaa1772
engine pointer not set to NULL on free.
2003-02-18 06:25:11 +00:00
Mark Andrews
7418c7cc78
silence compiler
2003-02-18 06:07:40 +00:00
Mark Andrews
e70b069e38
spelling
2003-02-07 01:54:56 +00:00
Mark Andrews
b587e1d83f
spelling
2003-02-07 01:13:13 +00:00
Mark Andrews
a1301ef891
undo (wrong branch)
2003-02-04 06:10:09 +00:00
Mark Andrews
ab4bec8504
checkpoint
2003-02-04 05:44:32 +00:00
Mark Andrews
59f51f864c
1425. [port] linux/libbind: define __USE_MISC when testing *_r()
...
function prototypes in netdb.h. [RT #4921 ]
2003-01-24 05:03:45 +00:00
Mark Andrews
a207a2835e
1424. [bug] EDNS version not being correctly printed.
2003-01-24 04:25:53 +00:00
Mark Andrews
d788d738e3
Differentiate between NXDOMAIN and NXRRSET
2003-01-22 06:37:04 +00:00
Mark Andrews
0f09ef5a50
1420. [port] solaris: work around gcc optimiser bug.
2003-01-21 04:32:19 +00:00
Mark Andrews
9bd478a5e6
1417. [func] ID.SERVER/CHAOS is now a built in zone.
...
See "server-id" for how to configure.
2003-01-20 05:46:11 +00:00
Mark Andrews
421e4cf66e
1416. [bug] Empty node should return NOERROR NODATA, not NXDOMAIN.
...
[RT #4715 ]
developer: marka
reviewer: explorer
2003-01-18 03:18:31 +00:00
Mark Andrews
b0c15bd979
1415. [func] DS TTL now derived from NS ttl. NXT TTL now derived
...
from SOA MINIMUM.
1414. [func] Support for KSK flag.
2003-01-18 02:40:59 +00:00
Mark Andrews
0ffaee887f
1412. [func] You can now specify servers to be tried if a nameserver
...
has IPv6 address and you only support IPv4 or the
reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
d548131d6a
support for high optimisation levels
2003-01-15 05:24:29 +00:00
Mark Andrews
1d84c2b146
we may have NS information from the child zone.
2003-01-15 05:05:13 +00:00
Mark Andrews
2f4fbeb360
SOCKET vs int
2003-01-14 23:37:06 +00:00
Mark Andrews
5f89a1ee9e
1411. [bug] empty nodes should stop wildcard matches. [RT #4802 ]
...
developer: marka
reviewer: explorer
2003-01-14 00:38:07 +00:00
Mark Andrews
c86eed4bde
1410. [func] handle records that live in the parent zone, e.g. DS.
...
developer: marka
reviewer: explorer
2003-01-14 00:28:50 +00:00
Mark Andrews
3c2127744f
update comment
2003-01-10 02:43:56 +00:00
Mark Andrews
3369e61105
remove unused code
2003-01-08 04:42:22 +00:00
Mark Andrews
3d00f74888
When processing the authority section process the NS records first.
2003-01-05 23:19:29 +00:00
Mark Andrews
6874dcf6a0
style
2002-12-31 05:40:15 +00:00
Mark Andrews
f4cbe536b1
cygwin support
2002-12-27 03:29:37 +00:00
Mark Andrews
af623d1cd2
cygwin support
2002-12-27 03:13:51 +00:00
Mark Andrews
602274b30f
isc_net_probeipv6() was #ifdef'd out
2002-12-24 05:12:50 +00:00
Mark Andrews
d457997b3b
AI_ADDRCONFIG is not allowed by the old getaddinfo() spec. Try with
...
then without AI_ADDRCONFIG if the former faile with BADFLAGS.
2002-12-20 04:10:03 +00:00
Mark Andrews
12ff7274fe
1409. [bug] DS should have attibute DNS_RDATATYPEATTR_DNSSEC.
2002-12-20 01:19:20 +00:00
Mark Andrews
876da2a83d
Check that the NS/AAAA/A RRsets have not expired seeing if they don't need to
...
be replaced.
2002-12-16 12:47:39 +00:00
Mark Andrews
81aea2f2d3
undo wrong branch
2002-12-13 02:51:41 +00:00
Mark Andrews
0020640ff6
checkpoint
2002-12-13 02:37:35 +00:00
Mark Andrews
8b212c623d
undo
2002-12-13 02:11:12 +00:00
Mark Andrews
9d3ad53203
1408. [bug] distclean was not complete. [RT #4700 ]
2002-12-13 02:01:52 +00:00
Mark Andrews
def8e47c68
use isc_random_get() rather than rand()/arc4random() directly.
...
developer: marka
reviewer: bwelling
2002-12-05 04:36:26 +00:00
Mark Andrews
767fd19da4
1407. [bug] lfsr incorrectly implements the shift register.
...
[RT #4617 ]
2002-12-05 04:01:54 +00:00
Mark Andrews
8da0b50e8a
1406. [bug] dispatch initialises one of the LSFR's with a incorrect
...
polynomial. [RT #4617 ]
2002-12-05 03:55:09 +00:00
Mark Andrews
815a44abf5
arc4random() lower bits are truly random so there in no need to shift the
...
result to get truly random data.
2002-12-04 04:54:28 +00:00
Mark Andrews
5b76a09697
1405. [func] Use arc4random() if available.
...
from: jakob@crt.se
reviewed: marka
2002-12-04 01:19:28 +00:00
Mark Andrews
6388dcf8e6
pullup from bind8:
...
1404. [bug] libbind: ns_name_ntol() could overwite a zero length
buffer.
2002-12-03 05:39:10 +00:00
Mark Andrews
c5689081b7
define PATH_MAX if not defined. [RT #4602 + others]
2002-11-29 01:42:18 +00:00
Mark Andrews
49a940dc68
1402. [cleanup] A6 has been moved to experimental and is no longer
...
fully supported.
developer: jinmei
reviewer: marka
2002-11-27 09:52:58 +00:00
Mark Andrews
646182a67f
missing include
...
adjust prototype for isc_netscope_pton() to use void *.
2002-11-26 04:36:46 +00:00
Mark Andrews
41f5cf4ac1
check for the existance of if_nametoindex().
...
developer: jinmei
reviewer: marka
2002-11-26 03:53:42 +00:00
Mark Andrews
aebe37a461
ensure that zone id is set to zero.
...
only look for BSD internal scope if platform supports scope_id.
reviewer: marka
developer: jinmei
2002-11-26 03:16:31 +00:00
Mark Andrews
d92770e851
1401. [bug] adb wasn't clearing state when the timer expired.
2002-11-16 17:20:03 +00:00
Mark Andrews
c972e36de6
reversed timestamp sanity test on SIG
2002-11-15 21:25:21 +00:00
Michael Graff
e34efaccfa
merge adb_race branch
2002-11-13 00:07:04 +00:00
Michael Graff
e903df2f01
merge 4319
2002-11-12 23:58:14 +00:00
Michael Graff
43ee20a821
merge rt4112
2002-11-12 23:38:12 +00:00
Michael Graff
6434457b0b
merge 4090
2002-11-12 23:24:45 +00:00
Michael Graff
972cbaa79e
merge rt3598 (code by marka, pullup by me)
2002-11-12 22:22:32 +00:00
Mark Andrews
59ab128c97
1400. [bug] Block the addition of wildcard NS records by IXFR
...
or UPDATE. [RT #3502 ]
developer: marka
reveiwer: ogud
2002-11-12 20:16:30 +00:00
Mark Andrews
90295f915c
1399. [bug] Use serial number arithmetic when testing SIG
...
timestamps. [RT #4268 ]
developer: marka
reviewer: ogud
2002-11-12 19:50:51 +00:00
Mark Andrews
142d155dd6
1397. [bug] J.ROOT-SERVERS.NET is now 192.58.128.30.
2002-11-05 22:21:28 +00:00
Mark Andrews
2ffb3eb384
1395. [port] OpenSSL 0.9.7 defines CRYPTO_LOCK_ENGINE but doesn't
...
have a working implementation. [RT #4079 ]
2002-10-31 04:35:02 +00:00
Mark Andrews
aa39170da8
1394. [func] It is now possible to check if a particular element is
...
in a acl. Remove duplicate entries from the localnets
acl.
1393. [port] Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
is not available in the kernel to prevent accidently
listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Mark Andrews
2357adb0d4
use family specific socket to lookup interface flags, etc.
2002-10-28 06:12:13 +00:00
Mark Andrews
925c021f1f
u_int32_t -> isc_uint32_t
2002-10-28 02:35:36 +00:00
Mark Andrews
e12b02b62c
u_int32_t -> isc_uin32_t
2002-10-28 02:23:54 +00:00
Mark Andrews
a3bcfd4660
u_int#_t -> isc_uint#_t
2002-10-28 02:16:21 +00:00
Mark Andrews
cbc0becf05
isc_netaddr_fromsockaddr failed to set zone for AF_INET
2002-10-25 02:36:42 +00:00
Mark Andrews
6526fd032f
1391. [func] Add support for IPv6 scoped addresses in named.
2002-10-24 03:52:35 +00:00
Tatuya JINMEI 神明達哉
959cf5e112
(RT #3666 ) named could fail to rotate long log files.
...
developer: marka
reviewer: jinmei
2002-10-16 13:15:30 +00:00
Mark Andrews
bc50732bab
remove repeated "keep" in comment.
2002-10-15 03:15:28 +00:00
Tatuya JINMEI 神明達哉
1e850a433a
in dbiterator_destroy(), gained a reference to db before using an mctx
...
associated with the db, in case that we had the last reference.
[RT #3588 ]
2002-10-10 13:50:02 +00:00
Mark Andrews
2945ac15af
1385. [bug] Setting serial-query-rate to 10 would trigger a
...
REQUIRE failure.
2002-09-30 06:37:49 +00:00
Mark Andrews
ca70688bf6
1383. [func] Track the serial number in a IXFR response and log if
...
a mismatch occurs. This is a more specific error than
"not exact". [RT #3445 ]
2002-09-24 01:04:03 +00:00
Mark Andrews
8b0ee8448b
1382. [bug] make install failed with --enable-libbind. [RT #3656 ]
...
top_srcdir was being defined via make/rules.in and was over riding that
correct definition from Makefile.in. Use the abosolute version in
make/rules.in.
2002-09-18 05:18:18 +00:00
Mark Andrews
aec2d57d5b
1381. [bug] named failed to correctly process answers that
...
contained DNAME records where the resulting CNAME
resulted in a negative answer.
2002-09-12 04:52:13 +00:00
Mark Andrews
acfbd7a478
report type and class when logging failures via add_bad
2002-09-12 04:42:46 +00:00
Mark Andrews
c0c9d2b566
Remove layer violation. [RT #3615 ]
2002-09-12 02:44:29 +00:00
Mark Andrews
1a1148360e
Add missing space to fprintf.
2002-09-12 00:28:52 +00:00
Mark Andrews
a29ef27b39
When a lookup resulted in an nxrrset match of a wildcard, the wildcard
...
attribute wasn't set on foundname.
Move "else" body to mainline, "if" body end in unconditional goto.
2002-09-10 13:35:54 +00:00
Mark Andrews
a9ae9d743c
1380. [func] 'rndc recursing' dump recursing queries to
...
'recursing-file = "named.recursing";'.
2002-09-10 04:45:54 +00:00
Mark Andrews
798c83548f
add explict dependancies for the generated header files.
2002-09-10 04:45:06 +00:00
Mark Andrews
75ace6601e
1379. [func] 'rndc stats' now reports tcp and recursion quota
...
states.
1378. [func] Improved positive feedback for 'rndc {reload|refresh}.
1377. [func] dns_zone_load{new}() now reports if the zone was
loaded, queued for loading to up to date.
1376. [func] New function dns_zone_logc() to log to specified
category.
2002-09-10 02:23:46 +00:00
Mark Andrews
ba4aec8c18
1375. [func] 'rndc dumpdb' now dumps the adb cache along with the
...
data cache.
2002-09-10 02:06:49 +00:00
Mark Andrews
550085fed1
1374. [func] dns_adb_dump() now logs the lame zones associated
...
with each server.
* DP now supports debbugging at non-debug levels.
* log fetch failure reasons at DEF_LEVEL.
2002-09-10 02:01:15 +00:00
Mark Andrews
f411c2e81c
1373. [bug] Recovery from expired glue failed under certian
...
circumstances.
2002-09-10 00:53:31 +00:00
Michael Graff
de6aca419d
Rework previous slightly, to only signal if we were using WAITUNTIL() and we
...
actually have a due time
2002-09-09 21:15:58 +00:00
Michael Graff
e5242f042b
When scheduling a new timer, check to see if we missed our last wakeup
...
by more than 15 seconds. If we have, SIGNAL().
2002-09-09 20:04:10 +00:00
Michael Graff
88f7da4690
add a new log module, timer
2002-09-09 20:02:22 +00:00
Mark Andrews
6125833e82
isc_timer_poke is thread specific
2002-09-09 06:01:06 +00:00
Mark Andrews
252cebc0fa
developer: marka
...
reviewer: jinmei
TRIEDFIND test had wrong sence.
2002-09-09 02:54:18 +00:00
Michael Graff
c68b63e0be
change many debug(3) to debug(1), and several debug(*) to info
2002-09-08 18:37:47 +00:00
Michael Graff
4f39334027
change a message about trailing garbage in a packet from debug(1) to debug(3)
2002-09-08 18:37:12 +00:00
Michael Graff
371147fdc5
add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_timermgr_poke
2002-09-08 18:35:55 +00:00
Michael Graff
3e42be4026
rename 'worklimited' to 'idle'
2002-09-08 18:35:20 +00:00
Michael Graff
8f7b56e275
add goo for error checking mutexes on (at least) tru64
2002-09-08 18:32:38 +00:00
Tatuya JINMEI 神明達哉
e992af4209
fixed a bug that named crashes with an assertion failure on exit when sharing
...
the same port for listening and querying, and changing listening addresses
several times. [RT# 3509]
additionally,
+ limited the canceled socket tasks in dispatch.c
+ made dns_dispatch_changeattributes() care about the NOLISTEN mask
+ described side effects of dns_dispatch_changeattributes() in its
description comment
2002-09-04 02:26:13 +00:00
Mark Andrews
a39a2424bb
'\0' terminate code.
...
All reasons for marking a server bad should be logged to the lame channel.
2002-08-29 07:01:49 +00:00
Mark Andrews
b6309ed962
developer: jinmei
...
reviewer: marka
1368. [func] remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Mark Andrews
39fe146f2a
developer: marka
...
reviewed: jinmei
1364. [func] Use response times to select forwarders.
2002-08-23 00:27:10 +00:00
Mark Andrews
741a75f81b
reviewed: marka
...
developer: mayer
relative paths
build against openssl 0.9.6g
2002-08-17 01:34:09 +00:00
Mark Andrews
d8ec783e6d
reviewed: jinmei
...
who: marka
1359. [bug] remove IF_RUNNING test when scanning interfaces.
2002-08-16 00:05:57 +00:00
Danny Mayer
15e7c81d57
file changes as well as addition of the use of IpHlpApi from the MS Platform SDK
2002-08-11 03:32:56 +00:00
Danny Mayer
24e0175a62
Win32 version for using the registry or resolv.conf for resolver information
2002-08-11 03:29:32 +00:00
Danny Mayer
1433d8f5f4
changed keyword option to options for the resolv.conf file
2002-08-11 03:26:26 +00:00
Mark Andrews
5bd76af084
1358. [func] log the reason for rejecting a server when resolving
...
queries.
2002-08-09 06:12:50 +00:00
Mark Andrews
49d69bbad8
use lwres_inet_ntop instead of inet_ntop
2002-08-08 21:14:13 +00:00
Mark Andrews
8bcb0f297b
1257. [bug] --enable-libbind would fail when not built in the
...
source tree for certian OS's.
2002-08-08 05:54:12 +00:00
Mark Andrews
5c10f54fe3
1355. [bug] It was possible to trigger a INSIST when debugging
...
large dynamic updates. [RT #3390 ]
2002-08-06 14:33:08 +00:00
Danny Mayer
8c17b6f1e4
Updated code to support more than 63 accepts and connects by adding capability to add more event_wait threads on demand
2002-08-06 03:32:53 +00:00
Mark Andrews
1feb76edcb
1355. [tuning] Reduce the number events / quantum for zone tasks.
2002-08-06 02:16:09 +00:00
Mark Andrews
4c342614f8
1354. [bug] Fix DNSSEC wildcard proof for CNAME/DNAME.
2002-08-06 01:50:28 +00:00
Mark Andrews
cffb3284d6
add 'man' target
2002-08-05 05:06:07 +00:00
Mark Andrews
e72d4d8929
1354. [doc] lwres man pages had illegal nroff.
2002-08-05 04:56:50 +00:00
Danny Mayer
834aa90500
Change isc_win32_version_check name to isc_win32_versioncheck and fix return value to be as reported in the header
2002-08-03 01:36:24 +00:00
Danny Mayer
70406959df
Fix NTReportError which needed an array of strings instead of just a pointer to a string
2002-08-03 01:34:14 +00:00
Mark Andrews
bb6936058e
1351. [bug] lwres_getipnodebyname() returned the wrong name
...
when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
was set.
2002-08-02 12:16:57 +00:00
Danny Mayer
5da7016a6c
Message header is per I/O and not per socket. Changes made to make them per I/O.
2002-08-02 03:45:56 +00:00
Mark Andrews
0ad5cb4782
1350. [bug] dns_name_fromtext() failed to handle too many labels
...
gracefully.
2002-08-02 00:25:15 +00:00
Danny Mayer
dd472802de
ipv6 cleanup and reorganization of header information
2002-08-01 03:56:08 +00:00
Danny Mayer
5a18a1174d
Version-specific functions
2002-08-01 03:54:30 +00:00
Danny Mayer
931e557ecf
Fixed code to check for NULL before freeing buffer
2002-08-01 03:52:14 +00:00
Danny Mayer
1ceb6aa154
Added Windows-specific error codes to list
2002-08-01 03:50:24 +00:00
Danny Mayer
4d9aec9c8c
Redesigned sockets to use I/O Completion Ports and Events and eliminating multiple socket bugs reported
2002-08-01 03:46:21 +00:00
Danny Mayer
de4f4b6c58
Added NTReportError to use when the Event Log is not open for updates
2002-08-01 03:43:31 +00:00
Danny Mayer
498e1c30b2
Moved Win32 Version information to Win32os.c
2002-08-01 03:41:49 +00:00
Danny Mayer
d3e0cb0000
Win32 Version information
2002-08-01 03:40:21 +00:00
Danny Mayer
ace73367af
Added files and functions
2002-08-01 03:37:01 +00:00
Danny Mayer
59d1535572
casts required
2002-08-01 03:31:44 +00:00
Mark Andrews
87f4715d6c
1344. [func] Log if the serial number on the master has gone backwards.
...
If you have multiple machines specified in the masters
clause you may want to set 'multi-master yes;' to suppress
this warning.
2002-07-29 06:58:46 +00:00
Mark Andrews
3733c24efa
1342, [func] Log remote address with TCP dispatch failures.
2002-07-29 01:03:24 +00:00
Mark Andrews
c8b06dc2f9
"make install" failed to install grammar.h and namedconf.h
2002-07-29 00:43:40 +00:00
Mark Andrews
2ee2c1be18
EAI_NODATA is platform dependent.
2002-07-29 00:35:17 +00:00
Mark Andrews
012a2b979e
1341. [func] Allow a rate limiter to be stalled.
2002-07-26 06:42:02 +00:00
Mark Andrews
f6ff008101
1340. [bug] Delay and spread out the startup refresh load.
2002-07-26 06:27:31 +00:00
Mark Andrews
f0471ca4b7
1336. [func] Nibble lookups under IP6.ARPA are now supported by
...
dns_byaddr_create(). dns_byaddr_createptrname() is
deprecated, use dns_byaddr_createptrname2() instead.
2002-07-24 06:42:32 +00:00
Mark Andrews
03d337f54a
For some zones, querying for a DS record before anything else would SERVFAIL.
2002-07-23 03:41:44 +00:00
Mark Andrews
638fe804a5
1255. [bug] When performing a nonexistence proof, the validator
...
should discard parent NXTs from higher in the DNS.
2002-07-22 03:00:49 +00:00
Mark Andrews
9db3d9d14e
1254. [bug] When signing/verifying rdatasets, duplicate rdatas
...
need to be suppressed.
2002-07-22 02:49:14 +00:00
Mark Andrews
0b75a2dd3b
1252. [func] Report the current serial with periodic commits when
...
rolling forward the journal.
2002-07-22 02:06:04 +00:00
Mark Andrews
c54c1eaf26
1251. [func] Generate DNSSEC wildcard proofs.
2002-07-19 03:50:42 +00:00
Mark Andrews
0d993c02ba
1250. [bug] When processing events (non-threaded) only allow
...
the task one chance to use to use its quantum.
2002-07-19 03:39:44 +00:00
Mark Andrews
ff30cdeb78
The validator didn't handle missing DS records correctly.
2002-07-19 03:29:15 +00:00
Mark Andrews
4d9f3f00d9
1249. [func] named-checkzone will now check if nameservers that
...
appear to be IP addresses. Available modes "fail",
"warn" (default) and "ignore" the results of the
check.
2002-07-19 02:34:58 +00:00
Mark Andrews
d196b45738
1248. [bug] The validator could incorrectly verify an invalid
...
negative proof.
2002-07-15 03:27:44 +00:00
Mark Andrews
86f6b92e35
1248. [bug] The validator could incorrectly verify an invalid
...
negative proof.
When checking the range of the nxt record, the code needs to handle
the case where the 'next name' field points to the origin. The way
that the origin was determined was looking at the 'signer' field
of the first SIG NXT, since NXTs are signed by the zone key. This
doesn't work, because the first SIG could have been spoofed. It
now defers checking the nxt range until both the SOA and NXT have
been verified, and uses the owner of the SOA name as the origin.
bwelling
2002-07-15 03:25:28 +00:00
Mark Andrews
25276bd1ec
1247. [bug] The validator would incorrectly mark data as insecure
...
when seeing a bogus signature before a correct
signature.
2002-07-15 02:57:14 +00:00
Mark Andrews
320d6ee24e
1246. [bug] DNAME/CNAME signatures were not being cached when
...
validation was not being performed. [RT #3284 ]
2002-07-15 02:23:58 +00:00
Mark Andrews
981e5046e0
max-journal-size is a zone option
2002-07-13 00:53:34 +00:00
Mark Andrews
0996973920
distclean
2002-07-12 01:42:22 +00:00
Mark Andrews
53f9ddf27c
silence pointer mismatch
2002-07-04 04:19:54 +00:00
Mark Andrews
6244f49146
protect clua_context access w/ #ifdef
2002-07-03 06:25:32 +00:00
Mark Andrews
7fd9fd9e4c
TRUCLUSTER support: isc_interfaceiter_first() should set clua_context.
2002-07-02 05:51:43 +00:00
Mark Andrews
89251e453b
result undeclared, #include <isc/log.h>
2002-07-01 23:00:38 +00:00
Mark Andrews
ecf7a18125
isc_modules[2] not isc_modules[3]
2002-07-01 01:39:45 +00:00
Mark Andrews
fe4d3e1992
hpux: ioctl(SIOCGLIFCONF) failure -> debug(1)
2002-07-01 01:08:37 +00:00
Mark Andrews
54532c5413
1339. [func] libbind: log attempts to exploit #1338 .
2002-06-28 06:12:42 +00:00
Mark Andrews
020f7361a4
1338. [bug] libbind: Remote buffer overrun.
2002-06-28 06:06:24 +00:00
Mark Andrews
e8fb857c20
consistant white space w/ BIND 8
2002-06-28 05:59:22 +00:00
Mark Andrews
1c0927d8a0
1337. [port] libbind: TrueUNIX 5.1 does not like __align as a
...
element name.
2002-06-28 05:46:10 +00:00
Mark Andrews
e817515a6c
pullup: ns_r_badvers extended error code
2002-06-28 05:41:56 +00:00
Mark Andrews
446ff1959c
pullup from BIND 8
...
1336. [bug] libbind: gethostans() could get out of sync parsing
the response if there was a very long CNAME chain.
2002-06-28 05:00:55 +00:00
Mark Andrews
33c5380153
1334. [port] Handle ECONNRESET from sendmsg() [unix].
2002-06-26 00:12:54 +00:00
Mark Andrews
51ff296fef
regen so both configures are built using the same autoconf
2002-06-24 23:41:06 +00:00
Mark Andrews
d9e0458a89
1331. [bug] lwres_getrrsetbyname leaked memory. [RT #3159 ]
2002-06-20 02:31:17 +00:00
Mark Andrews
880f50a1e6
Protect both the socket and fifo tests with #ifdef's.
2002-06-20 01:19:51 +00:00
Mark Andrews
de49761421
1330. [bug] 'rndc stop' failed to cause zones to be flushed
...
sometimes. [RT #3157 ]
2002-06-19 07:14:48 +00:00
Mark Andrews
5758e9adfb
1329. [func] Log that a zone transfer was covered by a TSIG.
2002-06-19 06:47:25 +00:00
Mark Andrews
b0d31c78bc
uninitalised variable
2002-06-19 04:15:12 +00:00
Mark Andrews
0b09763c35
1328. [func] DS (delegation signer) support.
2002-06-17 04:01:37 +00:00
Mark Andrews
e0fa16fe19
1326. [bug] Badly encoded LOC record when the size, horizontal
...
precision or vertical precision was 0.1m.
2002-06-14 23:40:14 +00:00
Mark Andrews
5991ce4236
remove change #1284
2002-06-13 07:25:25 +00:00
Mark Andrews
7d389c324c
1324. [func] New function: dns_zone_name().
2002-06-13 07:05:47 +00:00
Mark Andrews
e2cf63c5df
1218. [port] Compaq Trucluster support.
2002-06-07 00:03:50 +00:00
Mark Andrews
38ded52dbb
Handle OS's with incomplete API's
2002-06-06 00:55:48 +00:00
Mark Andrews
c3184b4e2a
1219. [bug] Set AI_ADDRCONFIG when looking up addresses
...
via getaddrinfo() (affects dig, host, nslookup, rndc
and nsupdate).
2002-06-06 00:27:37 +00:00
Mark Andrews
9b7c023fe6
1218. [bug] The CINCLUDES macro in lib/dns/sec/dst/Makefile
...
could be left with a trailing "\" after configure
has been run.
2002-06-05 22:34:57 +00:00
Mark Andrews
918102a7d2
mask of mode format bits and compare result
2002-06-05 02:20:59 +00:00
Mark Andrews
5ddbaad44e
|| should have been && in #if test.
2002-06-04 23:26:16 +00:00
Mark Andrews
0a1fa37641
1217. [port] linux: make handling EINVAL from socket() no longer
...
conditional on #ifdef LINUX.
2002-06-03 06:31:16 +00:00
Mark Andrews
c61ec97ae0
1216. [bug] isc_log_closefilelogs() needed to lock the log
...
context.
2002-06-03 04:34:19 +00:00
Mark Andrews
49f7d1585e
1215. [bug] isc_log_setdebuglevel() needed to lock the log
...
context.
2002-06-03 03:39:56 +00:00
Mark Andrews
0b1af13f68
pullup:
...
1314. [func] libbind: no longer attempts bit string labels for
IPv6 reverse resolution. Try IP6.ARPA then IP6.INT
for nibble style resolution.
2002-06-03 00:34:58 +00:00
Mark Andrews
945cb085b8
1213. [func] Entropy can now be retrieved from EGDs. [RT #2438 ]
2002-05-30 04:21:17 +00:00
Mark Andrews
5ed4b0d445
1212. [func] Enable IPv6 support when using ioctl style interface
...
scanning and OS supports SIOCGLIFADDR using struct
if_laddrreq.
2002-05-30 01:28:53 +00:00
Mark Andrews
c549b3a4d5
1211. [func] Enable IPv6 support when using sysctl style interface
...
scanning.
2002-05-30 01:24:12 +00:00
Mark Andrews
8f96645217
1208. [bug] Adjusted REQUIRE's in lib/dns/name.c to better
...
reflect written requirements.
2002-05-29 00:27:53 +00:00
Mark Andrews
da091cda77
1207. [bug] REQUIRE that DNS_DBADD_MERGE only be set when adding
...
a rdataset to a zone db in the rbtdb implementation of
addrdataset.
2002-05-28 05:49:20 +00:00
Mark Andrews
d8d489cd8e
1206. [bug] dns_name_downcase() enforce requirement that
...
target != NULL or name->buffer != NULL.
2002-05-28 03:39:46 +00:00
Mark Andrews
f93fad20d4
check location before dereference
2002-05-27 11:37:40 +00:00
Mark Andrews
5fdea8467e
Define SETFAMILYFLAGS, tidy.
2002-05-27 07:54:35 +00:00
Mark Andrews
bdb1394788
1205. [func] lwres: probe the system to see what address families
...
are currently in use.
2002-05-27 06:54:48 +00:00
Mark Andrews
c8aa2c8311
1204. [bug] The RTT estimate on unused servers was not aged.
...
[RT #2569 ]
2002-05-27 06:30:25 +00:00
Mark Andrews
a1edcd1b8d
1203. [func] Use "dataready" accept filter if available.
2002-05-27 00:40:23 +00:00
Mark Andrews
5b1627d469
1302. [port] libbind: hpux 11.11 interface scaning.
2002-05-24 06:52:39 +00:00
Mark Andrews
8989de1059
1300. [bug] libbind: escape '(' and ')' when coverting to
...
presentation form.
2002-05-24 05:21:42 +00:00
Mark Andrews
acc8b7ac3d
1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590 ]
2002-05-23 04:32:30 +00:00
Mark Andrews
a2734fa74a
isc_file_renameunique() no longer used mkstemp().
2002-05-22 05:57:17 +00:00
Mark Andrews
b9efcf0a37
1297. [func] You can now create your own customised printing
...
styles: dns_master_stylecreate() and
dns_master_styledestroy().
2002-05-21 06:12:45 +00:00
Mark Andrews
8e5893c36c
1296. [bug] libbind: const pointer conficts in res_debug.c.
2002-05-21 02:07:50 +00:00
Mark Andrews
e396939d49
1295. [port] libbind: hpux: treat all hpux systems as BIG_ENDIAN.
2002-05-20 04:29:29 +00:00
Mark Andrews
9549a96654
1294. [bug] Memory leak in lwres_gnbarequest_parse().
2002-05-17 02:30:37 +00:00
Mark Andrews
3d822d111c
1293. [port] libbind: solaris: 64 bit binary compatability.
2002-05-16 04:47:56 +00:00
Mark Andrews
26cf4737b3
1288. [port] Openserver: the value FD_SETSIZE depends on whether
...
<sys/param.h> is included or not. Be consistant.
2002-05-10 06:41:55 +00:00
Mark Andrews
34e5a08809
1287. [func] isc_file_openunique() now creates file using mode
...
0666 rather than 0600.
2002-05-09 09:08:56 +00:00
Mark Andrews
0cd36f1d15
1286. [bug] ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
...
__ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
are not C++ compatible, use *_TYPE versions instead.
2002-05-09 07:09:30 +00:00
Mark Andrews
93649589d4
1285. [bug] libbind: LINK_INIT and UNLINK were not compatible with
...
C++, use LINK_INIT_TYPE and UNLINK_TYPE instead.
2002-05-09 02:01:27 +00:00
Mark Andrews
29f5bb81e2
1284. [bug] Memory leak if dns_db_beginload() failed.
2002-05-08 06:51:52 +00:00
Mark Andrews
ddc592d128
1283. [bug] Reference after free error if dns_dispatchmgr_create()
...
failed.
2002-05-08 06:34:30 +00:00
Mark Andrews
bd6ad47c3d
1281. [func] libbind: ns_sign2() and ns_sign_tcp() now provide
...
support for compressed TSIG owner names.
2002-05-06 06:29:41 +00:00
Mark Andrews
c7c1bf7dc1
1280. [func] libbind: res_update can now update IPv6 servers,
...
new function res_findzonecut2().
2002-05-06 04:12:55 +00:00
Mark Andrews
9e205a3c51
1279. [bug] libbind: get_salen() IPv6 support was broken for OSs
...
w/o sa_len.
2002-05-03 06:13:27 +00:00
Mark Andrews
e823642ec0
1278. [bug] libbind: res_nametotype() and res_nametoclass() were
...
broken.
2002-05-03 06:04:55 +00:00
Mark Andrews
ac70982956
add ECONNREFUSED
2002-05-03 05:43:40 +00:00
Mark Andrews
ab36b9cfee
add config.h
2002-05-02 06:55:23 +00:00
Mark Andrews
c99d9017ba
1275. [bug] When verifying that an NXT proves nonexistence, check
...
the rcode of the message and only do the matching NXT
check. That is, for NXDOMAIN responses, check that
the name is in the range between the NXT owner and
next name, and for NOERROR NODATA responses, check
that the type is not present in the NXT bitmap.
2002-04-29 23:50:26 +00:00
Mark Andrews
c4a9ce445c
1274. [func] preferred-glue option from BIND 8.3.
2002-04-26 00:40:37 +00:00
Mark Andrews
984c39beed
1269. [bug] Missing masters clause was not handled gracefully.
...
[RT #2703 ]
2002-04-17 01:23:15 +00:00
Mark Andrews
59bbc667bc
Use relative paths
2002-04-10 03:51:43 +00:00
Mark Andrews
c311ed52d4
1247. [bug] Don't reset the interface index for link/site local
...
addresses. [RT #2576 ]
2002-04-03 06:44:11 +00:00
Mark Andrews
79a6a33184
1246. [func] New functions isc_sockaddr_issitelocal(),
...
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
and isc_netaddr_islinklocal().
2002-04-03 06:38:38 +00:00
Mark Andrews
5d26560e2b
1245. [bug] Treat ENOBUFS, ENOMEM and ENFILE as soft errors for
...
accept().
HPUX 11.11 returns ENOBUFS when the TCP connecting is closed before accept.
ENOMEM and ENFILE were also recommend by HP to be treated as soft for accept().
2002-04-03 05:41:20 +00:00
Mark Andrews
d6fbfd28ea
1243. [bug] It was possible to trigger a REQUIRE() in
...
dns_message_findtype(). [RT #2659 ]
2002-04-03 02:44:57 +00:00
Mark Andrews
2eeaed2812
missed one change
2002-04-02 08:04:42 +00:00
Mark Andrews
7791dd06ea
1242. [bug] named-checkzone failed if a journal existed. [RT #2657 ]
2002-04-02 06:54:07 +00:00
Mark Andrews
abc93ada82
rrset-order cyclic w/ sortlist broken.
2002-04-02 06:06:29 +00:00
Mark Andrews
091b098b49
1241. [bug] Drop received UDP messsages with a zero source port
...
as these are invariably forged. [RT #2621 ]
2002-04-02 04:36:52 +00:00
Mark Andrews
0bd9d19281
INSIST that there are no outstanding tasks when the task manager is
...
about to be destroyed (non-threaded).
2002-03-29 01:25:04 +00:00
Mark Andrews
9be230cfca
make val unsigned as we are now using strtoul().
2002-03-27 23:31:32 +00:00
Mark Andrews
f0ffc28f61
1238. [bug] It is possible to lockup the server when shutting down
...
if a notifies were being processed. [RT #2591 ]
2002-03-27 04:48:21 +00:00
Mark Andrews
beed6a0e22
Change 1236 was incorrect. [RT #2611 ]
2002-03-27 03:31:49 +00:00
Mark Andrews
18360f880c
missed it part
2002-03-20 22:25:58 +00:00
Mark Andrews
21ca3480cd
4->5
2002-03-20 22:06:07 +00:00
Mark Andrews
8695d7b357
1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
...
NULL terminated text regions. [RT #2588 ]
2002-03-20 17:12:29 +00:00
Mark Andrews
f76c4ebaf5
1235. [func] Report 'out of memory' errors from openssl.
2002-03-19 04:30:57 +00:00
Mark Andrews
72b6ec6e5d
lock mctx for DELETE_TRACE call in isc__mempool_put()
2002-03-19 02:40:16 +00:00
Brian Wellington
d56fa53141
Only allow hex or decimal when parsing key flags, not octal.
2002-03-17 18:59:43 +00:00
Brian Wellington
81e302788a
1233. [bug] The flags field of a KEY record can be expressed in
...
hex as well as decimal.
2002-03-17 18:50:21 +00:00
Mark Andrews
c00a1eb423
1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL.
2002-03-15 05:01:33 +00:00
Mark Andrews
1e258716ac
1231. [port] HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL.
2002-03-15 04:59:03 +00:00
Mark Andrews
d972fa3178
1230. [bug] isccc_cc_isreply() and isccc_cc_isack() were broken.
2002-03-15 04:54:58 +00:00
Brian Wellington
4b171ebd70
1229. [bug] named would crash if it received a TSIG signed
...
query as part of an AXFR response. [RT #2570 ]
2002-03-14 18:34:48 +00:00
Brian Wellington
17a2a1d3c1
fix invalid format string
2002-03-14 00:43:00 +00:00
Brian Wellington
6585d8782b
the region passed to dns_name_fromregion() can be const.
2002-03-14 00:36:07 +00:00
Mark Andrews
fd0528d19d
remove dead code
2002-03-12 04:10:57 +00:00
Mark Andrews
80b469ae8c
silence compiler
2002-03-12 04:07:37 +00:00
Mark Andrews
03fae7ef21
1227. [bug] dns_lex_getmastertoken() now returns ISC_R_BADNUMBER
...
if a number was expected and some other token was
found. [RT#2532]
2002-03-11 05:38:29 +00:00
Mark Andrews
ad611e746d
1226. [func] Use EDNS for zone refresh queries. [RT #2551 ]
2002-03-11 04:41:53 +00:00
Mark Andrews
603d1d1e20
1225. [func] dns_message_setopt() no longer requires that
...
dns_message_renderbegin() to have been called.
2002-03-11 01:59:16 +00:00
Mark Andrews
9de92818ae
warn that rrset-order 'fixed' is not implemented.
2002-03-10 23:40:31 +00:00
Brian Wellington
861cef1397
default_fromtext_callback should print a newline
2002-03-08 01:58:10 +00:00
Brian Wellington
231ffa6c85
add a new result code so that parsing a bad KEY record doesn't result in
...
"unknown class/type".
2002-03-08 01:38:57 +00:00
Mark Andrews
412e65017e
rrset-order checks
2002-03-08 00:54:48 +00:00
Mark Andrews
6f49c3e315
rrset-order is nolonger not implemented.
...
rrset-order should be a view level option.
2002-03-07 13:48:02 +00:00
Mark Andrews
2dd99c098c
1234. [bug] 'rrset-order' and 'sortlist' should be additive
...
not exclusive.
1223. [func] 'rrset-order' partially works 'cyclic' and 'random'
are supported.
2002-03-07 13:46:41 +00:00
Brian Wellington
df5e0316a7
- add the missing typedef for dns_order_t
...
- change the order of parameters to dns_order_create() for consistency
- add multiple inclusion protection to order.h
- fix a couple of typos
2002-03-07 07:48:48 +00:00
Mark Andrews
f4ea263511
rrset-order support.
2002-03-07 06:29:37 +00:00
Mark Andrews
1fb264ed3a
1222. [bug] Specifying 'port *' did not always result in a system
...
selected (non-reserved) port being used. [RT #2537 ]
2002-03-07 00:07:27 +00:00
Brian Wellington
a615e9a446
ALP -> APL
2002-03-06 18:33:13 +00:00
Mark Andrews
feb8ae0931
1220. [func] Support for APL rdata type.
2002-03-06 07:41:25 +00:00
Mark Andrews
8133c5d6ae
We could select on a closed file descriptor.
2002-03-05 06:41:08 +00:00
Brian Wellington
aa05bbdef7
When printing a warning about a value not being a valid decimal dotted
...
quad, it seems excessive to print "warning" when the message is already logged
at log level WARNING by the warn() callback.
2002-03-05 01:02:06 +00:00
Brian Wellington
da362f71bd
warning messages generated by dns_master_load* should not print
...
dns_master_load, since it violates the "don't print function names in
error messages" rule.
2002-03-05 00:59:42 +00:00
Mark Andrews
95b604c5e9
1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on
...
when there was a BADTIME error. [RT #2519 ]
2002-03-05 00:06:02 +00:00
Mark Andrews
2211bec6a0
1217. [func] Report locations of previous key definition when a
...
duplicate is detected.
2002-03-04 05:27:31 +00:00
Mark Andrews
89f7901415
INSIST -> RUNTIME_CHECK
2002-03-04 05:24:33 +00:00
Mark Andrews
fcb2ecdb52
1216. [bug] Multiple server clauses for the same server were not
...
reported. [RT #2514 ]
2002-03-04 05:07:06 +00:00
Brian Wellington
65c709f4de
add isc_parse_uint16() and isc_parse_uint8()
2002-02-28 20:08:06 +00:00
Mark Andrews
ce24330566
<isc/print.h> for snprintf
2002-02-28 05:13:57 +00:00
Mark Andrews
b9c80c8bdd
1214. [bug] Win32: isc_file_renameunique() could leave zero length
...
files behind.
2002-02-28 00:23:34 +00:00
Brian Wellington
9e6286de2a
add dst_key_privatefrombuffer(), which coverts a public key into a private
...
key.
2002-02-27 22:12:06 +00:00
Mark Andrews
f82e386bfc
remove dead code
2002-02-27 04:05:02 +00:00
Mark Andrews
27269e9dd4
pullup from BIND 8:
...
1212. [port] libbind: 64k answer buffers were causing stack space
to be exceeded for certian OS. Use heap space instead.
2002-02-27 04:03:11 +00:00
Mark Andrews
f38c274c21
1211. [bug] dns_name_fromtext() incorrectly handled certian
...
valid octal bitlabels. [RT #2483 ]
2002-02-26 12:43:38 +00:00
Mark Andrews
2e8d4fabc2
#1204 failed to set sin_len
2002-02-26 05:03:10 +00:00
Mark Andrews
84ef147b1f
pullup:
...
1210. [bug] libbind: getnameinfo() failed to lookup IPv4 mapped /
compatible addresses. [RT #2461 ]
2002-02-26 03:15:00 +00:00
Brian Wellington
f9f2e770a9
add REQUIREs
2002-02-21 23:51:49 +00:00
Andreas Gustafsson
3806b4e01e
removed unused struct field isc_lex_t::options
2002-02-21 20:04:01 +00:00
Mark Andrews
fcde24ec36
LOGIT not LOGITFILE
2002-02-21 01:00:41 +00:00
Brian Wellington
26bb3b1733
oops, forgot to assign lctx->keep_lex.
2002-02-21 00:56:14 +00:00
Mark Andrews
fc7fbdf6e6
1208. [bug] dns_master_load*() failed to log a error message if
...
an error was detected when parsing the ownername of
a record. [RT #2448 ]
2002-02-21 00:51:22 +00:00
Brian Wellington
011dc51eee
dns_master_loadlexer[inc], to load master files from existing lexers
2002-02-21 00:45:11 +00:00
Brian Wellington
02e5f92113
isc_lex_setsourcename(), for use when lexing buffers or streams
2002-02-21 00:44:16 +00:00
Brian Wellington
8cf24d101a
add dns_rdataslab_tordataset()
2002-02-20 22:57:13 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Andreas Gustafsson
6a8832f784
There are four "i":s in "initialize"
2002-02-20 01:45:15 +00:00
Brian Wellington
8d87d1d81c
DNS_R_NOMEM -> ISC_R_NOMEMORY
2002-02-19 23:46:32 +00:00
Andreas Gustafsson
2d6ff29a07
spelling
2002-02-19 22:58:29 +00:00
Mark Andrews
3023a2fb9d
Don't mark a server as not supporting a EDNS on SERVFAIL. There are too
...
many other potential causes.
2002-02-19 06:16:36 +00:00
Mark Andrews
986be654fe
pullup from BIND8:
...
1207. [bug] libbind: getaddrinfo() could call freeaddrinfo() with
an invalid pointer.
2002-02-19 03:45:07 +00:00
Danny Mayer
966cd6ced9
Undo previous checkin which was for v9_2 branch
2002-02-19 03:04:26 +00:00
Mark Andrews
c26c65b7a0
1206. [bug] SERVFAIL and NOTIMP responses to a EDNS should trigger
...
a non-EDNS retry.
2002-02-19 00:48:21 +00:00
Danny Mayer
e2759ff73a
Fixes for error handling that were missing in previous commit
2002-02-18 22:20:13 +00:00
Danny Mayer
b19179cdd2
Added libdns to link as check.c now references DNS functions
2002-02-18 22:04:22 +00:00
Mark Andrews
43733a83ed
1205. [bug] OPT, TSIG and TKEY cannot be used to set the "class"
...
of the message. [RT #2449 ]
2002-02-18 04:20:53 +00:00
Mark Andrews
bda64555f6
1204. [bug] libbind: res_nupdate() failed to update the name
...
servers addresses before sending the update.
2002-02-15 04:17:35 +00:00
Mark Andrews
39c2b74142
1203. [func] Report locations of previous acl and zone definitions
...
when a duplicate is detected.
2002-02-13 04:36:52 +00:00
Mark Andrews
ca9eb5fd16
memory leak
2002-02-13 03:56:57 +00:00
Mark Andrews
9727d74064
report line of previous acl definition.
2002-02-13 03:43:09 +00:00
Mark Andrews
de36c606c5
1202. [func] New functions: cfg_obj_line() and cfg_obj_file().
...
This should allow duplicate reports to identify the location of both objects.
2002-02-13 03:32:56 +00:00
Mark Andrews
d368d43ec7
Allocate and free key used to check for duplicate zones.
2002-02-12 13:17:23 +00:00
Mark Andrews
d7e2b53041
make distclean should remove "rules", "includes" and "mkdep".
2002-02-12 05:42:04 +00:00
Mark Andrews
9ef64d35b7
only issue warning if callbacks is none NULL.
2002-02-12 03:57:59 +00:00
Mark Andrews
23cb957a81
1201. [bug] Require that if 'callbacks' is passed to
...
dns_rdata_fromtext(), callbacks->error and
callbacks->warn are initalised.
2002-02-12 03:45:54 +00:00
Mark Andrews
c73c1c33ec
1193. [bug] dig +besteffort parsing didn't handle packet
...
truncation. dns_message_parse() has new flag
DNS_MESSAGE_IGNORETRUNCATION.
2002-02-12 02:10:33 +00:00
Mark Andrews
b6a0341bcb
don't reference through potentially NULL callback pointers.
2002-02-11 22:30:28 +00:00
Andreas Gustafsson
28e509b145
const correctness
2002-02-11 18:19:26 +00:00
Mark Andrews
28d8b4118d
1200. [bug] Log 'errno' that we are unable to convert to
...
isc_result_t. [RT #2404 ]
2002-02-11 05:11:07 +00:00
Mark Andrews
5d7b81d2a4
1198. [bug] OPT printing style was not consistant with the way the
...
header fields are printed. "do" was not reported if
set. Report is any of the MBZ bits are set.
2002-02-11 02:03:23 +00:00
Mark Andrews
8f63de3029
1197. [bug] Attempts to define the same acl multiple times were not
...
detected.
2002-02-11 00:46:26 +00:00
Mark Andrews
9aa1fb4861
1192. [bug] The seconds fields in LOC records were restricted
...
to three decimal places. More decimal places should
be allowed but warned about.
Paul requested that this be a warned about.
2002-02-10 23:52:26 +00:00
Brian Wellington
08102bb28c
consistency - all of the other arrays of checking-related stuff are not
...
null-terminated.
2002-02-06 06:54:31 +00:00
Mark Andrews
9ae90732df
1195. [bug] Attempts to redefine builtin acls should be caught.
...
[RT #2403 ]
2002-02-06 06:45:40 +00:00
Mark Andrews
f3222d48cc
1194. [bug] Not all duplicate zone definitions were being detected
...
at the named.conf stage. [RT #2431 ]
2002-02-06 05:58:06 +00:00
Mark Andrews
e95cc59f90
1193. [bug] best effort parsing didn't handle packet truncation.
2002-02-06 04:20:23 +00:00
Brian Wellington
60e9e70654
1024 -> DNS_NAME_FORMATSIZE
2002-02-05 21:41:31 +00:00
Brian Wellington
47db0efda1
spacing
2002-02-05 20:02:47 +00:00
Brian Wellington
8839b6acbf
clean up the shutdown "logic".
2002-02-05 19:46:30 +00:00
Brian Wellington
db462c020e
spacing
2002-02-05 19:44:55 +00:00
Brian Wellington
32dd66cc5e
spacing
2002-02-05 07:54:08 +00:00
Brian Wellington
ecb55f9962
The code for parsing non-answer messages could get confused if it saw a SIG NS
...
before an NS.
2002-02-05 01:15:21 +00:00
Danny Mayer
c6d29fbd5f
Added isc_fsaccess_changeowner function similar to the code to set file access attributes
2002-02-02 01:01:15 +00:00
Brian Wellington
18b7133679
more minor cleanups
2002-02-01 20:18:33 +00:00
Brian Wellington
23e4260821
minor cleanup
2002-02-01 20:08:56 +00:00
Andreas Gustafsson
45ddf396e9
spacing
2002-02-01 02:33:26 +00:00
Brian Wellington
9ecd36e0de
RFC 2065 -> RFC 2535
2002-01-31 01:50:46 +00:00
Brian Wellington
0062c1ddfe
1192. [bug] The seconds fields in LOC records were restricted
...
to three decimal places. More decimal places should
be allowed and silently truncated.
2002-01-27 20:52:47 +00:00
Danny Mayer
6fedbb60b2
Change freebuf flag to be local to calls to NTstrerror() and be threadsafe
2002-01-25 03:39:25 +00:00
Danny Mayer
efd263562b
Removed C++ "//" comment lines
2002-01-24 23:43:28 +00:00
Danny Mayer
d7979cbb6c
Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage.
2002-01-24 23:19:35 +00:00
Mark Andrews
db18d1997e
DNS_ZONEFLG_FLUSH was not being cleared.
...
dns_zone_flush() could return a misleading result.
If the zone was being dumped incrementaly when dns_zone_flush() was
called ensure that it gets redumped if the were still outstanding
changes.
2002-01-24 13:45:36 +00:00
Brian Wellington
b6279d0b4b
Don't freeze an already frozen zone.
2002-01-24 09:58:42 +00:00
Brian Wellington
b2ca6fd3a8
#1187 was both unclean and broken. Fix it and clean it up.
2002-01-23 08:46:40 +00:00
Mark Andrews
7e715a0fc5
alignment
2002-01-23 03:42:23 +00:00
Andreas Gustafsson
b6e20238b6
Fix RT #2309 differently, allowing rather than rejecting empty
...
also-notify clauses
2002-01-23 02:03:05 +00:00
Mark Andrews
de619d1e81
remove also-notify empty checks.
2002-01-23 01:51:16 +00:00
Andreas Gustafsson
93aba2cb04
The comment saying that the string passed to isc_log_settag()
...
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Brian Wellington
cde7dfea4c
1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
...
[RT #2394 ]
Basically, "freeze" disables dynamic updates to a zone, syncs the journal
file into the master file, and removes the journal. This allows manual
edits of a dynamic zone file without stopping the server, since the
zone is temporarily considered non-dynamic. "unfreeze" re-enables dynamic
updates to a zone.
So, instead of the old:
rndc stop
edit master file
remove journal
restart server
you can now do:
rndc freeze zone
edit master file
rndc reload zone
rndc unfreeze zone
which doesn't require stopping the server.
About everyone here at the secure dynamic update workshop wanted this.
It will be documented soon.
2002-01-22 22:05:59 +00:00
Andreas Gustafsson
915c16e8aa
typo in comment
2002-01-22 21:52:32 +00:00
Andreas Gustafsson
47af71b523
use token.value.as_textregion.base, not token.value.pointer
2002-01-22 19:31:57 +00:00
Brian Wellington
fca9cc33ad
1189. [bug] On some systems, malloc(0) returns NULL, which
...
could cause the caller to report an out of memory
error. [RT #2398 ]
2002-01-22 15:40:24 +00:00
Brian Wellington
2ca2e1a1ce
1188. [bug] Dynamic updates of a signed zone would fail if
...
some of the zone private keys were unavailable.
2002-01-22 13:04:45 +00:00
Brian Wellington
84185d19c7
1187. [bug] named was incorrectly returning DNSSEC records
...
in negative responses when the DO bit was not set.
2002-01-22 09:07:30 +00:00
Mark Andrews
5da1e589c2
pullup from BIND 8:
...
1185. [bug] libbind: don't assume statp->_u._ext.ext is valid
unless RES_INIT is set when calling res_*init().
1184. [bug] libbind: call res_ndestroy() if RES_INIT is set
when res_*init() is called.
2002-01-22 03:16:28 +00:00
Mark Andrews
852fa3b2e3
1183. [bug] Handle ENOSR error when writing to the internal
...
control pipe. [RT #2395 ]
2002-01-22 02:38:34 +00:00
Brian Wellington
8569ab045a
1182. [bug] The server could throw an assertion failure when
...
constructing a negative response packet.
2002-01-21 16:26:06 +00:00
Brian Wellington
a5c077e40c
1181. [func] Add the "key-directory" configuration statement,
...
which allows the server to look for online signing
keys in alternate directories.
2002-01-21 11:00:25 +00:00
Brian Wellington
930ecd3756
style
2002-01-21 09:47:09 +00:00
Brian Wellington
97527fc03c
1179. [func] Add SIG(0) support to nsupdate.
2002-01-21 07:59:15 +00:00
Mark Andrews
c46f10e4a1
Use as_textregion.base not as_pointer. [RT #2385 ]
2002-01-21 01:07:32 +00:00
Mark Andrews
e1c2a8b9c1
1178. [func] Follow and cache (if appropriate) A6 and other
...
data chains to completion in the additional section.
2002-01-17 00:16:30 +00:00
Brian Wellington
3a8d4a316e
openssl 0.9.6a and higher don't have the RSA locking bug that earlier versions
...
did, so don't disable precomputation. Note that while this was fixed for
RSA, other algorithms still don't do locking when performing precomputation,
and thus we still disable it.
2002-01-15 22:09:45 +00:00
Mark Andrews
b7064914ca
1177. [func] Report view when loading zones if it is not a
...
standard view (_default or _bind). [RT #2270 ]
2002-01-15 06:42:15 +00:00
Brian Wellington
6e8b843125
When parsing a hex string of unknown length, properly unget the EOL token
...
at the end. This doesn't affect any existing code, since the one caller
passes a known length, but it's still a bug.
2002-01-15 02:10:10 +00:00
Mark Andrews
b627356826
re-do:
...
1168. [bug] Empty also-notify clauses were not handled. [RT #2309 ]
2002-01-14 04:16:03 +00:00
Andreas Gustafsson
9cf6d43887
cut-and-paste-o:s
2002-01-11 01:30:32 +00:00
Mark Andrews
d073663cb4
1174. [bug] Win32: add WSAECONNRESET to the expected errors
...
from connect(). [RT #2308 ]
2002-01-10 03:50:13 +00:00
Mark Andrews
cad61731f8
1173. [bug] Potential leaks in isc_log_create() and
...
isc_log_settag(). [RT #2336 ]
2002-01-09 06:16:10 +00:00
Brian Wellington
e74100e3f4
move isc_region_compare to isc/region.[ch], not isc/buffer.[ch]
2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114
Adding function isc_region_compare and using in instead of compare_region in lib/dns
2002-01-05 07:05:28 +00:00
Mark Andrews
9c827a3997
initalise warning
...
initalise token
only print known token types.
2002-01-04 06:19:20 +00:00
Mark Andrews
adbb11147c
1170. [bug] Don't attempt to print the token when a I/O error
...
occurs when parsing named.conf. [RT #2275 ]
2002-01-04 05:42:12 +00:00
Andreas Gustafsson
6a2a7fbfd1
oops, forgot this file in last commit
2002-01-04 04:34:51 +00:00
Andreas Gustafsson
669e9657c7
Split off the named.conf grammar into a source module separate
...
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2002-01-04 02:32:16 +00:00
Mark Andrews
77467267d9
1168. [bug] Empty also-notify clauses were not handled gracefully.
...
[RT #2309 ]
2001-12-29 04:49:51 +00:00
Brian Wellington
b7dca533e0
avoid calling set_offsets() in dns_name_copy() if possible.
2001-12-28 20:59:27 +00:00
Mark Andrews
0fa218cc7c
reduce the log level of connection reset from error to info.
2001-12-27 05:07:26 +00:00
Mark Andrews
da5d1cf1b1
1164. [bug] "Not Implemented" should be reported as NOTIMP.
2001-12-19 12:16:47 +00:00
Mark Andrews
df1415d1e8
Out of date comment.
2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889
reference after free in error path.
2001-12-19 05:44:54 +00:00
Danny Mayer
13f20ab1fa
Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999
2001-12-19 03:46:57 +00:00
Mark Andrews
66291de206
1165. [bug] We were rejecting notify-source{-v6} in zone clauses.
2001-12-18 23:23:32 +00:00
Brian Wellington
0118965e19
fix large DH key generation, hopefully for the last time.
2001-12-18 06:05:41 +00:00
Mark Andrews
6c06bc591a
1164. [bug] Empty masters clauses in slave / stub zones were not
...
handled gracefully. [RT #2262 ]
2001-12-17 22:56:58 +00:00
Mark Andrews
c36f45e354
1163. [func] isc_time_formattimestamp() will now reports the year.
...
The format matches BIND 8 date stamp.
2001-12-17 02:55:06 +00:00
Andreas Gustafsson
9cec4ca6ca
1162. [bug] The allow-notify option was not accepted in slave
...
zone statements.
2001-12-13 06:31:00 +00:00
Brian Wellington
19f0d00107
check that allow-notify is only specified for slave zones
2001-12-13 06:20:40 +00:00
Mark Andrews
23fb770906
1161. [bug] named-checkzone looped on unbalanced brackets.
...
[RT #2248 ]
2001-12-13 06:13:44 +00:00
Brian Wellington
1898837a5e
Add the well-known 1536 bit prime from draft-ietf-dnsext-rfc2539bis-dhk-01.txt
2001-12-12 17:18:52 +00:00
Brian Wellington
9af8851b85
whitespace style
2001-12-12 17:09:39 +00:00
Brian Wellington
0cb27602e5
1160. [bug] Generating Diffie-Hellman keys longer than 1024
...
bits could fail. [RT #2241 ]
2001-12-12 16:43:24 +00:00
Mark Andrews
5af6873693
tag slave zones when loading
2001-12-11 20:52:41 +00:00
Mark Andrews
ff1b064f5e
1159. [bug] MD and MF are not permitted to be loaded by RFC1123.
2001-12-11 20:37:16 +00:00
Brian Wellington
efc01ed4ad
fix comment
2001-12-08 02:14:46 +00:00
Brian Wellington
708f3fd049
Added the DNS_DBFIND_FORCENXT flag to dns_db_find, which causes the lookup
...
to search for NXT records, even if the zone is not marked as secure.
2001-12-08 00:37:07 +00:00
Mark Andrews
880723fb13
1157. [func] match-clients and match-destinations now accept
...
keys. [RT #2045 ]
2001-12-06 04:38:51 +00:00
Brian Wellington
e128be1387
track the size of memory blocks when debugging is enabled.
2001-12-05 19:13:26 +00:00
Mark Andrews
e23cb8a303
RUNTIME_CHECK(dns_rdata_tostruct())
...
if isc_time_add() fails, issue warning message and retry with a half interval,
this should only happen if we are approaching time wrap around (2038 for UNIX
systems).
2001-12-05 03:21:23 +00:00
Andreas Gustafsson
ee515ce130
commented
2001-12-05 03:05:30 +00:00
Mark Andrews
fefbb64a75
1155. [func] Recover from master files being removed from under
...
us.
2001-12-04 05:17:53 +00:00
Brian Wellington
41e50ece38
add dns_name_hashbylabel() and make the rbt use it.
2001-12-04 01:32:44 +00:00
Andreas Gustafsson
5d727330e4
brace style
2001-12-03 19:44:08 +00:00
Mark Andrews
111e3433d2
1154. [bug] When scanning interfaces skip the interface
...
if address no address is configured. [RT #2176 ]
2001-12-03 04:41:42 +00:00
Brian Wellington
b7415ddd79
let isc_lex_destroy() close sources.
2001-11-30 18:26:46 +00:00
Mark Andrews
5e8f2512a6
leave isc_lex_destroy() to close any open streams.
2001-11-30 03:14:50 +00:00
Brian Wellington
2e4bec457d
Before signing with a key, make sure that it's not the public-only part.
...
A sane crypto toolkit would catch this and return an error, but openssl
unceremoniously seg faults.
2001-11-30 02:11:04 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
9ac8796f16
1152. [bug] libbind: read buffer overflows.
2001-11-30 01:19:02 +00:00
Andreas Gustafsson
242bba8991
1151. [bug] nslookup failed to check that the arguments to
...
the port, timeout, and retry options were
valid integers and in range. [RT #2099 ]
1150. [bug] named incorrectly accepted TTL values
containing plus or minus signs, such as
1d+1h-1s.
1149. [func] New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Mark Andrews
ef29912666
1147. [func] Set IPV6_IPV6ONLY on IPv6 sockets if supported by
...
the OS. listen-on-v6 { any; }; should no longer
result in IPv4 queries be accepted. Similarly
control { inet :: ... }; should no longer result
in IPv4 connections being accepted. This can be
overridden at compile time by defining
ISC_ALLOW_MAPPED=1.
2001-11-29 13:14:33 +00:00
Mark Andrews
0cfa2fb26d
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
bfbea562e6
new function dns_diff_applysilently() [RT #2157 ]
2001-11-29 00:15:35 +00:00
Brian Wellington
3638017bd3
1143. [bug] When a trusted-keys statement was present and named
...
was built without crypto support, it would leak memory.
2001-11-28 02:35:02 +00:00
Mark Andrews
6737b6ebf0
shutup bogus ambiguous else compiler warning.
2001-11-27 22:53:55 +00:00
Mark Andrews
60213f2815
1139. [func] It is now possible to flush a given name from the
...
caches via 'rndc flushname name [view]'. [RT #2051 ]
2001-11-27 04:06:17 +00:00
Mark Andrews
6c8abf481d
1138. [func] It is now possible to flush given names from the
...
cache dns_cache_flushname().
2001-11-27 03:10:32 +00:00
Mark Andrews
1e4bfff185
1137. [func] It is now possible to flush given names from the
...
adb cache dns_adb_flushname().
2001-11-27 03:00:50 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Andreas Gustafsson
4d1d37a19d
out-of-range SOA timers were silently clamped [RT #2081 ]
2001-11-26 23:51:21 +00:00
Andreas Gustafsson
751af0ee2f
duplicate code consistently
2001-11-26 23:37:24 +00:00
Danny Mayer
022dd8775a
Added dns_sdb_putrdata to list of visible functions
2001-11-22 04:33:33 +00:00
Danny Mayer
d67b892041
isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message
2001-11-22 03:08:12 +00:00
Andreas Gustafsson
d9d6d2f77f
1134. [bug] Multithreaded servers could deadlock in ferror()
...
when reloading zone files. [RT #1951 , #1998 ]
2001-11-21 22:26:46 +00:00
Mark Andrews
eb2c518a38
1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
...
without IN6_IS_ADDR_LOOPBACK. [RT #2106 ]
2001-11-21 13:06:20 +00:00
Danny Mayer
d5f394f4c4
Change strerror references to use isc__strerror [RT #1689 ]
2001-11-21 05:07:25 +00:00
Andreas Gustafsson
4f30395c97
Suppress compiler warnings about empty translation units
2001-11-20 21:28:41 +00:00
Brian Wellington
81f6192a0c
spacing
2001-11-20 18:42:26 +00:00
Andreas Gustafsson
945f7311ca
Don't return a value from isc__strerror(); it was never used, and
...
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
17453368fa
Reimplemented the built-in CHAOS zones using sdb.
2001-11-20 01:18:15 +00:00
Andreas Gustafsson
6cd7bd1fb5
spacing
2001-11-19 22:32:04 +00:00
Andreas Gustafsson
459d31fa83
consistently put the LIBDNS_EXTERNAL_DATA before the const
2001-11-19 21:34:31 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Danny Mayer
33b8775d3a
Updated to support tree organization changes and to support the lib/bind9 library code
2001-11-18 03:11:06 +00:00
Danny Mayer
74dfe6155f
Add win32 support for bind9 library
2001-11-17 03:57:12 +00:00
Mark Andrews
d1abb8bb02
1130. [bug] Out of range serial number were not being logged.
...
[RT #2076 ]
2001-11-16 10:50:00 +00:00
Brian Wellington
db0e722d83
oops, remove the other call to freehostent()
2001-11-16 06:48:22 +00:00
Brian Wellington
09ce736e9a
unitialized variable [RT #2075 ]
2001-11-16 04:43:04 +00:00
Brian Wellington
d972554740
mismatched parens, missing failure return, remove incorrect use of
...
freehostent() [RT #2075 ]
2001-11-16 04:41:58 +00:00
Andreas Gustafsson
db40c6bfdf
don't unlock the node lock in no_references() [RT #2018 ]
2001-11-16 00:17:07 +00:00
Andreas Gustafsson
307ba34fa0
1128. [func] sdb drivers can now provide RR data in either text
...
or wire format, the latter using the new functions
dns_sdb_putrdata() and dns_sdb_putnamedrdata().
(in preparation for sdb-izing the built-in CHAOS zones)
2001-11-15 20:32:05 +00:00
Brian Wellington
d9af67ef70
add RSA to the secalgs list in rdata.c (as a synonym for RSAMD5), remove the
...
special case code in dnssec-keygen to parse RSA.
2001-11-15 19:44:52 +00:00
Andreas Gustafsson
36d8518388
indentation
2001-11-15 19:06:04 +00:00
Andreas Gustafsson
3179bab5b8
extra text after #else
2001-11-15 01:58:28 +00:00
Brian Wellington
00c8cf21f0
simplify #ifdef mess
2001-11-15 01:29:42 +00:00
Andreas Gustafsson
20c21edada
deal with the NO_DATA/NO_ADDRESS mess using a bunch
...
of #ifs and #ifdefs, as recommended by Mark
2001-11-15 01:20:16 +00:00
Andreas Gustafsson
cef23f1f01
no need to include <isccfg/cfg.h>; include <isc/net.h> to define in_port_t
2001-11-15 01:04:06 +00:00
Andreas Gustafsson
06364bcf06
did not compile on systems lacking getaddrinfo() due to typos
2001-11-15 00:58:00 +00:00
Andreas Gustafsson
a79f12ba46
remove NO_ADDRESS, not NO_DATA
2001-11-15 00:53:05 +00:00
Andreas Gustafsson
78f0b08d54
duplicate switch case on systems defining NO_ADDRESS and NO_DATA with the same value
2001-11-15 00:51:10 +00:00
Andreas Gustafsson
452606f147
forgot to remove a function declaration in previous change
2001-11-14 23:15:44 +00:00
Brian Wellington
0f1938c982
set ai_socktype in the hints to getaddrinfo, so that the result doesn't
...
contain duplicate addresses.
2001-11-14 23:03:42 +00:00
Andreas Gustafsson
ca50fa0230
Partial fix for RT #2053 . The potential for deadlock still exists,
...
but it is much less likely to occur because we now only take the ADB lock when the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-14 22:32:10 +00:00
Brian Wellington
a873540eb6
When in singlethreaded mode, don't drain the event queue before exiting
...
isc_app_run(). The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Brian Wellington
b493dfe8bc
Add bind9_getaddresses(), a consistent version of the get_address function
...
from dig/host/nslookup, nsupdate, and rndc. This should make it
easier to have the various programs support multiple addresses for a hostname.
2001-11-14 22:08:38 +00:00
Andreas Gustafsson
cab27680d6
change 1077. introduced a locking hierarchy violation; fix by
...
introducing a separate lock for resolver->nfctx.
2001-11-14 22:05:05 +00:00
Brian Wellington
f109354dce
copyright
2001-11-14 22:01:40 +00:00
Andreas Gustafsson
2869504d83
1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
...
[RT #2046 ]
2001-11-14 01:31:12 +00:00
Andreas Gustafsson
138cc7f283
1121. [bug] The server could attempt to access a NULL zone
...
table if shutting down while resolving.
[RT #1587 , #2054 ]
2001-11-14 01:01:28 +00:00
Mark Andrews
ae29b66fbf
BIND 8.3 compat "suppress-initial-notify".
2001-11-13 06:57:11 +00:00
Mark Andrews
aa51fc8106
1119. [bug] Errors in options were not fatal. [RT #2002 ]
2001-11-13 06:34:59 +00:00
Mark Andrews
0316cd0c04
NODE_VALID -> DNS_RBTNODE_VALID
2001-11-13 06:19:55 +00:00
Danny Mayer
5c4e92b973
Added support for NTFS disks
2001-11-13 05:07:57 +00:00
Andreas Gustafsson
f3ca27e9fe
sizeof style
2001-11-12 19:05:39 +00:00
Andreas Gustafsson
e3e94dd137
1118. [bug] On multithreaded servers, a race condition
...
could cause an assertion failure in resolver.c
during resolver shutdown. [RT #2029 ]
2001-11-12 18:48:50 +00:00
Andreas Gustafsson
c0bf2b179a
When DNS_RBT_USEMAGIC is defined as true, do magic number
...
checking of RBT nodes
2001-11-10 01:37:44 +00:00
Brian Wellington
9fbcea8dba
install soa.h
2001-11-09 23:09:29 +00:00
Mark Andrews
3e42bdfdc9
1116. [bug] Setting transfers in a server clause, transfers-in,
...
or transfers-per-ns to a value greater than
2147483647 disabled transfers. [RT #2002 ]
2001-11-09 04:21:58 +00:00
Mark Andrews
b20eef7ab0
1115. [func] Set maximum values for cleaning-interval,
...
heartbeat-interval, interface-interval,
max-transfer-idle-in, max-transfer-idle-out,
max-transfer-time-in, max-transfer-time-out,
statistics-interval of 28 days and
sig-validity-interval of 3660 days. [RT #2002 ]
2001-11-09 03:34:55 +00:00
Andreas Gustafsson
a571ebca8b
style
2001-11-09 01:53:20 +00:00
Mark Andrews
f498427f17
theoretically potential file descriptor leak.
2001-11-09 00:37:10 +00:00
Andreas Gustafsson
bad3251d3f
Undo the parts of 1113. pertaining to the allow-update option; simplify grammar
2001-11-08 21:13:42 +00:00
Andreas Gustafsson
ea01b618d9
1114. [port] Ignore more accept() errors. [RT #2021 ]
2001-11-08 20:24:25 +00:00
Danny Mayer
afce5ee1c8
On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear
2001-11-08 03:29:05 +00:00
Brian Wellington
bcf53cf8d0
Move the memory allocation wrappers into openssl_link.c, since they're
...
openssl specific.
2001-11-07 23:03:54 +00:00
Andreas Gustafsson
78bf1ca895
1111. [bug] Multithreaded servers could deadlock processing
...
recursive queries due to a locking hieararchy
violation in adb.c. [RT #2017 ]
2001-11-07 22:40:33 +00:00
Mark Andrews
773e64ec15
try-edns is no more
2001-11-07 04:25:19 +00:00
Danny Mayer
e209942448
Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870 ]
2001-11-07 04:24:38 +00:00
Mark Andrews
be9932698b
max-adb-size is no more.
...
1073. [bug] The adb cache should also be space driven.
[RT #1915 , #1938 ]
2001-11-07 03:52:20 +00:00
Brian Wellington
51e66e5dee
missing static
2001-11-06 23:10:34 +00:00
Brian Wellington
88d64279bb
if the function table entry already exists when _init() is called, don't
...
overwrite it.
2001-11-06 22:51:00 +00:00
Brian Wellington
f368466f81
Creating a NULL KEY shouldn't trigger a "no crypto" error.
2001-11-06 22:27:52 +00:00
Brian Wellington
ba45e16a66
Clean up the implementation cleanup mechanism. Also remove ->issymmetric,
...
since it's easier to just do it in dst_api.c.
2001-11-06 20:47:59 +00:00
Brian Wellington
2f93757751
Rework the "no crypto support" test. Rather than explicitly checking whether
...
built without openssl, instead return NOCRYPTO if the algorithm is not
supported but known.
2001-11-06 18:08:07 +00:00
Brian Wellington
3bc4de1f1b
memory leaks on errors
2001-11-06 17:59:50 +00:00
Brian Wellington
7b5bf4bea4
a key could be freed twice in an unlikely error case.
2001-11-06 03:02:48 +00:00
Andreas Gustafsson
06278dd28a
grammar summary output for named maps was missing the name field
2001-11-05 22:24:31 +00:00
Andreas Gustafsson
ca08f931b9
regenerated
2001-11-05 21:36:27 +00:00
Andreas Gustafsson
569b52d136
don't try to insert the nonexistent file lib/bind/COPYRIGHT into configure.in
2001-11-05 21:34:51 +00:00
Andreas Gustafsson
ff303bcf27
Begin comments with capital letter; misc other
...
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
67145f44e5
don't say "'foo' unexpected near 'foo'" - once is enough
2001-11-05 18:21:22 +00:00
Andreas Gustafsson
7e2f4ceafa
1104. [bug] Invalid arguments to the transfer-format option
...
could cause an assertion failure. [RT #1995 ]
2001-11-05 18:19:46 +00:00
Andreas Gustafsson
0902c53969
typo in debug message [RT #1989 ]
2001-11-04 19:20:39 +00:00
Mark Andrews
50c7ddaa5e
pullup from BIND 8.3:
...
1284. [bug] struct __res_state was still broken after #1265 .
2001-11-02 23:23:34 +00:00
Andreas Gustafsson
7c6f960a20
remove empty line
2001-11-02 22:31:38 +00:00
Danny Mayer
93c498f0c6
ntfile.c now unnecessary as the iob array is now properly referenced
2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559
Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work
2001-11-02 05:02:15 +00:00
Mark Andrews
552a117791
1101. [bug] Array bounds read error in lwres_gai_strerror.
2001-11-02 00:48:06 +00:00
Andreas Gustafsson
785d1541b6
yet another in6addr_loopback change
2001-11-01 23:20:21 +00:00
Andreas Gustafsson
9f6c66e1b3
Deal with AIX defining in6addr_any but not in6addr_loopback
...
in libc, even though both are declared in <netinet/in.h>. This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Mark Andrews
9d34aaa2bd
silence compiler the same way
2001-11-01 07:15:28 +00:00
Mark Andrews
f3e4c3d6c5
1100. [bug] libbind: DNSSEC key ids were computed incorrectly.
2001-11-01 06:51:25 +00:00
Mark Andrews
6fb633bc3f
1099. [cleanup] libbind: defining REPORT_ERRORS in lib/bind/dst caused
...
compile time errors.
2001-11-01 06:24:39 +00:00
Mark Andrews
ca033e166c
1098. [bug] libbind: HMAC-MD5 key files are now mode 0600.
2001-11-01 06:11:43 +00:00
Mark Andrews
ca6cee1837
gettimeofday.h is no longer require (prototype in port_after.h).
2001-11-01 05:50:19 +00:00
Mark Andrews
c82af3a7f1
1094. [func] libbind: add support gcc's format string checking.
2001-11-01 05:15:27 +00:00
Mark Andrews
e82a62f172
spelling and order
2001-11-01 05:09:41 +00:00
Mark Andrews
f9321a16fb
1096. [func] libbind: RES_PRF_TRUNC for dig.
2001-11-01 05:07:54 +00:00
Mark Andrews
c8bedec446
1096. [func] libbind: "DNSSEC OK" (DO) support.
2001-11-01 04:59:18 +00:00
Mark Andrews
7a104af70f
1095. [func] libbind: resolver option: no-tld-query. disables
...
trying unqualified as a tld. no_tld_query is also
supported for FreeBSD compatability.
2001-11-01 04:51:00 +00:00
Mark Andrews
923de3bb9c
1094. [func] libbind: add support gcc's format string checking.
2001-11-01 04:21:15 +00:00
Mark Andrews
2359261a25
1093. [doc] libbind: miscellaneous nroff fixes.
2001-11-01 04:06:38 +00:00
Mark Andrews
769cd7d5dd
1092. [bug] libbind: get*by*() failed to check if res_init() had
...
been called.
2001-11-01 04:03:40 +00:00
Mark Andrews
6bad645917
1091. [bug] libbind: misplaced va_end().
2001-11-01 04:00:57 +00:00
Mark Andrews
11931cc68d
1090. [bug] libbind: dns_ho.c:add_hostent() was not returning
...
the amount of memory consumed resulting in garbage
address being returned. Alignment calculations were
wasting space. We wern't suppressing duplicate
addresses.
2001-11-01 03:55:57 +00:00
Mark Andrews
d91d025def
1089. [func] libbind: inet_{cidr,net}_{pton,ntop}() now have IPv6
...
support.
2001-11-01 03:52:16 +00:00
Mark Andrews
985b4f1c86
1088. [port] libbind: MPE/iX C.70 (incomplete)
2001-11-01 03:49:00 +00:00
Mark Andrews
1d556695ef
1087. [bug] libbind: struct __res_state to large on 64 bit arch.
2001-11-01 03:37:18 +00:00
Mark Andrews
e9ca87459a
1086. [port] libbind: sunos: old sprintf.
2001-11-01 00:57:49 +00:00
Mark Andrews
4b711da3c2
regen
2001-11-01 00:49:46 +00:00
Mark Andrews
ca690f9802
1085. [port] libbind: solaris: sys_nerr and sys_errlist do not
...
exist when compiling in 64 bit mode.
2001-11-01 00:48:05 +00:00
Mark Andrews
137a1f98e3
1084. [cleanup] libbind: gai_strerror() re-written.
2001-11-01 00:30:41 +00:00
Andreas Gustafsson
65775fe205
1081. [bug] Multicast queries were incorrectly identified
...
based on the source address, not the destination
address.
(from JINMEI Tatuya)
2001-10-31 01:24:58 +00:00
Andreas Gustafsson
30e3e23338
replaced the name RLIMIT_NOFILE by WIN32_MAX_OPEN_FILES, since
...
it was used for something completely unrelated to the Unix meaning of
RLIMIT_NOFILE
2001-10-31 00:32:42 +00:00
Mark Andrews
bc508906db
1078. [bug] We failed to correct bad tv_usec values in one case.
...
[RT #1966 ]
2001-10-30 02:39:33 +00:00
Andreas Gustafsson
b352902413
1077. [func] Do not accept further recursive clients when
...
the total number of of recursive lookups being
processed exceeds max-recursive-clients, even
if some of the lookups are internally generated.
[RT #1915 , #1938 ]
2001-10-29 19:02:48 +00:00
Mark Andrews
72e8c079c4
1076. [bug] A badly defined global key could trigger an assertion
...
on load/reload if views were used. [RT #1947 ]
2001-10-29 06:09:05 +00:00
Andreas Gustafsson
7923de0ddd
consistently begin debug log messages with a lower case letter
2001-10-27 00:32:31 +00:00
Andreas Gustafsson
d3f58baf38
log a debug log message when reaching a memory water mark
2001-10-27 00:29:35 +00:00
Andreas Gustafsson
6b07de6abf
document the rdatasetheader next and down pointers
2001-10-27 00:27:54 +00:00
Andreas Gustafsson
c8ab83c08e
1075. [bug] Out-of-range network prefix lengths were not
...
reported. [RT #1954 ]
2001-10-26 19:35:03 +00:00
Danny Mayer
7e7bede4bd
Fix indentation
2001-10-26 02:29:43 +00:00
Danny Mayer
339335189b
Added support for max open files for Win32
2001-10-26 01:25:29 +00:00
Andreas Gustafsson
4e57d3ff7d
1074. [bug] Running out of memory in dump_rdataset() could
...
cause an assertion failure. [RT #1946 ]
2001-10-25 23:18:05 +00:00
Brian Wellington
06289aeea8
comment fix
2001-10-25 21:39:48 +00:00
Andreas Gustafsson
66bea4d912
if() condition in check_expire_entry did not have
...
the effect I think was intended due to operator precedence: || binds tighter than ?:.
Rewrote it without :?.
2001-10-25 17:47:16 +00:00
Brian Wellington
6a4c22bc4d
style
2001-10-25 17:07:21 +00:00
Mark Andrews
081cff0c33
1073. [bug] The adb cache should also be space driven,
...
max-adb-size. [RT #1915 , #1938 ]
2001-10-25 04:57:46 +00:00
Mark Andrews
a7cb695600
1070. [bug] Copy DNSSEC OK (DO) to response as specified by
...
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Andreas Gustafsson
897f762e3c
Fixed a race condition in the new request retransmission code:
...
if a machine is slow or busy enough, the retransmission timer could theoretically fire
again before the first transmission has finished. This could cause us to lose track
of whether a send is in progress or not, since that information is stored in a boolean
flag (DNS_REQUEST_F_SENDING), not a counter
2001-10-23 23:10:14 +00:00
Andreas Gustafsson
1a32d316dd
add a version.h for liblwres, too
2001-10-23 18:45:53 +00:00
Andreas Gustafsson
1ae369c9d2
some variables that should have been static weren't
2001-10-23 01:49:35 +00:00
Mark Andrews
3476dfe9d7
mutex leak
2001-10-23 01:21:44 +00:00
Andreas Gustafsson
ce3c351d81
eliminated race condition in water() [RT #1932 ]
2001-10-23 00:56:33 +00:00
Andreas Gustafsson
40a31ba506
strerror.c did not compile if HAVE_STRERROR was not defined
2001-10-22 22:17:30 +00:00
Andreas Gustafsson
8bdf7f2972
stdtime.@O@ was listed twice in OBJS
2001-10-22 21:37:28 +00:00
Andreas Gustafsson
a9bc22bf37
if() statement needs braces after isc__strerror() call added
2001-10-22 20:57:41 +00:00
Andreas Gustafsson
3931325c6d
spacing
2001-10-22 18:18:34 +00:00
Mark Andrews
1255d388f0
1067. [func] Allow quotas to be soft, isc_quota_soft().
2001-10-22 07:09:25 +00:00
Mark Andrews
31d3464c0c
1065. [func] Runtime support to select new / old style interface
...
scanning using ioctls.
2001-10-22 04:01:32 +00:00
Mark Andrews
ea7b38cd1e
1063. [bug] libbind: irix "make install" was failing.
2001-10-22 00:40:47 +00:00
Mark Andrews
31e12a627d
add
2001-10-22 00:32:56 +00:00
Andreas Gustafsson
b8685833f1
expand the qstringornone type in the grammar summary
2001-10-19 18:08:27 +00:00
Andreas Gustafsson
0e27dac042
spacing
2001-10-19 01:29:41 +00:00
Andreas Gustafsson
059a29a179
when using the system malloc, isc__mempool_get(), isc__mempool_put(),
...
and isc_mempool_destroy() failed to update memory statistics. [RT #1915 ]
2001-10-19 01:29:09 +00:00
Andreas Gustafsson
eb7f938194
style
2001-10-19 00:38:18 +00:00
Andreas Gustafsson
dfafc36515
style
2001-10-19 00:17:17 +00:00
Mark Andrews
07eaf0b8d0
1060. [func] Move UDP retry processing into dns_request.
2001-10-18 06:12:04 +00:00
Mark Andrews
cf70df7d0e
1059. [func] dns_request now support will now retry UDP queries,
...
dns_request_createvia2() and dns_request_createraw2().
2001-10-18 06:09:39 +00:00
Mark Andrews
9234d92d4e
1058. [func] Limited lifetime ticker timers are now available,
...
isc_timertype_limited.
2001-10-18 06:06:13 +00:00
Andreas Gustafsson
86a292d459
added more logging to help track down RT #1912 if not fixed by previous commit
2001-10-18 01:48:35 +00:00
Andreas Gustafsson
937ccb270e
The call to incremental_cleaning_action() added to cleaning_timer_action()
...
in revision 1.40 is clearly incorrect. If the cleaner is already in the busy state, a call to
incremental_cleaning_action() has already been scheduled as an event, and there is no
need to do an extra call. Furthermore, the call passed the timer event as an argument
to incremental_cleaning_action(), which would ultimately cause it to be passed
to end_cleanin() and assigned to cleaner->resched_event rather than freed.
This commit may or may not fix RT #1912 .
2001-10-18 01:40:56 +00:00
Andreas Gustafsson
dcfc52bbba
Added a version.h file for each library; made version
...
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
3c3fe07225
1055. [func] Version and hostname queries can now be disabled
...
using "version none;" and "hostname none;",
respectively.
(for consistency with "pid-file none" and each other)
2001-10-16 22:18:59 +00:00
Andreas Gustafsson
8d2b885018
The option for disabling the PID file is now pid-file none, not pid-file "none"
2001-10-16 20:04:41 +00:00
Mark Andrews
c8b58baa78
Change #1042 was incomplete. cfg_categories and cfg_modules need to be
...
visible outside of the DLL.
2001-10-16 05:28:14 +00:00
Mark Andrews
1094dec52a
1052. [bug] Journals were not being created in binary mode
...
resulting in "journal format not recognized" error
under Windows NT/2000. [RT #1889 ]
2001-10-15 04:47:55 +00:00
Andreas Gustafsson
b38ab99bdc
patch from Danny:
...
Fixed formattimestamp to use locale specific dates and times, the same way
as Unix format
2001-10-13 01:57:37 +00:00
Andreas Gustafsson
6e93e6ea45
if the sdb lookup function fails at the zone origin for reasons other
...
than nonexistence of the domain name, the failure should be propagated
to the caller
2001-10-13 01:37:58 +00:00
Andreas Gustafsson
01818a424a
document return value of the sdb lookup function
2001-10-13 01:32:34 +00:00
Andreas Gustafsson
62a3dbe63e
1050. [bug] Log messages reporting malformed IP addresses in
...
address lists such as that of the forwarders option
failed to include the correct error code, file
name, and line number. [RT #1890 ]
2001-10-12 22:00:31 +00:00
Andreas Gustafsson
e69b9ffb0f
1048. [bug] Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
...
didn't work.
2001-10-12 00:35:11 +00:00
Mark Andrews
ada9b8ab20
1045. [bug] It was possible to skip saving glue for a nameserver
...
for a stub zone.
2001-10-11 06:12:42 +00:00
Mark Andrews
3a92768cad
1044. [buf] Specifying allow-transfer, notify-source or
...
notify-source-v6 in a stub zone was not treated as
a error.
2001-10-11 04:52:21 +00:00
Andreas Gustafsson
bb60abb445
1043. [bug] Specifying a transfer-source or transfer-source-v6
...
option in the zone statement for a master zone was
not treated as an error. [RT #1876 ]
2001-10-11 01:55:03 +00:00
Andreas Gustafsson
024face21c
1042. [bug] The "config" logging category did not work properly.
...
[RT #1873 ]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
78d811f8fb
spacing
2001-10-11 01:07:50 +00:00
Andreas Gustafsson
247b6de61b
Some comments referred to DNS_R_NOTVERIFIEDYET as
...
DNS_R_SIGNOTVERIFIEDYET
2001-10-10 21:39:16 +00:00
Mark Andrews
13f2c161db
1039. [bug] We cached an incorrect negative response if there were
...
CNAMES in the answer section. [RT#1862]
2001-10-10 04:11:32 +00:00
Brian Wellington
173a45b43c
fix assertion in tkey code [RT #1866 ]
2001-10-09 17:26:33 +00:00
Mark Andrews
3fc4c1434d
1037. [bug] We failed to reject some self inconsistant answers.
...
[RT #1862 ]
2001-10-09 08:03:32 +00:00
Andreas Gustafsson
6c6ceac1bc
reverted incorrect commit
2001-10-08 18:58:11 +00:00
Mark Andrews
df7596a03e
1032. [func] hostname.bind/txt/chaos now returns the name of
...
the machine hosting the nameserver. This is useful
in diagnosing problems with anycast servers.
2001-10-08 07:46:11 +00:00
Danny Mayer
f3fcde886c
Fixed formattimestamp to use locale specific dates and times, the same way as Unix format
2001-10-08 01:20:08 +00:00
Mark Andrews
f08782f092
1031. [bug] libbind.a: isc__gettimeofday() infinite recursion.
...
[RT #1858 ]
2001-10-08 00:33:45 +00:00
Danny Mayer
4186249fea
Eliminate unnecessary macro and increase buffer length MAX_NAME_LENGTH
2001-10-06 01:10:06 +00:00
Danny Mayer
5ea492b94d
Restore Andrea's changes along with the updates
2001-10-05 22:25:54 +00:00
Bob Halley
8db00cd940
add
2001-10-05 20:57:24 +00:00
Danny Mayer
49d23a92a9
Check for malloc out-of-memory conditions, changed return codes to provide more meaningful error codes. Minor cleanup
2001-10-05 05:51:50 +00:00
Brian Wellington
61e30d3194
the wrong result code was checked [RT #1847 ]
2001-10-04 18:22:57 +00:00
Mark Andrews
b09f4e054c
1025. [bug] Don't use multicast addresses to resolve iterative
...
queries. [RT #101 ]
2001-10-03 07:43:03 +00:00
Mark Andrews
40dd9cb8cc
1024. [port] HP and Sun decided to use the same macros and
...
structures for different things.
2001-10-03 05:08:32 +00:00
Andreas Gustafsson
6bebabb376
Also disallow creation of TYPE0 records from wire data
2001-10-03 00:51:38 +00:00
Andreas Gustafsson
de5247ae16
Disallow creation of TYPE0 records from master files, since the server reserves type 0 for
...
internal purposes related to negative caching
2001-10-02 23:33:04 +00:00
Mark Andrews
c54091c8ed
IPv6 addresses containing mapped IPv4 addresses generate the same hash
...
value as the equivalent IPv4 address. This is now true regardless of
the value of address_only. Document.
2001-10-02 06:06:15 +00:00
Andreas Gustafsson
1b8eaf4143
style
2001-10-01 20:58:51 +00:00
Andreas Gustafsson
24dd4582a2
install check.h in include/bind9, not include/isccfg
2001-10-01 20:53:48 +00:00
Andreas Gustafsson
9066d09c3e
Removed all code within #ifdef DNS_OPT_NEWCODES*.
...
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Mark Andrews
96ea98af24
1023. [func] Accept hints without TTLs.
2001-09-30 04:31:28 +00:00
Mark Andrews
54c4aa0f62
1022. [bug] Allow hints to be completely empty. [RT #1802 ]
2001-09-30 03:02:47 +00:00
Danny Mayer
37f08fab28
Timestamp was one month later than it should have been. SYSTEMTIME starts with January=1
2001-09-30 02:41:11 +00:00
Bob Halley
3e1f3de348
check.h has moved to libbind9
2001-09-29 20:00:39 +00:00
Bob Halley
6d7c0fd73b
add
2001-09-29 19:59:29 +00:00
Bob Halley
27ef660057
cfg.h and log.h are not in libbind9
2001-09-29 19:59:11 +00:00
Bob Halley
e83e8e7734
libtool is generated
2001-09-29 19:58:52 +00:00
Andreas Gustafsson
513dd4a616
style
2001-09-28 23:34:55 +00:00
Brian Wellington
ff7b9eede9
dns_tsigkey_createfromkey wasn't checking that the key algorithm matched the
...
key name.
2001-09-27 17:49:11 +00:00
Andreas Gustafsson
82c168127c
When retrying with AXFR after a failed IXFR, don't do a SOA query
...
over TCP before the AXFR request. Doing so has not been
necessary since zone maintenance using UDP SOA queries was
implemented in zone.c a long time ago.
2001-09-27 01:01:46 +00:00
Brian Wellington
c9b3f64262
fix comment
2001-09-25 22:45:02 +00:00
Danny Mayer
7e351cd18f
Added named service location in Registry
2001-09-25 01:41:43 +00:00
Danny Mayer
ecde762a60
Code to fetch list of NT Groups for a given account. This is used for retrieving privilege information and rights for an account as well as for NTFS File system and other object security
2001-09-25 01:37:02 +00:00
Mark Andrews
8296690f17
DNS_EVENT_QUERYABORTED is no longer gemerated.
2001-09-21 14:00:06 +00:00
Mark Andrews
595a14576e
1013. [bug] It was possible to cancel a query twice when marking
...
a server as bogus or by having a blackhole acl.
[RT #1776 ]
2001-09-21 13:31:55 +00:00
Brian Wellington
8f674b13e8
dns_time*_fromtext should take "const char *"s, not "char *"s.
2001-09-21 00:11:30 +00:00
Andreas Gustafsson
1299e93989
1011. [cleanup] Removed isc_dir_current().
2001-09-20 21:21:53 +00:00
Andreas Gustafsson
d6baaf3649
added INSISTs to help diagnose RT #1775
2001-09-20 16:48:20 +00:00
Mark Andrews
c2bc56dc65
Move configuration checking to libbind9.
2001-09-20 15:17:07 +00:00
Mark Andrews
ae5df22719
iadd missing const
2001-09-20 06:50:34 +00:00
Mark Andrews
ad8e6236a4
add missing const to declaration.
2001-09-20 06:50:08 +00:00
Andreas Gustafsson
01446841be
1006. [bug] If a KEY RR was found missing during DNSSEC validation,
...
an assertion failure could subsequently be triggered
in the resolver. [RT #1763 ]
2001-09-19 21:25:46 +00:00
Brian Wellington
21825a8d00
Sync up the dnssec key algorithms listed in include/dns/keyvalues.h and
...
rdata.c.
2001-09-19 00:14:48 +00:00
Andreas Gustafsson
1de63e34f1
1004. [port] Deal with recvfrom() returning EHOSTDOWN. [RT #1770 ]
2001-09-18 22:54:02 +00:00
Andreas Gustafsson
9b009c9f5a
reverted previous change since it doesn't compile after make clean
2001-09-18 18:43:16 +00:00
Mark Andrews
2bb3d8bdfe
Make casting easier in symbolic debuggers by using different names
...
for the 64 bit version.
2001-09-18 14:30:10 +00:00
Andreas Gustafsson
67298a4b2f
"data" is plural
2001-09-17 20:24:13 +00:00
Mark Andrews
36a91ab163
Don't send notifies to mapped addresses.
2001-09-17 14:04:32 +00:00
Mark Andrews
8138bb315d
The hash of IPv6 isc_sockaddr_t containing mapped IPv4 addresses should be
...
the same as the hash of the corresponding IPv4 isc_sockaddr_t.
2001-09-17 06:58:18 +00:00
Mark Andrews
f0261e88a8
check view/zone classes.
2001-09-17 02:48:58 +00:00
Danny Mayer
8423b244ec
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745 ]
2001-09-16 06:19:22 +00:00
Mark Andrews
e6f17474cb
1000. [func] Accept "HESIOD" as a alias for class "HS".
2001-09-16 05:27:04 +00:00
Mark Andrews
5fe1a246cf
replace common code in dns_journal_commit by calling index_to_disk().
...
remove redundant call to index_to_disk() from dns_journal_compact().
2001-09-15 07:16:39 +00:00
Brian Wellington
4fb42a8382
unused #defines
2001-09-15 00:27:26 +00:00
Brian Wellington
36e37042c6
997. [func] Add support for RSA-SHA1 keys.
2001-09-15 00:01:58 +00:00
Andreas Gustafsson
4a20a92f4f
replaced 994. with alternative fix:
...
994. [func] Treat non-authoritative responses to queries for type
NS as referrals even if the NS records are in the
answer section, because BIND 8 servers incorrectly
send them that way. This is necessary for DNSSEC
validation of the NS records of a secure zone to
succeed when the parent is a BIND 8 server. [RT #1706 ]
2001-09-14 21:04:35 +00:00
Andreas Gustafsson
34aa790937
reverted 994.
2001-09-14 20:53:33 +00:00
Mark Andrews
56d69016f4
994. [bug] If the unsecure proof fails for unsigned NS records
...
attempt a secure proof using the NS records found as
glue to find the NS records from the zone's servers
along with associated glue rather than from parent
servers. [RT #1706 ]
2001-09-13 07:23:39 +00:00
Brian Wellington
ee3555e8c0
A message could be leaked when a segment of an incoming zone transfer
...
failed to verify.
2001-09-12 20:39:36 +00:00
Andreas Gustafsson
db3822841c
failures in dns_db_diff() could cause the server to leak
...
memory
2001-09-12 18:45:02 +00:00
Andreas Gustafsson
115019ee2c
replay the journal on the initial load only,
...
as it is not needed on subsequent loads and will fail
if the zone is a newly edited zone with ixfr-on-differences
enabled
2001-09-12 18:44:54 +00:00
Mark Andrews
da4535c4b4
991. [func] Lower UDP refresh timeout messages to DEBUG(1).
2001-09-12 03:46:32 +00:00
Mark Andrews
9de04a5713
LOGIT -> LOGITFILE
2001-09-11 05:09:41 +00:00
Mark Andrews
1592bf7349
989. [bug] Report filename if $INCLUDE fails for file related
...
errors. [RT #1736 ]
2001-09-11 04:56:06 +00:00
Mark Andrews
f3352b9bec
compare: a REQUIRE() was comparing a variable against itself not agaist the
...
other arguement as it should have been.
2001-09-10 23:47:26 +00:00
Andreas Gustafsson
8cccaeaee1
New named.conf option "ixfr-from-differences" [RT #1727 ]
2001-09-08 00:21:49 +00:00
Mark Andrews
e0806ab5ed
Correct comment saying that 'max_size' is ignored.
2001-09-07 00:51:51 +00:00
Andreas Gustafsson
50a8312c9f
#define ISC_MEM_TRACKLINES 1
2001-09-06 23:03:17 +00:00
Andreas Gustafsson
f8dbd659d0
When ISC_MEM_TRACKLINES=1, don't calle {add,delete}_trace_entry()
...
for every alloc/free if neither ISC_MEM_DEBUGTRACE nor
ISC_MEM_DEBUGRECORD is turned on. This removes my
last objection to setting ISC_MEM_TRACKLINES=1 by default.
2001-09-06 23:03:01 +00:00
Andreas Gustafsson
6d858e75d4
more documentation; indentation
2001-09-06 22:13:47 +00:00
Andreas Gustafsson
fe5146716e
host-statistics is not implemented,
...
maintain-ixfr-base is obsolete [RT #1717 ]
2001-09-06 21:52:46 +00:00
Andreas Gustafsson
18159f6f60
document what ISC_MEM_DEBUG does; clarify descriptions of other
...
memory debugging options
2001-09-06 18:23:35 +00:00
Andreas Gustafsson
eb70ba210b
spacing
2001-09-06 01:06:24 +00:00
Andreas Gustafsson
847169dab2
980. [bug] Incoming zone transfers restarting after an error
...
could trigger an assertion failure. [RT #1692 ]
2001-09-05 23:02:28 +00:00
Brian Wellington
ed29aefe31
[RT #1709 ]
...
Change isc_entropy_usebestsource() to have saner semantics:
- If an invalid file is specified, an error will be returned instead of the
keyboard being used.
- If no file is specified but a random device is present, the keyboard will
be used if there is an error opening the random device.
- ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
only device used. Otherwise, passing '-r keyboard' is meaningless
on a machine with a random device, since the keyboard will not be used.
Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington
aba9f3dd7e
remove an invalid close paren
2001-09-05 21:05:36 +00:00
Andreas Gustafsson
26f327f1f5
const correctness
2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d
check return value of strftime()
2001-09-05 17:05:47 +00:00
Andreas Gustafsson
33f87146a8
needs #include <isc/print.h>
2001-09-05 17:03:42 +00:00
Andreas Gustafsson
e282509475
80 columns
2001-09-05 16:55:05 +00:00
Mark Andrews
e6e233e73f
remove extranous debugging
2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade
Call dns_master_dumpinc() for "regular" dumps.
2001-09-05 14:13:29 +00:00
Mark Andrews
ed03e26c44
Add dns_dumpctx_db() and dns_dumpctx_version().
2001-09-05 10:28:55 +00:00
Mark Andrews
7f006841fc
Assertion failure when ISC_MEM_DEBUGRECORD set.
2001-09-05 06:26:07 +00:00
Mark Andrews
1d32e01f17
testing wrong variable
2001-09-05 06:04:58 +00:00
Danny Mayer
e78a28ffb5
isc_time_formattimestamp() created static const for bad time string
2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1
isc_file_getmodtime() does not need write access to file
2001-09-05 04:17:13 +00:00
Mark Andrews
c6b5faa001
remove extraneous UNUSED().
2001-09-04 14:27:42 +00:00
Mark Andrews
9aba20edee
979. [func] Incremental master file dumping. dns_master_dumpinc(),
...
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
e8d86192fc
978. [bug] dns_db_attachversion() had an invalid REQUIRE()
...
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer
aa7638fce5
Fix some signed/unsigned mismatches when comparing offsets
2001-09-04 04:14:31 +00:00
Danny Mayer
6f2e507e7e
Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files
2001-09-04 03:22:23 +00:00
Danny Mayer
7c7b389ae0
Added isc_file_truncate routine
2001-09-04 03:10:33 +00:00
Danny Mayer
dcc35bf6a4
Previous update was missing the release version of telling how to build the resource file [RT #1668 ]
2001-09-04 03:05:55 +00:00
Mark Andrews
bae5d9fcb4
977. [bug] Improve "not at top of zone" error message.
2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96
zone_settimer() nolonger needs to calculate the interval between two times.
...
[RT #1691 ]
2001-09-03 01:21:19 +00:00
Danny Mayer
a22a4084dd
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-01 05:22:04 +00:00
Andreas Gustafsson
847ed3fccf
new configuration data type cfg_type_sizenodefault,
...
which can be a size or the string 'unlimited' but not the string
'default'. This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f
allow setting a default max-journal-size in the options or view
2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe
call the new option for setting the maximum journal
...
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Andreas Gustafsson
355cc22e32
The epoch is once again zero in Win32;
...
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson
43f117d5f0
typo in comment
2001-09-01 00:46:04 +00:00
Andreas Gustafsson
b3034d815c
isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after
2001-09-01 00:18:43 +00:00
Andreas Gustafsson
bdec94477c
isc_file_getmodtime() should call GetFileTime(), not file_stats(),
...
so that the time returned is a native win32 FILETIME
2001-09-01 00:05:38 +00:00
Andreas Gustafsson
528baec07b
removed C++ comments; comment and indentation style
2001-08-31 23:57:05 +00:00
Andreas Gustafsson
ff8cd3afa7
implemented isc_time_formattimestamp() for Win32.
...
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Andreas Gustafsson
6184f9fc1e
REQUIRE(len > 0)
2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86
added isc_time_formattimestamp() (Unix only so far);
...
call it from log.c [RT #1687 ]
2001-08-31 21:51:27 +00:00
Andreas Gustafsson
0674850fcb
in dns_zone_notifyreceive(), the variable 'now' was
...
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648
in zone_settimer(), it seems cleaner to check whether
...
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Mark Andrews
4b87939256
strerror() -> isc__strerror() [RT #1689 ]
2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107
string formats
2001-08-31 04:47:59 +00:00
Mark Andrews
cfa3ab7f89
Timers now use isc_time_t rather than isc_stdtime_t.
...
zone->expiretime now has a consistant epoch [RT #1686 ]
2001-08-31 02:01:56 +00:00
Andreas Gustafsson
39125379e5
made mkstemp() static
2001-08-30 21:16:41 +00:00
Andreas Gustafsson
faa96aba6d
removed empty line
2001-08-30 20:55:37 +00:00
Andreas Gustafsson
c2df80e759
lower case
2001-08-30 20:40:27 +00:00
Andreas Gustafsson
9ec3c7b42d
mem.c did not compile when ISC_MEM_TRACKLINES was not defined
2001-08-30 20:23:44 +00:00
Mark Andrews
6668eca26b
972. [bug] The file modification time code in zone.c was using the
...
wrong epoch. [RT #1667 ]
2001-08-30 06:48:43 +00:00
Mark Andrews
06a960c681
971. [func] 'try-edns' can be use to disable edns on all queries.
2001-08-30 05:52:18 +00:00
Mark Andrews
90989375ca
Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set.
2001-08-30 05:40:04 +00:00
Mark Andrews
bd3091eb7d
compact journals on succesful dumps to the zone file.
2001-08-30 05:24:44 +00:00
Mark Andrews
cc0a5f7142
journal-size can now be set from named.conf
2001-08-30 05:23:00 +00:00
Mark Andrews
fa59c08f71
abort transfer if SOA response is not authoritative.
2001-08-30 05:12:39 +00:00
Mark Andrews
2c64908ae0
DNS_R_NOTAUTHORITATIVE
2001-08-30 05:10:55 +00:00
Mark Andrews
53e3724e23
dns_journal_compact()
2001-08-30 05:04:18 +00:00
Mark Andrews
59251c9e9c
isc_file_truncate()
2001-08-30 04:55:36 +00:00
Mark Andrews
91579a2424
add isc_strerror to build
2001-08-30 04:49:36 +00:00
Mark Andrews
c654449ccf
isc__strerror
2001-08-30 04:33:20 +00:00
Danny Mayer
b602bf9e8b
RT #1667 . File modification dates were wrong due to the isc_time_set routine not adding back the epoch to give the absolute Windows time and isc_file_settime not correctly making the right calls to modify the file date
2001-08-30 04:31:31 +00:00
Danny Mayer
e2a35f7524
RT #1675 resolv.conf was specified to be in an invalid directory. Location was changed to be in the same etc directory as all of the other configuration files
2001-08-30 04:28:24 +00:00
Andreas Gustafsson
8068ceb2a9
The request object would fail to send its completion event
...
when the control event was delivered if a response was received between sending and delivery
of the completion event [RT #1676 ]
2001-08-29 23:52:28 +00:00
Andreas Gustafsson
9cb39bbe40
fix locking hierarchy violation [RT #1672 ]
2001-08-29 21:15:56 +00:00
Mark Andrews
7231717254
Ensure that the files contents have been synced to disk prior to renaming.
2001-08-29 05:52:49 +00:00
Danny Mayer
06b47b13db
Bug #1671 isc_time_now was erroneously calling strtime()
2001-08-29 05:13:42 +00:00
Danny Mayer
9559bf89b1
Bug #1668 resource file was missing in link
2001-08-29 05:08:58 +00:00
Mark Andrews
28fc90e6c8
#857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
...
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
9c067741f1
don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666 ]
2001-08-27 21:47:00 +00:00
Andreas Gustafsson
fba21fcab9
regenerated
2001-08-27 18:53:29 +00:00
Andreas Gustafsson
b495fd2992
each AC_MSG_CHECKING should be balanced with an
...
AC_MSG_RESULT
2001-08-27 18:52:59 +00:00
Andreas Gustafsson
c7eb99970e
consistently use single quotes around varying text
...
in log messages
2001-08-27 17:21:56 +00:00
Andreas Gustafsson
135c1c53b8
don't INSIST() that calling dns_db_find() on the root hints
...
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443
965. [bug] Using non root hints caused a rbtdb node reference
...
leak. [RT #1581 , RT #1618 ]
2001-08-27 06:10:17 +00:00
Mark Andrews
440906ce59
INSIST that the rdataset is unassociated.
2001-08-27 03:58:44 +00:00
Mark Andrews
73ac1894ea
964. [func] Warn if non root hints data is found in hints file.
2001-08-27 03:36:00 +00:00
Mark Andrews
330b421487
963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645 ]
2001-08-20 23:56:25 +00:00
Mark Andrews
9b30c8e8f0
regen
2001-08-20 07:47:05 +00:00
Mark Andrews
e22dca2a9a
962. [bug] libbind: bad "#undef", don't attempt to install
...
non-existant nlist.h. [RT #1640 ]
2001-08-20 07:44:53 +00:00
Mark Andrews
d7728fcf85
add nlist.h
2001-08-20 07:29:47 +00:00
Mark Andrews
2c0b26955e
961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
...
was not defined. [RT #1482 ]
2001-08-16 07:27:48 +00:00
Mark Andrews
2449f41e75
960. [port] liblwres failed to build on systems with support for
...
getrrsetbyname() in the OS. [RT #1592 ]
2001-08-16 06:39:33 +00:00
Mark Andrews
6f7660093e
959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584 ]
2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e
silence format warning: remove unused arg.
2001-08-12 00:12:14 +00:00
Mark Andrews
a28db387fc
full copyrights
2001-08-09 06:15:34 +00:00
Mark Andrews
2861ab6188
regen
2001-08-09 06:09:30 +00:00
Mark Andrews
8e6813696a
support running configure in a directory other than the source directory
2001-08-09 05:59:58 +00:00
Danny Mayer
51ac5c28de
Changed win32 code to remove references to named.key
2001-08-09 02:55:41 +00:00
Andreas Gustafsson
76c8294c81
format string bugs and improved format string checking [RT #1578 ]
2001-08-08 22:54:55 +00:00
Andreas Gustafsson
b21320abb5
brace style
2001-08-08 20:52:34 +00:00
Danny Mayer
66352c0a05
Added support for key for win32
2001-08-06 05:34:26 +00:00
Mark Andrews
907ec2c618
952. [bug] The server required manual intervention to serve the
...
affected zones if it died between creating a journal
and committing the first change to it.
2001-08-06 02:10:59 +00:00
Andreas Gustafsson
66ff5b7d78
cut-and-paste-o
2001-08-03 23:19:01 +00:00
Andreas Gustafsson
7dac8d231c
the server would catch an assertion failure if the key statement in rndc.key
...
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2
rndc.key support
2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d
mark rrset-order as unimplemented [RT #1561 ]
2001-08-02 23:36:23 +00:00
Danny Mayer
a59a1d313a
Updated .mak files to remove dependancies
2001-08-02 07:05:43 +00:00
Andreas Gustafsson
23a020bc13
950. [bug] Explicit TTLs did not properly override
...
due to a bug in change 834. [RT #1558 ]
2001-08-01 17:58:45 +00:00
Andreas Gustafsson
ab54086529
print detailed description of grammar of socket addresses instead
...
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
Mark Andrews
43e2ec89d8
redundate #include
2001-07-31 03:45:04 +00:00
Andreas Gustafsson
9f5a862a90
lwres.h should be installed, and net.h should not
2001-07-31 01:32:45 +00:00
Mark Andrews
c38b92000c
947. [bug] dns_rdata_soa_t had a badly name element "mname" which
...
was really the RNAME field from RFC1035. To avoid
confusion and silent errors that would occur it ther
"origin" and "mname" elements were given their correct
names "mname" and "rname" respectively, the "mname"
element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Danny Mayer
b59115de5f
Updated config information
2001-07-28 02:50:39 +00:00
Andreas Gustafsson
321fd0ceb4
in named-checkconf, pass in the complete path of named.conf
...
as NAMED_CONFFILE instead of constructing it by compile-time concatenation of NS_SYSCONFDIR
and /named.conf, to facilitate win32 support
2001-07-27 17:45:29 +00:00
Danny Mayer
0794ffffee
Added paths info
2001-07-27 05:17:39 +00:00
Danny Mayer
075a7534a8
Added path information - retry
2001-07-27 05:16:55 +00:00
Danny Mayer
61e561c2ca
Added path information
2001-07-27 05:15:27 +00:00
Andreas Gustafsson
90e289c59f
A6 has an RFC now
2001-07-26 21:34:02 +00:00
Andreas Gustafsson
657a6a6f3c
some unimplemented options were not marked as such in the grammar summary output
2001-07-26 21:27:51 +00:00
Brian Wellington
26a5f97dd8
Don't refer to keys as "TSIG keys", since they might be used for rndc only,
...
and this could be confusing.
2001-07-26 20:54:35 +00:00
Brian Wellington
ee3ab6063d
945. [func] Add the new view-specific options
...
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson
e5b18854e3
define RNDC_AUTOCONFFILE on win32 so that the code again
...
compiles on win32 and behaves like it did before.
2001-07-26 20:40:01 +00:00
Andreas Gustafsson
38f0e0520c
tabified
2001-07-26 20:31:48 +00:00
Andreas Gustafsson
dcfaeabc63
renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
...
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0
Changes to support win32
2001-07-26 03:15:16 +00:00
Brian Wellington
d81622b537
944. [func] Check for expired signatures on load.
2001-07-24 18:49:06 +00:00
Danny Mayer
b61c97cebd
Changed initialize to include void. This keeps the VC++ compiler from complaining about the isc_once_do code arguments
2001-07-24 05:23:38 +00:00
Andreas Gustafsson
831bbce008
commented trust levels
2001-07-23 17:55:37 +00:00
Andreas Gustafsson
2fa436a15c
80 columns
2001-07-23 16:58:18 +00:00
Mark Andrews
90228beed3
regen
2001-07-23 07:03:10 +00:00
Mark Andrews
af898946e4
osf 4.0 support
2001-07-23 07:02:48 +00:00
Mark Andrews
3ef9b0c10f
regen
2001-07-23 05:22:22 +00:00
Mark Andrews
a1a421899e
BSDI 4.2 support [RT #1529 ]
2001-07-23 05:21:56 +00:00
Danny Mayer
dfca19a1aa
Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations
2001-07-23 05:00:44 +00:00
Danny Mayer
1bf250400e
Make file for bindevt
2001-07-23 03:04:32 +00:00
Danny Mayer
2b9debd520
syslog for win32
2001-07-23 03:03:22 +00:00
Danny Mayer
10266aa76f
Conditionalize declaration of LIBLWRES_EXTERNAL_DATA
2001-07-23 03:01:56 +00:00
Mark Andrews
06596f0ec7
wrog prototype for getnetbyaddr_r under glibc
2001-07-23 00:48:51 +00:00
Andreas Gustafsson
33654a83db
const correctness [RT #1011 ]
2001-07-23 00:23:30 +00:00
Mark Andrews
75b3a86c57
regen
2001-07-23 00:05:04 +00:00
Mark Andrews
ab35bf14bd
osf getnetent_r changes
2001-07-23 00:04:28 +00:00
Danny Mayer
72dc0b0824
Added make file
2001-07-22 06:30:18 +00:00
Danny Mayer
1186577d90
Updated scripts and added make file
2001-07-22 06:28:49 +00:00
Danny Mayer
e056d87076
Updated scripts
2001-07-22 06:26:47 +00:00
Danny Mayer
138fc7eeba
Created makefile
2001-07-22 06:25:34 +00:00
Danny Mayer
22a0a2c432
Fixed variable declarations
2001-07-22 06:22:28 +00:00
Danny Mayer
71542eaf04
Added make file and updated scripts
2001-07-22 06:21:05 +00:00
Mark Andrews
4bec81d388
regen
2001-07-20 11:06:19 +00:00
Mark Andrews
2da0b7dfbd
942. [port] libbind: GETNETBYADDR_ADDR_T was not correctly
...
defined on some platforms.
2001-07-20 11:06:05 +00:00
Andreas Gustafsson
7faa8f35e5
coding style
2001-07-19 17:13:54 +00:00
Andreas Gustafsson
001d1ceec6
coding style
2001-07-19 16:59:32 +00:00
Brian Wellington
1cb6e8cbe4
941. [bug] The configuration checker crashed if a slave
...
zone didn't contain a masters statement. [RT #1514 ]
2001-07-19 16:29:14 +00:00
Danny Mayer
3316814025
Added support for win32
2001-07-19 06:11:31 +00:00
Mark Andrews
2033e30585
940. [bug] Double zone locking failure on error path. [RT #1510 ]
2001-07-19 05:08:03 +00:00
Mark Andrews
3489d64bde
"or equals" rather than "not equals"
2001-07-19 04:57:46 +00:00
Danny Mayer
7181165333
Add support for win32
2001-07-19 02:50:12 +00:00
Andreas Gustafsson
7ecaf69507
need <lwres/platform.h>
2001-07-18 20:14:52 +00:00
Andreas Gustafsson
3abbed44db
coding style
2001-07-18 18:29:59 +00:00
Mark Andrews
aac5a28f1f
LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h
2001-07-18 08:15:23 +00:00
Mark Andrews
964a14ad23
regen
2001-07-18 05:50:18 +00:00
Mark Andrews
f24920422d
we don't need to know about rlim_t
2001-07-18 05:49:13 +00:00
Mark Andrews
9c1a4265ad
regen
2001-07-18 05:42:07 +00:00
Mark Andrews
51bb20b0d7
report the results of "checking for socket length type..."
2001-07-18 05:40:52 +00:00
Mark Andrews
29493eee3d
paths.h
2001-07-18 05:13:27 +00:00
Danny Mayer
5236050c0f
Add support for win32
2001-07-18 02:37:15 +00:00
Andreas Gustafsson
d2a7d7e26c
all failures opening /dev/random were reported as
...
'I/O error'. This was highly confusing.
2001-07-18 01:31:13 +00:00
Brian Wellington
8b8812c41d
regen
2001-07-17 22:29:27 +00:00
Brian Wellington
5aaf43590f
lib/bind doesn't actually use linux/capability.h or sys/prctl.h
2001-07-17 22:29:16 +00:00
Andreas Gustafsson
07dcadc6e2
update_copyrights
2001-07-17 20:29:36 +00:00
Andreas Gustafsson
4954945531
coding style
2001-07-17 19:17:02 +00:00
Mark Andrews
15903c9f3a
memory allocation failure would cause INSIST(ctx->stats[i].gets == 0) failure.
...
use consistant arguement name for MEMRECORD
2001-07-17 10:02:46 +00:00
Danny Mayer
fd0ec4bfad
Initial win32 Release
2001-07-17 06:13:59 +00:00
Danny Mayer
c84e68d720
Initial win32 Release
2001-07-17 06:10:24 +00:00
Mark Andrews
0176adc7c5
937. [bug] A race when shutting down a zone could trigger a
...
INSIST() failure. [RT #1034 ]
2001-07-17 02:49:44 +00:00
Andreas Gustafsson
ba35e9924e
added isc_file_ischdiridempotent()
2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c
added unix implementation of isc_file_absolutepath()
2001-07-16 17:26:44 +00:00
Andreas Gustafsson
dee69dd3aa
renamed isc_file_getabsolutepath() to isc_file_absolutepath()
...
to be more consistent with established naming conventions
2001-07-16 17:22:17 +00:00
Andreas Gustafsson
5827c8e0a6
80 columns
2001-07-16 17:15:08 +00:00
Andreas Gustafsson
83018d6cf9
removed spurious empty line inserted in previous commit
2001-07-16 17:14:38 +00:00
Mark Andrews
ac1f768061
regen
2001-07-16 14:43:49 +00:00
Mark Andrews
47dfc702de
glibc getserv*_r()
2001-07-16 14:43:40 +00:00
Brian Wellington
cabaeca9ae
missing assertion checks
2001-07-16 09:48:05 +00:00
Mark Andrews
e88c4a4917
regen
2001-07-16 08:38:06 +00:00
Mark Andrews
101e6adfe0
glibc getproto*_r()
2001-07-16 08:37:45 +00:00
Mark Andrews
fd61f111a8
regen
2001-07-16 08:05:43 +00:00
Mark Andrews
16b5ecc6f3
glibc getnet*_r()
2001-07-16 08:05:20 +00:00
Danny Mayer
1336066b63
Added support for Win32
2001-07-16 05:48:16 +00:00
Mark Andrews
acee1ae35c
glibc prototypes
2001-07-16 05:23:28 +00:00
Mark Andrews
7c7c717788
HOST_R_SETANSWER
2001-07-16 05:17:13 +00:00
Mark Andrews
8c8d889d10
glibc prototypes for gethost*_r().
2001-07-16 05:16:33 +00:00
Danny Mayer
f621719829
Added support for Win32
2001-07-16 05:10:30 +00:00
Mark Andrews
5deaff6621
regen
2001-07-16 05:02:58 +00:00
Mark Andrews
3024819c2e
int -> size_t
2001-07-16 05:01:27 +00:00
Mark Andrews
692d2a9c7e
regen
2001-07-16 04:55:31 +00:00
Mark Andrews
4ccd54f3af
in
2001-07-16 04:54:23 +00:00
Mark Andrews
42f476472a
regen
2001-07-16 04:24:38 +00:00
Mark Andrews
6cf48dea49
glibc's gethost*_r() is different to anyone elses.
2001-07-16 04:23:00 +00:00
Andreas Gustafsson
9115330256
coding style
2001-07-16 04:09:45 +00:00
Danny Mayer
3bd4083e48
Updates to support win32
2001-07-16 03:52:14 +00:00
Mark Andrews
f73c8fffee
pullup from BIND 8:
...
1242. [bug] inet_pton() failed to reject octal input.
2001-07-16 03:31:45 +00:00
Mark Andrews
bddfe77128
936. [func] Warn when non dotted decimal quad's are used.
...
[RT #1084 ]
935. [bug] inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews
bd12be6e88
spelling
2001-07-15 23:29:48 +00:00
Andreas Gustafsson
aa0dc8d920
934. [port] Deal with systems where accept() spuriously returns
...
ECONNRESET.
2001-07-15 22:50:24 +00:00
Mark Andrews
9ec26a1862
regen
2001-07-15 22:23:13 +00:00
Mark Andrews
159b83ff18
unixware [RT #1496 ]
2001-07-15 22:20:43 +00:00
Mark Andrews
5c2551db52
regen
2001-07-14 23:16:50 +00:00
Mark Andrews
47d48791fc
933. [bug] configure failed doing libbind on platforms not
...
supported by BIND 8. [RT #1496 ]
2001-07-14 23:14:09 +00:00
Brian Wellington
b9be76ed89
lwres.h wasn't installed [RT #1494 ]
2001-07-14 18:41:33 +00:00
Andreas Gustafsson
86a733bc74
use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
...
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Mark Andrews
0792e396ea
regen
2001-07-13 02:46:21 +00:00
Mark Andrews
5e68d98eff
add libtool support to libbind [RT #1491 ]
2001-07-13 02:38:28 +00:00
Danny Mayer
c4958494a9
Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup
2001-07-12 05:58:28 +00:00
Mark Andrews
c70896e026
namespace collision [RT #1399 ]
2001-07-12 03:51:14 +00:00
Mark Andrews
39ebcd5955
#927
...
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Andreas Gustafsson
dc9b928cf6
net.h has moved
2001-07-11 21:42:25 +00:00
Brian Wellington
b6d7e96688
LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK
2001-07-11 19:12:53 +00:00
Brian Wellington
529017a705
The testing framework didn't handle T_UNTESTED at all. It also sucks.
2001-07-11 18:51:22 +00:00
David Lawrence
37aa910318
ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk
2001-07-11 05:32:55 +00:00
Mark Andrews
e9596e1fb3
927. [bug] Don't hold the zone lock for the entire dump to disk.
...
[RT #1423 ]
2001-07-11 05:20:26 +00:00
Danny Mayer
ad38e19578
Fix isabsolute for absolute path names
2001-07-11 04:32:15 +00:00
Bob Halley
c54210716e
avoid deadlock with the ADB when shutting down [RT #1324 ]
2001-07-11 01:19:56 +00:00
Brian Wellington
9a43e47721
ordering
2001-07-10 23:38:44 +00:00
Brian Wellington
3fcf6b956f
925. [cleanup] Remove openssl from the distribution; require that
...
--with-openssl be specified if DNSSEC is needed.
2001-07-10 21:40:10 +00:00
Brian Wellington
6614bac268
oops, don't return an isc_boolean_t as an isc_result_t.
2001-07-10 21:27:59 +00:00
Andreas Gustafsson
1858039a0e
spacing
2001-07-10 21:13:07 +00:00
Andreas Gustafsson
3d4d93c35b
misplaced cast could cause EDNS extended RCODE bits to be lost [RT #1483 ]
2001-07-10 20:09:24 +00:00
Andreas Gustafsson
55a96dbea0
need sys/time.h on some platforms
2001-07-10 19:54:01 +00:00
Brian Wellington
5939aa7265
wording
2001-07-10 19:08:28 +00:00
Brian Wellington
3b31ce9da9
functions can now return DST_R_NOCRYPTO
2001-07-10 19:05:53 +00:00
Andreas Gustafsson
34729dbcb3
split lwres/net.h into separate Unix and Win32 version to facilitate
...
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Andreas Gustafsson
5d97773191
rewrote isc_file_isabsolute()
2001-07-10 17:31:05 +00:00
Danny Mayer
14597c218d
Fix memory leak [RT 1478]
2001-07-10 06:27:44 +00:00
Danny Mayer
bb48ac4f81
array bounds error in isc_file_isabsolute and REQUIRE != NULL fixes [RT 1470]
2001-07-10 06:24:15 +00:00
Brian Wellington
28e2058c5f
macro style
2001-07-10 05:12:43 +00:00
Brian Wellington
9622173ccb
only create a memory pool if OPENSSL is defined.
2001-07-10 05:00:42 +00:00
Brian Wellington
4f0187f10c
DST_R_NOCRYPTO
2001-07-10 04:34:36 +00:00
Brian Wellington
bb5de15290
REQUIRE that parameters are not NULL in many functions [RT #1470 ]
2001-07-10 04:23:01 +00:00
Brian Wellington
024550401d
#if defined(OPENSSL) ==> #ifdef OPENSSL
...
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Andreas Gustafsson
a8f94d29b3
compile the version number into the isccfg and isccc libraries,
...
like we do with all other libraries
2001-07-09 22:25:29 +00:00
Andreas Gustafsson
38fed7505d
do multiple inclusion protection in all header files, and using the established ISC style
2001-07-09 21:34:44 +00:00
Andreas Gustafsson
ec4f2e859f
80 columns
2001-07-09 21:27:45 +00:00
Andreas Gustafsson
e76d4c91bf
coding style
2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1
924. [port] Extend pre-RFC2133 support. [RT #987 ]
2001-07-09 08:07:41 +00:00
Mark Andrews
de18d9daa6
regen
2001-07-09 07:35:03 +00:00
Mark Andrews
752b0c0fa7
install as ${prefix}/bind/*. [RT #1472 ]
2001-07-09 07:33:11 +00:00
Danny Mayer
36d26b9d26
add export for isc_ntfile_printf
2001-07-08 07:22:42 +00:00
Danny Mayer
11045ab3d1
code style cleanup
2001-07-08 05:16:13 +00:00
Danny Mayer
68c2ccc953
code style cleanup
2001-07-08 05:09:35 +00:00
Brian Wellington
0a2d5c9905
924. [port] Apply #910 to lib/lwres. [RT #987 ]
2001-07-07 00:03:26 +00:00
Andreas Gustafsson
f2ee3341c7
spacing
2001-07-06 22:53:48 +00:00
Andreas Gustafsson
886db6ade3
make install failed in lib/bind/include due to lack of a mkinstalldirs script
...
in lib/bind
2001-07-06 22:23:42 +00:00
Andreas Gustafsson
305795c093
finish app.h move
2001-07-06 22:12:21 +00:00
Andreas Gustafsson
1e71bc82b8
coding style
2001-07-06 21:57:22 +00:00
Andreas Gustafsson
718d6eadd4
spacing
2001-07-06 21:47:15 +00:00
Andreas Gustafsson
96ed624253
923. [bug] Multiline TSIG secrets (and other multiline strings)
...
were not accepted in named.conf. [RT #1469 ]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
ad493ef9dd
spacing
2001-07-06 20:15:08 +00:00
Andreas Gustafsson
675a191f43
moved <isc/app.h> to OS-independent include directory
2001-07-06 19:50:05 +00:00
Andreas Gustafsson
8e3366bd7c
simplified
2001-07-06 19:40:33 +00:00
Andreas Gustafsson
19b34f979c
removed initializations of nonexistent variables at Danny's request
2001-07-06 17:35:04 +00:00
Mark Andrews
221a206115
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are also broken in glibc 2.1
2001-07-06 07:25:51 +00:00
Mark Andrews
f5af89cdee
IN6_ARE_ADDR_EQUAL and IN6_IS_ADDR_UNSPECIFIED are broken in glibc 2.1
2001-07-06 06:13:19 +00:00
Danny Mayer
2c50ab702f
stat routines
2001-07-06 06:00:17 +00:00
Danny Mayer
7fb411cfd1
plaform specific header
2001-07-06 05:59:09 +00:00
Danny Mayer
b02635aa75
offset header
2001-07-06 05:58:00 +00:00
Danny Mayer
1ee7ce8fbd
win32-specific runtime path header
2001-07-06 05:57:19 +00:00
Danny Mayer
b22d62aa69
ntfile FILE replacement headers
2001-07-06 05:56:25 +00:00
Danny Mayer
bcf5804255
win32 keyboard routines
2001-07-06 05:51:45 +00:00
Danny Mayer
a0f854291f
IPv6 on Win32 header
2001-07-06 05:50:42 +00:00
Danny Mayer
12d08bf91e
win32-specific integer definitions
2001-07-06 05:49:22 +00:00
Danny Mayer
c15033634e
Initial win32 release
2001-07-06 05:48:27 +00:00
Danny Mayer
83a373fc81
BIND Event information header
2001-07-06 05:46:37 +00:00
Danny Mayer
f950ce9932
BIND registry header information
2001-07-06 05:45:21 +00:00
Danny Mayer
c5e84ff0e4
app headers
2001-07-06 05:44:32 +00:00
Danny Mayer
f210fb51ef
Version information for libisc module
2001-07-06 05:43:17 +00:00
Danny Mayer
d4cfec8537
I/O header definitions
2001-07-06 05:42:24 +00:00
Danny Mayer
39a1539c7a
Header file for win32 emulation of syslog use the event log
2001-07-06 05:40:41 +00:00
Danny Mayer
f3f064ba86
win32 emulation of syslog use the event log
2001-07-06 05:39:57 +00:00
Danny Mayer
9ecea05b89
stdio routines
2001-07-06 05:38:47 +00:00
Danny Mayer
fd61d0cab1
Initial release of socket code
2001-07-06 05:37:46 +00:00
Danny Mayer
ca5c761cde
Resources Available
2001-07-06 05:37:10 +00:00
Danny Mayer
1c456bcdb4
O/S specific code
2001-07-06 05:36:13 +00:00
Danny Mayer
72c0894efa
functions to determine locations of configuration files at runttime
2001-07-06 05:35:09 +00:00
Danny Mayer
e397736476
win32 overrides of FILE function to centralize I/O stream and avoid problems with iob array
2001-07-06 05:34:06 +00:00
Danny Mayer
48b785fe6b
win32 version of netdb.h headers
2001-07-06 05:32:44 +00:00
Danny Mayer
602f0b8e48
net routines
2001-07-06 05:30:51 +00:00
Danny Mayer
e1bdeeadb3
libisc workspace file
2001-07-06 05:29:58 +00:00
Danny Mayer
fc72de271b
libisc project file
2001-07-06 05:29:24 +00:00
Danny Mayer
1d7574a6de
Export link File
2001-07-06 05:28:32 +00:00
Danny Mayer
0b38e0a117
Keyboard Routines
2001-07-06 05:27:37 +00:00
Danny Mayer
e2d579a021
ipv6 variables initialization
2001-07-06 05:26:58 +00:00
Danny Mayer
3d8c1213d9
Interface Iteration routines
2001-07-06 05:25:20 +00:00
Danny Mayer
fc4bae7e83
header file for error routines
2001-07-06 05:24:22 +00:00
Danny Mayer
9fe3c2060d
error routines
2001-07-06 05:23:58 +00:00
Danny Mayer
a38e51e5ef
Fixed duplicate routines
2001-07-06 05:22:46 +00:00
Danny Mayer
6f5d6e3f8c
isc_app_* routines
2001-07-06 05:21:44 +00:00
Danny Mayer
1e36937976
Entry point routine for libisc
2001-07-06 05:20:33 +00:00
Danny Mayer
e35c1bb3ec
Initial win32 Release
2001-07-06 05:08:39 +00:00
Danny Mayer
2773eae702
Fix variable declarations and remove initializations
2001-07-06 02:57:40 +00:00
Danny Mayer
4da4fef481
Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses
2001-07-06 02:56:47 +00:00
Brian Wellington
ed95ebaa42
remove references to vms_idhacks.h, since VMS doesn't seem to need it.
...
[RT #1432 ]
2001-07-05 19:06:07 +00:00
Brian Wellington
b6d5ee2fb2
ignore lib/bind/timestamp and lib/bind/port/*/include/Makefile
2001-07-05 18:50:39 +00:00
Mark Andrews
c8366d92f7
add port_before.h/port_after.h
2001-07-05 06:18:43 +00:00
Mark Andrews
3b8c76cb25
regen
2001-07-05 06:13:15 +00:00
Mark Andrews
9565793aed
pullup BIND 8.
...
1239. [bug] call res_ndestroy() in net_data_destroy().
2001-07-04 08:10:23 +00:00
Mark Andrews
e598df739d
Add getnetgrent_r.c prototype
2001-07-04 05:32:42 +00:00
Mark Andrews
93373a8c3c
silence broken IN6ADDR_{ANY,LOOPBACK}_INIT macros
2001-07-04 05:18:12 +00:00
Mark Andrews
60d17e54ea
singed/unsigned
2001-07-04 04:51:05 +00:00
Mark Andrews
567fb9c5e7
silence __sputaux
2001-07-04 03:48:43 +00:00
Brian Wellington
64b92523f9
check for getc_unlocked()
2001-07-04 00:34:44 +00:00
Andreas Gustafsson
37c961df41
extra space in error message string
2001-07-03 17:12:19 +00:00
Mark Andrews
2ef189c6d7
missed one
2001-07-03 13:44:53 +00:00
Mark Andrews
7cbf7d6613
nsprom() was unused.
2001-07-03 08:11:51 +00:00
Mark Andrews
5a20525ef3
unreachable statement
2001-07-03 07:53:36 +00:00
Mark Andrews
b8c618c852
remove unreachable code.
...
move&correct error statement.
2001-07-03 07:43:02 +00:00
Mark Andrews
7fff9e8cea
unused variable
2001-07-03 06:55:04 +00:00
Mark Andrews
2b959a1fad
regen
2001-07-03 06:52:15 +00:00
Mark Andrews
7050586959
silence aix (+others) compiler warnings re accept, getsockname, getpeername,
...
recvfrom etc.
2001-07-03 06:49:55 +00:00
Mark Andrews
265c5051d7
cp was being assign from the wrong pointer
2001-07-03 06:47:32 +00:00
Mark Andrews
b0a599b02e
regen
2001-07-03 03:56:47 +00:00
Mark Andrews
a1703aa367
ISC_SOCKADDR_LEN_T
2001-07-03 03:55:42 +00:00
Andreas Gustafsson
00380255bd
regenerated
2001-07-02 21:29:16 +00:00
Andreas Gustafsson
47ad4fad77
922. [func] Added two new lwres_getrrsetbyname() result codes,
...
ERR_NONAME and ERR_NODATA.
2001-07-02 21:28:56 +00:00
Brian Wellington
5733d25b06
921. [bug] lwres returned an incorrect error code if it received
...
a truncated message.
920. [func] Increase the lwres receive buffer size to 16K.
[RT #1451 ]
2001-07-02 20:46:31 +00:00
Andreas Gustafsson
5f62432db2
removed extraneous empty line
2001-07-02 20:44:30 +00:00
Andreas Gustafsson
2b8e5a5254
errors were logged as warnings and vice versa
2001-07-02 17:48:27 +00:00
Andreas Gustafsson
207c7c1ea3
added ISC_FORMAT_PRINTF checks
2001-07-02 17:05:46 +00:00
Mark Andrews
1f90214bb4
pullup from BIND 8:
...
1236. [bug] ignore white space after address of nameserver.
2001-07-02 02:33:45 +00:00
Mark Andrews
8eca454f9f
regen
2001-07-02 02:03:54 +00:00
Mark Andrews
9e80f632c8
pullup BIND 8:
...
Solaris 2.4 (and earlier) USE_FIONBIO_IOCTL support.
2001-07-02 02:02:27 +00:00
Mark Andrews
d4e535315d
pullup from BIND 8:
...
1237. [bug] buffer overrun, access mode read.
2001-07-02 00:44:50 +00:00
Danny Mayer
cddd0ddf07
rdclass and rdtype size misdeclaration
2001-06-30 04:13:50 +00:00
Andreas Gustafsson
97e1692460
New function cfg_print_grammar(), which generates a human-readable
...
summary of the grammar for a given configuration type from its syntax
tables. Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Mark Andrews
545be70a4d
regen
2001-06-29 15:26:15 +00:00
Mark Andrews
b0b4e03da5
"make install" should now work.
2001-06-29 15:25:25 +00:00
Andreas Gustafsson
7d8c3693d0
914. [bug] Gobal 'server' statements were rejected when
...
using views, even though they were accepted
in 9.1. [RT #1368 ]
2001-06-28 21:58:54 +00:00
Andreas Gustafsson
389677e152
removed empty line
2001-06-28 21:34:54 +00:00
Andreas Gustafsson
dcc7ea9717
spacing
2001-06-28 21:34:39 +00:00
Andreas Gustafsson
60dcbecf04
Instead of choosing between memcpy and memmove at run time, call
...
memmove unconditionally since any reasonable implementation of
memmove will perform such a choice internally, and also doing it
in the caller duplicates the effort.
2001-06-28 21:34:11 +00:00
Andreas Gustafsson
b1a7fea53c
brace style
2001-06-28 21:21:39 +00:00
Brian Wellington
ff8335f908
regen
2001-06-28 17:45:05 +00:00
Brian Wellington
ea562e4401
Properly set _GNU_SOURCE on linux
2001-06-28 17:44:53 +00:00
Brian Wellington
cab94c1516
'make distclean' should remove files created by configure.
2001-06-28 17:35:49 +00:00
Mark Andrews
dee489d6c1
incremental_cleaning_action() is now re-called as a result of normal event
...
processing, not as the result of timer action.
2001-06-28 13:51:40 +00:00
Danny Mayer
f47c41b5fe
htons expects an unsigned short for the argument
2001-06-28 06:02:18 +00:00
Mark Andrews
1e34f21f4c
regen
2001-06-28 04:29:07 +00:00
Mark Andrews
93810b1ace
add aix
2001-06-28 04:27:56 +00:00
Mark Andrews
73620f726a
regen
2001-06-28 02:58:27 +00:00
Mark Andrews
c3a5709c2b
autoconf swallowed the [ ] in case statement
2001-06-28 02:57:23 +00:00
Mark Andrews
c18d42b96b
use MEM_RECORD rather than debugging > 1
2001-06-28 01:57:34 +00:00
Mark Andrews
594a685c8d
Add ISC_MEM_DEBUGGING to set default compile time flags.
...
Remember ISC_MEM_DEBUGRECORD state when isc_mem_create() is called as
it is dangerous to change this afterwards.
2001-06-28 01:51:20 +00:00
Mark Andrews
950d71eee3
allow maximum inuse memory to be tracked.
2001-06-27 23:29:29 +00:00
David Lawrence
6817b32d2c
Revert "incremental cleaning should actually clean" because it already did.
...
dns_dbiterator_setcleanmode(cleaner->iterator, ISC_TRUE) causes
dns_dbiterator_current() to do node expiry.
2001-06-27 20:18:03 +00:00
Mark Andrews
ba94ff2e56
incremental cleaning should actually clean.
...
end_cleaning wants busy not idle
2001-06-27 14:48:21 +00:00
Mark Andrews
c86b6051b6
hp cleanup
2001-06-27 12:29:41 +00:00
Danny Mayer
53bc020d74
modified to use isc_file_rename instead of rename
2001-06-27 04:37:11 +00:00
Danny Mayer
11c7a43642
type needed to be defined as dns_rdatatype_t instead of int in rdataset_totext()
2001-06-27 04:30:37 +00:00
Brian Wellington
f215881bb0
removed unnecessary const [RT #1440 ]
2001-06-27 04:21:18 +00:00
Mark Andrews
b6f0efbf3e
aix namespace collision ERR -> EV_ERRR
2001-06-27 03:55:48 +00:00
Mark Andrews
98b2d12313
rejen
2001-06-25 13:27:29 +00:00
Mark Andrews
51cb4eba54
aix & hp
2001-06-25 13:22:33 +00:00
Mark Andrews
2bc98b7d91
910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT.
2001-06-25 03:56:58 +00:00
Mark Andrews
9432c5ee8b
pullup:
...
64 bit alignment is only required on 64 bit machines
2001-06-25 00:30:46 +00:00
Mark Andrews
768d8c0ceb
_SOCKADDR_LEN
2001-06-23 04:02:24 +00:00
Mark Andrews
14c32141f7
regen
2001-06-23 03:45:35 +00:00
Mark Andrews
008616624a
extra commas
2001-06-23 03:44:11 +00:00
Mark Andrews
0cbda00d11
regen
2001-06-23 02:17:13 +00:00
Mark Andrews
bf92294d2a
osf sethostent_r
2001-06-23 02:16:13 +00:00
Mark Andrews
a4786a3117
uint#_t
2001-06-23 02:11:08 +00:00
Mark Andrews
5f229adf3a
regen
2001-06-23 02:03:26 +00:00
Mark Andrews
8264cdf2f1
add port/decunix
2001-06-23 02:02:01 +00:00
Mark Andrews
3d112f226f
regen
2001-06-23 01:50:27 +00:00
Mark Andrews
cd7564646e
OSF 5.0 setpwent_r() support
2001-06-23 01:49:21 +00:00
David Lawrence
9bfa90768a
907. [func] The ability to get entropy from either the
...
random device, a user-provided file or from
the keyboard was migrated from the DNSSEC tools
to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
Mark Andrews
de8e172e44
regen
2001-06-22 05:11:52 +00:00
Mark Andrews
7ae2ccb5d1
linux netbsd
2001-06-22 05:11:05 +00:00
David Lawrence
2d67c24744
906. [port] Separated the system independent portion of
...
lib/isc/unix/entropy.c into lib/isc/entropy.c
and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Mark Andrews
2ef3e44fc8
regen
2001-06-21 09:04:21 +00:00
Mark Andrews
45a0264e76
alternate getnetgrent_r signature
2001-06-21 09:03:16 +00:00
Mark Andrews
e481f1dd57
distclean -> config.cache
2001-06-21 08:53:15 +00:00
Mark Andrews
c288005389
add IN6ADDR_LOOPBACK_INIT
2001-06-21 08:51:21 +00:00
Mark Andrews
e2935ef152
clean/distclean to remove libbind.a
2001-06-21 08:50:34 +00:00
Mark Andrews
527302c4fe
BIND 8.3.0-T1A sync
2001-06-21 08:26:27 +00:00
Mark Andrews
74f16d58a3
regen
2001-06-21 08:04:16 +00:00
Mark Andrews
800764304d
spelling of HAVE_SOCKADDR_STORAGE
2001-06-21 08:03:21 +00:00
Mark Andrews
85bdc128fc
Relax REQUIRES() in *fromstruct() and unconditionally call
...
mem_maybedup() in *tostruct().
TXT is one or more (not zero or more) strings.
2001-06-21 04:00:47 +00:00
Andreas Gustafsson
77efdc854b
spacing; typo
2001-06-21 01:30:22 +00:00
Andreas Gustafsson
08a44b06ef
the length of the NULL record RDATA can be zero;
...
do not assert the contrary
2001-06-20 17:43:31 +00:00
Andreas Gustafsson
ac299c4f5c
Removed statements to the effect that certain functions
...
perform assertion checks. Such statements are inappropriate as they
document the implementation rather than the public interface. The
functions are not required to perform assertion checks, but the caller
is required to pass arguments that conform to the API requirements.
2001-06-18 22:56:35 +00:00
Andreas Gustafsson
d748172fd7
added one end tag too many
2001-06-18 22:11:59 +00:00
Andreas Gustafsson
86b0285d7e
missing end tags; other cleanup
2001-06-18 22:07:02 +00:00
Andreas Gustafsson
474a81662f
missing end tags; other cleanup
2001-06-18 17:56:54 +00:00
Andreas Gustafsson
19872fdfb7
convert more socket errors to specific ISC error codes, notably ECONNRESET
2001-06-15 22:07:51 +00:00
Brian Wellington
2196128fc2
When doing best-effort parsing (in dig, for example) on a message with multiple
...
questions where an unrecoverable error is seen after 2 or more questions have
been parsed, memory would be leaked from msg->namepool, and would trigger an
ENSURE() in dns_message_destroy().
2001-06-15 05:24:24 +00:00
Brian Wellington
0a9a3d8c6d
904. [bug] The server would leak memory if attempting to use
...
an expired TSIG key. [RT #1406 ]
2001-06-15 02:24:02 +00:00
Andreas Gustafsson
d1ecee17a5
remove the other blank line before .TH, too
2001-06-14 19:10:14 +00:00
Andreas Gustafsson
23ac0d8259
comments for dns_message_parse() referred to
...
nonexistent arguments
2001-06-14 18:38:48 +00:00
Mark Andrews
9a6573e16b
sys/select.h not sys/socket.h
2001-06-12 01:35:42 +00:00
Andreas Gustafsson
509ef0c871
Keep track of the number of times the system malloc() has
...
failed, to help determine whether a server crash resulted
from a bug in the handling of an out-of-memory condition
or not.
2001-06-11 20:27:16 +00:00
Andreas Gustafsson
8de7014e56
removed CVS Id from machine-generated man page files -- it is no longer needed
...
now that they are ignored by update_copyrights
2001-06-11 19:02:45 +00:00
Andreas Gustafsson
c44072c299
uninitialized pointer could potentially (but not likely)
...
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)
2001-06-11 04:26:41 +00:00
David Lawrence
eda73d8aad
redo 1.64 "potential null pointer dereference" more consistent with the style
...
of the function and file (i.e., not returning from the middle of a function)
2001-06-10 17:06:45 +00:00
David Lawrence
95e8c0f8f5
removed blank line before .TH
2001-06-10 13:58:29 +00:00
David Lawrence
2b403f22d4
Removed an obsolete XXXMLG comment, with the assent of Michael Graff.
2001-06-08 23:53:41 +00:00
David Lawrence
04260c5c48
895. [func] New function, isc_dir_current(), akin to POSIX's
...
getcwd().
2001-06-08 23:50:32 +00:00
Brian Wellington
ba9e9a88c8
The last change didn't compile due to faulty cut&paste.
2001-06-08 22:48:28 +00:00
David Lawrence
504f7802d4
893. [func] Removed isc_file_test() and added isc_file_exists()
...
for the basic functionality that was being added
with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
3b6bcedffe
891. [bug] Return an error when a SIG(0) signed response to
...
an unsigned query is seen. This should actually
do the verification, but it's not currently
possible. [RT #1391 ]
2001-06-08 19:37:29 +00:00
Andreas Gustafsson
841179549b
889. [port] Eliminated blank lines before .TH in nroff man
...
pages since they cause problems with some versions
of nroff. [RT #1390 ]
2001-06-08 19:33:02 +00:00
Brian Wellington
01535cfb3a
removed erroneous UNUSED macro
2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548
Don't die when trying to delete a nonexistent key [RT #1392 ]
2001-06-08 18:29:31 +00:00
Mark Andrews
4585aeb2cc
866. [func] Close debug only file channels when debug is set to
...
zero. [RT #1246 ]
2001-06-08 02:57:13 +00:00
Andreas Gustafsson
56877490bc
865. [bug] The new configuration parser did not allow
...
the optional debug level in a "severity debug"
clause of a logging channel to be omitted.
This is now allowed and treated as "severity
debug 1;" like it did in BIND 8.2.4, not as
"severity debug 0;" like it did in BIND 9.1.
[RT #1367 ]
2001-06-08 01:03:00 +00:00
Andreas Gustafsson
11c8a04f9b
grammar
2001-06-07 20:11:30 +00:00
Andreas Gustafsson
d358eea93e
megabytes is abbreviated MB, not mb
2001-06-07 18:31:54 +00:00
Mark Andrews
c69d61c69b
realloc -> malloc
2001-06-07 02:14:52 +00:00
Andreas Gustafsson
8b9fa5b005
redid RT #1353 fix in 1.53 so that it does not free
...
file names while they are still referenced from the parse tree
2001-06-07 01:58:49 +00:00
Brian Wellington
90c845947a
#include <time.h>
2001-06-07 00:45:35 +00:00
Mark Andrews
6cefb60af5
pullup from BIND 8
...
862. [bug] Use after realloc(), non portable pointer arithmetic in
grmerge().
2001-06-07 00:22:35 +00:00
Brian Wellington
224e84bc0e
misc. stuff related to [RT #1293 ]
2001-06-07 00:21:53 +00:00
Brian Wellington
571688b02f
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
Brian Wellington
338d559b3e
remove extraneous blank line
2001-06-06 21:02:43 +00:00
Mark Andrews
cd8c92da37
pullup from BIND8:
...
DE_CONST bind(arg 2)
2001-06-06 01:56:32 +00:00
Mark Andrews
99a8d30559
860. [func] Drop cross class glue in zone transfers.
2001-06-05 23:43:15 +00:00
David Lawrence
f991461dc1
The most notable change is that incremental_cleaning_action() will now
...
wait at least six seconds between each pass of the tree. This keeps
the CPU from being bogged down in a persistent overlimit condition, and
because it uses timers also lets the cache cleaner know right away when
the server is being shut down, so it can stop trying to clean.
Also fixed an unlocked access to cache->live_tasks in dns_cache_detach().
Also fixed a problem with repeated calls to dns_cache_setcachesize() setting
the database as not overmem, even though it might have still been in
the process of cleaning from a previous limit. Just set the new
isc_mem_setwater() limits instead and let the mem.c call water() if cleaning
needs to be either started or stopped because of the new limits.
Minor code cleanups.
2001-06-05 22:27:51 +00:00
David Lawrence
65640f401a
Removed the requirement for isc_mem_setwater() that when the callback function
...
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0. Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration). This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water.
2001-06-05 22:14:20 +00:00
Mark Andrews
92296c744e
complete the rollback
2001-06-05 09:23:14 +00:00
Mark Andrews
8af4b7042d
rollback individual RR.
2001-06-05 09:17:21 +00:00
Mark Andrews
03f91269f5
856. [func] Allow partial rdatasets to be returned in answer and
...
authority sections to help non-TCP capable clients
recover from truncation. [RT #1301 ]
2001-06-05 09:02:16 +00:00
Brian Wellington
7e93abafe6
spelling & style
2001-06-05 06:34:45 +00:00
Brian Wellington
33e49e8fdc
#include <isc/magic.h>
2001-06-05 06:34:11 +00:00
Mark Andrews
afb0a628ef
855. [bug] Stop spurious "using RFC 1035 TTL semantics" warnings.
2001-06-05 05:12:47 +00:00
Brian Wellington
17dba29ba5
854. [bug] The config parser didn't properly handle config
...
options that were specified in units of time other
than seconds. [RT #1372 ]
2001-06-04 21:51:27 +00:00
Brian Wellington
fe61fbe14e
ignore Makefiles and autoconf stuff
2001-06-04 21:48:52 +00:00
David Lawrence
163e27991b
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-04 20:57:25 +00:00
David Lawrence
92ef1a9b9d
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land
2001-06-04 19:33:39 +00:00
Brian Wellington
deb588e256
typo that caused an assertion failure [RT #1368 ]
2001-06-03 23:53:50 +00:00
Brian Wellington
c39911afea
functions returning void should not return the result of other functions
...
returning void. [RT #1372 ]
2001-06-03 19:03:37 +00:00
Mark Andrews
3042b3e271
851. [bug] Handle responses from servers which do not know
...
about IXFR.
2001-06-01 15:22:56 +00:00
Mark Andrews
989f808405
851. [cleanup] support-ixfr is obsolete, use request-ixfr.
2001-06-01 15:17:19 +00:00
Bob Halley
eba5c23154
undo 1.54, which was an accidental commit
2001-06-01 03:07:54 +00:00
Bob Halley
875542855a
update to 9.3.0, now that the 9.2 release branch has been created
2001-06-01 03:05:07 +00:00
Brian Wellington
d0b6ece407
ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS
2001-06-01 01:11:28 +00:00
Brian Wellington
59d5cc31e5
#include <dns/types.h>
2001-06-01 01:09:10 +00:00
Brian Wellington
53aba5065d
man pages were not properly installed in separate-object-dir builds
2001-06-01 00:45:04 +00:00
David Lawrence
7fe56f41ec
slight optimization for dns_rbt_findnode() when bitstrings are involved:
...
skip the hashing attempts entirely when not at the root of a level
2001-05-31 22:32:46 +00:00
David Lawrence
68f4a1696f
In dns_rbt_findnode() when using hashing, check for a bitstring after
...
each failure to find the hash_name, not just when the name has multiple labels.
2001-05-31 21:52:22 +00:00
David Lawrence
11c4f6b687
Reversed the sense of my earlier change to hmacmd5 key generation that
...
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
David Lawrence
b79e66b06d
While searching in dns_rbt_findnode(), cope with the possibility that
...
a bitstring label might be founding things from any label of a
multilabel search_name.
2001-05-31 11:03:33 +00:00
David Lawrence
64c7a503c2
ensure that INADDR_LOOPBACK is defined
2001-05-31 10:54:51 +00:00
David Lawrence
ed8daea264
enforce a minimum cache size of 2mb
2001-05-31 10:53:42 +00:00
David Lawrence
50b7860fff
new function isc_file_test() as framework for determining various attributes
...
of a pathname
2001-05-31 10:53:14 +00:00
David Lawrence
719f0c0028
A trivial change (added a blank line) so I could add the comment I
...
*wanted* to add on the last check-in.
The second argument to hmacmd5_generate is no longer unused, it is a flag
to say whether good entropy is needed or not. This change was approved
by Brian. The control channel key generator needed it to be able to do
its job all on-the-fly.
2001-05-31 10:49:28 +00:00
David Lawrence
d744418e64
hmac_link.c
2001-05-31 10:47:17 +00:00
David Lawrence
25efbc557e
set the permissions on a symmetric keyfile before anything is written to it,
...
rather than after it is closed
2001-05-31 10:45:32 +00:00
David Lawrence
fe2d25382f
don't define INADDR_LOOPBACK; isc/net.h should be ensuring it exists
2001-05-31 10:43:37 +00:00
David Lawrence
4f36774273
include <dns/soa.h> for dns_soa_serial() prototype
2001-05-31 10:38:01 +00:00
Mark Andrews
9dbbd48523
new
2001-05-31 06:13:27 +00:00
Mark Andrews
45d75e9b26
copyrights
2001-05-31 05:54:07 +00:00
Brian Wellington
6d28d54e6f
be more tolerant of blank lines
2001-05-31 00:38:07 +00:00
Brian Wellington
1969ab5360
copyright updates
2001-05-30 20:31:08 +00:00
Brian Wellington
a78196366c
move variable initialization
2001-05-29 23:07:28 +00:00
Brian Wellington
cbb781f277
uninitialized variable
2001-05-29 22:54:07 +00:00
Brian Wellington
8358be5851
uninitialized variable
2001-05-29 22:44:12 +00:00
Brian Wellington
dd0fdd4426
the array of error messages was incomplete.
2001-05-29 22:40:10 +00:00
Brian Wellington
9547c4a3f8
potential null pointer dereference
2001-05-29 22:35:54 +00:00
Brian Wellington
e2fd12f3a0
841. [bug] When sdb modules were not declared threadsafe, their
...
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Mark Andrews
b96a1d9fa3
sync multiple changes from BIND 8.
2001-05-28 08:38:32 +00:00
Mark Andrews
7ca2d9c6ed
pullup from BIND 8:
...
1175. [bug] statp->nsort could fail to be re-initialised if
resolv.conf goes away.
2001-05-28 06:36:15 +00:00
Mark Andrews
94039cf2c3
pullup from BIND 8:
...
1172. [bug] allow res_{n}update to take a single unlinked element.
2001-05-28 06:25:42 +00:00
Brian Wellington
cf74d05a50
840. [bug] The config file parser could print the wrong file
...
name if an error was detected after an included file
was parsed. [RT #1353 ]
2001-05-28 06:05:24 +00:00
Mark Andrews
3b3a726ae4
pullup from BIND 8:
...
1215. [bug] long UNIX domain control socket names were not being
printed in full.
2001-05-25 05:21:25 +00:00
Mark Andrews
ba10e25d1c
pullup from BIND 8.
...
1214. [bug] getrgnam()/getgrgid() leaked memory.
2001-05-25 03:32:40 +00:00
Mark Andrews
3dd53ffbd7
remove unnecessary call to res_nsearch() from reverse lookup path.
2001-05-22 22:53:24 +00:00
Mark Andrews
cae062ee07
#include <arpa/nameser.h> for ns_tsig_key
2001-05-22 22:51:31 +00:00
Andreas Gustafsson
508d17362c
834. [func] Accept (but warn about) master files beginning with
...
an SOA record without an explicit TTL field and
lacking a $TTL directive, by using the SOA MINTTL
as a default TTL. This is for backwards compatibility
with old versions of BIND 8, which accepted such
files without warning although they are illegal
according to RFC1035.
2001-05-22 01:44:37 +00:00
Andreas Gustafsson
e7a4f58d55
833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
...
<dns/soa.h>, and extended them to support
all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
Andreas Gustafsson
ec4df1f908
consistently use lower case in error messages
2001-05-21 22:49:24 +00:00
Brian Wellington
0716b32560
remove unnecessary const
2001-05-21 22:10:23 +00:00
Mark Andrews
1cfecfd34f
Bitstring labels are independent of DNAMEs.
...
Provide a runtime mechanism to set the IPv6 suffixes for reverse lookups.
Provide a runtime mechanism to disable each of the IPv6 reverse lookup
methods.
Provide a mechanism to free memory allocated by res_{n}init().
2001-05-21 14:31:32 +00:00
Mark Andrews
097dc0a693
add sys/types.h for FreeBSD 2.1
2001-05-18 03:02:45 +00:00
Andreas Gustafsson
1242c132a8
removed comment that was no longer correct
2001-05-17 18:14:36 +00:00
Mark Andrews
d972d65d69
add initial support for unix based platforms.
2001-05-17 06:26:01 +00:00
Andreas Gustafsson
d76b6ae2ad
isc_print_vsnprintf() could throw an assertion failure when
...
given a %lld format, causing a deadlock when logging the assertion if invoked
from the logging system. Since the %qd format does not have the bug, this only
affects platforms where the native quad format is %lld and that lack a native
vsnprintf(). The only known such platform is SunOS 5.5.1. [RT #1312 ]
2001-05-16 00:52:55 +00:00
Andreas Gustafsson
21a0926b4f
the epoch of time() is sytem dependent - use isc_stdtime_get()
...
instead [RT #1300 ]
2001-05-15 22:05:35 +00:00
Bob Halley
4e9d4ceadf
Take two of new semantics for ANY queries at zone cut points. Now doing
...
an ANY query at a zone cut point will return a delegation, except if
DNS_DBFIND_GLUEOK is set, in which case DNS_R_ZONECUT will be returned as
before. Someday it would probably be a good idea to get rid of DNS_R_ZONECUT
entirely and just return DNS_R_GLUE in that case, but I was afraid to do
that now since it might break things. These changes pass all system tests.
2001-05-15 05:35:27 +00:00
Andreas Gustafsson
0d205b805a
backed out changes to handling of DNS_DBFIND_VALIDATEGLUE
...
option in previous commit - they broke DNS_DBFIND_GLUEOK lookups,
causing several of the system tests to fail
2001-05-15 03:52:31 +00:00
Andreas Gustafsson
740ae0808f
when returning a socket error, use isc__errno2result() instead
...
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +00:00
Andreas Gustafsson
135b1206c9
don't retry UDP receives after they return an error -
...
an error return from the socket library means the library has already
decided that the error is not retryable and likely to throw
us into an infinite loop if retried
2001-05-14 23:10:19 +00:00
Andreas Gustafsson
054777a694
eliminated redundant assignments to disp->shutting_down;
...
if shutting down due to error, set disp->shutdown_why to the appropriate result
code, not to ISC_R_EOF
2001-05-14 22:07:40 +00:00
Brian Wellington
50097b38c0
830. [func] Implement 'rndc status'.
2001-05-14 20:44:16 +00:00
Bob Halley
751aa24c98
only return DNS_R_ZONECUT from secure zones
2001-05-14 19:25:59 +00:00
Brian Wellington
ecf4962155
more of 'rndc status'
2001-05-14 19:06:47 +00:00
Andreas Gustafsson
fd5847ef09
828. [bug] The errno value from recvfrom() could be overwritten
...
by logging code. [RT #1293 ]
2001-05-14 18:20:03 +00:00
Mark Andrews
2510f0bd84
axi changes
2001-05-14 07:59:46 +00:00
Mark Andrews
a9aeae8dc0
more #824 fine tuning.
...
ictx->drop is inherited when a include file is pushed.
NOTE: it is *not* restored when the include file is subsequently popped as
the current owner is restored to the state it was before the file
was pushed.
we missed setting source & line after one successful pushfile().
2001-05-14 06:22:40 +00:00
Mark Andrews
378f5abd5f
fine tune #824
2001-05-11 02:35:37 +00:00
Brian Wellington
177ede307a
minor internal reorganization (yes, this will all become clear at some point)
2001-05-10 19:07:18 +00:00
Andreas Gustafsson
a9ef485446
If IXFR fails, fall back to AXFR
2001-05-10 17:51:49 +00:00
Andreas Gustafsson
344a21e7c7
the return value of ixfr_apply() was not checked
2001-05-10 16:27:14 +00:00
Andreas Gustafsson
17ed6b7945
when subtracting a nonempty rdataset from a nonexistent rdataset
...
and the DNS_DBSUB_EXACT flag, dns_db_subtractrdataset() should return
DNS_R_NOTEXACT, not DNS_R_UNCHANGED.
2001-05-10 16:26:07 +00:00
Mark Andrews
6ddea57cb4
ais
2001-05-10 07:33:31 +00:00
Mark Andrews
9259ea7e4b
aix
2001-05-10 07:29:54 +00:00
Brian Wellington
a62b21afd3
DST_TYPE_PUBLIC|DST_TYPE_PRIVATE
2001-05-10 06:05:54 +00:00
Mark Andrews
4dad906c2f
port aix
2001-05-10 05:38:33 +00:00
Mark Andrews
84844522a2
AIX
2001-05-10 05:10:30 +00:00
Mark Andrews
ac7fa9937e
sync
2001-05-10 05:10:11 +00:00
Mark Andrews
ba4e2f658e
Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN
2001-05-10 05:09:06 +00:00
Brian Wellington
4bd95a4965
fix a cut-and-paste-o and a warning
2001-05-10 04:50:28 +00:00
Mark Andrews
2ddb88d5d4
cync: aix
2001-05-10 04:29:17 +00:00
Mark Andrews
fa358dd30f
aix
2001-05-10 04:28:22 +00:00
Mark Andrews
00c6d2626b
Add aix
2001-05-10 04:23:15 +00:00
Brian Wellington
8e4da48fa7
consolidated duplicated code for filename mangling, removed sanity checks that
...
weren't.
2001-05-09 23:04:50 +00:00
Brian Wellington
35582313f7
add dns_zt_zonecount(), which counts the number of zones in a zonetable.
2001-05-09 21:34:19 +00:00
Mark Andrews
f3dd74f1cd
ignore in no longer needed in commit.
2001-05-09 07:18:38 +00:00
Bob Halley
42dfa2455d
bump version to avoid horrible confusion
2001-05-09 06:12:52 +00:00
Mark Andrews
69d44b2f5a
825. [bug] zone.c:ns_query() detached from the wrong zone
...
reference. [RT #1263 ]
2001-05-09 05:20:28 +00:00
Mark Andrews
f08f3c6cae
824. [bug] Correct line numbers reported by dns_master_load().
...
[RT #1263 ].
2001-05-09 03:41:47 +00:00
Andreas Gustafsson
120cf12320
folded lines >80 chars; added comments; removed some unused code
2001-05-09 03:17:02 +00:00
Andreas Gustafsson
c3ebcedbe5
Add isc_file_progname(), with trivial POSIX implementation, and
...
call it from main(). A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Mark Andrews
dbd6145418
sync
2001-05-08 07:07:11 +00:00
Mark Andrews
dd9b814ace
strerror
2001-05-08 07:06:01 +00:00
Mark Andrews
1c81477123
oops2
2001-05-08 06:30:08 +00:00
Mark Andrews
8f7edcb227
more IPv6 macros
2001-05-08 06:25:30 +00:00
Mark Andrews
fcfb81e3c4
oops
2001-05-08 05:18:26 +00:00
Mark Andrews
ff8bc68af4
add various IPv6 macros
2001-05-08 05:15:13 +00:00
Mark Andrews
74186b65a3
add stdio.h
2001-05-08 04:38:28 +00:00
Mark Andrews
cf186bf745
add netbsd
2001-05-08 04:02:54 +00:00
Andreas Gustafsson
9dafd058e3
implemented 'rndc reconfig'
2001-05-07 23:34:24 +00:00
Mark Andrews
25ea25c811
undo part of bind8-823-v6-20010204a.diff
2001-05-07 06:07:44 +00:00
Danny Mayer
94ebc518d0
buffer request needs cast for win32
2001-05-06 02:24:08 +00:00
Danny Mayer
db1bfc3151
htons needs cast for win32
2001-05-06 02:23:06 +00:00
Brian Wellington
d144ea1d1c
isc_file_basename should return a (const char *)
2001-05-05 02:47:21 +00:00
David Lawrence
e40cd7f5c9
preserve a reference to the node lock across a call to no_references() in
...
detachnode
2001-05-05 02:42:38 +00:00
Andreas Gustafsson
bdb60248c3
oops, removed the wrong declaration
2001-05-04 23:57:22 +00:00
Andreas Gustafsson
a08f7f4a6c
frombuffer() was declared 'static' but defined
...
without 'static'
2001-05-04 17:57:33 +00:00
Andreas Gustafsson
2788f21727
don't install the now-nonexistent <dns/namedconf.h>
2001-05-04 17:08:43 +00:00
Brian Wellington
f2194a8ba9
implement isc_file_basename()
2001-05-03 18:59:30 +00:00
Brian Wellington
55ff3f6e65
remove prototypes for nonexistant functions [RT #1240 ]
2001-05-03 18:40:33 +00:00
Brian Wellington
3f8a9e5196
remove unused byte swapping macros and the associated non-portable includes
...
[RT #1239 ]
2001-05-03 18:38:17 +00:00
Brian Wellington
de32cbd34e
remove a cut-and-paste-o
2001-05-02 19:25:19 +00:00
Brian Wellington
d2aebe24c4
Allocate the initial buffer for rdata based on the length of the string, to
...
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
Andreas Gustafsson
af46049567
removed <dns/namedconf.h>, which pertained to the old
...
configuration parser
2001-05-02 17:39:51 +00:00
Bob Halley
1a286a6613
In certain cases, the resolver's attempts to restart an address lookup
...
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225 ]
2001-05-02 17:29:17 +00:00
Brian Wellington
3840dba289
Comment a particularly subtle bit of code.
2001-05-02 00:03:12 +00:00
Brian Wellington
05183bbc4f
Signing with a large key didn't work since the static output buffer was too
...
small; use a dynamic buffer instead. Also, comment a section
2001-05-02 00:02:28 +00:00
Andreas Gustafsson
570234616c
when following A6 chains, glue was inadvertantly ignored
2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831
commented
2001-04-30 18:27:10 +00:00
Andreas Gustafsson
1dbec28030
removed declarations of nonexistent functions
2001-04-30 18:09:31 +00:00
Tatuya JINMEI 神明達哉
931f35a927
removed one more 'ifdef INET6'.
2001-04-30 18:08:54 +00:00
Tatuya JINMEI 神明達哉
291e6be74f
some cleanups and clarifications;
...
- removed 'ifdef INET6' (libbind's getaddrinfo should always be buildable
with the INET6 part.)
- use EAI_NONAME instead of EAI_NODATA (this is an API issue. I'll raise
it at the group working on the API).
- use h_errno instead of __h_errno.
- clarification on using interface names as link IDs of IPv6 link-local
addresses. (not all OSes support this.)
2001-04-30 17:46:58 +00:00
Tatuya JINMEI 神明達哉
520717e82b
supported the IPv6 scoped addresses format.
2001-04-30 17:35:17 +00:00
Tatuya JINMEI 神明達哉
4df5fde1a7
- code clenaups (removed redundant macros/blank lines, comment clarifications
...
etc.)
- use EAI_xxx error code according to draft-ietf-ipngwg-rfc2553bis-03.
(we may still have to reconsider EAI_NODATA - this is an API issue)
2001-04-30 17:34:02 +00:00
Andreas Gustafsson
1ed0723a1f
a pointer argument used to return an "int" value into an "int"
...
variable is better defined as "int *" than "unsigned int *"
2001-04-28 01:08:07 +00:00
Andreas Gustafsson
9762fd29cc
DNAME now has an RFC
2001-04-27 21:02:01 +00:00
Mark Andrews
ecaedd50f4
817. [func] Adjust timeouts for dialup zone queries.
2001-04-27 02:34:18 +00:00
Andreas Gustafsson
5e194abb5b
814. [bug] Socket objects left over from accept() failures
...
were incorrectly destroyed, causing corruption
of socket manager data structures.
813. [bug] File descriptors exceeding FD_SETSIZE were handled
badly. [RT #1192 ]
2001-04-26 23:45:55 +00:00
Andreas Gustafsson
e482a1c91e
cache dumps now include trust levels and ncache entries
2001-04-26 21:17:56 +00:00
David Lawrence
2b5f436aeb
Make greatest_version() return an isc_result_t, which it should have
...
been doing all along since there was the possibility isc_dir_open() would
fail and overloading the return value of "0" was bad practice.
If isc_dir_open() fails in greatest_version(), make sure the path separator
is restored to the destination pathname if it was NULified before returning
the error.
The underlying problem of isc_log_open() not having the bad result of
isc_dir_open() reported anywhere will be slightly mediate by a change
to bin/named/logconf.c to test the directory. lib/isc/log.c can't really
handle it because it has no idea to where such an error should be reported,
and it only shows up during isc_log_open() as part of the isc_log_write()
family of calls, which are all void.
2001-04-25 23:59:44 +00:00
Andreas Gustafsson
cb77fe457a
"sending notifies (%u)" -> "sending notifies (serial %u)"
2001-04-24 23:03:04 +00:00
Andreas Gustafsson
0dc1e14537
alphabetized includes
2001-04-24 18:40:07 +00:00
Andreas Gustafsson
92ba2e22ae
removed extraneous quotes
2001-04-24 18:13:47 +00:00
Andreas Gustafsson
8eea877894
untabified so that program listings line up properly
...
in the nroff output
2001-04-24 18:11:27 +00:00
Andreas Gustafsson
09df6c7006
removed unnecessary includes
2001-04-24 17:57:46 +00:00
Bob Halley
38d21a360a
only reacquire the lock in no_references() if we actually gave it up
2001-04-24 17:03:54 +00:00
Andreas Gustafsson
6f118c4893
removed redundant 'i++;'
2001-04-24 00:56:17 +00:00
Mark Andrews
dab8e1d00c
enable IPv6 resolver support
2001-04-23 02:59:53 +00:00
Mark Andrews
f93659e9a2
IPv6 fixes
2001-04-23 02:59:17 +00:00
Mark Andrews
1e6276aaf8
WANT_IRS_NISGR_OBJ -> WANT_IRS_NISGR_OBJS
2001-04-23 02:57:20 +00:00
David Lawrence
ed1c40264e
sigh. do not set the lock from node->locknum until being sure node is not null
2001-04-20 21:22:09 +00:00
David Lawrence
a0e1f68e14
Now that no_references() reacquires the node lock after deleting the node,
...
all of its callers need to maintain a reference to the lock that doesn't
involve looking at node->locknum after no_references() was called.
2001-04-20 14:35:04 +00:00
Andreas Gustafsson
15254d5865
note that parsers are not reusable
2001-04-19 23:28:17 +00:00
Andreas Gustafsson
cedd0ab1e8
811. [bug] Parantheses were not quoted in zone dumps. [RT #1194 ]
2001-04-19 18:39:42 +00:00
Brian Wellington
59c85e1636
Return ISC_R_NOSPACE if the buffer isn't large enough to hold the DNS header.
2001-04-19 18:28:35 +00:00
Mark Andrews
f6c845a79b
build libbind from .o's
2001-04-18 11:08:28 +00:00
David Lawrence
f6f8d61a77
reacquire the node lock the caller held before returning from no_references()
2001-04-18 08:06:11 +00:00
Andreas Gustafsson
ebea68ec9c
regenerated man pages with pdated docbook2man-spec.pl;
...
now the function prototypes are formatted correctly
2001-04-17 18:01:53 +00:00
Brian Wellington
8c3989000a
810. [bug] The signer name in SIG records was not properly
...
downcased when signing/verifying records. [RT #1186 ]
2001-04-17 17:20:27 +00:00
David Lawrence
1bd5b8aac6
use ISC_MAGIC to define magic number
2001-04-17 14:36:45 +00:00
David Lawrence
79ed194592
sigh. always test recompile things even after a minor change. after deciding
...
to _not_ much with the lock tracing/printing facility for the last change,
i forgot to also add the new result variable back into the stack
declarations, where i had correctly put it the first time.
2001-04-17 13:42:32 +00:00
David Lawrence
8e60ba90e0
unlock the mutex when non-blocking locking is attempted and the lock is busy.
2001-04-17 04:07:38 +00:00
Brian Wellington
ec57fd24fc
The isccc headers weren't installed at all. Oops.
2001-04-16 22:50:18 +00:00
Brian Wellington
98e8f87a6d
actually list all of the headers.
2001-04-16 22:44:43 +00:00
Brian Wellington
4e56b9615f
remove the (now) redundant setting of the magic number.
2001-04-16 21:14:27 +00:00
Brian Wellington
ac6afcd0ca
809. [bug] Configuring a non-local address as a transfer-source
...
could cause an assertion failure during load.
2001-04-16 18:50:32 +00:00
David Lawrence
900d7d9c9b
forgot to actually change the macro call that needed the deconst argument
2001-04-14 00:20:07 +00:00
David Lawrence
ddb8f23a09
a different approach to shutting up compilers about an empty file, one that
...
does not cause all the compilers to complain about a variable being
defined but not used.
2001-04-13 02:26:32 +00:00
David Lawrence
0109515495
use ISC_TF() to set an isc_boolean_t
2001-04-12 22:58:34 +00:00
David Lawrence
ae6860081f
a different fix for the lwres_net_aton problem in lwres_create_addr, that
...
addresses any alignment issues that might have existed with casting
an unsigned char pointer to a struct pointer.
2001-04-12 22:45:12 +00:00
David Lawrence
79b19f175c
added a single static variable declaration to prevent compilers from
...
complainig about an effectively empty input file.
2001-04-12 22:26:41 +00:00
David Lawrence
de6fe5ebe2
cleared up a const issue with IN6_IS_ADDR_V4MAPPED on some platforms
2001-04-12 21:23:21 +00:00
David Lawrence
ceda09e07a
removed stale #define DEBUG that my own comment said I was supposed to remove.
2001-04-12 21:18:14 +00:00
David Lawrence
6f053cd485
use ISC_TF() to set an isc_boolean_t
2001-04-12 21:04:14 +00:00
David Lawrence
4ab0eb3be8
mgr was set but not used in dns_dispatch_detach(); removed it
2001-04-12 21:03:37 +00:00
David Lawrence
947295d886
warning cleanup for HPUX-10.20: trivial unsigned vs sign char pointer issues.
2001-04-12 20:39:04 +00:00
David Lawrence
7944c8c5f7
case unsigned char addrbuf pointer to struct in_addr * when used as second
...
argument to lwres_net_aton, to quiet compiler warning
2001-04-12 20:23:48 +00:00
David Lawrence
3507ae5d59
#include <time.h> for the utimes() prototype
2001-04-12 19:46:39 +00:00
Mark Andrews
d29ec04e37
checkpoint
2001-04-12 02:32:32 +00:00
Mark Andrews
2f2513df09
checkpoint
2001-04-12 02:14:22 +00:00
Mark Andrews
2fbcc2b863
<sting.h>
...
bad return from void function
2001-04-12 01:57:35 +00:00
David Lawrence
cace8ff3bd
use ISC_MAGIC to define the magic number
2001-04-12 00:37:55 +00:00
David Lawrence
383b800c62
Fixed up iteration problems related to name cleaning. In a nutshell,
...
the node at the end of a chain always needed to have its reference
count incremented, not only when the iterator was paused. [RT #1007 ]
2001-04-11 22:17:38 +00:00
David Lawrence
f3083bc781
In incremental_cleaning_action(), detach the node returned by
...
dns_dbiterator_current(). [RT #1007 ]
2001-04-11 22:15:00 +00:00
Brian Wellington
c20ffa38de
808. [func] Add 'rndc flush' to flush the server's cache.
2001-04-11 20:37:50 +00:00
Mark Andrews
e91eeda769
stdio on hpux work around
2001-04-11 08:13:11 +00:00
Mark Andrews
42ca0077ae
checkpoint
2001-04-11 04:00:21 +00:00
Mark Andrews
c57c8dd9d3
checkpoint
2001-04-11 03:49:05 +00:00
Mark Andrews
ea5aa5c36c
checkpoint
2001-04-11 03:39:01 +00:00
Mark Andrews
53e274dc39
-ld4r
2001-04-11 03:19:55 +00:00
Mark Andrews
328b31fb20
gethostbyname_r
2001-04-11 02:38:24 +00:00
Mark Andrews
8fead63972
checkpoint
2001-04-11 02:30:08 +00:00
Mark Andrews
5ae17a93cd
endhostent_r
2001-04-11 02:16:22 +00:00
Mark Andrews
2779002c16
checkpoint
2001-04-11 01:30:12 +00:00
Mark Andrews
6993f1431a
remove -Werror
2001-04-11 01:24:49 +00:00
Mark Andrews
3047ad312b
remove gcc specific -Werror
2001-04-11 01:23:48 +00:00
Mark Andrews
2b7a77a68e
807. [bug] xfrin was not ignoring the transfer-source port.
2001-04-10 23:54:03 +00:00
Brian Wellington
d4ef65050f
copyright updates
...
(note - this doesn't touch lib/bind at all. Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Andreas Gustafsson
7900390a52
Previous change turned invalid peer address returns from accept()
...
into hard errors - they should be soft errors
2001-04-10 21:48:27 +00:00
Andreas Gustafsson
a84cfaa3f2
The bug fix in socket.c 1.189 was less than ideal: if a socket
...
got wedged in a state where accept() always returns EBADF, the server would loop calling
internal_accept() repeatedly. Implemented an alternative fix where a hard
error in accept() causes an event with a nonzero result code to be sent, and
the new socket object to be freed
2001-04-10 21:38:33 +00:00
Brian Wellington
8865eeaf14
Don't log a generic "sending notifies" message if there are no servers to
...
be notified.
2001-04-10 19:19:49 +00:00
Mark Andrews
86529bb697
806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
...
the calling stack to the zone maintence level.
2001-04-10 03:05:55 +00:00
Andreas Gustafsson
abd51a9a96
removed unused label
2001-04-10 00:18:27 +00:00
Mark Andrews
e22fa3a686
hpux
2001-04-09 09:17:16 +00:00
Mark Andrews
dcab756185
Solaris 2.8 header files are broken for getnetbyaddr(). Both cases
...
of the #ifdef/#else/#endif are the same.
2001-04-09 06:06:20 +00:00
Mark Andrews
b9614c7d79
checkpoint
2001-04-09 05:02:53 +00:00
Mark Andrews
01de82c03a
checkpoint
2001-04-09 04:57:28 +00:00
Mark Andrews
6339db444a
getpwent_r
2001-04-09 04:43:16 +00:00
Mark Andrews
194a73cc32
db.h
2001-04-09 03:21:22 +00:00
Mark Andrews
897cef1269
cut&paste error
2001-04-06 07:02:34 +00:00
Mark Andrews
8957799312
checkpoint
2001-04-06 07:00:58 +00:00
Mark Andrews
0aea8f69cd
checkpoint
2001-04-06 06:22:00 +00:00
Mark Andrews
6c89ab9e56
checkpoint
2001-04-06 06:02:24 +00:00
Mark Andrews
0c05c12213
checkpoint
2001-04-06 05:58:57 +00:00
Mark Andrews
3c3d1d0e7e
checkpoint
2001-04-06 05:49:52 +00:00
Mark Andrews
225fe2c82c
checkpoint
2001-04-06 05:35:41 +00:00
Mark Andrews
da3c3119fe
add passwd suport
2001-04-05 07:01:11 +00:00
Mark Andrews
199da345a1
regen
2001-04-05 06:31:21 +00:00
Mark Andrews
8c71da6b2e
solaris/posix
2001-04-05 06:31:02 +00:00
Mark Andrews
6942af8143
posix/solaris ~!@#$
2001-04-05 06:19:32 +00:00
Brian Wellington
f8b3c62794
804. [bug] Attempting to obtain entropy could fail in some
...
situations. This would be most common on systems
with user-space threads. [RT #1131 ]
2001-04-04 20:57:35 +00:00
Mark Andrews
baa8aebc5b
regen
2001-04-04 07:09:44 +00:00
Mark Andrews
3a66cfbc4c
hack_POSIX_PTHREAD_SEMANTICS
2001-04-04 07:08:55 +00:00
Mark Andrews
ab628cb652
regen
2001-04-04 06:19:28 +00:00
Mark Andrews
9680305c8b
checkpoint
2001-04-04 06:18:40 +00:00
Mark Andrews
ce664dbd95
POSIX_GETGRGID_R
2001-04-04 06:00:57 +00:00
Mark Andrews
2c81d53b9f
regen
2001-04-04 05:57:12 +00:00
Mark Andrews
49d4440533
checkpoint
2001-04-04 05:56:10 +00:00
Mark Andrews
216a4baa50
regenerate
2001-04-04 05:45:14 +00:00
Mark Andrews
5f2308318f
checkpoint
2001-04-04 05:44:15 +00:00
Mark Andrews
441991722c
checkpoint
2001-04-04 05:32:27 +00:00
Brian Wellington
daad43e5a4
802. [bug] DNSSEC key tags were computed incorrectly in almost
...
all cases. [RT #1146 ]
2001-04-04 02:02:58 +00:00
Andreas Gustafsson
2901eed986
cfg_type_rndcconf was declared twice
2001-04-04 01:41:06 +00:00
Mark Andrews
65f67161a3
regenerate
2001-04-03 22:59:32 +00:00
Mark Andrews
605263f9e9
checkpoint
2001-04-03 22:41:38 +00:00
Mark Andrews
33f7d8bf2f
checkpoint
2001-04-03 13:46:25 +00:00
Mark Andrews
a685e49c98
checkpoint
...
cvs: ----------------------------------------------------------------------
2001-04-03 08:03:47 +00:00
Mark Andrews
c14f058cc2
checkpoint
2001-04-03 07:56:04 +00:00
Mark Andrews
7f2f148059
checkpoint
2001-04-03 07:47:22 +00:00
Mark Andrews
323b5028ef
checkpoint
2001-04-03 07:43:10 +00:00
Mark Andrews
4218e29472
checkpoint
2001-04-03 07:33:07 +00:00
Mark Andrews
8a3e0f66c1
checkpoint
2001-04-03 07:21:35 +00:00
Mark Andrews
3b371eaa5d
ALIGN
2001-04-03 07:11:35 +00:00
Mark Andrews
da3db8e2a1
getnetbyaddr_r
2001-04-03 06:52:23 +00:00
Mark Andrews
8ab9428e6b
checkpoint
2001-04-03 06:42:33 +00:00
Mark Andrews
2dafe8a9f3
missig semi-colon
2001-04-03 06:01:36 +00:00
Mark Andrews
b0d36cc22b
checkpoint
2001-04-03 05:53:02 +00:00
Mark Andrews
bd326fdc6e
checkpoint
2001-04-03 02:53:40 +00:00
Mark Andrews
4d8800e571
checkpoint
2001-04-03 02:30:58 +00:00
Mark Andrews
27998b5bbd
initial
2001-04-03 02:17:12 +00:00
Brian Wellington
cc0c9a92d6
remove unused base64 <--> binary conversion functions
2001-04-03 00:48:09 +00:00
Brian Wellington
9a28507cde
regenerate
2001-04-03 00:29:18 +00:00
Brian Wellington
9bd186cd9a
Remove dnssafe, cylink, and the broken dst random generator.
2001-04-03 00:28:16 +00:00
Brian Wellington
7b1ab9e210
don't do 0.0.0.0 -> 127.0.0.1 conversion for netmasks.
2001-04-02 23:05:14 +00:00
Brian Wellington
765eb27068
call inet_aton, not inet_pton when parsing resolv.conf
2001-04-02 22:33:31 +00:00
Mark Andrews
9de63e99af
char array index
2001-04-02 09:42:20 +00:00
Mark Andrews
94803c4a46
MIN and MAX
2001-04-02 08:06:18 +00:00
Mark Andrews
d091280d77
MAXHOSTNAMELEN
2001-04-02 07:56:05 +00:00
Mark Andrews
12a7ea1c51
make structures private
2001-04-02 07:53:19 +00:00
Mark Andrews
68a1ce3cee
private structures
2001-04-02 07:52:33 +00:00
Mark Andrews
5d989a8b8b
checkpoint
2001-04-02 07:23:56 +00:00
Mark Andrews
87c7112365
sync
2001-04-02 07:05:00 +00:00
Mark Andrews
ba980b2c1e
checkpoint
2001-04-02 07:03:56 +00:00
Mark Andrews
25ddc215c4
new
2001-04-02 06:42:17 +00:00
Mark Andrews
8122657ebf
sync
2001-04-02 06:39:06 +00:00
Mark Andrews
28454712ae
checkpoint
2001-04-02 06:38:19 +00:00
Mark Andrews
10e9ae3676
checkpoint
2001-04-02 06:29:21 +00:00
Mark Andrews
8e59dace1f
sync
2001-04-02 05:57:53 +00:00
Mark Andrews
8d7927f73a
checkpoint
2001-04-02 05:57:11 +00:00
Mark Andrews
2eb2d69130
sync checkpoint
2001-04-02 01:25:32 +00:00
Mark Andrews
ca05034308
checkpoint
2001-04-02 01:24:32 +00:00
Andreas Gustafsson
dcd3db4310
install man page aliases by linking
2001-03-31 00:34:16 +00:00
Andreas Gustafsson
ddccd5811f
man page docbook conversion
2001-03-31 00:08:23 +00:00
Bob Halley
907620b5e0
The ADB didn't find AAAA glue in a zone unless A6 glue was also present.
2001-03-30 17:27:29 +00:00
Brian Wellington
414d289686
oops, cut-and-paste-o
2001-03-30 00:34:52 +00:00
Brian Wellington
e0bab4386b
Treat a zone as secure only if it has a zone key and a signed NXT at the apex.
2001-03-30 00:33:39 +00:00
Brian Wellington
5684e37a3a
#ifdef HAVE_SA_LEN
2001-03-29 23:19:51 +00:00
Mark Andrews
6475a59ca4
make/* need to be created _before_ the Makefiles are created.
2001-03-29 07:01:32 +00:00
Mark Andrews
d380990548
Initial pull over from BIND 8
2001-03-29 06:31:59 +00:00
Andreas Gustafsson
4b01d45a49
first cut at mandoc -> docbook conversion
2001-03-29 02:43:28 +00:00
Brian Wellington
672056d560
797. [func] Issue a warning if the 'directory' option contains
...
a relative path. [RT #269 ]
2001-03-29 02:33:48 +00:00
Andreas Gustafsson
9ffbbce6a6
first cut at mandoc -> docbook conversion
2001-03-29 02:23:11 +00:00
Brian Wellington
ec56b96c79
log sending of notifies at info level, and include the serial number. Also
...
clean up some weird code. [RT #1088 ]
2001-03-28 23:36:53 +00:00
Brian Wellington
c996e500f1
remove the errno handling code, which was only used by readsymtab/writesymtab
2001-03-28 23:11:41 +00:00
Brian Wellington
0368474a75
remove isccc_cc_readsymtab/isccc_cc_writesymtab
2001-03-28 23:10:39 +00:00
David Lawrence
2a86ee1f54
simplify the test about whether to roll; one expression was redundant
2001-03-28 05:48:16 +00:00
David Lawrence
9027e1bcf1
796. [func] When a size limit is associated with a log file,
...
only roll it when the size is reached, not every
time the log file is opened. [RT #1096 ]
2001-03-28 04:16:32 +00:00
Brian Wellington
caa55a6557
When printing KEY records with COMMENT and MULTILINE, the line would often
...
be too long.
2001-03-28 02:57:26 +00:00
Brian Wellington
668f8d91db
795. [func] Add the +multiline option to dig.
...
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Andreas Gustafsson
bed7a35293
dns_master_questiontotext() needs a style argument after all
2001-03-28 00:58:15 +00:00
Andreas Gustafsson
bfe313722d
dns_masterfile_style_debug -> dns_master_style_debug
2001-03-28 00:54:40 +00:00
Andreas Gustafsson
531eafa302
use dns_master_rdatasettotext() &co; removed unused flag
...
DNS_MESSAGETEXTFLAG_OMITDOT
2001-03-28 00:50:05 +00:00
Andreas Gustafsson
421551db8a
new functions dns_master_rdatasettotext() and dns_master_questiontotext(),
...
replacing dns_rdataset_totext()
2001-03-28 00:22:16 +00:00
Brian Wellington
d7ba3622ff
794. [func] Implement the "port" and "default-port" statements
...
in rndc.conf.
2001-03-28 00:16:09 +00:00
Brian Wellington
45e22378fc
dns_name_tofilenametext() now downcases the name, which means the callers
...
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington
7d7215baf8
Add dns_name_tofilenametext(), and use it in the dnssec tools.
2001-03-27 22:57:48 +00:00
Brian Wellington
cb3e854e18
oops, use the nominum copyright for lib/isccc. Also fix the update_copyrights
...
script to do @YEARS@ expansion on 2 lines.
2001-03-27 20:08:15 +00:00
Andreas Gustafsson
9d2d409333
removed unused function isccc_ccmsg_keepbuffer();
...
fixed incorrect header multi-inclusion protection macros;
changed comment referring to 'DNS message' to say 'command channel message'
2001-03-27 18:34:56 +00:00
Brian Wellington
2999a3a988
remove erroneously added copyright
2001-03-27 02:25:34 +00:00
Brian Wellington
022d19c138
copyright updates
2001-03-27 02:06:13 +00:00
Brian Wellington
badf66abe0
Remove OMAPI.
2001-03-27 00:53:58 +00:00
Brian Wellington
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +00:00
Andreas Gustafsson
b52a5b0630
790. [bug] Wildcards created using dynamic update or IXFR
...
could fail to match. [RT #1111 ]
2001-03-27 00:06:34 +00:00
Brian Wellington
6eccf5bd07
788. [feature] Add the "match-mapped-addresses" options, which
...
causes IPv6 v4mapped addresses to be treated as
IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington
0a10d7722e
remove comment referring to dead code.
2001-03-26 21:11:33 +00:00
Andreas Gustafsson
9efa0d2ae3
do not capitalize error message strings
2001-03-24 02:18:42 +00:00
Brian Wellington
b8a85202af
786. [bug] When signing/verifying data, names were not properly
...
downcased.
2001-03-23 03:51:04 +00:00
Andreas Gustafsson
c52683ae45
'serial-query-rate 1;' caused an assertion failure
2001-03-23 00:33:28 +00:00
Brian Wellington
734ae1f7c6
isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx.
2001-03-22 00:07:07 +00:00
Brian Wellington
27422dd5db
typo [RT #1094 ]
2001-03-21 20:45:55 +00:00
Andreas Gustafsson
1824b43f62
parse_mapbody() could return ISC_R_SUCCESS when it failed, triggering
...
an assertion
2001-03-21 19:01:36 +00:00
Andreas Gustafsson
b879ed05f4
785. [bug] A race condition in the resolver could cause
...
an assertion failure. [RT #673 , #872 , #1048 ]
2001-03-20 22:13:00 +00:00
Brian Wellington
48565891e8
784. [bug] nsupdate and other programs would not quit properly
...
if some signals were blocked by the caller. [RT #1081 ]
2001-03-20 21:45:20 +00:00
Brian Wellington
dde4382b7f
fix comment
2001-03-19 22:44:52 +00:00
Brian Wellington
54d64c7994
782. [feature] Implement the serial-query-rate option.
2001-03-19 22:34:14 +00:00
Brian Wellington
c302b021cc
the sdb returned the wrong answer when querying for dnames below other dnames
...
and ANY queries at delegation points.
2001-03-17 02:52:29 +00:00
Brian Wellington
ae114ded82
Fix a bunch of unused variable warnings that only occurred with assertions
...
turned off.
2001-03-16 22:53:20 +00:00
Brian Wellington
0d19c777ae
Use a counter instead of a flag to indicate if the resolver is in the
...
process of connecting. There's a possibility that a connect might not
have sent a completion event when another one starts, and this could cause
bad things to happen since the query would only know about one connect.
2001-03-16 21:50:59 +00:00
Brian Wellington
fc0d37fa3a
init the name in dns_message_gettempname(). This means it'll be done twice
...
in many cases, but it means dns_message_puttempname() can safely be called
on the name in all cases.
2001-03-15 03:00:50 +00:00
Brian Wellington
2048bb8c0c
dns_message_parse() cannot return DNS_R_MOREDATA.
2001-03-15 02:00:15 +00:00
Bob Halley
d911284333
add support for minimal-responses
2001-03-14 21:53:29 +00:00
Bob Halley
9ac88d91b4
Simplify some code in protocol_setvalue(), eliminating the "sigsize"
...
variable which was causing a compiler warning.
2001-03-14 17:59:25 +00:00
Brian Wellington
2f02f32f04
exit(1), not exit(-1)
2001-03-14 06:31:17 +00:00
Andreas Gustafsson
52c17deb58
some variables which should have been static weren't
2001-03-14 00:30:06 +00:00
Mark Andrews
b01cd0d5c7
Use dns_dispatch_getlocaladdress() to retrieve the local address to bind too.
2001-03-13 05:49:58 +00:00
Mark Andrews
a674e7ecec
add dns_dispatch_getlocaladdress().
2001-03-13 05:48:41 +00:00
Andreas Gustafsson
b31c8af1d9
name libisccfg logging functions consistently with
...
other libisccfg functions [RT #1020 ]
2001-03-13 03:04:09 +00:00
Brian Wellington
d03fd76636
add a cast [RT #1013 ]
2001-03-12 22:39:36 +00:00
Brian Wellington
461260ac15
add casts [RT #1017 ]
2001-03-12 22:27:15 +00:00
Mark Andrews
a65826596f
Add const to declaration of start_directory();
2001-03-12 01:05:52 +00:00
Andreas Gustafsson
dd57718608
#include <isc/print.h>
2001-03-09 23:38:00 +00:00
Brian Wellington
e608c9829f
- Detect selective forwarding errors in the configuration checker.
...
- Clean up selective forwarding configuration.
- Fixed a few minor unrelated bugs in the configuration checker.
2001-03-09 19:07:30 +00:00
Bob Halley
c6237585d8
Fix some typos in the non-threaded version of isc_rwlock_trylock() that
...
were preventing compilation.
2001-03-08 19:52:13 +00:00
David Lawrence
f3432e1b48
moved INADDR_LOOPBACK definition to lwres/net.h, because it was causing
...
redefinition warnings on multiple platforms
2001-03-08 16:09:41 +00:00
David Lawrence
2283923028
a last minute edit added one too many conditions for putting a node on the
...
deletions list
2001-03-08 03:31:29 +00:00
David Lawrence
85e80b5b69
Remove name/node from the rbtdb in no_references().
...
Iterator uses 'cleaning' flag to expire nodes.
2001-03-08 01:35:27 +00:00
David Lawrence
03609d0b8f
Use a cleaning iterator (dns_dbiterator_setcleanmode()).
...
Reworked some overmem thread handling.
2001-03-08 01:22:48 +00:00
David Lawrence
31d3e8d2fe
new function, dns_dbiterator_setcleanmode(), which enables cleaning
...
in the rbtdb
2001-03-08 01:16:06 +00:00
David Lawrence
a09c545af1
join_nodes is removed; node joining is no longer done at any time, because
...
it corrupts active chains and can change the data at a node which
someone might be using. (In the latter case, though the full name from
the root was still intact, and the ->data member was not altered, other
values like the partial name ndata and offsets could change.)
New functions dns_rbt_fullnamefromnode() and dns_rbt_formatnodename(),
for getting a dns_name_t and filling a char buffer, respectively, with
the complete name of a node from the root.
rbtnode.is_root was being treated as isc_boolean_t even though it was bitfield
of width 1. This worked fine, but wasn't consistent with ISC style, and
would have puked if someone decided to change isc_true from 1 (unlikely
as that is). Yeah, anal, I know.
2001-03-08 01:08:39 +00:00
Brian Wellington
8b9b498009
Check for duplicate zone and key statements. Note that duplicate server
...
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
David Lawrence
a82fd2c01b
added non-blocking locking, isc_rwlock_trylock()
2001-03-08 00:55:15 +00:00
Andreas Gustafsson
d55642259e
use a simpler, faster hash function
2001-03-07 23:52:16 +00:00
Brian Wellington
0783aab720
allow-update-forwarding is not allowed in stub zones.
2001-03-07 23:36:26 +00:00
Andreas Gustafsson
123a3dddc9
772. [bug] Owner names could be incorrectly omitted from cache
...
dumps in the presence of negative caching entries.
[RT #991 ]
2001-03-07 22:30:21 +00:00
Brian Wellington
5ea0d11ca4
771. [cleanup] TSIG errors related to unsynchronized clocks
...
are logged better.
2001-03-07 20:53:32 +00:00
Andreas Gustafsson
fc04bb9d98
lame server on ... -> lame server resolving ... [RT #641 ]
2001-03-07 18:03:07 +00:00
Brian Wellington
d25dd5b056
770. [func] Add the "edns yes_or_no" statement to the server
...
clause. [RT #524 ]
2001-03-06 23:54:37 +00:00
Brian Wellington
3fccea030d
#include <lwres/net.h>
2001-03-06 23:12:15 +00:00
Brian Wellington
ac3f9fa1ec
remove unnecessary #includes
2001-03-06 23:02:04 +00:00
Mark Andrews
9ac7076eba
769. [func] Improved error reporting when parsing rdata. [RT #740 ]
...
Two new error codes. Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Brian Wellington
93e66a44a0
remove #ifdef REENTRANT
2001-03-06 21:46:03 +00:00
Andreas Gustafsson
2c476880d6
parse_sockaddrsub() assumed current token was string
...
token withouth checking that it actually was; reformatted for
80 columns
2001-03-06 19:13:01 +00:00
Brian Wellington
72b7d215f7
The directory option didn't have the CFG_CLAUSEFLAG_CALLBACK bit set, so the
...
callback wasn't executed. [RT #978 ]
2001-03-06 18:17:52 +00:00
Mark Andrews
5aa9a23af5
MANYERRORS would cause the next line to be skipped if dns_rdata_fromtext failed.
2001-03-06 13:32:42 +00:00
Brian Wellington
2eb3dafdcf
Add the socket flag ISC_R_NORETRY, which makes the socket code treat
...
a soft error as a hard error on send (that is, not retry it). It also
modifies the code calling sendmsg() to retry on EINTR.
2001-03-06 01:23:03 +00:00
Brian Wellington
56ea2e19a2
add a cast [RT #974 ]
2001-03-05 23:14:03 +00:00
Brian Wellington
438b80a31b
Remove the old configuration parser
2001-03-05 22:49:33 +00:00
Brian Wellington
5e2f472561
add casts [RT #974 ]
2001-03-05 22:39:57 +00:00
Brian Wellington
e43b9a2005
move compression context create/delete into the caller of the message
...
rendering functions. This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Brian Wellington
be066f0629
Put 4 offsets in a msgblock, not 8. offsets are big enough that this helps.
...
Also remove an unused variable.
2001-03-05 20:12:49 +00:00
Brian Wellington
5f8b996a81
Reduce the number of objects preallocated in the message, which reduces
...
the per-recursive-client memory.
2001-03-05 20:06:10 +00:00
Danny Mayer
943322a123
Remove LIBISC_EXTERNAL_DATA usage
2001-03-05 18:47:00 +00:00
Danny Mayer
8096fe1df5
put function declaration on new line
2001-03-05 18:20:24 +00:00
David Lawrence
c56c28c3f2
grammatical typo in comment
2001-03-05 12:34:02 +00:00
Brian Wellington
6893a1ee93
fix more bugs
2001-03-04 21:18:30 +00:00
Brian Wellington
b3eac7c50c
#include <config.h>
2001-03-04 18:38:13 +00:00
Brian Wellington
e1fc1c580b
consolidate duplicated code
2001-03-03 23:09:23 +00:00
Brian Wellington
dd741aefc3
check that 'max-cache-size' is not 'default'
2001-03-03 23:05:23 +00:00
Andreas Gustafsson
3ee9853eb4
return sizes as 64-bit integers, not strings
2001-03-03 02:18:13 +00:00
Andreas Gustafsson
0d453b0ef2
'versions' and 'size' are not log channel clauses
2001-03-03 01:08:02 +00:00
Andreas Gustafsson
d39e9cdfd0
logging statement file clause syntax was still wrong
2001-03-03 00:52:39 +00:00
Andreas Gustafsson
fac0a17b66
fix syntax of the logging statement file clause
2001-03-02 20:00:17 +00:00
Brian Wellington
303243b9d4
Add isc/unix/syslog.c with a function to convert strings to syslog facilities.
2001-03-02 19:25:19 +00:00
Brian Wellington
bdc79a7164
The constants CFG_CLAUSEFLAG_NEWDEFAULT and CFG_CLAUSEFLAG_NYI should have
...
different values.
2001-03-02 07:03:55 +00:00
Brian Wellington
0ca1225ee6
more bugs
2001-03-02 03:09:27 +00:00
Brian Wellington
18b492aed1
bugs
2001-03-02 01:30:32 +00:00
Andreas Gustafsson
58fd5050ce
check enumerated values
2001-03-02 01:10:51 +00:00
Brian Wellington
94030c4654
remove 'static'
2001-03-02 00:49:31 +00:00
Brian Wellington
12f4f02695
Add code to syntactically check a named.conf file.
2001-03-01 23:46:49 +00:00
Brian Wellington
3e72dc6534
DNS_CFG_H -> ISCCFG_CFG_H
2001-03-01 23:03:43 +00:00
Brian Wellington
a8dd4ccadb
missing space
2001-03-01 22:40:09 +00:00
Brian Wellington
ae00b82d93
spelling
2001-03-01 17:46:59 +00:00
Andreas Gustafsson
37928634f4
don't print extra spaces at omitted optional fields
2001-03-01 03:22:12 +00:00
Andreas Gustafsson
36b810d77a
the 'keys' clause of the 'controls' statement is optional
2001-03-01 03:10:08 +00:00
Brian Wellington
15c5b240a6
dns_peer_setkeybycharp didn't initialize a fixedname.
2001-03-01 02:28:34 +00:00
Andreas Gustafsson
478f0ca6b3
revert previous change - it breaks default resolution
2001-03-01 00:08:58 +00:00
Andreas Gustafsson
38c6d5d57b
check for attempts to retrieve nonexistent map clauses
2001-03-01 00:01:23 +00:00
Brian Wellington
999c7e9e33
There can be multiple "lwres" statements.
2001-02-28 23:56:08 +00:00
Brian Wellington
a0b4d6cf8a
comment style
2001-02-28 21:19:53 +00:00
Brian Wellington
0dea013c25
add an ISC_FORMAT_PRINTF qualifier to cfg_obj_log().
2001-02-28 20:54:03 +00:00
Andreas Gustafsson
d1cc210d20
RT #927 fix from Bob:
...
759. [bug] The resolver didn't turn off "avoid fetches" mode
when restarting, possibly causing resolution
to fail when it should not. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
758. [bug] The "avoid fetches" code did not treat negative
cache entries correctly, causing fetches that would
be useful to be avoided. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
2001-02-28 20:51:22 +00:00
Andreas Gustafsson
088a25086a
warn about attempts to configure control channels of the
...
unimplemented 'unix' type
2001-02-28 20:40:48 +00:00
Brian Wellington
d752e5c19e
removed pointless code (an if statement checking something that had been
...
INSISTed on the previous line).
2001-02-28 20:20:18 +00:00
Andreas Gustafsson
f565623991
parsing the 'controls' statement is now table driven; each
...
'controls' statement is a map with the clauses 'inet' and 'unix'
2001-02-28 19:54:10 +00:00
Brian Wellington
113dee27af
dns_zt_load() was not checking the validity of the zonetable.
2001-02-27 02:54:11 +00:00
Andreas Gustafsson
28a3d52904
define ISC_PLATFORM_QUADFORMAT in platform.h so that it can more easily
...
be overridden on Win32. This means ISC_PLATFORM_LONGLONGEQUALLONG is no longer
needed. [RT #896 ]
2001-02-27 02:22:17 +00:00
Brian Wellington
948113671b
cfg_list_first() now returns NULL if the list is NULL.
2001-02-27 01:49:46 +00:00
Andreas Gustafsson
d011c10d8a
the name of a 'server' map is now a network address, not a string;
...
avoid infinite loop when parsing a bad ACL element
2001-02-27 01:31:56 +00:00
Brian Wellington
590f840d34
implement the prototyped but nonexistant function dns_peer_setkeybycharp().
2001-02-27 01:13:18 +00:00
Andreas Gustafsson
0b6849487f
cfg_type_keyref needs to be public
2001-02-26 22:55:55 +00:00
Andreas Gustafsson
9fa6e90569
new function cfg_obj_istype(); the sole tuple field of negated acls is now
...
called 'value', not 'acl'; rationalized representation of key references and
debug levels
2001-02-26 22:37:34 +00:00
Andreas Gustafsson
0136b4ef55
new functions cfg_obj_isnetprefix(), cfg_obj_asnetprefix()
2001-02-26 19:15:12 +00:00
Andreas Gustafsson
681780f044
represent negated acls as one-element tuples rather than a special
...
primitive type
2001-02-26 18:58:36 +00:00
Brian Wellington
f5ccecd9c3
#include <config.h>
2001-02-26 02:49:19 +00:00
Mark Andrews
a93cf7e83b
756. [bug] dns_zone_load() could "return" success when no master
...
file was configured.
755. [bug] Fix format bugs in zone.c (non-exploitable).
2001-02-26 01:45:57 +00:00
Andreas Gustafsson
c05eeed3c9
754. [bug] Certain failure returns from sendto() could
...
cause the server to retry the transmission
indefinitely. [RT #902 ]
2001-02-24 23:51:09 +00:00
Mark Andrews
70ec7dd741
fix tv_usec in isc_time_nowplusinterval() also.
2001-02-24 10:22:20 +00:00
Mark Andrews
0fd53e151b
unse not sec
2001-02-24 02:53:38 +00:00
Brian Wellington
6fd0827482
Remove notify forwarding.
2001-02-24 00:59:00 +00:00
Mark Andrews
df0f58959e
752. [func] Correct bad tv_usec elements returned by gettimeofday().
2001-02-23 23:12:28 +00:00
Mark Andrews
903e9d41ef
751. [func] Log successful zone loads / transfers.
2001-02-23 22:32:07 +00:00
Bob Halley
c274e542ad
The fixes to return the SIG of a DNAME RR missed one place where
...
search.zonecut was set, and consequently we were accessing
search.zonecut_sigrdataset without initializing it.
2001-02-23 05:33:36 +00:00
David Lawrence
f6d45c9539
missing va_start() in cfg_obj_log()
2001-02-23 04:52:29 +00:00
Bob Halley
f4b5a0f434
When a query matched a DNAME in a secure zone, the server did not return the
...
signature of the DNAME. [RT #915 ]
A query should not match a DNAME whose trust level is pending. [RT #916 ]
2001-02-23 02:14:14 +00:00
Brian Wellington
542a74fcc4
comment update
2001-02-23 01:52:18 +00:00
Brian Wellington
c5c779df9a
add a comment
2001-02-23 01:45:29 +00:00
Brian Wellington
5ca7310c8a
msg->tsigkey was not checked for NULL before deferencing [RT #913 ]
2001-02-23 01:38:07 +00:00
Andreas Gustafsson
106ff3bc09
more typos
2001-02-23 01:00:58 +00:00
Brian Wellington
d5573eb8a9
typos
2001-02-23 00:24:34 +00:00
Andreas Gustafsson
4428702688
the values of the notify and dialup options may now be of either boolean or
...
string types; added cfg_obj_is*() functions for determining the type of a configuration object;
reordered some functions in parser.c
2001-02-23 00:15:55 +00:00
Brian Wellington
fba7c63ea4
add cfg_obj_assockaddr
2001-02-22 23:59:28 +00:00
Andreas Gustafsson
a9be709e8e
cfg_obj_log now takes a log context instead of a parser
2001-02-22 20:41:43 +00:00
Andreas Gustafsson
042285a6a6
localization-wise, an assertion error message saying
...
(literally) "INSIST(isc_msgcat_get(isc_msgcat, ISC_MSGSET_PRINT, ISC_MSG_USELD,
"use %ld instead of %D") == NULL) failed" is not really any more user-friendly
than one saying just "INSIST("use %ld instead of %D" == NULL) failed
2001-02-22 19:12:57 +00:00
Andreas Gustafsson
9165c95fc2
use isc_int64_t, not long long
2001-02-22 18:03:11 +00:00
Andreas Gustafsson
4115f9d34b
revert 'protect long long with ISC_PLATFORM_HAVELONGLONG' change
2001-02-22 18:01:48 +00:00
Andreas Gustafsson
25c3ab1a5f
cache-file option name was misspelled
2001-02-22 17:30:09 +00:00
Brian Wellington
325b200123
support the cache-file option
2001-02-22 05:45:28 +00:00
Andreas Gustafsson
5c7f675804
new function cfg_tuple_get()
2001-02-22 04:17:37 +00:00
Andreas Gustafsson
80a1cac849
give names to tuple fields
2001-02-22 03:13:08 +00:00
Brian Wellington
b5e6ee7f74
typo
2001-02-22 02:44:08 +00:00
Andreas Gustafsson
e24349aa27
added isccfg log modules and categories
2001-02-22 02:39:24 +00:00
Brian Wellington
f0751a815e
add cfg_obj_asboolean()
2001-02-22 01:40:53 +00:00
Andreas Gustafsson
c396dc6551
added cfg_obj_log()
2001-02-22 00:36:26 +00:00
Andreas Gustafsson
1b0fca7957
added cfg_parser_setcallback(); minor cleanup
2001-02-22 00:23:31 +00:00
Brian Wellington
9a41936e3d
current_root was uninitialized at the start of dns_rbt_findnode(). This
...
has no real effect, but it's still good to fix it.
2001-02-21 23:21:28 +00:00
Brian Wellington
26e5029fd5
Added a cast. [RT #899 ]
2001-02-21 19:57:38 +00:00
Brian Wellington
6be1dc9d2a
Document the 'covers' parameter to dns_message_findname and
...
dns_message_findtype.
2001-02-21 18:32:27 +00:00
Mark Andrews
0490a61acd
protect long long with ISC_PLATFORM_HAVELONGLONG
2001-02-21 06:13:33 +00:00
Mark Andrews
754cca729d
add long long test
2001-02-21 06:09:56 +00:00
Brian Wellington
36608f2052
When returning from validation, make sure to handle chaiing correctly.
2001-02-21 05:16:44 +00:00
Mark Andrews
fbafe841ef
fixed pushing and poping of included files. [RT#904]
2001-02-21 03:53:11 +00:00
Brian Wellington
c5945fe694
Fix a potential bitstring bug.
2001-02-21 02:27:56 +00:00
Brian Wellington
4e8eba14a0
reinstate an INSIST() referenced in [RT #421 ]
2001-02-21 02:01:15 +00:00
Brian Wellington
a012d6dbfb
746. [bug] The sdb didn't clone rdatasets properly, causing
...
a crash when the server followed delegations. [RT #905 ]
2001-02-20 23:20:44 +00:00
Andreas Gustafsson
b7d448de55
no need to specifically ask people to mail bind9-bugs about mempool leaks
2001-02-20 22:03:36 +00:00
Brian Wellington
f70336b8c9
Cleanups to TSIG/SIG(0) parsing. This should have no noticable effect except
...
rejecting a few more malformed packets (those with the TSIG/SIG(0) not the
last record) and making best-effort parsing handle multiple TSIG/SIG(0)/OPT in
a message.
2001-02-19 20:14:23 +00:00
Mark Andrews
43de493006
745. [func] Report the owner name on when adding a rdataset
...
to the internal database fails while loading.
2001-02-19 13:24:04 +00:00
Bob Halley
1e50dad10d
When returning DNS_R_CNAME or DNS_R_DNAME as the result of an ANY or SIG
...
query, the resolver failed to setup the return event's rdatasets, causing an
assertion failure in the query code. [RT #881 ]
The fix includes the addition of the DNS_NAMEATTR_CHAINING attribute,
and the removal of the DNS_NAMEATTR_CNAME and DNS_NAMEATTR_DNAME attributes,
because they were not used anywhere in the current source.
2001-02-19 08:54:54 +00:00
Brian Wellington
3bd43bb300
ENSURE that a message's memory pools don't have any allocated data at the
...
end of msgreset(). This should trigger the mpctx->allocated != 0 assertion
when the leak occurs, not at server shutdown.
2001-02-18 23:46:26 +00:00
Brian Wellington
3f07549972
comment fix
2001-02-18 21:19:43 +00:00
Brian Wellington
62adc5ed76
Call free_namelist() rather than freeing the list manually.
2001-02-17 02:22:43 +00:00
Andreas Gustafsson
19eee89387
if dns_message_gettempname() failed, we would try to call
...
dns_message_putemprdataset() on an uninitialized pointer
2001-02-17 02:16:14 +00:00
Andreas Gustafsson
52719005ab
removed empty line
2001-02-17 01:23:43 +00:00
Brian Wellington
9154e66053
remove compiler warning
2001-02-17 00:53:59 +00:00
Andreas Gustafsson
dec0721d45
eliminate compiler warning; need <isc/print.h>
2001-02-17 00:46:58 +00:00
Andreas Gustafsson
4e72c83c94
removed unused variable
2001-02-17 00:23:49 +00:00
Andreas Gustafsson
4a4c888759
eliminate compiler warnings (hopefully)
2001-02-17 00:22:40 +00:00
Andreas Gustafsson
b8d0eef0fc
new function cfg_parse_buffer()
2001-02-17 00:15:22 +00:00
Brian Wellington
683301a954
fix a potential (but highly unlikely) memory leak.
2001-02-16 21:29:45 +00:00
David Lawrence
d5e7142f9d
#include <stddef.h> to ensure definition of NULL
2001-02-16 04:14:16 +00:00
Andreas Gustafsson
be7c0682f7
rrset-order wants braces around its list
2001-02-16 02:57:40 +00:00
Andreas Gustafsson
d0749d582e
fix query source parsing
2001-02-16 02:43:30 +00:00
Brian Wellington
9697d96db3
max-names no longer exists
2001-02-16 02:34:33 +00:00
Brian Wellington
c7c9f4a989
Use ISC_R_NOTIMPLEMENTED to indicate an unsupported algorithm, not
...
DST_R_UNSUPPORTEDALG.
2001-02-16 00:54:28 +00:00
Brian Wellington
c47ca47629
Remove the old rndc config parser.
2001-02-16 00:47:45 +00:00
Brian Wellington
cdee5991b8
Don't include <dst/result.h>
2001-02-16 00:21:09 +00:00
Brian Wellington
06b678ec4a
Add const in a few places.
2001-02-15 23:22:27 +00:00
Brian Wellington
94178e98f8
isc_base64_decodestring should take a const char *, not a char *
2001-02-15 23:21:47 +00:00
Brian Wellington
7bd7a2a798
cleaned up some code that Andreas thought was ugly.
2001-02-15 20:10:04 +00:00
Brian Wellington
bb136669b6
Use the isc hmac-md5 routines instead of dst.
2001-02-15 19:44:46 +00:00
Brian Wellington
d60c005a70
<dns/acl.h> is not needed, but <dns/name.h> is.
2001-02-15 19:13:48 +00:00
Andreas Gustafsson
5e1c2afd10
incorrect indentation
2001-02-15 19:09:55 +00:00
Andreas Gustafsson
bd4b8fe050
provide functions to access map names and lists
2001-02-15 18:53:03 +00:00
Brian Wellington
2d67fbd786
80 character lines
2001-02-15 07:58:48 +00:00
Andreas Gustafsson
4e7a39d617
added syntax tables for the rndc.conf file format
2001-02-15 05:14:16 +00:00
Andreas Gustafsson
2b23de3783
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:21:17 +00:00
Andreas Gustafsson
be7f273043
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:14:15 +00:00
Brian Wellington
507102c95a
In dns_compress_invalidate(), cctx->table cannot be NULL, since it's part of
...
the cctx structure.
2001-02-15 01:14:16 +00:00
Andreas Gustafsson
449f4411c9
NO NEED TO SHOUT
2001-02-14 23:05:14 +00:00
Brian Wellington
2cb74c5bc5
741. [port] Support openssl-engine. [RT #709 ]
2001-02-14 20:57:15 +00:00
Brian Wellington
3d60fe9baf
740. [port] Handle openssl library mismatches slightly better.
2001-02-14 20:26:48 +00:00
Mark Andrews
0c6971b8ea
Split the load context in two, one part that is visible across all files
...
the other part that is include file specific.
2001-02-14 13:14:50 +00:00
Andreas Gustafsson
65a66336a6
redid configuration locking using isc_task_beginexclusive()
...
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Andreas Gustafsson
1dd8ee4fd5
fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
...
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington
8766351a67
general cleanup
2001-02-14 00:43:10 +00:00
Andreas Gustafsson
d156c10aee
removed extra empty line
2001-02-14 00:29:16 +00:00
Andreas Gustafsson
8f17525ebc
in some situations, a request could be cancelled twice
2001-02-13 21:06:25 +00:00
Brian Wellington
47d78f67cb
Give more information when isc_mempool_destroy() dies with an assertion
...
failure, in the hope that we'll be able to fix the bug one day.
2001-02-13 20:29:27 +00:00
Brian Wellington
b2c46df291
A receive could be erroneously cancelled because of missing braces around a
...
block.
2001-02-13 20:21:52 +00:00
Brian Wellington
f24c135e09
738. [bug] If a non-threadsafe sdb driver supported AXFR and
...
received an AXFR request, it would deadlock or die
with an assertion failure.
(also some other cleanups)
2001-02-13 20:11:15 +00:00
Mark Andrews
382c4ce5a3
737. [port] stdtime failed to compile on certain platforms.
2001-02-13 13:24:09 +00:00
Mark Andrews
ba6e506ed2
#if not #ifdef ISC_MEM_TRACKLINES
2001-02-13 13:20:37 +00:00
Mark Andrews
b499a7c511
Print out the active memory prior to INSIST/REQUIRE failures.
2001-02-13 06:21:32 +00:00
Andreas Gustafsson
02940eaf0f
736. [func] New functions isc_task_{begin,end}exclusive().
2001-02-13 04:11:44 +00:00
Brian Wellington
100d0d2ec6
Use a refcount instead of an explicit mutex and integer.
2001-02-13 03:57:06 +00:00
Andreas Gustafsson
8126e45e8c
do dns_request_t cancel processing through a control event to
...
ensure that dns_dispatch_removeresponse() is called from the correct task
[RT #844 ]
2001-02-13 02:49:07 +00:00
Brian Wellington
4ce1248f09
fixed uninitialized variable
2001-02-13 01:29:33 +00:00
Brian Wellington
9f708f9014
isc_mem_stats() should print memory statistics even when there are no
...
allocated blocks at the time it's called.
2001-02-13 01:07:54 +00:00
Brian Wellington
55f3daa4ea
When parsing a message, add an offsets table to each name. Also allow callers
...
rendering a message to get temporary offsets tables to attach to names added
to the message.
2001-02-13 01:02:59 +00:00
Brian Wellington
31efcf6478
Build the offsets table in dns_name_fromwire() while parsing the name, not
...
by calling set_offsets.
2001-02-13 00:07:25 +00:00
Andreas Gustafsson
ea16b37d71
install refcount.h
2001-02-12 23:11:05 +00:00
Brian Wellington
1f7f8d5c07
Add isc_socket_sendto2() and isc_socket_recv2(). These versions take
...
a partially constructed event and flags. The flags can include
ISC_SOCKFLAG_IMMEDIATE, which means that if the operation completes, the
event is filled in and not sent.
2001-02-12 21:43:17 +00:00
Brian Wellington
a13ca8a125
Add ISC_R_INPROGRESS (operation in progress)
2001-02-12 20:03:16 +00:00
Brian Wellington
29daf5bc77
The suffix returned by dns_compress_findglobal() is never used, so remove it.
2001-02-12 18:07:52 +00:00
Brian Wellington
0c264c9094
The prefix and suffix names used in name compression don't need offset tables,
...
since they're never used. Not having offset tables makes filling in their
contents more efficient.
2001-02-12 05:22:34 +00:00
Brian Wellington
cdc50af0bf
In the towire_* and additionaldata_* routines, add an offsets table to names
...
passed into dns_name_toregion(). This is effectively free, and reduces the
number of calls to set_offsets() and dns_name_clone() in name compression.
2001-02-12 03:05:05 +00:00
Mark Andrews
9b6398efdf
re-do #734
2001-02-12 03:03:40 +00:00
Andreas Gustafsson
6cefb74b2b
dns_dispatch_removeresponse() failed to document the
...
requirement that it is only called from the task where the
response entry being removed delivers its events (Michael
agrees that this is indeed a requirement)
2001-02-11 19:11:52 +00:00
Mark Andrews
4dc2987f47
used the wrong xfr in #734
2001-02-11 02:23:12 +00:00
Brian Wellington
7c3996209b
fix a "statement is unreachable" warning
2001-02-11 00:52:31 +00:00
Brian Wellington
7222f9f321
The optimization to avoid compares after hashtable matches didn't work when
...
the matched node contained multiple labels.
2001-02-10 22:46:24 +00:00
Brian Wellington
82ecc44b96
another micro-optimization.
2001-02-10 02:55:05 +00:00
Brian Wellington
319d2971f1
When the client informs the dispatcher of a received response, have the
...
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Brian Wellington
64e7f8541d
optimization - if the compression table for a message is empty, don't
...
hash and look up each label.
2001-02-10 01:18:19 +00:00
Andreas Gustafsson
1d625775ee
note that max_size and target_size apply only when
...
ISC_MEM_USE_INTERNAL_MALLOC is set
2001-02-09 19:19:17 +00:00
Andreas Gustafsson
50179a15d1
UNUSED()
2001-02-09 19:08:11 +00:00
Andreas Gustafsson
dd0ef1a9d3
removed the unused and undocumented functions
...
isc_mem_preallocate(), isc_mem_valid(), isc_mem_setsplit(), and
isc_mem_restore()
2001-02-09 19:05:23 +00:00
Andreas Gustafsson
c674a8d5e7
documented the isc_mem_* interface
2001-02-09 18:51:20 +00:00
Brian Wellington
1c1f5e1911
The root node was added to the hashtable twice, which could lead to an
...
infinite loop. [RT #840 ]
2001-02-09 18:48:57 +00:00
Andreas Gustafsson
780db05762
use the UNUSED() macro
2001-02-09 18:27:18 +00:00
Mark Andrews
e911387be8
redo:
...
728. [bug] Fix comment processing on master file directives.
[RT# 757]
2001-02-09 14:34:52 +00:00
Mark Andrews
80aba3d49a
734. [bug] An attempt to re-lock the zone lock could occur if
...
the zone was shutdown during a zone tranfer. [RT #830 ]
2001-02-09 06:04:55 +00:00
Brian Wellington
2d6a6174f1
micro-optimizations
2001-02-09 02:13:07 +00:00
Brian Wellington
65bc8f2af8
When assigning a bucket lock to an rbt node, use the hash of the full name,
...
rather than the hash of the partial name stored in the node. This more
evenly distributes nodes across locks.
This change only takes effect when DNS_RBT_USEHASH is defined, and also changes
the rbt so that the hashtable is created when the first node is created in the
tree, not after 64 nodes are added.
2001-02-09 01:26:51 +00:00
Andreas Gustafsson
3f53ec3bd7
added missing copyright message; ISC_REFERENCE_H -> ISC_REFCOUNT_H
2001-02-09 00:26:20 +00:00
Andreas Gustafsson
97f26b88f6
removed more needless attaching and detaching of the blackhole ACL
2001-02-09 00:23:16 +00:00
Andreas Gustafsson
b7f7a77d56
#include <isc/mutex.h>
2001-02-09 00:20:01 +00:00
Andreas Gustafsson
a349fd680c
removed all code for maintaining a 'goodness' value in the adb,
...
since it was never used and Michael thinks 'it should probably be removed'.
2001-02-09 00:13:55 +00:00
Andreas Gustafsson
aa23a35d81
733. [bug] Reference counts of dns_acl_t objects need to be
...
locked but were not. [RT #801 ]
2001-02-08 23:30:32 +00:00
Bob Halley
22457624d3
deal with 0 TTL glue
2001-02-08 19:14:58 +00:00
Andreas Gustafsson
8ed67113ec
there is no need for each dispatch to have a separate reference to
...
the blackhole list; they can use the blackhole list of the dispatch
manager directly. This eliminates some unsafe unlocked accesses to
the reference count of the blackhole list dns_acl_t object
2001-02-08 18:25:09 +00:00
Mark Andrews
f765672e93
731. [bug] certian zone errors could cause named-checkzone to
...
fail ungracefully. [RT #819 ]
2001-02-08 01:52:33 +00:00
Brian Wellington
91425b5e72
730. [bug] lwres_getaddrinfo() returns the correct result when
...
it fails to contact a server. [RT #768 ]
2001-02-08 00:31:21 +00:00
Brian Wellington
1938554ccc
consolidate duplicated code
2001-02-08 00:04:11 +00:00
Mark Andrews
df0bcff664
extend change #727 to check returned address length for zero.
2001-02-07 23:40:28 +00:00
Brian Wellington
744304361c
actually call isc_thread_setconcurrency()
2001-02-07 21:16:12 +00:00
Andreas Gustafsson
1964de81da
UNUSED() macro added in 1.79 was in the wrong place
2001-02-07 20:05:15 +00:00
Andreas Gustafsson
91f74728a7
UNUSED()
2001-02-07 20:03:23 +00:00
Mark Andrews
e880677f63
728. [bug] Fix comment processing on master file directives.
...
[RT# 757]
2001-02-07 13:24:19 +00:00
Brian Wellington
e618d503ba
Remove (now unused) code for handling queries.
2001-02-07 05:11:58 +00:00
Brian Wellington
98c80a3456
do_next_response() was unlinking an event from the wrong list
2001-02-07 03:01:19 +00:00
Brian Wellington
abc0c36dc3
The ISC__BUFFER_INIT macro had a typo.
2001-02-07 01:36:12 +00:00
Andreas Gustafsson
9a3ee1570d
"hard" errors in accept() were handled really badly. They were logged
...
twice, and the socket object for the new socket was never destroyed,
causing the server to hang on exit (if multithreaded) or dump core on exit
(if singlethreaded). Now the only difference between "hard" and "soft" errors
is that the latter are not logged.
2001-02-06 23:43:01 +00:00
Andreas Gustafsson
8dab78b566
as a workaround for various OS bugs, do not INSIST() that
...
accept() returns a valid peer address; instead just log an ugly error message
and continue if the peer address is left unchanged or insane by accept()
[RT #809 ]
2001-02-06 23:04:02 +00:00
Brian Wellington
f96ad6baf5
Only check to make sure that the full number of bytes were sent if the
...
send operation succeeded. I'm still not convinced that send_done() works
correctly, but making other changes that look correct causes assertion failures.
2001-02-06 22:54:27 +00:00
Brian Wellington
2305225a1c
The interface name field was only partially initialized.
2001-02-06 01:20:46 +00:00
Brian Wellington
770d3b36da
ctx->checkfree was only being initialized if USE_INTERNAL_MALLOC was on.
2001-02-05 23:48:25 +00:00
Brian Wellington
0ef3f4fb41
When memsetting the entropy pool to 0, the count should be the size in bytes,
...
not words.
2001-02-05 23:00:18 +00:00
Brian Wellington
7aac083523
The flags field of the request structures were not initialized (thanks, purify)
2001-02-05 20:48:42 +00:00
Brian Wellington
c716477d2e
don't free the structure twice (thanks, Andreas)
2001-02-05 20:29:56 +00:00
Brian Wellington
15bc0af6a1
chain_name() built the fully qualified name in a very inefficient way.
...
Reversing the order of the concatenations makes it significantly faster.
2001-02-05 20:07:20 +00:00
Brian Wellington
5e8ff069e2
clean up the code to determine if dns_rdata_freestruct() needs to be called
2001-02-05 19:50:42 +00:00
Brian Wellington
b7cd261f2f
dns_name_concatenate(foo, NULL, bar, NULL) -> dns_name_copy(foo, bar, NULL)
2001-02-05 19:47:05 +00:00
Brian Wellington
f91dc72b42
725. [bug] Installing man pages could fail.
2001-02-04 15:52:44 +00:00
Andreas Gustafsson
6b2f58f5c1
removed inappropriate 'Any bitstring labels are in canonical form' comments
2001-02-02 22:08:27 +00:00
Andreas Gustafsson
7e361074bc
724. [func] New libisc functions isc_netaddr_any(),
...
isc_netaddr_any6().
2001-02-02 02:48:47 +00:00
Bob Halley
d6b3d06db7
Referrals whose NS RRs had a 0 TTL caused the resolver to return
...
DNS_R_SERVFAIL. [RT #783 ]
2001-02-02 00:10:26 +00:00
Mark Andrews
8e68489885
722. [func] Allow n/named/server.cincrememtal loads to be canceled.
...
721. [cleanup] Load manager and dns_master_loadfilequota() are no
more.
2001-02-01 21:29:41 +00:00
Andreas Gustafsson
6983bb151a
#else -> #else NOMINUM_PUBLIC
2001-02-01 21:27:10 +00:00
Andreas Gustafsson
fc16063c23
removed dns_qid_t::mctx since it was never used
2001-01-31 22:16:37 +00:00
Brian Wellington
d378ec4758
The return value of lwres_net_pton was checked for != 0 in a few places,
...
not == 1.
2001-01-31 22:06:33 +00:00
Andreas Gustafsson
2571d4a73d
make sanitation work when building into a separate build directory
...
directly from a CVS tree [RT #765 ]; also removed code for removing "#line" directives and the
comment saying that the code for removing #line directives should be removed. :-)
2001-01-31 21:34:38 +00:00
Andreas Gustafsson
c17c59662f
720. [bug] Server could enter infinite loop in
...
dispatch.c:do_cancel(). [RT #743 ]
2001-01-31 17:21:11 +00:00
Mark Andrews
ec4f7c6d0f
719. [bug] Rapid reloads could trigger an assertion failure.
...
[RT #743 ]
2001-01-31 05:22:55 +00:00
Andreas Gustafsson
8d5ec7195a
new dns_master_load() option DNS_MASTER_NOINCLUDE
2001-01-30 23:12:27 +00:00
Andreas Gustafsson
651421a5db
removed the "additional-data" option, since it was never
...
fully implemented and because it causes "internal" to be a reserved word in
named.conf, causing problems for those using "internal" as an ACL name.
Since additional-data was never documented, the user-visible aspect of the
change is:
718. [cleanup] "internal" is no longer a reserved word in named.conf.
[RT #753 , #731 ]
2001-01-30 22:02:31 +00:00
Bob Halley
7427490a67
Certain TKEY processing failure modes could
...
reference an uninitialized variable, causing the
server to crash. [RT #750 ]
2001-01-30 19:18:19 +00:00
Mark Andrews
aac319b506
716. [bug] The first line of a $INCLUDE master file was lost if
...
a origin was specified. [RT #744 ]
Adjust comment.
2001-01-30 13:23:32 +00:00
Andreas Gustafsson
dfa0badebe
715. [bug] Resolving some A6 chains could cause an assertion
...
failure in adb.c. [RT #738 ]
2001-01-30 05:56:58 +00:00
Brian Wellington
63ca494e7e
Added the isc_refcount_t type, which is a generic locked reference counter,
...
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock. In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Mark Andrews
fd50497bbe
isc_dir_chroot()
2001-01-29 03:17:45 +00:00
Brian Wellington
6f9786fdcf
Consolidate duplicated code in isc_socket_sendto[v] and isc_socket_recv[v].
2001-01-27 06:41:36 +00:00
Brian Wellington
b3936096b8
fix get_key_struct() definition
2001-01-27 04:33:18 +00:00
Andreas Gustafsson
9e992ecf37
further cleanup of ADB dumps
2001-01-27 02:44:35 +00:00
Brian Wellington
3a66efb0cb
remove the completely unused timer->mctx field.
2001-01-27 02:44:07 +00:00
Brian Wellington
94baac869a
712. [bug] Sending a large signed update message caused an
...
assertion failure. [RT #718 ]
- Resetting a message should clear the TSIG/SIG(0) sections
- Rerendering a message if the first try returned USETCP should not call
dns_message_settsigkey() again.
2001-01-27 02:28:33 +00:00
Andreas Gustafsson
fd73b3a68d
fixed incorrect error message
2001-01-27 02:12:13 +00:00
Andreas Gustafsson
a618f8d5b7
suppress compiler warnings
2001-01-27 02:11:35 +00:00
Brian Wellington
35f06ab0e6
Clients now listen on sockets instead of accepting queries from dispatchers.
...
When a socket is shared by clients and query-source, the client hands off
responses to the dispatcher.
2001-01-27 02:08:07 +00:00
Brian Wellington
562f162981
remove unused labels
2001-01-27 01:16:09 +00:00
Brian Wellington
dd66e6306b
Remove isc_socket/[send|recv]mark, which were never used.
2001-01-26 23:17:26 +00:00
Brian Wellington
7b5172166d
Waking up once a second to clean one bucket is excessive. Change the
...
default values (and dependencies) so that the clenup routine is called once
ever 30 seconds and cleans 8-9 buckets.
2001-01-26 03:20:58 +00:00
Damien Neil
dfb0717d75
- Receive and send operations on UDP sockets no longer need to acquire
...
the socket lock. (Assuming the operation succeeds immediately, and doesn't
need to be queued.)
- Communications with the watcher thread tweaked to reduce the need for
locking.
2001-01-25 22:25:10 +00:00
Brian Wellington
9f7b524522
The forwarders statements in zones & views didn't work.
2001-01-25 21:10:18 +00:00
Brian Wellington
330705066b
Wrap inet_ntop() and use that in the _totext() functions. The wrapper calls
...
inet_ntop() and copies the output (but not the trailing null) into the buffer.
2001-01-25 20:14:42 +00:00
Andreas Gustafsson
b586eb4408
revert half of 711. - there was no off by one error in the v6 case,
...
only in the v4 case
2001-01-25 20:10:02 +00:00
Brian Wellington
1ac2c28488
711. [bug] The libisc and liblwres implementations of
...
inet_ntop contained an off by one error.
2001-01-25 19:39:48 +00:00
Andreas Gustafsson
bc85580ff8
mask message id to 16 bits explicitly
2001-01-25 13:52:32 +00:00
Andreas Gustafsson
3530e10080
commented and removed dead code
2001-01-25 13:47:59 +00:00
Brian Wellington
a12d9cfa59
710. [func] The forwarders statement now takes an optional port.
...
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Mark Andrews
1a2b3fbeb1
don't attempt to refresh while loading.
2001-01-25 02:30:21 +00:00
Damien Neil
3c31899857
Fix warning in the overrun detection code.
2001-01-25 01:38:01 +00:00
Damien Neil
823eed5ea9
Made the internal malloc() optional, selected by the
...
ISC_MEM_USE_INTERNAL_MALLOC preprocessor constant.
2001-01-25 01:18:00 +00:00
Brian Wellington
c6c1846361
oops, missed a function declaration
2001-01-25 00:44:29 +00:00
Brian Wellington
038a3e6bfe
use dns_messageid_t instead of isc_uint32_t in a few places. [RT #703 ]
2001-01-25 00:42:31 +00:00
Brian Wellington
f6478f5e44
formatting & macro updates
2001-01-24 21:12:48 +00:00
Mark Andrews
3bed75bb2d
silence compiler
2001-01-24 07:12:56 +00:00
Bob Halley
40fdf87153
Deal with TTL 0 ANY and SIG queries.
2001-01-24 02:40:19 +00:00
Brian Wellington
46c3b3f6e1
isc_uint16_t -> dns_keytag_t in many places; dns_keytable_findkeynode
...
was casting incorrectly. [RT #664 ]
2001-01-24 02:23:02 +00:00
Brian Wellington
0f537d1c63
+ 708. [bug] When building with --with-openssl, the openssl headers
...
+ included should not be used. [RT #702 ]
+
2001-01-24 01:34:14 +00:00
Andreas Gustafsson
c271488682
706. [bug] Zones with an explicit "allow-update { none; };"
...
were considered dynamic and therefore not reloaded
on SIGNUP or "rndc reload".
2001-01-24 00:00:21 +00:00
Brian Wellington
1e3bc7eaeb
only use data from accept() if accept succeeds.
2001-01-23 21:07:12 +00:00
Andreas Gustafsson
b346ae570d
style
2001-01-23 20:45:31 +00:00
Brian Wellington
e90441d922
INSIST that accept() returns a socket of the correct protocol family. Also
...
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00
Brian Wellington
dac1e1dd18
remove more duplicated code
2001-01-23 19:50:10 +00:00
James Brister
6ca537b8a3
New include statement for ndc.conf
...
include "/tmp/foo";
only allowed at file level (not at any random whitespace location).
2001-01-23 13:15:12 +00:00
Mark Andrews
9a6632fb42
removed unnecessary assignment
2001-01-23 07:45:39 +00:00
Mark Andrews
7c2dce3c4d
common code elimination
2001-01-23 07:36:06 +00:00
Mark Andrews
ab0380976c
add isc/platform.h
2001-01-23 06:00:11 +00:00
Mark Andrews
4ae98f5100
Use approptiate typoe based on configure results.
2001-01-23 05:13:25 +00:00
Mark Andrews
66ad1d85cb
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 04:47:56 +00:00
Mark Andrews
07d6480b68
704. [port] RLIMIT_NOFILE in to available on all platforms.
...
[RT #695 ]
2001-01-23 03:14:28 +00:00
Mark Andrews
363cb30a83
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 03:07:18 +00:00
Brian Wellington
47f65caf30
The msgcat text contained an extra %s.
2001-01-23 02:27:19 +00:00
Brian Wellington
5d18f1205a
remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
...
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
668eb43f1f
spacing
2001-01-23 02:00:56 +00:00
Andreas Gustafsson
49d61b46a7
inconsistent spacing in duplicated code
2001-01-23 01:59:03 +00:00
Brian Wellington
fd091cb3cd
freerrset() wasn't.
2001-01-23 01:51:21 +00:00
Brian Wellington
d29da750d2
statistics counting was slowing down the server. Make client.c:count_query()
...
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Brian Wellington
ea6709ec8a
702. [func] If the address 0.0.0.0 is seen in resolv.conf,
...
use 127.0.0.1 instead. [RT #693 ]
2001-01-23 00:41:55 +00:00
Andreas Gustafsson
57ecc983c0
removed unused edns_level member from ADB entry
2001-01-22 22:53:13 +00:00
Andreas Gustafsson
d5874af5a5
removed avoid_bitstring feature from the ADB
2001-01-22 22:51:23 +00:00
Brian Wellington
70b4889c85
A minor optimation to the rbt hash code that should reduce the number
...
of calls to dns_name_fullcompare().
2001-01-22 20:41:43 +00:00
Brian Wellington
9d967288c3
zero length keys from the config file were not being logged as too short to be
...
secure.
2001-01-22 20:27:04 +00:00
Andreas Gustafsson
5042f374bc
a valid buffer has the current pointer before or at the
...
used pointer by definition; there is no need to require that explicitly
2001-01-22 18:21:45 +00:00
Andreas Gustafsson
3a5cbb3c22
Fixed 39 cases where either named or rndc would crash when
...
given empty string values in rndc.conf or on the command line
2001-01-22 03:59:21 +00:00
Mark Andrews
ce1269825c
700. [bug] $GENERATE range check was wrong. [RT #688 ]
2001-01-22 03:34:25 +00:00
Brian Wellington
9427d22299
make dns_name_fromtext fail when passed an empty string, not assert.
2001-01-22 03:30:27 +00:00
Andreas Gustafsson
e8af4e1524
699. [bug] The lexer mishandled empty quoted strings. [RT #694 ]
2001-01-22 02:46:34 +00:00
Brian Wellington
bf6d4f9cad
Install the lwres man pages.
2001-01-19 22:46:27 +00:00
Brian Wellington
6e8b041d9c
blackholed addresses were mishandled in the resolver.
2001-01-19 22:22:17 +00:00
Mark Andrews
89f4a7085c
694. [bug] $GENERATE did not produce the last entry. [RT#683]
2001-01-19 20:45:33 +00:00
Andreas Gustafsson
eed89be339
incremented library version number for 9.2
2001-01-19 01:55:11 +00:00
Andreas Gustafsson
d36250a1b2
include zone.c function names in debug log messages only;
...
export dns_zone_log() for use by related modules
2001-01-18 23:29:31 +00:00
Brian Wellington
2a006fffe4
our NAPTR implementation does conform to RFC 2915.
2001-01-18 22:05:41 +00:00
Andreas Gustafsson
7ed2d93fa4
691. [bug] Configuring per-view forwarders caused an assertion
...
failure. [RT #675 ]
2001-01-18 19:01:39 +00:00
Mark Andrews
ca9c0ba235
690. [func] $GENERATE now supports DNAME. [RT #654 ]
2001-01-18 08:53:34 +00:00
Brian Wellington
6ec4990544
copyright update
2001-01-18 02:00:59 +00:00
Brian Wellington
21e82177fb
make message->rcode a dns_rcode_t
2001-01-18 00:26:36 +00:00
Bob Halley
5c7d67e3e6
include <stdlib.h> to get prototype for exit()
2001-01-17 19:48:45 +00:00
Andreas Gustafsson
8bb77cd31b
fix RT #660 differently
2001-01-17 17:44:49 +00:00
Brian Wellington
0aed1e6e6b
add a cast to silence the annoying MS compiler. [RT #662 ]
2001-01-17 03:02:01 +00:00
Brian Wellington
39bb14491f
Negating an unsigned int is a bad idea. Make it an int instead. [RT #660 ]
2001-01-17 02:58:28 +00:00
Brian Wellington
cb2ad98ea4
make prefixlen an isc_uint8_t [RT #658 ]
2001-01-17 02:54:17 +00:00
Mark Andrews
fb0663dbdd
687. [bug] Only say we have IPv6, with sufficent functionality,
...
if it has actually been tested. [RT #586 ]
2001-01-17 02:11:20 +00:00
Brian Wellington
18d110413c
Move dns_dnssec_iszonekey to dns_zonekey_iszonekey, to make the rbtdb not
...
require all of dst to be linked in.
2001-01-17 01:22:20 +00:00
Brian Wellington
5d0cca62ee
Renamed keyid.c to key.c, and moved in a bunch of other functions that don't
...
depend on crypto.
2001-01-17 01:08:08 +00:00
Brian Wellington
64dcb08113
If the app is blocked and a shutdown signal arrives, just exit().
2001-01-17 00:48:54 +00:00
Brian Wellington
d7483d67f7
Move dst_region_computeid into a new file dst/keyid.c, so that all of the
...
dnssec code doesn't need to be linked in by using rdata routines.
2001-01-17 00:33:37 +00:00
Andreas Gustafsson
6c90ca893c
quote substituted parts of log messages with single quotes,
...
not double quotes
2001-01-17 00:16:20 +00:00
Brian Wellington
564c1b8f42
remove the use of abs(), which could have led to false positives because of
...
64 to 32 bit truncation.
2001-01-16 22:47:56 +00:00
Andreas Gustafsson
1da54a3de9
removed redundant error check [RT #669 ]
2001-01-16 21:18:10 +00:00
Mark Andrews
4e864e0101
84. [bug] memory leak with view forwarders. [RT #656 ]
2001-01-16 13:39:42 +00:00
Mark Andrews
2728a98ee4
683. [bug] file leak in isc_lex_openfile().
2001-01-16 07:47:16 +00:00
Mark Andrews
d722697400
681. [bug] $GENERATE specifying output format was broken. [RT#653]
2001-01-16 07:04:30 +00:00
Mark Andrews
7dbb39a417
680. [bug] dns_rdata_fromstruct() mis-handles options bigger
...
than 255 octets.
2001-01-16 06:14:00 +00:00
Brian Wellington
6df90b6515
Typo.
2001-01-15 19:54:12 +00:00
Brian Wellington
f98d6edb19
Multiple outstanding requests don't actually help. Never have more than 1.
2001-01-13 01:33:27 +00:00
Brian Wellington
bd703253b7
oops, a mutex was locked too early.
2001-01-13 00:23:34 +00:00
Brian Wellington
f0e246e271
Fully implement the cachefile option, which allows persistent caching. This
...
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Andreas Gustafsson
d94b209b95
added another INSIST() to dns_dbiterator_pause() as suggested by Bob
2001-01-12 20:11:28 +00:00
Brian Wellington
2883651930
Add dns_master_style_cache
2001-01-12 19:58:51 +00:00
Andreas Gustafsson
7cdd0b6ade
allow dbiterators to be paused at any time
2001-01-12 18:56:42 +00:00
Mark Andrews
a51f77a70b
679. [bug] $INCLUDE could leak memory and file descriptors on
...
reload. [RT #639 ]
2001-01-12 13:28:22 +00:00
Brian Wellington
a5ff47f55c
replace a chunk of code inside an #if 0 with a comment.
2001-01-12 00:56:44 +00:00
Mark Andrews
9b2819633e
Removed kludge for different error spaces in dns_dbtable_create(). [RT #642 ]
2001-01-12 00:31:50 +00:00
Brian Wellington
106ee474a9
A label immediately preceding a close brace is illegal.
2001-01-11 21:16:32 +00:00
Andreas Gustafsson
4755b174df
simplified constant names, eliminating the dns_constname structs
2001-01-11 21:07:21 +00:00
Andreas Gustafsson
8116149a05
if the adb had ever returned addresses of a family
...
other than AF_INET or AF_INET6, there would have been a memory leak
2001-01-11 20:31:31 +00:00
Andreas Gustafsson
8c56932f9a
yet another potential memory leak
2001-01-11 20:30:51 +00:00
Andreas Gustafsson
ff7f1dc039
676. [bug] Log messages about lame servers to category
...
'lame-servers' rather than 'resolver', so as not
to be gratuitously incompatible with BIND 8.
2001-01-11 19:38:11 +00:00
Brian Wellington
f847f8208c
Fixed an uninitialized variable, removed a dead line of code, and changed
...
several response processing functions to not require keyrings.
2001-01-11 19:09:47 +00:00
Andreas Gustafsson
90bffb134e
make_nonblock() errors were reported twice, and one of the instances
...
used the wrong errno value [RT #640 ]
2001-01-11 18:57:23 +00:00
Brian Wellington
a83405a85f
zone_idetach() should be static.
2001-01-11 08:10:47 +00:00
Brian Wellington
8e0044fe57
another memory leak.
2001-01-11 07:28:30 +00:00
Brian Wellington
9b0c4bf700
675. [func] TKEY queries could cause the server to leak
...
memory.
2001-01-11 04:23:39 +00:00
Brian Wellington
3e89268f1f
isc_buffer_region -> isc_buffer_usedregion
2001-01-11 04:00:17 +00:00
Brian Wellington
e5fb13fb23
The asserts in fromstruct were too strong - it's possible to have a non-NULL
...
key and keylen == 0 if the pointer is to a 0 byte allocation.
2001-01-11 03:11:30 +00:00
Brian Wellington
4ceb8b24b6
confparser.c should be removed by "make clean", not "make distclean"
2001-01-09 23:55:17 +00:00
Brian Wellington
7bd76551d4
oops, one too many fixes.
2001-01-09 23:42:51 +00:00
Mark Andrews
19c7cce855
674. [func] Allow messages to be TSIG signed / verified using
...
a offset from the current time.
2001-01-09 23:35:33 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
576f85e5fd
673. [func] The server can now convert RFC1886-style recursive
...
lookup requests into RFC2874-style lookups, when
enabled using the new option "allow-v6-synthesis".
2001-01-09 18:26:01 +00:00
Mark Andrews
0c70ab3065
672. [bug] The wrong time was in the "time signed" field when
...
replying with BADTIME error.
2001-01-09 14:32:44 +00:00
Brian Wellington
32e64787d9
671. [bug] The message code was failing to parse a message with
...
no question section and a TSIG record. [RT #628 ]
2001-01-09 02:55:42 +00:00
Brian Wellington
fa5a42fbad
670. [bug] The lwres replacements for getaddrinfo and
...
getipnodebyname didn't properly check for the
existence of the sockaddr sa_len field.
2001-01-09 01:26:43 +00:00
Brian Wellington
523dd6a979
669. [func] dnssec-keygen now makes the public key file
...
non-world-readable for symmetric keys. [RT #403 ]
2001-01-09 00:53:06 +00:00
Michael Sawyer
bff300be6b
Check that zone->zmgr is non-null before dereferencing
2001-01-09 00:51:53 +00:00
Mark Andrews
5bb4ceb2a6
668. [func] named-checkzone now reports multiple errors in master
...
files.
2001-01-09 00:43:24 +00:00
Mark Andrews
6976801867
Replace memset() w/ null assignment to last element of array.
...
the strncpy() fills in the other bytes.
2001-01-09 00:39:46 +00:00
Mark Andrews
c39200d949
Reverse functional change from 1.91 as dns_rdata_fromtext() has now been
...
fixed.
2001-01-08 23:52:52 +00:00
Brian Wellington
fff07c1022
665. [bug] Signed responses were not sent when the size of the
...
TSIG + question exceeded the maximum message size.
[RT #628 ]
2001-01-08 20:36:14 +00:00
Andreas Gustafsson
1514371d94
added UNUSED() macro
2001-01-08 19:58:10 +00:00
Andreas Gustafsson
d1dc805692
include NetBSD mutex debugging kludge only if explicitly requested
...
with -DISC_MUTEX_DEBUG and only if PTHREAD_MUTEX_ERRORCHECK is defined by the pthreads library
2001-01-08 19:47:30 +00:00
Andreas Gustafsson
4817a06287
663. [func] Accept a size_spec, not just an integer, in the
...
(unimplemented and ignored) max-ixfr-log-size option
for compatibility with recent versions of BIND 8.
[RT #613 ]
2001-01-08 19:27:19 +00:00
Mark Andrews
228c679d7a
662. [bug] dns_rdata_fromtext() failed to log certain errors.
2001-01-08 06:54:35 +00:00
Andreas Gustafsson
13b53c2971
when code is duplicated (which it shoudn't be), it should
...
at least be duplicated consistently
2001-01-07 22:02:48 +00:00
Andreas Gustafsson
ec0613a097
commented
2001-01-07 22:01:59 +00:00
Andreas Gustafsson
8d4bf0c21b
typo
2001-01-07 22:01:34 +00:00
Andreas Gustafsson
b363c64ed6
sizeof() style; added comment
2001-01-07 22:01:12 +00:00
Andreas Gustafsson
9afcd92352
enable deadlock detection for mutexes on NetBSD
2001-01-06 01:26:36 +00:00
Brian Wellington
f92f41acea
Detect multiple CPUs on HP-UX.
2001-01-06 01:10:04 +00:00
Brian Wellington
473af33183
more comment updates
2001-01-06 00:43:03 +00:00
Brian Wellington
4d180bd210
comment updates
2001-01-06 00:35:30 +00:00
Brian Wellington
54ce9b2e29
657. [bug] When a listen-on statement in an lwres block does not
...
specifiy a port, use 921, not 53. Also update the
listen-on documentation. [RT #616 ]
2001-01-05 22:12:53 +00:00
Andreas Gustafsson
ca247cd9af
indentation
2001-01-05 22:09:02 +00:00
Mark Andrews
0deebcd15a
dns_master_load*() age_ttl -> options word
2001-01-05 03:12:45 +00:00
Brian Wellington
6cf489f9bc
Enabling mutex profiling caused compilation to fail.
2001-01-05 02:17:03 +00:00
Brian Wellington
f135697100
Log a message when dns_rdata_fromtext() fails.
2001-01-05 01:02:47 +00:00
Brian Wellington
7357590bee
656. [func] Treat an unescaped newline in a quoted string as
...
an error. This means that TXT records with missing
close quotes should have meaningful errors printed.
2001-01-05 01:02:26 +00:00
Mark Andrews
3dbdaa791c
don't move expired zones sideways.
...
use the journal modification time if it is available for for last update time
2001-01-05 00:51:04 +00:00
Brian Wellington
efcd383461
Update forwarding when the message buffer was no longer copied. Fix this
...
by having the update forwarding code tell dns_message_parse to copy
the buffer.
2001-01-05 00:17:33 +00:00
Andreas Gustafsson
233085a7d2
comment the master file styles in the .h file, not the .c file
2001-01-04 23:52:16 +00:00
Mark Andrews
8dd5237a27
655. [bug] Improve error reporting on unexpected eof when loading
...
zones. [RT #611 ]
2001-01-04 23:43:53 +00:00
Michael Sawyer
2b50457b87
Change the name from "parsable" to "simple"
2001-01-04 23:40:28 +00:00
Damien Neil
2e36a55861
Added changes for mutex profiling.
2001-01-04 23:38:37 +00:00
Damien Neil
b2a6ebf1bd
Cleaned up some nasty hacks I forgot in the mutex profiling code.
2001-01-04 23:34:03 +00:00
Damien Neil
e535db4a21
Removed some very nasty hacks which I had forgotten in the mutex
...
profiling code.
2001-01-04 23:32:15 +00:00
Damien Neil
0195648290
Turn off mutex profiling by default. (Oops.)
2001-01-04 22:39:33 +00:00
Damien Neil
e9453d609d
Mutex profiling updates, to collect more statistics on mutex usage.
2001-01-04 22:37:37 +00:00
Michael Sawyer
c67496c943
Add master_style_parsable
2001-01-04 22:19:18 +00:00
Brian Wellington
3e6753a753
Make a macro version of dns_name_toregion.
2001-01-04 20:00:57 +00:00
Brian Wellington
1c33761bcf
Minor optimization - use the number of labels in the prefix as the loop
...
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6
Update the comments and kill unused structure elements, based on comments from
...
Mark.
2001-01-04 06:21:01 +00:00
Mark Andrews
f7e900edbc
652. [bug] zone_saveunique() did not report the new name.
2001-01-04 04:10:59 +00:00
Brian Wellington
bb06860389
CPU detection for IRIX.
2001-01-04 02:52:13 +00:00
Brian Wellington
0a569dfd5e
When saving the query message (for SIG(0) or update forwarding), don't actually
...
do an allocate and copy, since the input buffer stays around.
2001-01-04 01:55:22 +00:00
Brian Wellington
6427a34be1
comment fixes
2001-01-04 01:25:08 +00:00
Brian Wellington
4502c1b020
spelling
2001-01-04 00:28:19 +00:00
Brian Wellington
ec772e873b
651. [func] The AD bit in responses now has the meaning
...
specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-04 00:24:26 +00:00
Brian Wellington
ac7f13e3dd
Remove dns_trust_authsecure, which is not used and was never clearly defined.
2001-01-04 00:16:41 +00:00
Brian Wellington
abfbf760f3
650. [bug] SIG(0) records were being generated and verified
...
incorrectly. [RT #606 ]
2001-01-04 00:10:13 +00:00
Mark Andrews
84d982f168
wrong result code tested.
2001-01-03 23:14:53 +00:00
Brian Wellington
8d6fe3f388
Pointers to regions are silly. Use regions instead. This removes 1 small
...
allocation per query.
2001-01-03 20:42:10 +00:00
Bob Halley
75768d5fa2
It was possible to join to an already running fctx
...
after it had "cloned" its events, but before it sent
them. In this case, the event of the newly joined
fetch would not contain the answer, and would
trigger the INSIST() in fctx_sendevents().
[RT #597 , #605 , #607 ]
2001-01-03 20:31:34 +00:00
Andreas Gustafsson
0609174d93
removed empty line
2001-01-03 20:21:11 +00:00
Mark Andrews
4e7942dc76
648. [port] Add support for pre-RFC2133 IPv6 implementations.
2001-01-03 13:13:14 +00:00
Brian Wellington
6d5032f9a2
Micro-optimizations:
...
- use the DNS_NAME_INIT macro in name.c
- create dns_name_copy() and use it instead of dns_name_concatenate()
when doing a copy.
2001-01-03 00:05:15 +00:00
Andreas Gustafsson
22dbaf9ad8
647. [bug] Resolver queries sent after following multiple
...
referrals had excessively long retransmission
timeouts due to incorrectly counting the referrals
as "restarts".
2001-01-02 20:46:07 +00:00
Andreas Gustafsson
21931e9334
cleanup of logging code
2001-01-02 18:51:07 +00:00
Andreas Gustafsson
6af9849f74
log message about disabling EDNS0 only once per lookup
2001-01-02 17:59:13 +00:00
Mark Andrews
55a7fc9d8f
When a zone expires move the on disk cache (if any) sideways.
2001-01-02 04:45:24 +00:00
Andreas Gustafsson
ca2912424b
DEL (ASCII 127) is not a printable character and should be
...
backslash-decimal quoted when printing TXT record
2001-01-02 04:24:52 +00:00
David Lawrence
b8ebf57228
fix a rather stupid incomplete cut-n-pasting job of in the
...
ISC_PLATFORM_FIXIN6ISADDR block for UnixWare.
2001-01-01 22:02:27 +00:00
Mark Andrews
046a9aca49
642. [bug] #622 needed more work.
2000-12-31 05:05:34 +00:00
Mark Andrews
f4e4111795
643. [bug] xfrin error messages made more verbose, added class
...
of the zone. [RT# 599]
2000-12-30 13:03:48 +00:00
Brian Wellington
65a275fb3d
The resolver doesn't need to manually dissect a TSIG and look at the error
...
field, since dns_message_checksig returns an error in that case.
2000-12-29 23:24:32 +00:00
Brian Wellington
ed6d3c9660
remove sanitize cruft
2000-12-29 22:07:25 +00:00
Brian Wellington
917d2db965
if DNS_NAME_USEINLINE was set, DNS_NAME_SETBUFFER was defined, but never used,
...
since dns_name_setbuffer was never #defined to it.
2000-12-29 21:54:52 +00:00
Brian Wellington
0c710d7162
#define isc_mutex_stats to nothing
2000-12-29 19:55:37 +00:00
Brian Wellington
dacf0cc454
Merged the private functions compress_add and compress_find into
...
dns_compress_add and dns_compress_findglobal.
2000-12-29 19:38:50 +00:00
Brian Wellington
bb88eab95f
fix an uninitialized variable; reformat some >80 character lines
2000-12-29 18:49:36 +00:00
Brian Wellington
26d20cd51c
oops, forgot to commit this yesterday.
2000-12-29 18:19:52 +00:00
Mark Andrews
02bad0bd51
fix lock heirachy in zone_shutdown()
2000-12-29 13:20:46 +00:00
Brian Wellington
3f160155da
ISC_MUTEX_PROFILE can be set to enable basic mutex profiling. Running named
...
with -s prints the results.
2000-12-29 01:29:56 +00:00
Mark Andrews
253ab81bf2
642. [bug] Break the exit_check() race in the zone module.
...
[RT #598 ]
2000-12-29 01:04:10 +00:00
Brian Wellington
8e047d3b74
microoptimizations to make quantize/rmsize more efficient.
2000-12-29 01:02:07 +00:00
Brian Wellington
575737b964
Rewrite the name compression code to use a hashtable instead of an RBT and
...
avoid allocating memory in most cases. This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +00:00
Brian Wellington
4efa04801e
Remove DNS_COMPRESS_GLOBAL, since the only type of global compression
...
is GLOBAL14.
2000-12-29 00:54:36 +00:00
Andreas Gustafsson
af5995e08f
remove unused variable
2000-12-28 03:04:35 +00:00
Mark Andrews
9f28451bca
641. [bug] $GENERATE caused a uninitialized link to be used.
...
[RT #595 ]
2000-12-28 02:31:20 +00:00
Mark Andrews
de154f65f6
Ensure that ns_client_*() are only called from the client's task.
2000-12-28 01:29:09 +00:00
Brian Wellington
d780c35e54
remove all vestiges of 16 bit global compression
2000-12-28 00:43:12 +00:00
David Lawrence
090432605e
isc_file_renameunique() set its result incorrectly if renaming failed; it used
...
the value of errno from an unlink() call, not from the rename() call.
2000-12-27 17:21:53 +00:00
Brian Wellington
ee303f481d
639. [bug] Reading entropy from the keyboard would sometimes fail.
...
[RT #591 ]
note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
David Lawrence
801dceea23
Revert my last change. It was stupid, which I if I had been thinking clearly
...
I would have seen *before* I commited anything. So, include isc/thread.h,
isc/mutex.h and isc/condition.h even if ISC_PLATFORM_USETHREADS is not defined.
(What caused me to bother with this at all was a problem that I resolved
a few days ago by fixing configure ... though now that I think about it,
that probably means there is some other latent problem with inconsistent
definitions that could maybe be handled better. I'll look into it more
later, AFTER vacation.)
2000-12-26 21:45:08 +00:00
David Lawrence
bdcae3560b
Only include isc/thread.h, isc/mutex.h and isc/condition.h if
...
ISC_PLATFORM_USETHREADS is defined.
2000-12-26 21:12:25 +00:00
David Lawrence
8ab1d97093
sigh. "define" -> "defined". never make trivial changes without retesting.
2000-12-26 21:06:49 +00:00
David Lawrence
86b8c48576
638. [port] lib/isc/random.c needed to explicitly include
...
time.h explicitly to get a prototype for time() when
pthreads was not being used. [RT #592 ]
2000-12-26 21:02:14 +00:00
David Lawrence
125a916d1a
637. [port] Use isc_u?int64_t instead of (unsigned) long long in
...
lib/isc/print.c. Also allow lib/isc/print.c to
be compiled even if the platform does not need it.
[RT #592 ]
Also cleaned up some const issues.
2000-12-26 21:00:41 +00:00
David Lawrence
0b3427d15c
636. [port] Shut up MSVC++ about a possible loss of precision
...
in the ISC__BUFFER_PUTUINT*() macros. [RT #592 ]
This is the basically the same change made to buffer.c before the macros
were created:
revision 1.18
date: 1999/09/23 17:54:57; author: tale; state: Exp; lines: +4 -4
Shut up MSVC++ compiler warning about loss of precision when assigning
8 bits masked out of a 32 bit int to individual bytes.
Also, an #if 0 around "#define ISC_BUFFER_USEINLINE" was removed, per the
ISC coding style, and instead a comment was used to disable the definition.
2000-12-26 20:51:14 +00:00
Brian Wellington
02e3821450
635. [bug] Reloading a server with a configured blackhole list
...
would cause an assertion. [RT #590 ]
2000-12-26 09:48:41 +00:00
David Lawrence
f8da2d9583
634. [bug] A log file will completely stop being written when
...
it reaches the maximum size in all cases, not just
when versioning is also enabled. [RT #570 ]
2000-12-23 19:23:48 +00:00
David Lawrence
17012a8797
632. [port] Cope with rlim_t missing on BSD/OS systems. [RT #575 ]
2000-12-23 02:46:34 +00:00
Andreas Gustafsson
642e583687
...and in two different ways, at that
2000-12-22 23:47:00 +00:00
Andreas Gustafsson
e0a90d7579
journal index array was corrupted on write
2000-12-22 23:37:03 +00:00
Andreas Gustafsson
029ce2f952
need #include <dns/rdataset.h> and <dns/rdatastruct.h>
2000-12-22 23:01:56 +00:00
Brian Wellington
2374f16f5d
missing ISC_LANG_ENDDECLS
2000-12-22 22:56:55 +00:00
Brian Wellington
489b762926
- if pthreads are not found, build a nonthreaded version
...
- check for pthread_attr_getstacksize
2000-12-22 20:50:05 +00:00
Andreas Gustafsson
0ad8ee89c5
more request shutdown logic fixes from Mark
2000-12-22 19:39:01 +00:00
Andreas Gustafsson
4c1fee4236
don't turn on ISC_MEM_BDEBUGRECORD by default
2000-12-22 18:30:26 +00:00
Mark Andrews
6cc5eac41b
more unlocked calls to cancel_refresh().
2000-12-22 05:55:20 +00:00
Mark Andrews
bd5f2ac188
630. [bug] locking failure in zone code. [RT #582 ]
2000-12-22 02:43:42 +00:00
Brian Wellington
48540261f1
replace (isc_mem_debugging > 1) with (MEM_RECORD)
2000-12-22 00:26:33 +00:00
Andreas Gustafsson
709fa2054f
oops, it's <dst/dst.h>, not <dst/key.h>
2000-12-21 18:11:00 +00:00
Andreas Gustafsson
c663d46e47
need #include <dst/key.h>
2000-12-21 16:27:22 +00:00
Andreas Gustafsson
359082766e
diff.h was not installed
2000-12-21 16:17:41 +00:00
Andreas Gustafsson
2207599e64
condition.h was not installed
2000-12-21 16:14:49 +00:00
Brian Wellington
5d85bf183f
missing 'static'
2000-12-21 01:58:37 +00:00
Brian Wellington
1200b06785
removed LWRDATA_AUTHORITATIVE and RRSET_AUTHORITATIVE
2000-12-21 00:27:56 +00:00
Brian Wellington
58cbc05eb0
Fix memory leak in dns_view_find; return DNS_R_HINTNXRRSET instead of
...
DNS_R_NOTFOUND when correct to do so.
2000-12-20 23:31:11 +00:00
Andreas Gustafsson
7d33e89969
627. [bug] The EDNS0 blackhole detection code of 327. waited
...
for three retransmissions to each server, which
takes much too long when a domain has many name
and all of them drop EDNS0 queries. Now we retry
without EDNS0 after three consecutive timeouts,
even if they are all from different servers.
2000-12-20 23:18:37 +00:00
Brian Wellington
86c3cd20dd
fix a race condition.
2000-12-20 20:42:08 +00:00
Andreas Gustafsson
0bca614506
don't shout
2000-12-20 19:46:37 +00:00
Brian Wellington
13090db2b1
dns_view_find can now do ANY queries; it takes additional db and node
...
parameters used for return values.
2000-12-20 03:38:46 +00:00
Mark Andrews
2a80a4e120
625. [func] Zone's now inherit their class from the enclosing view.
2000-12-20 03:36:19 +00:00
Andreas Gustafsson
91b4560baa
zone timer was using the wrong task [RT #571 ]
2000-12-20 01:27:50 +00:00
Brian Wellington
a644e87df7
Move the msgcat stuff into socket_log(), to avoid unnecessary calls to
...
isc_msgcat_get() and speed things up.
2000-12-19 20:35:37 +00:00
Andreas Gustafsson
70c91849c3
eliminated compiler warning
2000-12-19 19:29:13 +00:00
Andreas Gustafsson
ab0bc7bd36
spelling
2000-12-19 19:20:15 +00:00
Andreas Gustafsson
0833ef954a
when code is duplicated (which it shouldn't be), it should at
...
least be duplicated consistently
2000-12-19 19:19:45 +00:00
Mark Andrews
5f7a9845e9
make ISC_LIST_CHECKINIT work
2000-12-19 04:46:36 +00:00
Mark Andrews
f53848e171
622. [bug] A canceled request could be destroyed before
...
dns_request_destroy() was called. [RT #562 ]
2000-12-19 03:36:48 +00:00
Brian Wellington
64a84169d7
621. [port] Disable IPv6 at runtime if they are unusable. This
...
mostly affects Red Hat Linux 7.0.
2000-12-19 01:36:52 +00:00
Mark Andrews
7f66083184
remove unused variables
2000-12-19 01:32:41 +00:00
Andreas Gustafsson
8998ed8481
added UNUSED() macro
2000-12-18 21:09:42 +00:00
Andreas Gustafsson
5fca48054b
dump the ADB in a more user-friendly format (unless a debug flag is set)
2000-12-18 20:03:33 +00:00
Mark Andrews
1599bd6998
620. [bug] dns_master_load*inc() now require 'task' and 'load'
...
to be non-null. Also 'done' will not be called if
dns_master_load*inc() fails immediately. [RT #565 ]
2000-12-17 23:43:12 +00:00
Andreas Gustafsson
113b8ef973
renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
...
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future. Also changed the dump style to the
'explict TTL' one, which makes more sense than usin when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson
acea06c80c
spelling
2000-12-15 21:06:00 +00:00
Andreas Gustafsson
6c29053a20
614. [bug] Checks for uninitialized link fields were prone
...
to false positives, causing assertion failures.
The checks are now disabled by default and may
be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
Andreas Gustafsson
5412d26798
entropy.c did not include header files necessary for select(),
...
causing nonthreaded builds to fail on AIX
2000-12-14 22:40:17 +00:00
Mark Andrews
43b8fb7570
dns_rdata_init > dns_rdata_reset
2000-12-14 22:10:37 +00:00
Mark Andrews
5d2026ea7b
relax initalied checks
2000-12-14 22:09:51 +00:00
Brian Wellington
ee10d3de18
#include <stdio.h>
2000-12-13 21:28:38 +00:00
David Lawrence
3d509f54ac
613. [bug] "rndc reload zone" now reloads primary zones.
...
It previously only updated slave and stub zones,
if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Mark Andrews
fa67ca21f6
make dns_zone_load work w/o being managed.
...
add bin/check/Makefile to configure
2000-12-13 06:21:42 +00:00
David Lawrence
13a0f9518a
oops, an ifdef should have been an ifndef
2000-12-13 01:42:23 +00:00
Brian Wellington
2103b1d460
Don't allow queries of class or type ANY.
2000-12-13 00:22:54 +00:00
David Lawrence
10e6498d6d
* Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
...
never returned by any function and was presumably cruft
related to max-names).
* Made allow-notify part of the public source and documented it.
* Made master server TSIG keys part of the public source and documented it.
* Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
the approval of Mike.
* Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
public source. After the NOMINUM_PUBLIC cleanup, I'll
fix the rndc reload issues we've been discussing here at IETF.
I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
eb8713ed94
Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
...
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
David Lawrence
b74896ead5
599. [func] Added four new functions to the libisc log API to
...
support i18n messages. isc_log_iwrite(),
isc_log_ivwrite(), isc_log_iwrite1() and
isc_log_ivwrite1() were added.
(The log.h/log.c changes were just minor formatting changes.)
2000-12-12 05:29:33 +00:00
Andreas Gustafsson
fc6f5743aa
use isc_log_iwrite() for localized logging,
...
to keep backwards compatibility
2000-12-12 00:18:01 +00:00
Brian Wellington
f8246fc026
alphabetize tokens
2000-12-11 23:38:25 +00:00
Mark Andrews
88a6fef494
init dns_rdata_t's
2000-12-11 23:09:47 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Mark Andrews
fc03bf680e
more locking
2000-12-11 19:21:15 +00:00
Andreas Gustafsson
eb2d0f4d9d
isc_thread_self() is a function, not an integer [RT #551 ]
2000-12-11 19:17:29 +00:00
Andreas Gustafsson
dea478db31
isc_symexists_ policies were not referred to by their
...
true names in the header comments
2000-12-11 04:08:52 +00:00
Mark Andrews
dd2e7df916
pointer math
2000-12-09 03:20:05 +00:00
Brian Wellington
7d43914b55
remove unused includes
2000-12-09 03:09:20 +00:00
Brian Wellington
911ed0d3be
Split journal.[ch] into journal.[ch] and diff.[ch]
2000-12-09 02:17:12 +00:00
James Brister
106125b0a8
backout last change.
2000-12-09 02:14:53 +00:00
James Brister
59bffa5d85
Initialize link field
2000-12-09 02:05:51 +00:00
Andreas Gustafsson
10e22ebcc3
605. [func] New function isc_lex_getlasttokentext().
2000-12-09 02:05:26 +00:00
Brian Wellington
bb812feb3c
line numbers could be corrupted by very large tokens.
2000-12-09 00:41:33 +00:00
Mark Andrews
10f89d2f83
additional comments
2000-12-08 19:34:06 +00:00
Brian Wellington
6734ac097f
#include <isc/print.h>
2000-12-08 03:10:32 +00:00
David Lawrence
e544b507b8
602. [func] Cope automatically with UnixWare's broken
...
IN6_IS_ADDR_* macros. [RT #539 ]
2000-12-08 00:55:51 +00:00
Mark Andrews
d30c18b17a
set ttl of subtration header
2000-12-07 23:37:52 +00:00
David Lawrence
71c68c49db
prototype for dns_c_nameprint()
2000-12-07 22:42:22 +00:00
Mark Andrews
6fda157766
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND*
2000-12-07 20:15:58 +00:00
Brian Wellington
020ebf1190
log the reasons for various verify failures.
2000-12-07 20:13:29 +00:00
Mark Andrews
168ec3b800
Check ttl when adding/subtracting.
...
New add flag DNS_DBADD_EXACTTTL.
2000-12-07 19:51:58 +00:00
David Lawrence
b161f87be8
Updated API to support i18n message arguments to isc_log_{,v}write{,1}.
...
Provided isc_log_i{,v}write{,1}, with appropriate macro substitutions,
for files that are not yet converted to the new API. When everything
is converted, the added functions will be removed.
2000-12-07 19:30:28 +00:00
Brian Wellington
cff0491bed
The TKEYTRACE macro was never used, and wasn't correct.
2000-12-07 19:13:05 +00:00
Mark Andrews
a009a2da12
use ISC_LIST_APPENDUNSAFE
2000-12-07 17:52:37 +00:00
Brian Wellington
6fb2566107
uninitialized link field
2000-12-07 06:07:12 +00:00
Mark Andrews
a31ede78c8
Added locking check + some additional locks.
2000-12-07 03:13:01 +00:00
James Brister
bdd6599e12
Fix printing of sig-validity-interval.
...
No longer print final dot of server key value.
2000-12-07 01:45:57 +00:00
Brian Wellington
1afae09da4
redundant code
2000-12-06 23:39:04 +00:00
David Lawrence
d9135464f2
Stop multiple warnings on IRIX about some bitfiddling being done on
...
a long integer to stuff it into a four byte character array big endianwise.
2000-12-06 23:12:10 +00:00
David Lawrence
e086935752
isc_hex_tobuffer() third argument is unsigned int, not unsigned long
2000-12-06 22:33:39 +00:00
Brian Wellington
6dbf9cbe6a
596. [bug] DNS_RDATASLAB_FORCE and DNS_RDATASLAB_EXACT are
...
not mutually exclusive.
2000-12-06 22:19:05 +00:00
Andreas Gustafsson
ff74ba926b
when printing the view notify value, the traling semicolon
...
and newline were missing
2000-12-06 20:37:01 +00:00
Andreas Gustafsson
03c106341c
PRINT_IF_EQUAL() printed even if not equal
2000-12-06 20:36:26 +00:00
Andreas Gustafsson
21010d8842
missing ISC_LINK_INIT()
2000-12-06 20:36:00 +00:00
David Lawrence
92f9189aee
move definition of check_overrun() before its first use
2000-12-06 20:34:34 +00:00
David Lawrence
f616ef2ea9
missing close parenthesis for an isc_msgcat_get() in an
...
"#if ISC_MEM_TRACKLINES" block.
2000-12-06 20:32:12 +00:00
Brian Wellington
17aac384e0
595. [port] On Linux 2.2, socket() returns EINVAL when it
...
should return EAFNOSUPPORT. Work around this.
2000-12-06 01:53:38 +00:00
David Lawrence
68076411d5
DNS_ZONE_FLAG() was used as a boolean macro, so make it really return
...
ISC_TRUE/ISC_FALSE
2000-12-06 01:45:59 +00:00
David Lawrence
e694d4e201
quiet gcc 2.7.2.3 (specifically, the one on trantor) about a cast discarding
...
const in dump_order_compare()
2000-12-06 01:36:36 +00:00
David Lawrence
ee57537f1d
missing close parenthesis after an isc_mgscat_get()
2000-12-06 01:28:02 +00:00
David Lawrence
77078ddc9a
added msgs.h
2000-12-06 01:24:24 +00:00
David Lawrence
87762baad1
oops, guess you guys need this
2000-12-06 01:21:51 +00:00
Brian Wellington
23f64ea0dc
594. [func] sdb drivers are now assumed to not be thread-safe
...
unless the DNS_SDBFLAG_THREADSAFE flag is supplied.
(also make the dirdb.c driver specify DNS_SDBFLAG_THREADSAFE)
2000-12-06 01:08:41 +00:00
David Lawrence
d7f98c32d3
line > 79 columns
2000-12-06 00:35:44 +00:00
David Lawrence
9cd6d409b7
first pass at using isc_msgcat_get for message strings in libisc
2000-12-06 00:30:32 +00:00
Brian Wellington
5f515f43b0
spacing
2000-12-05 23:28:30 +00:00
Brian Wellington
a1d41dd820
quote more tokens in token_to_text, and don't quote the result from
...
token_to_text in the caller.
2000-12-05 23:27:38 +00:00
Brian Wellington
9c5b8b206a
removed code and output duplication
2000-12-05 22:42:23 +00:00
Brian Wellington
ff1db3c6df
Make sig-validity-interval a number of days, like the documentation says.
2000-12-05 22:19:35 +00:00
Olafur Gudmundsson
09ceae8853
keygen coredumps if rsa key is not generated due to lack of randomness
2000-12-05 21:11:18 +00:00
Brian Wellington
a7f3d1e811
The exiting test in zone_settimer was reversed. Oops.
2000-12-05 20:02:34 +00:00
Brian Wellington
c70908209e
replace some INSISTs that theoretically could occur with normal failures
2000-12-05 18:53:43 +00:00
Brian Wellington
1fe2d5bb6e
zone_settimer now logs an error if isc_timer_reset fails, instead of returning
...
a result which all callers ignored.
2000-12-05 00:47:42 +00:00
Brian Wellington
99b39b3bb4
zone_settimer should do nothing if the zone is exiting. Previously, some of
...
the callers checked this, but not all of them.
2000-12-05 00:36:44 +00:00
Andreas Gustafsson
2c826ed1cf
don't flood logs with lots of notify-related log messages at
...
level info; minor changes to log messages
2000-12-04 23:58:27 +00:00
Brian Wellington
425c9c3720
remove unused variable warnings
2000-12-04 23:39:05 +00:00
Brian Wellington
5af0b591fd
lib/dns/sec/openssl/th-lock.c was useless.
2000-12-04 23:21:42 +00:00
Brian Wellington
704d6eeab1
591. [bug] Work around non-reentrancy in openssl by disabling
...
precomputation in keys.
2000-12-04 23:06:37 +00:00
Andreas Gustafsson
f55dd75bca
minor editing
2000-12-04 18:37:40 +00:00
Mark Andrews
5a6335a8bf
588. [bug] ctx->in_use was not being correctly initalised when
...
when pushing a file for $INCLUDE. [RT #523 ]
2000-12-04 04:17:00 +00:00
Andreas Gustafsson
f1b2bd266e
eliminate compiler warnings about unused variables in
...
sanitized code
2000-12-02 05:29:15 +00:00
Andreas Gustafsson
8db2b65318
more DNS_OPT_NEWCODES sanitation
2000-12-02 05:28:05 +00:00
Andreas Gustafsson
90ad126bb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:44:51 +00:00
Andreas Gustafsson
294ae26fb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:30:08 +00:00
Andreas Gustafsson
ab3f2d77bd
sanitize away the DNS_OPT_NEWCODES stuff
2000-12-02 04:13:35 +00:00
Andreas Gustafsson
941d15a028
style
2000-12-02 04:12:25 +00:00
Mark Andrews
5b027b8ca3
reorder
2000-12-02 00:57:43 +00:00
Andreas Gustafsson
f83520a3d8
treat the use-ixfr option like we do with other obsolete options;
...
in particular, there is no need for the ARM to have a separate section about it
2000-12-02 00:25:42 +00:00
Andreas Gustafsson
ce1f5b8d0a
rewrote much of the statistics counter code
2000-12-01 23:49:59 +00:00
Mark Andrews
90ae994603
memory leak on error path
2000-12-01 23:29:54 +00:00
Mark Andrews
ad70a097c8
Allow views w/ same name and different class to be added to view list.
...
Change view add failure result test from == ISC_R_EXISTS -> != ISC_R_SUCCESS.
2000-12-01 23:27:43 +00:00
Andreas Gustafsson
880a4fcf95
Do not express intent to implement the check-names option.
2000-12-01 19:50:52 +00:00
Andreas Gustafsson
9c566a852f
587. [func] A warning is now printed if the "allow-update"
...
option allows updates based on the source IP
address, to alert users to the fact that this
is insecure and becoming increasingly so as
servers capable of update forwarding are being
deployed.
2000-12-01 18:22:17 +00:00
Mark Andrews
4c08b67a5f
586. [bug] multiple views with the same name were fatal. [RT #516 ]
2000-12-01 09:03:44 +00:00
Mark Andrews
372dfd542b
de-couple dns_zone_notify() and dns_zone_maintenance() from their callers.
2000-12-01 03:20:00 +00:00
Andreas Gustafsson
63cef8bde8
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 01:40:59 +00:00
Mark Andrews
f8abaa0fae
Used a unsigned int rather than a boolean to indicate subtrations making
...
the API more consistant between dns_db_{add,subtract}rdataset(),
dns_rdataslab_{merge,subtract}().
Adjust previous CHANGES to reflect above as this is not yet end user visible.
Add missing CHANGES entry for add/merge.
2000-12-01 01:22:45 +00:00
Andreas Gustafsson
ffc4cece90
#include <isc/mutex.h>
2000-12-01 01:03:12 +00:00
Andreas Gustafsson
7a6f285bc9
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 01:00:47 +00:00
Andreas Gustafsson
94d61e2f76
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 00:55:16 +00:00
Andreas Gustafsson
6e8d5fd217
missed some #ifdef->#if changes
2000-12-01 00:52:38 +00:00
Andreas Gustafsson
d24d223c17
install conflwres.h, too
2000-12-01 00:50:28 +00:00
Andreas Gustafsson
c52e5c8ed1
test the various memory debug flags with #if instead of #ifdef
...
so that they can be turned off by passing -DISC_MEM_FOO=0 on the compiler
command line; removed some historical cruft
2000-12-01 00:32:02 +00:00
Mark Andrews
9d2c9f7896
585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
...
now support 'exact' additions in a similar manner to
dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 23:59:08 +00:00
Andreas Gustafsson
16ef05fe1b
incremented
2000-11-30 23:06:32 +00:00
Mark Andrews
012c6d0b91
585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
...
now support 'exact' additions in a similar manner to
dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 13:19:09 +00:00
Andreas Gustafsson
8b4eaec405
removed RRSET_AUTHORITATIVE bit as decided in lengthy
...
teleconference discussion; some editorial changes
2000-11-29 22:55:11 +00:00
Mark Andrews
e9fce1415f
582. [bug] dns_zone_idetach() failed to lock the zone.
...
[RT #199 , #463 ]
2000-11-29 14:03:29 +00:00
David Lawrence
01a37f376f
changed "in" to "of" in DNS_R_SINGLETON, "multiple RRs of singleton type"
2000-11-29 05:59:33 +00:00
Andreas Gustafsson
25303900d1
missing semicolon
2000-11-29 01:51:54 +00:00
Andreas Gustafsson
1d90a73d6d
Make reloads work again after condition variable hack; added comments
2000-11-29 01:50:49 +00:00
Andreas Gustafsson
8e7ce54bef
Make omapi clients work on single-threaded systems by
...
means of a gross hack involving recursive invocation of the
event loop. [RT #505 ]
2000-11-29 01:27:09 +00:00
Andreas Gustafsson
aefca1d492
typo in comment
2000-11-29 00:10:29 +00:00
Andreas Gustafsson
37fb395fd7
it makes no sense for a forward zone to have
...
a {min,max}-re{try,fresh}-time or zone-statistics option
2000-11-28 22:42:37 +00:00
Andreas Gustafsson
54f6b2cfa8
stacksize, datasize, coresize and files options are now implemented
2000-11-28 21:43:37 +00:00
Andreas Gustafsson
1f1ff380e0
switch() was missing all break; statements, causing setting of resource
...
limits to always fail
2000-11-28 21:40:52 +00:00
Andreas Gustafsson
9374f5f62c
Do not express intent to implement the check-names option.
2000-11-28 21:20:51 +00:00
Andreas Gustafsson
57aac9d2de
removed /* XXX should use temporary file and rename */ comment -
...
dns_master_dump() now takes care of that
2000-11-28 20:54:37 +00:00
Andreas Gustafsson
5c90fb2361
clarified error messages
2000-11-28 17:34:06 +00:00
Mark Andrews
ae520c2f9f
More obsolete filed warnings
2000-11-28 05:24:53 +00:00
Mark Andrews
9b2e198580
Silence compiler
2000-11-28 04:46:00 +00:00
Mark Andrews
70270e02ca
Remove max-cache-ttl and max-ncache-ttl unimplemented warnings.
...
Warn max-cache-size is not implemented.
2000-11-28 04:01:21 +00:00
Mark Andrews
1e9a8d3d39
Warn that max-cache-size is not yet implemented.
2000-11-28 03:57:17 +00:00
Mark Andrews
a7e4b89468
Check stub dialup option values.
2000-11-28 03:22:55 +00:00
Andreas Gustafsson
8a711bcd39
clarified comment
2000-11-28 02:33:58 +00:00
Andreas Gustafsson
0b2d261301
removed sdb NOMINUM_PUBLIC cruft
2000-11-28 02:10:03 +00:00
Michael Sawyer
504b15de12
Use zone lock instead of zmgr lock on counters
...
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
Andreas Gustafsson
f00075e753
getrrsetbyname() incorrectly assumed that malloc() and
...
calloc() return NULL only on failure, causing the lwres test to fail
on OSF/1 and AIX systems
2000-11-28 01:50:46 +00:00
Bob Halley
59e1a928bc
do not INSIST when restarting with returnlame
2000-11-27 19:56:16 +00:00
Andreas Gustafsson
41c53e1d11
added comment
2000-11-27 19:45:45 +00:00
Andreas Gustafsson
9259fed3d8
Continue move of lib/dns/*conf.c stuff to bin/named
2000-11-27 19:42:38 +00:00
Andreas Gustafsson
d7059b8b7c
80 columns
2000-11-27 19:15:39 +00:00
Andreas Gustafsson
78aa86abc6
typos
2000-11-27 17:49:41 +00:00
Mark Andrews
07892e4443
Memory leak when ISC_MEM_TRACKLINES is defined.
2000-11-25 06:40:54 +00:00
Mark Andrews
dfd7798d8b
578. [func] Notify-source, specify the source address for notify
...
messages.
2000-11-25 02:43:56 +00:00
Mark Andrews
01c161ee2b
add DNS_R_SINGLETON
2000-11-25 01:20:47 +00:00
Mark Andrews
19ff7edc1a
577. [func] Log illegal RDATA combinations. e.g. multiple
...
singlton types, cname and other data.
2000-11-24 01:51:11 +00:00
Mark Andrews
8a0ff6c15c
576. [doc] isc_log_create() description did not match reality.
...
575. [bug] isc_log_create() was not setting internal state
correctly to reflect the default channels created.
2000-11-24 01:37:26 +00:00
Mark Andrews
0f9bbc9ea2
loop_cnt test was wrong way around.
2000-11-23 05:04:54 +00:00
Andreas Gustafsson
eac8e1d5fc
added DNS_LOGMODULE_SDB
2000-11-23 02:25:02 +00:00
Brian Wellington
bfa244d5d4
Mark callback sources as bad if the get() routine returns failure. Also
...
some other cleanup, and a reversal of the incorrect destroylock patch.
2000-11-23 01:04:00 +00:00
Brian Wellington
a452eb6b5d
a mutex wasn't being destroyed
2000-11-23 00:26:11 +00:00
Andreas Gustafsson
20e1ac3376
removed unused variable poke_needed
2000-11-22 23:48:14 +00:00
Brian Wellington
ef6a36d944
tsig signed queries by the resolver both didn't always work and leaked memory.
2000-11-22 23:16:04 +00:00
Andreas Gustafsson
83c45e69f8
Accept any trailing garbage in messages, not just the Microsoft AXFR request
...
variety, logging a message at debug level 1. We may or may not add an option to make this
conditional.
2000-11-22 23:09:58 +00:00
Andreas Gustafsson
5404e14bbb
eliminated compiler warnings
2000-11-22 23:06:55 +00:00
Andreas Gustafsson
f8032c198b
don't needlessly reload slave, stub, and dynamically updated
...
master zones on server reload [RT #482 ]
2000-11-22 19:56:18 +00:00
Andreas Gustafsson
73732bf151
don't blow away the journal file after a journal replay,
...
only after a database dump [RT #482 ]
2000-11-22 18:58:12 +00:00
Andreas Gustafsson
a6dbd6b660
572. [bug] Quoted strings were not accepted as key names in
...
address match lists.
2000-11-22 18:20:05 +00:00
Bob Halley
d5c1fec74c
do not force replacement mode for singleton types
2000-11-22 01:56:02 +00:00
Bob Halley
bab57cc87f
check for singleton rdata type when merging slabs
2000-11-22 01:55:38 +00:00
Michael Sawyer
1697c110c0
zone-statistics was actually a good idea after all.
2000-11-22 00:30:37 +00:00
Bob Halley
383665e42a
Do not allow rdatasets of singleton type to have more than one rdata.
...
Check for CNAME and other data.
[RT #154 ] [RT #279 ]
2000-11-22 00:18:34 +00:00
Bob Halley
15af30dfc1
add DNS_R_CNAMEANDOTHER and DNS_R_SINGLETON
2000-11-22 00:16:41 +00:00
Brian Wellington
292ef406c6
Calling RSA_check_key() requires entropy, which may not be present. Remove
...
the call.
2000-11-22 00:11:30 +00:00
Andreas Gustafsson
7e4cda9965
renamed rdata_valid() to rdata_validate() and commented it
2000-11-20 21:58:01 +00:00
Brian Wellington
f164957327
Allocate a buffer large enough to hold the unknown rr data, not a buffer
...
with the same amount of free space as the target buffer.
2000-11-20 21:41:53 +00:00
Brian Wellington
93ed317bb4
unknown rr type parsing code deuglification.
2000-11-20 21:29:41 +00:00
Brian Wellington
48b5493b2c
types 128 - 255 are meta types
2000-11-20 20:29:00 +00:00
Mark Andrews
25a66b4e41
#include <isc/print.h>
2000-11-20 13:02:18 +00:00
Mark Andrews
da4d6b30cf
Unlink before freeing.
2000-11-20 10:20:10 +00:00
Mark Andrews
7d8cdd869e
pointer arithmetic on (void*) is a no-no.
...
use extened buffer api to calculate lengths.
2000-11-20 06:54:40 +00:00
Brian Wellington
b0214977e8
Instead of storing parentheses deltas, just copy lex->paren_count and
...
restore it on ungettoken(). This is much easier (thanks, Mark).
2000-11-20 00:41:50 +00:00
Brian Wellington
2ea44ff332
Unknown rrs would not be parsed correctly when in an rdataset with known rrs.
2000-11-19 23:19:23 +00:00
Brian Wellington
1275a72e8d
Don't allow metatypes to be loaded using the \# format.
2000-11-19 22:12:42 +00:00
Brian Wellington
cfd8d65ec1
#include <ctype.h>
2000-11-19 22:10:03 +00:00
Brian Wellington
fb1ee7bee0
isc_hex_fromtext didn't handle lowercase a-f
2000-11-19 20:58:58 +00:00
Brian Wellington
bea3d187ee
fixed another assertion failure.
2000-11-18 21:15:23 +00:00
Brian Wellington
cffe50abf6
Lots of copyright updates
2000-11-18 03:01:17 +00:00
Andreas Gustafsson
fcf28b759c
Don't log ENFILE and EMFILE as unexpected errors
2000-11-18 02:56:48 +00:00
Andreas Gustafsson
2bd70b6822
Allow master zones to not have a 'file' option, to support non-rbt
...
databases. Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-18 02:54:22 +00:00
Brian Wellington
6fd4ab217e
missing "static" keyword.
2000-11-18 01:35:13 +00:00
Brian Wellington
6a9f7f6e51
fix paren handling in quoted strings again.
2000-11-18 01:02:39 +00:00
Andreas Gustafsson
8bba70c48d
renamed dns_zone_setdatabase() to dns_zone_setfile(),
...
and dns_zone_getdatabase() to dns_zone_getfile(), with the idea that
they (and the 'file' zone option) will always refer to the zone's
master file, regardless of the database implementation. If a
non-rbt database uses a disk file for its internal storage, the
name of that file should be specified as an argument to the 'database'
option, not using the 'file' option.
2000-11-18 00:57:23 +00:00
Brian Wellington
08e57545c2
Allow the hashing code in the rbt to be disabled (to save memory). This
...
should eventually be configurable at runtime, or at least with a
configure option, but now it's just a #define in rbt.h.
2000-11-18 00:55:25 +00:00
Brian Wellington
66a39bda9c
parentheses in strings were handled incorrectly.
2000-11-18 00:54:19 +00:00
Brian Wellington
229ce407c3
Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
...
stdout.
2000-11-17 23:32:27 +00:00
Andreas Gustafsson
0d8fe6131e
treat EHOSTDOWN (if defined) the same as EHOSTUNREACH rather than as an
...
unexpected error [RT #215 ]
2000-11-17 21:04:12 +00:00
Andreas Gustafsson
d8f9019647
566. [func] New public function dns_timer_setidle().
2000-11-17 19:45:36 +00:00
Andreas Gustafsson
ba6fd25808
567. [bug] Setting the zone transfer timeout to zero caused an
...
assertion failure. [RT #302 ]
566. [func] New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00
Brian Wellington
4d56f59ad0
log a message if dns_db_create fails
2000-11-17 02:49:11 +00:00
Brian Wellington
34f9910283
the removal of "simple" left an off by one error.
2000-11-17 01:27:34 +00:00
Brian Wellington
a1014b72b0
the static initializer wasn't always called.
2000-11-17 01:06:37 +00:00
Brian Wellington
729916054d
if a string token was immediately followed by an EOF token, ungetting the
...
string token would fail.
2000-11-17 00:34:37 +00:00
Andreas Gustafsson
26e801318b
clarified
2000-11-16 23:10:19 +00:00
Brian Wellington
77ac297199
Database and simple database implementations (except rbt and rbt64) are
...
registered dynamically. Simple database drivers no longer use the
keyword "simple" in named.conf - the driver name is sufficient.
2000-11-16 22:33:53 +00:00
Andreas Gustafsson
6cc385f78b
you can't just undefine L_SEARCH, because yacc will
...
insert its definition before the #undef, not after it. Instead, rename
L_SEARCH to L_SEARCHLIST
2000-11-16 22:18:46 +00:00
Mark Andrews
bba79bc76f
remove NOMINUM_PUBLIC_DELETE
2000-11-16 21:58:09 +00:00
David Lawrence
859e2ee593
AIX defines L_SEARCH in <sys/lkup.h>; undefine it.
2000-11-16 20:44:53 +00:00
Brian Wellington
308785a470
If a token is ungotten, the source is no longer at EOF.
2000-11-16 03:44:41 +00:00
Brian Wellington
09ce346fd8
ungetting eof tokens could trigger an assertion.
2000-11-16 03:03:16 +00:00
Brian Wellington
3cd88f71b0
oops, an extra file snuck in.
2000-11-16 02:05:54 +00:00
Brian Wellington
341629dbc2
sdb should not be sanitized away anymore.
2000-11-16 01:41:02 +00:00
Brian Wellington
eb4a45ebf5
remove sortlist
2000-11-16 00:06:38 +00:00
David Lawrence
4a590cf385
Following revision 1.124, 'count' was no longer needed by bind_rdataset().
2000-11-15 23:51:13 +00:00
David Lawrence
99f627f2a9
In dns_opt_attrtotext(), declare and set omit_final_dot only when
...
DNS_OPT_NEWCODES is defined. In dns_opt_totext(), do not declare or
set omit_final_dot at all.
2000-11-15 23:40:00 +00:00
David Lawrence
2197bdf6b1
fixed prototype for static build_SYS_str_reasons()
2000-11-15 23:19:05 +00:00
David Lawrence
f604b5ab0b
A test of a result in an INSIST() in dns_db_getsoaserial() was improperly
...
actually setting the result.
2000-11-15 23:16:33 +00:00
David Lawrence
e7b6119384
removed extraneous semicolon
2000-11-15 23:12:27 +00:00
David Lawrence
9bcf5e9a14
assign the result of copy_ptr_targets to the event result in lookup_done()
2000-11-15 23:07:58 +00:00
David Lawrence
ba7ea2326d
dns_aclelement_match() returns an isc_boolean_t, but if dns_acl_match()
...
within it returned a result that was not ISC_R_SUCCESS, then that result
code was being returned. Since dns_acl_match() always returns ISC_R_SUCCESS,
the erroneous return was converted into an INSIST().
2000-11-15 22:59:55 +00:00
David Lawrence
78e5d07050
comment why <sys/time.h> is needed
2000-11-15 22:41:56 +00:00
David Lawrence
5ed0ffc1f7
clean up const warnings
2000-11-15 22:38:51 +00:00
David Lawrence
61632c1973
tokens after #endif
2000-11-15 20:47:54 +00:00
Andreas Gustafsson
8c962eba3d
I really shouldn't commit stuff until it at least compiles
2000-11-15 19:11:36 +00:00
Andreas Gustafsson
ab889e996d
use dns_rdataclass_format()
2000-11-15 19:06:04 +00:00
Andreas Gustafsson
d3a86da2e8
563. [func] New public functions dns_rdatatype_format() and
...
dns_rdataclass_format(), for convenient formatting
of rdata type/class mnemonics in log messages.
2000-11-15 19:05:32 +00:00
Mark Andrews
3fdad8e3bb
adjust is_lame test for same level.
2000-11-15 04:53:06 +00:00
Mark Andrews
edc9f47a1d
add #include <sys/time.h>
2000-11-15 03:58:53 +00:00
David Lawrence
21ec512685
some systems do not implement all of the resources of
...
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
Andreas Gustafsson
4b7018f4cc
illegal token after #endif
2000-11-15 01:31:45 +00:00
Andreas Gustafsson
88658c1300
fetch-glue, min-roots, and max-ixfr-log size are now considered
...
obsolete
2000-11-15 01:30:12 +00:00
Andreas Gustafsson
7863e6bd43
provide a more detailed error message when configuring
...
a TSIG key fails [RT #461 ]
2000-11-15 00:52:04 +00:00
Andreas Gustafsson
6a56be50dd
new result code DNS_R_BADALG
2000-11-15 00:51:17 +00:00
Brian Wellington
b8d6376e1b
the ungettoken changes also broke multiline records.
2000-11-15 00:42:53 +00:00
Andreas Gustafsson
850d708185
562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong.
2000-11-15 00:36:42 +00:00
David Lawrence
e94e2fe29d
cope with the possibility that the prefix of a name
...
split within a bitstring label might have been compacted to have fewer
labels than what was expected
2000-11-14 23:51:24 +00:00
David Lawrence
e28b5084ec
Bitstring labels *still* suck. They didn't somehow magically get less
...
sucky in the past couple of months. The nerve.
Anyway, dns_name_split now correctly compacts the preceding bitstring label
(if any) when a maximal bitstring is split.
It also correctly creates the suffix when a maximal bitstring is split.
It was doing this incorrectly before, independent of the compaction issue.
2000-11-14 23:48:02 +00:00
David Lawrence
7ff4d6ebca
compile unix/resource.c
2000-11-14 23:43:36 +00:00
David Lawrence
3fdfcc7977
use symbolic constant for formatting 64 bit ints
2000-11-14 23:42:29 +00:00
David Lawrence
1097943242
would have helped if the MIN/MAX for all of the signed integers were not
...
reversed.
2000-11-14 23:41:46 +00:00
David Lawrence
6c7b702df1
symbolic constant for the format string of a 64 bit long
2000-11-14 23:40:31 +00:00
David Lawrence
d653744935
isc_resource_t, isc_resourcevalue_t
2000-11-14 23:39:34 +00:00
David Lawrence
015c481e8b
new functions, isc_resource_getlimit and isc_resource_setlimit, via new
...
header file, <isc/resource.h>
2000-11-14 23:39:15 +00:00
David Lawrence
b59aac4816
new functions, isc_resource_getlimit and isc_resource_setlimit
2000-11-14 23:38:10 +00:00
David Lawrence
1ab0c9558f
map EPERM to ISC_R_NOPERM
2000-11-14 23:37:26 +00:00
David Lawrence
91676aba50
provide errno by way of errno.h
2000-11-14 23:37:10 +00:00
David Lawrence
be9a4bd82a
symbolic constants for integral maximums and signed integral minimums
2000-11-14 23:35:43 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson
4301257d29
the 'dialup' access functions operate on dns_dialuptypt_t, not boolean
2000-11-14 20:14:17 +00:00
Andreas Gustafsson
daf99720c9
the existence of a dynamically allocated array for the NXT
...
bits should not depend on its length
2000-11-14 18:14:44 +00:00
Brian Wellington
78d78f05d9
556. [func] The DNSSEC OK bit in the EDNS extended flags
...
is now implemented. Responses to queries without
this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Brian Wellington
1f2f5445ec
remove an uninitialized variable warning
2000-11-13 21:29:27 +00:00
Andreas Gustafsson
5afc10d6d8
554. [bug] Slave server attempting zone transfer could crash
...
with an assertion failure on certain malformed
responses from the master. [RT #457 ]
2000-11-13 20:12:29 +00:00
Brian Wellington
47fa8b4c8f
fix outdated comments
2000-11-13 20:12:03 +00:00
Andreas Gustafsson
626b221f71
553. [bug] Incoming zone transfers deferred due to quota
...
were not started when quota was increased but
only when a transfer in progress finished. [RT #456 ]
2000-11-13 18:19:27 +00:00
Mark Andrews
733e928f71
552. [bug] We were not correctly detecting the end of all c-style
...
comments. [RT #455 ]
2000-11-13 04:09:40 +00:00
Andreas Gustafsson
ae7e8784aa
log messages should not be capitalized
2000-11-11 02:14:50 +00:00
Andreas Gustafsson
f58cfa95f7
comment formatting
2000-11-11 02:14:25 +00:00
Andreas Gustafsson
c2a94d89f9
clarified comments
2000-11-11 01:15:33 +00:00
Andreas Gustafsson
244e29639a
our coding standards say:
...
Source which becomes obsolete should be removed, not just disabled with
#if 0 ... #endif.
2000-11-11 01:07:32 +00:00
Andreas Gustafsson
dcd12febbd
dns_zone_configure() does not need to special-case hint zones,
...
because it must never be called for them
2000-11-11 01:05:43 +00:00
Andreas Gustafsson
c2f4fe7f95
clarified comment; fixed spacing
2000-11-11 01:02:28 +00:00
Andreas Gustafsson
84abb95f7e
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:41:08 +00:00
Andreas Gustafsson
febaa09184
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:16:26 +00:00
Andreas Gustafsson
b0ce1ff804
typo
2000-11-10 03:14:25 +00:00
Andreas Gustafsson
7f73d29ac5
comments about who is responsible for freeing the memory
...
of rdata and rdatalists borrowed from messages were incorrect
2000-11-10 03:13:03 +00:00
Andreas Gustafsson
97a195d7ff
spacing; incorrect comment
2000-11-10 03:08:57 +00:00
Brian Wellington
66f7feef55
the ungettoken changes broken line number reporting
2000-11-10 01:41:00 +00:00
Brian Wellington
ac5921d110
validating that rdata of a known type expressed using the unknown type
...
syntax is correct didn't work.
2000-11-10 01:37:40 +00:00
Brian Wellington
3a16668468
fix a few minor problems in the unknown rrtype support.
2000-11-10 00:25:46 +00:00
Brian Wellington
ebfcb6cf66
550. [func] Support unknown rdata types and classes.
2000-11-09 23:55:05 +00:00
Andreas Gustafsson
673ce7aebb
removed redundant declaration of dns_rdataclass_totext() from rdata.h;
...
it is declared in rdataclass.h
2000-11-09 19:33:51 +00:00
Brian Wellington
787b57597e
The CLASSNAMES array was both unused and incomplete.
2000-11-09 03:03:47 +00:00
Brian Wellington
55b085353a
error message improvements
2000-11-09 02:35:43 +00:00
Brian Wellington
066faef119
548. [func] The lexer now ungets tokens more correctly.
2000-11-09 02:23:40 +00:00
Brian Wellington
a90dcd1f19
the wrong result code was being printed
2000-11-09 00:20:47 +00:00
Brian Wellington
60a7fe5da1
remove uninitialized variable.
2000-11-08 18:24:37 +00:00
Mark Andrews
bfcdcde570
implement lame-ttl.
2000-11-08 03:53:16 +00:00
Brian Wellington
add4043305
The identical gettoken() routines in rdata.c, hex.c, and base64.c have
...
been replaced with isc_lex_getmastertoken().
2000-11-08 01:56:15 +00:00
Brian Wellington
f439363eeb
minor code simplification
2000-11-08 00:51:24 +00:00
Andreas Gustafsson
04bf45fffe
added missing newline
2000-11-08 00:18:18 +00:00
Michael Sawyer
a3a11c4f3f
Add the ability (via rndc dump-statistics) to dump a file with counters of
...
various results given to queries. Enable the (previously disabled)
statistics-file config option.
2000-11-07 23:49:42 +00:00
Brian Wellington
5cca7753fd
RRTYPE -> TYPE for unknown types
2000-11-07 23:44:33 +00:00
Brian Wellington
7499479679
spelling
2000-11-07 23:43:23 +00:00
Brian Wellington
19e0a2c2d1
Add isc_hex_* routines, which handle conversion to and from hex strings.
2000-11-07 20:58:08 +00:00
Mark Andrews
4ec1a96d90
542. [func] Add allow-update-forwarding support.
2000-11-06 08:11:11 +00:00
Brian Wellington
fa3cbea8bf
541. [func] Add bogus server support.
2000-11-04 02:20:58 +00:00
Andreas Gustafsson
36d33bb69b
uninitialized link field
2000-11-03 22:56:39 +00:00
Brian Wellington
a123725906
blackhole address matching broke the resolver
2000-11-03 22:53:14 +00:00
Brian Wellington
abc5ea4349
fix some potential memory leaks
2000-11-03 21:36:37 +00:00
Brian Wellington
ce10da9983
A call to isc_mempool_get() was unchecked, which could lead to a seg fault.
2000-11-03 19:55:15 +00:00
Andreas Gustafsson
41b27cf6b4
removed unused global variable declaration of dns_zone_countsize
2000-11-03 18:43:53 +00:00
Andreas Gustafsson
71b5fa7fb7
commented new dialup-related functions
2000-11-03 18:42:56 +00:00
Andreas Gustafsson
bfb0e358c8
commented dns_view_dialup()
2000-11-03 18:35:31 +00:00
Andreas Gustafsson
6b369477a3
by convention, dummy arguments are called 'dummy', not '__arg'
2000-11-03 18:27:31 +00:00
Mark Andrews
ae97173085
initalise/free/print dialup option
2000-11-03 10:43:12 +00:00
Mark Andrews
04967d1a5a
extraneous isc_mem_get
2000-11-03 08:54:18 +00:00
Mark Andrews
0fc89c4ee6
540. [func] Add dialup support.
2000-11-03 07:16:09 +00:00
Brian Wellington
e21d199dca
539. [func] Support the blackhole option.
2000-11-03 02:45:55 +00:00
Mark Andrews
4ab40dad77
Add BIND 8 style GENERATE $$ => $.
2000-11-02 05:18:33 +00:00
Brian Wellington
4d833ef73b
Document lwres_getrrsetbyname
2000-11-02 02:21:09 +00:00
Brian Wellington
668728fed8
First cut at getrrsetbyname code
2000-11-02 01:52:32 +00:00
Mark Andrews
c03298d879
538. [bug] fix buffer overruns by 1 in lwres_getnameinfo().
2000-11-02 01:10:22 +00:00
Brian Wellington
e3e3bafa13
Lookups now return sigrdatasets if they exist.
2000-11-02 00:55:41 +00:00
Brian Wellington
ed239db49c
Allow keys to be referred to as 'Kname.+id+alg.' (with a trailing dot), since
...
file completion often produces strings of that form.
2000-11-01 00:17:18 +00:00
Brian Wellington
0a6ddf7b82
A typo caused null keys to be printed incorrectly.
2000-10-31 20:12:32 +00:00
Mark Andrews
533df4efda
537. [func] Use transfer-source{-v6} when notify messages.
2000-10-31 05:34:18 +00:00
Mark Andrews
f4166b4dc3
allow transfer-source to be set on master zones.
...
print the transfer-source port.
2000-10-31 04:20:54 +00:00
Mark Andrews
368b37b616
dns_rdata_invalidate -> dns_rdata_reset
2000-10-31 03:22:05 +00:00
Mark Andrews
04c22ceaf2
536. [func] Use transfer-source{-v6} when sending refresh queries.
...
Transfer-source{-v6} now take a optional port
parameter for setting the UDP source port. The port
parameter is ignored for TCP.
2000-10-31 01:17:19 +00:00
Mark Andrews
6ef15459b8
535. [func] Use xfrsource[46] when forwarding update requests.
2000-10-30 05:08:07 +00:00
Brian Wellington
fc3ab47d03
remove calls to printf() in error handling.
2000-10-28 01:25:14 +00:00
Brian Wellington
2be139c4b2
search path processing is now done in the server
2000-10-28 00:37:52 +00:00
Brian Wellington
bb71d64085
dns_message_checksig should not require a view in all cases
2000-10-27 21:56:57 +00:00
Brian Wellington
f1cae4bcb7
DNS_RDATA_INITIALIZED was spelled wrong (missing an 'i'), and also not
...
spelled the same way as other uses of the word "initialize" (it had an 's',
not a 'z').
2000-10-27 21:29:23 +00:00
Brian Wellington
8ee7467b98
valid base64 strings with embedded spaces were rejected.
2000-10-25 19:24:18 +00:00
David Lawrence
b65f2ab14a
534. [func] Ancestors have been removed from RBT chains. Ancestor
...
information can be discerned via node parent pointers.
533. [func] Incorporated name hashing into the RBT database to
improve search speed.
There is still evidence of a bug with regard to bitstring labels. It shows
up in bin/test/rbt/t_rbt -x -t 4 when the assertion at lib/dns/rbt.c:1631
is uncommented -- essentially a bitstring node's location in the hashtable
is not getting properly updated at some point. This shouldn't affect
searching, because a bitstring label as the parent of a new level will
generally cause the standard old binary search to be done. I will be looking
at this more closely in the very near future.
2000-10-25 07:21:31 +00:00
Mark Andrews
b589e90689
Remove the rdata->length == 0 checks, UPDATE pseudo rdata are now tagged.
...
Add sanity checks to rdata types where the length cannot legally be zero.
2000-10-25 05:44:10 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Brian Wellington
f9e2482928
uninitialized link field.
2000-10-24 17:24:35 +00:00
Mark Andrews
389c749a5e
530. [func] New function dns_rdata_invalidate().
2000-10-24 02:03:33 +00:00
Mark Andrews
72fa265baa
529. [bug] 521 contained a bug which caused zones to always
...
reload. [RT #410 ]
2000-10-23 00:31:28 +00:00
Andreas Gustafsson
b28d2a3d7b
the established alternate spelling of 'template' is
...
'templet', not 'templat'
2000-10-20 22:09:01 +00:00
Michael Sawyer
c9c5b25473
Fix overzealous printing of newlines in message_[pseudo]sectiontotext().
2000-10-20 20:40:46 +00:00
Brian Wellington
f8a55f9955
Added "ndots" to the lwres{} statement in named.conf
2000-10-20 19:32:49 +00:00
Bob Halley
c69ad15d94
#include <dns/master.h> to get prototypes for loadmgr functions.
2000-10-20 15:59:52 +00:00
Mark Andrews
4b6d5b2312
528. [func] The ISC_LIST_XXXX macros now perform sanity checks
...
on their arguements. ISC_LIST_XXXXUNSAFE can be use
to skip the checks however use with caution.
2000-10-20 13:35:58 +00:00
Mark Andrews
cf573ce6fb
More ISC_LINK_INIT fixes.
2000-10-20 13:29:37 +00:00
Mark Andrews
29c818c7d4
527. [func] New function dns_rdata_clone().
2000-10-20 13:22:36 +00:00
Mark Andrews
5e589b5356
Uninitalised link fixes, batch 1.
2000-10-20 02:21:58 +00:00
Mark Andrews
643f42815f
Modified list macros w/ checking currently disabled.
2000-10-20 01:57:57 +00:00
Andreas Gustafsson
2baafa088c
eliminate signed/unsigned char pointer warning
2000-10-19 23:40:31 +00:00
Andreas Gustafsson
f8020519b3
added more commentary
2000-10-19 18:09:34 +00:00
Mark Andrews
e6bd97dded
Add 'flag' to rdata
2000-10-19 05:50:54 +00:00
Brian Wellington
5504e5d066
A few isc_mem_strdup() failures weren't handled well.
2000-10-19 01:38:26 +00:00
Andreas Gustafsson
5a11763ab2
added support for a search{} clause in the lwres{} statement
2000-10-19 01:26:39 +00:00
Andreas Gustafsson
4913f156c4
typo
2000-10-19 01:25:55 +00:00
Andreas Gustafsson
96aa1f5236
spacing
2000-10-19 01:25:38 +00:00
Brian Wellington
1dc5c713eb
removed unused variable
2000-10-19 01:10:24 +00:00
Brian Wellington
b05c91f9d5
The 'hints' parameter somehow turned into 'arg' in the middle of the
...
description.
2000-10-19 00:43:07 +00:00
Andreas Gustafsson
0a9b84a8a5
#include <lwres/netdb.h>, not lwres.h
2000-10-19 00:26:36 +00:00
Mark Andrews
b55c30f2de
525. [func] New arguement 'exact' for dns_db_subtractrdataset(),
...
and dns_rdataslab_subtract() requesting that the RR's
must exist prior to deletion. DNS_R_NOTEXACT is
returned if the condition is not met.
2000-10-18 23:53:31 +00:00
Brian Wellington
28bad71357
forward zones don't have dialup or pubkey fields
2000-10-18 21:18:47 +00:00
Brian Wellington
b43af69134
The parser leaked memory when printing the "references to zones not
...
implemented yet" warning.
2000-10-17 22:21:34 +00:00
Michael Sawyer
55aed608cc
Add counters of incoming queries, server-wide and by zone. There is
...
currently no way to get these counts back *out* of the server, pending
a command channel. A temporary channel should be built for these data
soon.
2000-10-17 20:57:26 +00:00
Andreas Gustafsson
5b34d8267e
revision 1.30 broke the default lwres address of 127.0.0.1
...
by incorrectly assuming that lwres_addr_parse() parses an address in string
form (it actually parses an address in lwres wire form)
2000-10-17 20:09:19 +00:00
Mark Andrews
3688a648ff
mising declarations
2000-10-17 10:59:48 +00:00
Mark Andrews
b20ee662a7
521. [bug] Detect master files which contain $INCLUDE and always
...
reload. [RT #196 ]
new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
8804fd9936
Split off the generic dns query functionality from the byaddr module into
...
the lookup module, and make byaddr use lookup.
2000-10-17 01:57:42 +00:00
Brian Wellington
6177fc9897
A lot of files generated by libtool were not properly ignored.
2000-10-16 23:44:25 +00:00
Michael Sawyer
34d2bdadb4
Oops on the last commit. Editor wasn't saved when I did the commit, and
...
the cvs diff output was very close to the correct one, so I didn't
notice the problem.
2000-10-16 22:26:25 +00:00
Michael Sawyer
ce82008f65
The change made in patch 233 was breaking preventing the server from
...
being built when sanitized. Since there is no obvious reason for
notify->flags to be hidden behind sanitize ifdefs, move it public.
(Lots of places which referred to ->flags were not sanitized out.)
2000-10-16 21:14:29 +00:00
Mark Andrews
0d32cdd9a0
Check message id against expected id, fail / revert to AXFR on mismatch.
...
Skip check for second and subsequent messages if the query is AXFR.
2000-10-16 04:26:08 +00:00
Mark Andrews
20a313a458
Add DNS_R_UNEXPECTEDID.
2000-10-16 04:08:13 +00:00
Mark Andrews
d39e56173d
Old BINDs will return FORMERR if the SOA is included in the NOTIFY.
...
Detect this and resend w/o SOA.
2000-10-16 04:05:43 +00:00
David Lawrence
72ce8db918
sigh. the last checkin only included RT #369 fix, not the other things I meant
...
to include.
2000-10-14 04:38:22 +00:00
David Lawrence
190fbe9738
519. [bug] dns_name_split() would improperly split some bitstring
...
labels, zeroing a few of the least signficant bits in
the prefix part. When such an improperly created
prefix was returned to the RBT database, the bogus
label was dutifully stored, corrupting the tree.
[RT #369 ]
Also made dns_name_split() REQUIRE that suffixlabels always be greater than 0,
even when splitting a bitstring label (it already required this when not
splitting a bitstring label). This is consistent with the way dns_name_split()
was called to split a name that consisted of a single label, a bitstring;
the appropriate suffixlabels value is 1 in such cases.
Also a fixed minor style error, and a confusing comment.
2000-10-14 04:31:31 +00:00
Brian Wellington
54477d367b
The changes in #515 leaked memory and left dead code.
2000-10-13 23:21:17 +00:00
Bob Halley
c40085afa7
Fix problems with DNAME chain processing in the resolver, and with
...
retrievals of DNAMEs from the cache. (Changes 516, 517, and 518).
2000-10-13 18:55:11 +00:00
Mark Andrews
10258f6b3d
515. [bug] The ssu table was not beinge attached / detached
...
by dns_zone_[sg]etssutable. [RT#397]
2000-10-13 13:45:45 +00:00
Mark Andrews
b38ebe307c
514. [func] Retry refresh and notify queries if they timeout.
...
[RT #388 ]
2000-10-13 13:23:09 +00:00
Mark Andrews
78bdbbaccb
'more_frags' lost the memory after the last fragment. Add the remaining
...
memory to the appropriate free list.
2000-10-13 05:37:17 +00:00
Michael Sawyer
94b50bce2b
Add zone-specific reload and refresh capability to server and rndc
2000-10-12 21:52:00 +00:00
Brian Wellington
3c0a818977
IPv6 portability
2000-10-12 21:39:23 +00:00
Mark Andrews
256b8024a1
remve unused variable
2000-10-12 04:03:28 +00:00
Mark Andrews
588b63e1a8
512. [bug] The zone tranfer code could throw an execption with
...
an invalid IXFR stream.
2000-10-12 03:32:14 +00:00
Brian Wellington
3b2f0d1d66
#include <dst/gssapi.h>
2000-10-12 01:08:32 +00:00
Brian Wellington
0e5d6900bd
Various hacks to allow (at some point in the future) interoperability
...
with Windows 2000's broken implementation of TKEY.
2000-10-12 00:40:52 +00:00
Brian Wellington
909e3c2288
Add support for tkey-gssapi-credential. Also do some cleanup allowing any
...
of the tkey options to be set without requiring all of them.
2000-10-12 00:39:17 +00:00
Brian Wellington
4a200b9022
Add tkey-gssapi-credential to the options section
2000-10-12 00:38:30 +00:00
Brian Wellington
c0150ad6aa
Don't call UNEXPECTED_ERROR if setsockopt(SO_TIMESTAMP) returns ENOPROTOOPT.
2000-10-12 00:35:49 +00:00
Brian Wellington
703dfde61b
An out of memory error could cause an assertion.
2000-10-11 23:57:38 +00:00
Mark Andrews
479e643d54
use isc_mem_allocate for omapi_data_strdup to be consistant with
...
isc_mem_strdup
2000-10-11 21:19:01 +00:00
Bob Halley
303ca7abc9
#include <string.h> to get prototype for strlen().
2000-10-11 17:57:35 +00:00
Michael Sawyer
dc570b92f6
Add support for proposed ZONE and VIEW opt attributes. These are currently
...
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA. They are also not quite complete in all regards; VIEW
options are understood and ignored. ZONE options are understood and
acted upon, though some of the error cases aren't quite right.
Remove doubled isc_mem_stats in dighost.c
Update todo list.
Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Mark Andrews
c7294f9c0b
Suppress spurious "hint zones do not have a dialup field".
2000-10-11 05:15:23 +00:00
Brian Wellington
cf2f889716
remove warning
2000-10-10 22:04:29 +00:00
Brian Wellington
e9871cc765
__func__ doesn't seem to exist.
2000-10-10 22:00:12 +00:00
Brian Wellington
d03a04f594
incorrect use of the sanitizer
2000-10-10 21:58:01 +00:00
Mark Andrews
452d75b18f
510. [bug] Remove spurious view notify warning. [RT #376 ]
2000-10-10 01:17:30 +00:00
Brian Wellington
ed6d98bffe
freeing null pointers is bad
2000-10-09 18:20:18 +00:00
Mark Andrews
3030ea490c
If the rename failed in isc_file_renameunique() unlink the temporary file.
2000-10-07 06:55:01 +00:00
Brian Wellington
568c0c0c10
forgot to add these files
2000-10-07 00:45:13 +00:00
Brian Wellington
e0521dac5d
Not all of the setsockopt failures logged the reason for failure.
2000-10-07 00:16:50 +00:00
Brian Wellington
d1cbf71409
clean up suspicious looking and incorrect uses of dns_name_fromregion
2000-10-07 00:09:28 +00:00
Brian Wellington
e484f9de4f
The nxt structure was basically useless.
2000-10-06 22:41:16 +00:00
Brian Wellington
d77d087809
uninitialized variables. oops.
2000-10-06 22:02:02 +00:00
Brian Wellington
f4b4e7c162
#include <string.h>
2000-10-06 21:20:59 +00:00
Brian Wellington
6850cdd449
508. [func] dns_message_parse() can now do a best-effort
...
attempt, which should allow dig to print more invalid
messages.
2000-10-06 18:58:30 +00:00
Brian Wellington
4ed956c5c0
current snapshot of gss-tsig code. I'd be surprised if this works with
...
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00
Brian Wellington
8f80322fb5
Support for lwresd on addresses other than 127.0.0.1.
2000-10-05 22:27:54 +00:00
Mark Andrews
2a37aa188c
507. [func] New functions dns_zone_flush(), dns_zt_flushanddetach()
...
and dns_view_flushanddetach().
503 was incomplete.
2000-10-05 06:39:26 +00:00
Brian Wellington
fc5332e1f4
Should compile now.
2000-10-04 20:50:25 +00:00
Brian Wellington
9d794b5203
Added lwres{} statement to named.conf.
2000-10-04 18:47:24 +00:00
Mark Andrews
75545fc8c4
If loading a slave/stub zone fails. Save the master file and journal and
...
initiate a zone transfer.
2000-10-03 05:47:45 +00:00
Mark Andrews
9282d220f4
New functions isc_file_template(), isc_file_renameunique().
...
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate(). The later is now written using isc_file_template().
2000-10-03 05:45:39 +00:00
Mark Andrews
df1e829dde
504. [bug] The zone was not being marked as dirty when updated via
...
IXFR.
503. [bug] dumptime was not being set along with
DNS_ZONEFLG_NEEDDUMP.
2000-10-02 23:55:44 +00:00
Andreas Gustafsson
6bd179ea9a
removed empty line at beginning of file
2000-09-29 23:54:31 +00:00
Andreas Gustafsson
f20c9d340a
fixed a typo in a comment, expanded another
2000-09-29 23:53:05 +00:00
Michael Sawyer
229c6987e7
Get sanitize working with arbitrary keys
2000-09-29 21:31:02 +00:00
Andreas Gustafsson
23bfeb8bb1
checkpoint
2000-09-28 22:36:33 +00:00
Brian Wellington
2c18231946
The nonthreaded private include files should be deleted by the sanitizer.
2000-09-28 21:32:51 +00:00
Brian Wellington
0d89afffb2
Make sure #else and #endif for ISC_PLATFORM_USETHREADS are marked as such.
2000-09-28 21:31:08 +00:00
Brian Wellington
6b827cb794
typo
2000-09-28 20:29:22 +00:00
Andreas Gustafsson
9a3c31507c
removed INSIST(zone->dumptime != 0) until we figure out
...
what the meaning of zone->dumptime is supposed to be
2000-09-28 18:03:18 +00:00
Mark Andrews
e549eb1242
494. [func] Do not cache NXDOMAIN responses for SOA queries.
2000-09-28 06:43:36 +00:00
Mark Andrews
cd5475efa4
Describe and enforce the contract for isc_event_allocate().
...
Silent failure for bad args is not the BIND 9 way.
2000-09-27 22:53:33 +00:00
Andreas Gustafsson
dc8a97366a
492. [bug] The error messages printed when an IP match list
...
contained a network address with a nonzero host
part where not sufficiently detailed. [RT #365 ]
2000-09-27 20:10:39 +00:00
Michael Sawyer
1c66892e02
Fix confparser.y stuff in relation to sanitize.
2000-09-27 18:00:40 +00:00
Mark Andrews
fce9a9550e
492. [bug] attempting to reload a zone caused the server fail
...
to shutdown cleanly. [RT #360 ]
2000-09-27 13:05:04 +00:00
Brian Wellington
2557aa46f0
Print a warning if check-names is set. Of course, setting check-names
...
as specified in the ARM causes the parser to die anyway.
2000-09-27 02:04:04 +00:00
Brian Wellington
c5c1043a96
print a warning if the dialup, check-names, or pubkey directive is seen
2000-09-27 01:50:01 +00:00
Brian Wellington
bda3efe854
reordered include files
2000-09-27 00:06:34 +00:00
Brian Wellington
5a4f9ff34f
The makefiles should be sdb-clean now.
2000-09-26 23:25:51 +00:00
Brian Wellington
8614264835
protect the simple database stuff with NOMINUM_PUBLIC
2000-09-26 22:45:59 +00:00
Michael Graff
e1db5e817f
ask the database for aaaa records too, when an a6 isn't found.
2000-09-26 22:28:55 +00:00
Brian Wellington
c76926d714
comment updates
2000-09-26 22:14:35 +00:00
Brian Wellington
df03463a37
Allow *_log_setcontext() to be called multiple times, so that *_lctx
...
can be set to NULL once the log context has been freed.
2000-09-26 22:10:44 +00:00
Brian Wellington
3a62e221b4
locks weren't being destroyed
2000-09-26 22:09:20 +00:00
Andreas Gustafsson
693ddf84da
491. [bug] nsupdate would segfault when sending certain
...
prerequisites with empty RDATA. [RT #357 ]
2000-09-26 19:37:06 +00:00
Andreas Gustafsson
ff7e6f2791
When lacking user-specified timer values from the SOA,
...
use a retry time that backs off exponentially from one minute up to
six hours. This should allow the xferquota test to succeed [RT #337 ]
by allowing for one or more retries during the test, while keeping the
amount of SOA query traffic to dead masters reasonable for GNS.
2000-09-26 18:17:10 +00:00
Andreas Gustafsson
d8d05d04fa
the ternary operator ?: does not yield an lvalue
2000-09-26 17:28:13 +00:00
Andreas Gustafsson
3c754b3581
removed function dns_zone_setrefresh()
2000-09-26 17:24:00 +00:00
Andreas Gustafsson
94361d5867
simplified isc_random_jitter() and eliminated floating
...
point from the code using it in zone.c
2000-09-26 17:23:19 +00:00
Andreas Gustafsson
61a31f75cd
added INSISTs to verify that zone timer intervals
...
are set before use
2000-09-26 16:32:39 +00:00
Mark Andrews
5a98a57f8f
489. [func] The zone manager now has a "i/o" queue.
2000-09-26 05:16:57 +00:00
Mark Andrews
2bebe117bf
489. [func] The zone manager now has a "i/o" queue.
2000-09-26 05:08:05 +00:00
Brian Wellington
a06c40460a
fix a potential buffer overflow when writing keys to disk.
2000-09-25 23:19:39 +00:00
Brian Wellington
cc8a68d56f
minor cleanup
2000-09-25 23:18:54 +00:00
Brian Wellington
dd27011f02
locks weren't being destroyed.
2000-09-25 17:46:39 +00:00
Andreas Gustafsson
629c6629d0
zone_postload() used variable "new" before setting it [RT #337 ]
2000-09-23 06:27:12 +00:00
Brian Wellington
060de372a1
The database now does duplicate suppression, so the master file loader
...
doesn't need to.
2000-09-23 01:05:35 +00:00
Brian Wellington
4ab4f2d14c
do a more thorough job of duplicate suppression in dns_rdataslab_fromrdataset
2000-09-23 01:05:03 +00:00
Brian Wellington
3f123dcc2f
487. [port] flockfile() is not defined on all systems.
...
Also check for libpthreads, if libpthread isn't found.
2000-09-22 18:52:39 +00:00
Michael Graff
08ad332552
put a break in the switch
2000-09-21 21:40:29 +00:00
Michael Graff
e710c2162a
check for more expected error values in connect() case
2000-09-21 21:30:27 +00:00
Brian Wellington
6e5fa98df0
A call to isc_mem_put could (in some cases) be called with an invalid size.
2000-09-21 21:29:16 +00:00
Andreas Gustafsson
922e6a3c2a
478. [bug] "make install" failed if the directory specified with
...
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Mark Andrews
0e07026a21
476. [bug] A zone could expire while a zone transfer was in
...
progress triggering a INSIST failure. [RT #329 ]
2000-09-20 09:50:34 +00:00
Brian Wellington
352e28b5ee
The UNUSED() macro wasn't used.
2000-09-20 00:01:26 +00:00
Brian Wellington
12688cc9fc
#include <resolv.h> is not needed, and causes problems on AIX.
2000-09-19 21:21:59 +00:00
Mark Andrews
8affb49a70
Move the UDP buffer pool to the dispatchmgr. UDP parameters are now set
...
by the first call to dns_dispatch_getudp(), subsecquent calls can raise
the maximum number of buffers. dns_dispatchmgr_setudp() could be made
public.
Tidy dispatch_allocate().
entropy and mctx are now gone from dns_qid_t.
2000-09-19 06:59:28 +00:00
Andreas Gustafsson
338edde79f
snprintf() requires <isc/print.h> on OSF/1 4.0
2000-09-19 01:47:53 +00:00
Brian Wellington
6cd4630de6
spacing
2000-09-19 01:44:15 +00:00
Andreas Gustafsson
6b0ce7d29f
474. [bug] The mnemonic of the CHAOS class is CH according to
...
RFC1035, but it was printed and read only as CHAOS.
We now accept both forms as input, and print it
as CH.
2000-09-19 01:27:22 +00:00
Brian Wellington
140c1a485b
remove warnings
2000-09-18 19:36:59 +00:00
Brian Wellington
eacc8996e0
The included openssl rsa code didn't work
2000-09-18 19:25:00 +00:00
Andreas Gustafsson
c89ac488df
472. [bug] Off-by-one error caused isc_time_add() to sometimes
...
produce invalid time values.
2000-09-18 18:43:03 +00:00
Andreas Gustafsson
ec02cd5927
spacing
2000-09-18 18:31:06 +00:00
Mark Andrews
9d3ef72b37
470. [feature] $GENERATE is now supported. See also
...
doc/misc/migration.
2000-09-18 06:50:35 +00:00
Mark Andrews
a7c76f1924
469. [bug] "query-source address * port 53;" now works.
2000-09-18 04:50:05 +00:00
Mark Andrews
79907dfac9
some more cases of #466
2000-09-17 13:08:46 +00:00
Mark Andrews
4050789abb
bugfix 468 contained a error.
2000-09-17 12:54:44 +00:00
Mark Andrews
c50a002bd1
468. [bug] dns_master_load*() failed to report file and line
...
number in certain error conditions.
467. [bug] dns_master_load*() failed to log an error if
pushfile() failed.
466. [bug] dns_master_load*() could return success when it failed.
2000-09-17 12:38:47 +00:00
David Lawrence
566155f16e
465. [cleanup] Allow 0 to be set as an omapi_value_t value by
...
omapi_value_storeint().
(Arguably this is was a bug, arguably it wasn't. I do not know Ted's
original intent, but I believe it cleans up the API to allow 0 to be
set and retrieved just as any other int is.)o
(Also arguably, the other omapi_value_store*() functions should instead
be creating non-NULL omapi_value_t->value pointers when they are setting
NULL values, and then assigning NULL into the relevant union member.)
2000-09-16 03:20:54 +00:00
Brian Wellington
206c4ad41e
More header files needed for rsa
2000-09-16 01:35:02 +00:00
Brian Wellington
4e37e5b5ee
empty unions don't compile everywhere.
2000-09-16 01:34:30 +00:00
Brian Wellington
a9dedf80e6
oops, missed this one.
2000-09-16 01:22:55 +00:00
Brian Wellington
d8e93e7f90
remove dnssafe objects, build openssl rsa
2000-09-16 01:15:22 +00:00
Brian Wellington
fe73980e87
add openssl rsa
2000-09-16 01:14:34 +00:00
Brian Wellington
09523ae822
remove dnssafe
2000-09-16 01:14:22 +00:00
Brian Wellington
8dc6eb05bd
Add RSA support
2000-09-16 01:13:59 +00:00
Brian Wellington
e9c0951923
Remove dnssafe; use openssl rsa instead.
2000-09-16 01:12:21 +00:00
Brian Wellington
90e9c34380
Remove dnssafe.
2000-09-16 01:09:21 +00:00
Andreas Gustafsson
a8f69def81
type mismatch
2000-09-15 23:02:07 +00:00
Brian Wellington
f7fa8ec1a9
selective forwarding didn't quite work.
2000-09-15 22:41:07 +00:00
Brian Wellington
f3f22040a8
The ipv6 probe fails if IPv6 is disabled.
2000-09-15 20:52:27 +00:00
Andreas Gustafsson
97c7e793b0
missing space between words in warning message; typos
2000-09-15 00:26:35 +00:00
Mark Andrews
b374727d51
456. [bug] Stub zones were not resetting the refresh and expire
...
counters, loadtime or clearing the DNS_ZONE_REFRESH
(refresh in progress) flag upon successful update.
[RT #300 ]
2000-09-14 03:55:38 +00:00
Mark Andrews
be1d71fd17
454. [bug] Enforce dotted decimal and dotted decimal quad where
...
documented as such in named.conf. [RT #304 , RT#311]
2000-09-14 02:19:04 +00:00
Andreas Gustafsson
3bd5170d0c
do not treat maintain-ixfr-base as equivalent to provide-ixfr,
...
since it's not documented that way
2000-09-13 23:00:16 +00:00
Andreas Gustafsson
8e732de92e
Buffers Files Tools Edit Search Help
...
453. [bug] Warn if the obsolete option maintain-ixfr-base
is specified in named.conf. [RT #306 ]
2000-09-13 22:47:05 +00:00
Andreas Gustafsson
16447e2997
spacing
2000-09-13 20:51:54 +00:00
Andreas Gustafsson
afd2f40b3c
452. [bug] Warn if the unimplemented option statistics-file
...
is specified in named.conf. [RT #301 ]
2000-09-13 20:49:40 +00:00
Mark Andrews
f671d6d103
cleanup unncessary dns_zone_{iattach,idetach}().
2000-09-13 04:50:19 +00:00
Mark Andrews
a506c6f9be
cleanup remove some unnecessary dns_zone_{iattach,idetach}() calls.
...
notify_destroy() now takes a locked arguement.
notify_send() no longer destroys its arguement.
2000-09-13 04:12:42 +00:00
Mark Andrews
7a21d6207f
attach/detach tracing at ISC_LOG_DEBUG(10).
...
style fix (foo -> foo != NULL).
remove potential REQUIRE failure.
2000-09-13 01:00:39 +00:00
Bob Halley
3302ed8d6e
bitstring assertion addition; doc fixes
2000-09-13 00:11:45 +00:00
Andreas Gustafsson
a9d3c26ed0
some CPP macros were not fully parenthesized
2000-09-12 23:27:44 +00:00
Mark Andrews
91ac60fe11
446. [bug] Confusing notify log message. [RT #298 ]
2000-09-12 22:50:52 +00:00
Bob Halley
83d2840b6f
fix erroneous isc_bitstring_copy() REQUIRE
2000-09-12 19:26:40 +00:00
Andreas Gustafsson
a405a53d53
443. [bug] When loading a master file failed because of an
...
unrecognized RR type name, the error message
did not include the file name and line number.
[RT #285 ]
2000-09-12 18:10:24 +00:00
Brian Wellington
0fded1c8b7
remove warnings.
2000-09-12 13:46:12 +00:00
Brian Wellington
a9ba7e6564
Allow a keyset to be self-signed if the signing key is a trusted-key.
2000-09-12 12:01:50 +00:00
Brian Wellington
d6be55c63f
comment the infinite loop fix
2000-09-12 10:21:45 +00:00
Brian Wellington
5c29047792
minor dst api change
2000-09-12 09:59:28 +00:00
Brian Wellington
54bf299982
Don't assume class IN; rename functions to conform to the naming style.
2000-09-12 09:55:32 +00:00
Brian Wellington
020d334001
Don't assume class IN.
2000-09-12 09:54:36 +00:00
Mark Andrews
694d98c143
cleanup notify_log & zone_log to reduce common code.
2000-09-12 01:22:12 +00:00
Mark Andrews
68516a98cb
document dns_message_getrawmessage
2000-09-11 23:37:34 +00:00
Andreas Gustafsson
400f5eeb2c
spelling
2000-09-11 20:51:47 +00:00
Bob Halley
ba43c53451
Allow nodes obscured by a DNAME to be accessed if the GLUEOK bit is set.
2000-09-11 16:48:25 +00:00
Mark Andrews
29a9d783b2
440. [func] New function dns_zone_forwardupdate().
2000-09-11 13:34:18 +00:00
Mark Andrews
b9dead30b1
440. [func] New function dns_zone_forwardupdate().
2000-09-11 13:26:22 +00:00
Mark Andrews
056141f287
439. [func] New function dns_request_createraw().
2000-09-11 06:35:57 +00:00
Mark Andrews
5126112bc3
438. [func] New function dns_message_getrawmessage().
2000-09-11 05:55:27 +00:00
Mark Andrews
668278867b
437. [func] Log NOTIFY activity to the notify channel.
2000-09-11 04:37:52 +00:00
Brian Wellington
230aff0eac
Fix the crash caused by a signed message not matching any view [RT #290 ].
...
This fixes the crash, but not the real problem, which is that the TSIG needs
to be verified even if there is no matching view.
2000-09-09 10:46:58 +00:00
Andreas Gustafsson
00010dc6a4
TCP receives should never be retried
2000-09-08 22:02:21 +00:00
Andreas Gustafsson
b7e031d517
435. [bug] dns_zone_dump() overwrote existing zone files
...
rather than writing to a temporary file and
renaming. This could lead to empty or partial
zone files being left around in certain error
conditions involving the initial transfer of a
slave zone, interfering with subsequent server
startup. [RT #282 ]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
c9f54e6d04
unbalanced quotes in comment
2000-09-08 21:35:45 +00:00
Andreas Gustafsson
e881887f18
commented
2000-09-08 21:25:21 +00:00
Andreas Gustafsson
7ec4367f3d
434. [func] New function isc_file_isabsolute().
2000-09-08 18:37:28 +00:00
Brian Wellington
ec393c0384
Error return cleanup.
2000-09-08 14:25:40 +00:00
Brian Wellington
8c7fa43b3c
Make dst_region_computeid() take an algorithm, since it was returning the
...
wrong id for RSA keys. Also clean up a few error messages from dst routines.
2000-09-08 14:23:49 +00:00
Brian Wellington
c38cf70db1
Fix an assertion failure and a case where an rdataset's trust wasn't set.
2000-09-08 14:18:17 +00:00
Brian Wellington
8447ecf6fd
Check for NULL before checking for key size.
2000-09-08 07:51:28 +00:00
Andreas Gustafsson
2c9c7c5bb5
433. [func] isc_base64_decodestring() now accepts newlines
...
within the base64 data. This makes it possible
to break up the key data in a trusted-keys
statement into multiple lines. [RT #284 ]
2000-09-08 00:34:21 +00:00
Michael Graff
4e8518aa8f
add up to 10 minutes of jitter for refresh/retry, clammed as: RETRYTIME >= actual_retry >= RETRYTIME * .80
2000-09-08 00:07:44 +00:00
Michael Graff
95236b0363
make the returned value sane in all cases
2000-09-08 00:06:39 +00:00
Brian Wellington
abaec24086
429. [bug] The space reserved for a TSIG record in a response
...
was 2 bytes too short, leading to message
generation failures.
2000-09-07 21:08:52 +00:00
Brian Wellington
70d950d16e
Log a warning if TSIG keys are too short (where too short is less than 8 bytes).
2000-09-07 20:34:04 +00:00
Bob Halley
3ad16d4c3a
In find_closest_nxt(), do not return DNS_R_BADDB because of glue
2000-09-07 20:10:36 +00:00
Brian Wellington
32b2cdf212
427. [bug] Avoid going into an infinite loop when the validator
...
gets a negative response to a key query where the
records are signed by the missing key.
2000-09-07 19:46:52 +00:00
Bob Halley
3113e4dac8
fix auth-nxdomain default message [RT #287 ]
2000-09-07 19:24:33 +00:00
Andreas Gustafsson
d782d0dc8d
major rewrite
2000-09-07 16:36:29 +00:00
Brian Wellington
79028ea477
uninitialized variables could lead to a core dump.
2000-09-07 12:10:36 +00:00
Mark Andrews
50bea34058
more notify_createmessage() cleanup.
2000-09-07 04:20:52 +00:00
Michael Graff
1deaf52c98
kill persistent errors. Always retry the I/O now.
2000-09-07 01:59:57 +00:00
Michael Graff
d2439ad5af
log message about strange socket error at ISC_LOG_ERROR level
2000-09-07 01:53:31 +00:00
Mark Andrews
05fff5d905
424 [bug] notify_createmessage could trigger a REQUIRE failure
...
w/ two SOA records for the zone (illegal). [RT #279 ]
2000-09-07 01:06:45 +00:00
Andreas Gustafsson
1ed3e846a2
make the initial iterator state of rdatasets undefined
...
so that we can detect cases where the user fails to call dns_rdataset_first()
before calling dns_rdataset_current()
2000-09-06 23:16:14 +00:00
Michael Graff
e558faa60b
make unreachable errors on unconnected UDP sockets be soft errors, rather than hard ones.
2000-09-06 22:55:33 +00:00
Michael Graff
346e6a3a23
touch up a comment
2000-09-06 21:56:20 +00:00
Michael Graff
db84234e52
add some quick text describing client- and server-side flow
2000-09-06 21:54:23 +00:00
Michael Graff
1e92a4f7a4
specify which fields are set by what in the packet header
2000-09-06 20:54:44 +00:00
Andreas Gustafsson
3bd723c53a
clarified comment
2000-09-06 16:25:35 +00:00
Mark Andrews
9916239908
Initial opaque rdata support.
2000-09-06 03:25:23 +00:00
Michael Graff
7da0286b54
get rid of isc_random_t -- use a wrapper around rand() instead that doesn't do as much work. Also, implement isc_random_jitter(), used to generate a value between a min, max, with a provided jitter value.
2000-09-06 02:40:00 +00:00
Mark Andrews
6c6bed90cb
Add comments describing isc_mem_putanddetach().
2000-09-05 22:20:36 +00:00
Andreas Gustafsson
87ecd67dae
419. [bug] The certificate type PKIX was misspelled as SKIX.
2000-09-05 17:09:30 +00:00
Mark Andrews
d22b4de3f1
Throttled answer while loading support (still needs config file hooks).
2000-09-05 03:35:24 +00:00
Mark Andrews
1162a4e02a
New function isc_mem_putanddetach().
2000-09-05 03:30:19 +00:00
Jim Reid
fa263add26
First draft of resolver(5) man page
2000-09-03 20:45:58 +00:00
Brian Wellington
d3735e0e25
DST_ALG_RSA -> DST_ALG_RSAMD5
2000-09-02 01:17:20 +00:00
Andreas Gustafsson
f38a84ce83
418. [bug] At debug levels >= 10, getting an unexpected
...
socket receive error would crash the server
while trying to log the error message.
2000-09-01 22:41:46 +00:00
Brian Wellington
1b32bc7da1
417. [func] Add isc_app_block() and isc_app_unblock(), which
...
allow an application to handle signals while
blocking.
2000-09-01 21:31:54 +00:00
Andreas Gustafsson
da41917c3f
cleanup and simplification
2000-09-01 19:59:35 +00:00
Andreas Gustafsson
122d284b61
there is no such thing as a for...while loop
2000-09-01 16:39:07 +00:00
Andreas Gustafsson
1b088f4680
reordered some statements for clarity
2000-09-01 16:37:30 +00:00
Michael Graff
ca0db0cdc8
stop mumbling in dispatch.h by filling out the comments. Fixed a bug, since I was here already.
2000-09-01 07:16:06 +00:00
Brian Wellington
88b9c12a3c
rdataslabs are now sorted. Also added a function to compare two rdataslabs.
2000-09-01 01:35:21 +00:00
Andreas Gustafsson
4187398298
416. [bug] Slave zones with no master file tried to use a
...
NULL pointer for a journal file name when they
received an IXFR.
2000-08-31 23:56:00 +00:00
Brian Wellington
4b809ba346
415. [bug] The logging code leaked file descriptors.
2000-08-31 20:58:15 +00:00
Andreas Gustafsson
a69cebac84
414. [bug] Server did not shut down until all incoming zone
...
transfers were finished.
2000-08-31 17:48:47 +00:00
Andreas Gustafsson
04cec6dc5b
comment style
2000-08-31 17:10:58 +00:00
Andreas Gustafsson
50a3152b70
clarified comment
2000-08-31 16:58:28 +00:00
Mark Andrews
7523838d84
make error message more informative.
2000-08-31 13:38:55 +00:00
Mark Andrews
4a30ede93d
add overmem method
2000-08-31 13:04:47 +00:00
Mark Andrews
ce0c777a38
overmem was out of order
2000-08-31 13:00:57 +00:00
Mark Andrews
3a34b87c87
Add cache cleaning support (disabled).
2000-08-31 12:15:17 +00:00
Mark Andrews
a21fbfdd30
413. [bug] notify could attempt to use the zone database after
...
it had been unloaded. (RT#267)
2000-08-31 06:16:42 +00:00
Mark Andrews
5ebcf506a1
remove unneccessary call to notify_createmessage()
2000-08-31 00:31:38 +00:00
Brian Wellington
5a842a6fc3
The non-threaded version does a better job avoiding starvation.
2000-08-30 23:47:16 +00:00
Mark Andrews
68e32e13a5
#include <isc/platform.h>
2000-08-30 21:24:57 +00:00
Brian Wellington
aa3f41bafc
signals were broken in the non-threaded version
2000-08-30 01:43:59 +00:00
Brian Wellington
743add946b
Comment out calls to flockfile() and funlockfile(), since it's not
...
evident that they're needed, and they don't work on all platforms without
threads.
2000-08-30 01:28:10 +00:00
Brian Wellington
5ae91ef876
#include <stddef.h>
2000-08-30 01:24:20 +00:00
Brian Wellington
5aa95f94c9
don't need <pthread.h> or <isc/platform.h>
2000-08-30 01:11:37 +00:00
Brian Wellington
ae8b7e02a8
Non threaded isc_app_* - basically an event loop that calls into the
...
task, timer, and socket modules.
2000-08-30 00:58:28 +00:00
Brian Wellington
efafe4fa7f
Non-threaded socket manager.
2000-08-29 23:58:17 +00:00
Brian Wellington
8dd5562555
#include <isc/platform.h>
2000-08-29 22:55:57 +00:00
Brian Wellington
0c4887513b
add copyright
2000-08-29 22:53:59 +00:00
Brian Wellington
3be0a4382d
ALlow the task manager to run without threads. This doesn't handle fairness
...
too well.
2000-08-29 22:30:14 +00:00
Brian Wellington
8ec174ad4e
Allow the timer code to run without threads.
2000-08-29 21:30:03 +00:00
Brian Wellington
352cb92ac2
DNS_KEYALG_MD5RSA -> DNS_KEYALG_RSAMD5
2000-08-29 19:45:33 +00:00
Brian Wellington
5e872705df
condition.c needs to be added
2000-08-29 19:22:34 +00:00
Brian Wellington
fafb62400d
When --disable-threads is passed, use "nothreads" instead of "pthreads" in
...
the build process.
2000-08-29 18:24:01 +00:00
Brian Wellington
f05941692e
Add an empty lib/isc/nothreads/condition.c, since it greatly simplifies
...
the build process.
2000-08-29 18:19:29 +00:00
Mark Andrews
5afa531442
Alphabetize #include <dns/???>.
2000-08-29 03:48:00 +00:00
Mark Andrews
f3788d318d
Do not forward notifies if they fail to pass the SOA serial check.
2000-08-29 03:45:48 +00:00
Brian Wellington
3c7f352550
single-threaded versions.
2000-08-29 00:33:36 +00:00
Brian Wellington
9ce781741a
don't use DESTROYLOCK, since isc_mutexblock_destroy actually returns
...
failure if isc_mutex_destroy fails.
2000-08-29 00:25:23 +00:00
Andreas Gustafsson
892abf3178
added configure option --enable-threads/--disable-threads,
...
define ISC_PLATFORM_USETHREADS
2000-08-28 23:51:21 +00:00
Brian Wellington
bc40028504
Added the "nothreads" directory in lib/isc. These will be used in the
...
non-threaded libisc.
2000-08-28 23:16:50 +00:00
Brian Wellington
698de4d4c0
The alphabetically sorted DSTOBJS weren't.
2000-08-28 23:04:51 +00:00
Brian Wellington
9e21cef0b2
The alphabetically sorted OBJS and SRCS weren't.
2000-08-28 22:54:39 +00:00
Brian Wellington
762b1edceb
DESTROYLOCK does not need a do { } while (0) construct.
2000-08-28 19:49:38 +00:00
Brian Wellington
37a8fbab3a
411. [bug] A typo in the HS A code caused an assertion failure.
2000-08-28 17:39:21 +00:00
Mark Andrews
42aea0fbdc
options { notify-forward yes; }; is not longer hardwired as "no;".
2000-08-28 05:51:16 +00:00
Michael Graff
306a935305
add find->result_v[46]
2000-08-26 02:21:45 +00:00
Brian Wellington
c383551293
#include <isc/mutex.h>
2000-08-26 01:56:46 +00:00
Andreas Gustafsson
a38f86ea5b
410. [bug] lwres_gethostbyname() and company set lwres_h_errno
...
to a random value on success.
2000-08-26 01:51:05 +00:00
Brian Wellington
fa9a407180
Last set of DESTROYLOCK changes
2000-08-26 01:42:34 +00:00
Brian Wellington
5e387b9ce6
and more calls to DESTROYLOCK
2000-08-26 01:37:00 +00:00
Brian Wellington
a44038277a
MOre calls to DESTROYLOCK
2000-08-26 01:31:56 +00:00
Brian Wellington
6714319d0f
Add a DESTROYLOCK macro to wrap isc_mutex_destroy()
2000-08-26 01:23:17 +00:00
Brian Wellington
bba01d378b
Since the result of isc_mutex_destroy() is being ignored, cast it to void.
2000-08-26 01:10:54 +00:00
Brian Wellington
569c05295c
removed a chunk of dead debugging code.
2000-08-25 22:07:52 +00:00
Brian Wellington
960d37edc3
Setting event->ev_sender to a bogus non-null value is no longer necessary.
2000-08-25 18:58:35 +00:00
Mark Andrews
ec4060d310
408. [bug] stub zones could leak memory and refernce counts if
...
all the masters were unreachable.
2000-08-25 04:42:49 +00:00
Brian Wellington
0a88c09dc9
#include <isc/mutex.h>
2000-08-25 01:16:04 +00:00
Brian Wellington
504b5167f3
#include <isc/mutex.h>
2000-08-25 01:08:07 +00:00
Brian Wellington
f5ad7569cb
#include <stddef.h>
2000-08-24 23:26:13 +00:00
Brian Wellington
d07ef64ed1
#include <time.h>
2000-08-24 23:22:40 +00:00
Brian Wellington
30e6ea9ded
405. [func] Add support for selective forwarding (forward zones)
2000-08-24 22:15:40 +00:00
Andreas Gustafsson
9f139761ca
don't use parentheses in the text representation of RRs unless
...
we are in multiline mode; this ensures that the output can be re-parsed with
dns_rdata_fromtext
2000-08-24 21:41:44 +00:00
Michael Graff
079c87a7fe
remove annoying log message that floods while loading
2000-08-24 21:28:50 +00:00
Andreas Gustafsson
2de4786af7
a function pointer is not a valid event sender, but NULL is
2000-08-24 19:13:13 +00:00
Brian Wellington
3cab47dbea
A read lock could incorrectly be granted in some cases.
2000-08-24 19:06:38 +00:00
Andreas Gustafsson
dcfbc7c73e
do not clear lctx->buffer before it is has been locked
2000-08-24 18:21:40 +00:00
Andreas Gustafsson
249b19d917
print lock address and thread ID in rwlock trace messages
2000-08-24 17:06:31 +00:00
Andreas Gustafsson
ec46482ef3
dispatch log messages had request/response backwards
2000-08-24 16:56:48 +00:00
Andreas Gustafsson
eb5670ecd2
send task trace output to stderr, not stdout, so that
...
it gets buffered synchronously with logging output sent to stderr
2000-08-24 01:40:46 +00:00
Andreas Gustafsson
ce4ccd5d7f
const correctness
2000-08-24 01:38:46 +00:00
Andreas Gustafsson
1ccdb91515
typo in comment
2000-08-24 01:19:58 +00:00
Andreas Gustafsson
60cf8301f9
drop parser support for dns_c_forw_noanswer and dns_c_forw_nodomain
...
as the server does not implement them (lacking a spec for what they should do)
2000-08-23 23:56:44 +00:00
Andreas Gustafsson
5bf922fd09
use all lower case in error messages
2000-08-23 23:54:58 +00:00
Brian Wellington
1aae88078f
404. [bug] The request library didn't completely work with IPv6.
2000-08-23 19:47:00 +00:00
Brian Wellington
0a45f098e4
Obey the DNS_DBFIND_GLUEOK flag in find().
2000-08-23 18:45:13 +00:00
Brian Wellington
60b90a37f4
Support for AXFR and minor cleanup.
2000-08-23 18:28:03 +00:00
Andreas Gustafsson
6cab5e204c
write ASCII NUL as '\0', not 0
2000-08-23 02:21:16 +00:00
Brian Wellington
9ce72fc748
don't print parens at all if in non-multiline mode.
2000-08-22 22:07:13 +00:00
Brian Wellington
75e1e12f48
use a 'dns_sdbmethods_t' instead of passing all of the functions to
...
dns_sdb_register as parameters.
2000-08-22 22:06:46 +00:00
Andreas Gustafsson
ce2d576f3c
another missing /* NOMINUM_PUBLIC */ comment
2000-08-22 19:32:47 +00:00
Andreas Gustafsson
f0bdf4aa8b
#endif /* NOMINUM_PUBLIC */ was missing the required comment
2000-08-22 17:36:31 +00:00
Andreas Gustafsson
8a63ecd933
silenced compiled warning about a potentially uninitialized
...
variable; INSIST that the variable is indeed initialized
2000-08-22 17:32:07 +00:00
Andreas Gustafsson
7bee275ebe
added lwres_context_send(), lwres_socket_recv(),
...
lwres_context_getsocket() to support clients doing async lookups
2000-08-22 16:20:21 +00:00
Mark Andrews
8249eee42a
notify-any to allow-notify conversion.
...
notify-relay to notify-forward conversion.
2000-08-22 05:14:59 +00:00
Andreas Gustafsson
5965096e50
made flags values use leading zeros to indicate field width
2000-08-22 01:46:12 +00:00
Andreas Gustafsson
697d35a286
oops, new multiple inclusion protection
...
macro did not follow naming convention either
2000-08-22 01:37:50 +00:00
Andreas Gustafsson
901e137229
CVS Id was duplicated; multiple inclusion protection
...
macro did not follow naming convention
2000-08-22 01:35:34 +00:00
Andreas Gustafsson
acec8ad69d
CVS Id was duplicated; removed an empty line
2000-08-22 01:27:27 +00:00
Brian Wellington
4fd3021d3b
comment updates, remove duplicate rcsid.
2000-08-22 01:26:08 +00:00
Brian Wellington
f5a9dda3f3
dns_db_ispersistent() really returns an isc_boolean_t.
2000-08-22 01:20:05 +00:00
Brian Wellington
08eb1c80d2
dns_message_setsig0key was incorrectly requiring msg->buffer to be non-null.
2000-08-22 01:10:42 +00:00
Brian Wellington
87af548ceb
Add sdb.h to the list of headers to be installed.
2000-08-22 00:55:21 +00:00
Brian Wellington
e158719874
compile sdb.c and link it into libdns.
2000-08-22 00:54:57 +00:00
Brian Wellington
a4c351fcef
Add a flags field to dns_sdb_register. One flag requests that names passed in
...
be relative, and another specifies that rdata strings will contain relative
names.
2000-08-22 00:53:31 +00:00
Andreas Gustafsson
0736cce338
made dns_name_getlabelsequence() cope with degenerate
...
relative names containing no labels
2000-08-22 00:46:54 +00:00
Andreas Gustafsson
70e2821036
additional consistency checking
2000-08-21 23:22:01 +00:00
Brian Wellington
67d3660cd6
The message code was checking to see if an rdata type could appear in the
...
question section, and returning a formerr if it was invalid. This isn't
exactly right, since it should be the caller's responsibility to check, not
message_parse. It definitely caused weirdness when parsing responses, and
the only places where queries were parsed already does the right thing.
2000-08-21 22:41:13 +00:00
Brian Wellington
ea18740a0a
Only call dns_db_load if the zone is not persistent. dns_db_ispersistent()
...
should be called in more places, but this is the only one absolutely
necesaary for simple databases to work.
2000-08-21 22:20:32 +00:00
Brian Wellington
e89aeaa2c0
register "simple" as a database type.
2000-08-21 22:19:04 +00:00
Brian Wellington
994940a565
update the copyright.
2000-08-21 22:18:11 +00:00
Brian Wellington
408633bd04
Make some rdatalist functions semi-public, so that the simple database
...
rdataset can reuse most of the code.
2000-08-21 22:17:14 +00:00
Brian Wellington
033ba09d6d
Simple database implementation. This includes a wrapper that makes a simple
...
database look like a dns_db_t, and a set of routines to be called by specific
simple databases.
2000-08-21 22:15:28 +00:00
Brian Wellington
16797b504e
SIG(0) signing and verifying had an off by 2 error.
2000-08-21 17:48:46 +00:00
Andreas Gustafsson
2d1bc69493
#endif missing required /* NOMINUM_PUBLIC */ comment
2000-08-19 00:47:57 +00:00
Andreas Gustafsson
84c25ccb3d
NOMINUM, not NOMINMUM
2000-08-19 00:47:18 +00:00
Andreas Gustafsson
6c86627ede
NOMINUM, not NOMINMUM
2000-08-19 00:39:23 +00:00
Andreas Gustafsson
a7705f38e9
399. [bug] When reloading the server with a config file
...
containing a syntax error, it could catch an
assertion failure trying to perform zone
maintenance on, or sending notifies from,
tentatively created zones whose views were
never fully configured and lacked an address
database and request manager.
2000-08-18 22:51:36 +00:00
Andreas Gustafsson
7acfb3bcd2
previous change did not compile
2000-08-18 22:32:45 +00:00
Andreas Gustafsson
618a5e4923
dns_cache_setcleaninginterval() could try to access
...
timer after it had been freed
2000-08-18 21:22:26 +00:00
Brian Wellington
fe12eb4fc2
Add dns_db_ispersistent. This call determines whether a database is
...
persistent - that is, whether it maintains itself and doesn't require
loading, dumping, and other related things.
2000-08-18 18:25:28 +00:00
Brian Wellington
f7fe55549d
The error message 'has 0 SOA records' incorrectly failed to pluralize
...
record.
2000-08-18 02:34:29 +00:00
Andreas Gustafsson
3c0ca050f1
removed comments that duplicated ones in the header file
2000-08-17 23:54:32 +00:00
Andreas Gustafsson
6826f014d6
cleaned up comments and added missing ones
2000-08-17 23:45:12 +00:00
Brian Wellington
4e0c5cba87
Added isc_consttextregion_t
2000-08-17 23:33:04 +00:00
Brian Wellington
4e5dfe304c
updated copyright
2000-08-17 19:03:27 +00:00
Andreas Gustafsson
708c4ac042
stubbed out ISLOCKED()
2000-08-17 18:33:41 +00:00
Andreas Gustafsson
f6094e763b
minor simplification
2000-08-17 16:15:02 +00:00
Mark Andrews
769dd27de8
add notify-any & notify-relay
...
added missing / corrected comment spelling of NOMINUM_PUBLIC
added REQUIRE(ISLOCKED(????)); to zone.c
2000-08-17 13:13:37 +00:00
Mark Andrews
2910719100
Add ISLOCKED macro.
2000-08-17 09:25:38 +00:00
Brian Wellington
15e513925f
add sec/dst/gssapi_link.o
2000-08-17 02:13:18 +00:00
Brian Wellington
acba1142b4
The region passed to isc_buffer_copyregion() should be const.
2000-08-17 02:09:12 +00:00
Brian Wellington
a00c5e2151
gss-tsig support
2000-08-17 02:08:27 +00:00
Brian Wellington
c9e998ea51
A bit of gss-tsig code. Don't expect this to work.
2000-08-17 02:04:22 +00:00
Andreas Gustafsson
e1368a7770
397. [func] Added utility functions dns_view_gettsig() and
...
dns_view_getpeertsig().
2000-08-17 00:18:12 +00:00
Brian Wellington
90c917523e
entropy.h was missing from HEADERS, so it wasn't being installed.
2000-08-17 00:18:00 +00:00
Andreas Gustafsson
593cb00bd1
rewrote 383. to reduce code duplication and increase functionality:
...
now all records are printed in a sorted order, not just the SOA and NS and
their SIGS
2000-08-16 22:33:32 +00:00
Andreas Gustafsson
771714e6ad
eliminated the function address_to_ptr_name
2000-08-16 22:21:17 +00:00
Andreas Gustafsson
39f029558d
in dns_name_totext(), check that the target buffer is
...
valid, and make use of the new isc_buffer_* macros
2000-08-16 22:18:20 +00:00
David Lawrence
b41fa90be0
tabify
2000-08-16 02:41:08 +00:00
Mark Andrews
c05eb51a1b
388. [cleanup] dns_zone_setdbtype now has const char **dbargv.
...
397. [bug] result was not being set in notify_send_toaddr().
RT#238
2000-08-16 02:16:49 +00:00
Brian Wellington
5b148f96cc
An error in a .private file could lead to an assertion.
2000-08-16 00:30:56 +00:00
David Lawrence
beea173d49
Rewrote the INSIST in dns_tsigkey_create() so that dstalg was guaranteed to
...
be set, even when INSISTS() are turned off.
2000-08-16 00:18:30 +00:00
David Lawrence
cd5a526372
ISC_R_NRESULTS was not bumped when ISC_R_FAMILYNOSUPPORT was added.
2000-08-15 23:30:22 +00:00
Mark Andrews
031f9084fc
394. [bug] Current name was not propagated via $INCLUDE.
...
393. [func] Initial answer while loading (awl) support.
Entry points: dns_master_loadfileinc(),
dns_master_loadstreaminc(), dns_master_loadbufferinc().
Note: calls to dns_master_load*inc() should be rate
be rate limited so as to not use up all file
descriptors.
2000-08-15 03:33:52 +00:00
Mark Andrews
44215b932d
392. [func] Add ISC_R_FAMILYNOSUPPORT. Returned when OS does
...
not support the given address family requested.
391. [clarity] ISC_R_FAMILY -> ISC_R_FAMILYMISMATCH.
2000-08-15 01:43:38 +00:00
Brian Wellington
6f071989da
cancellation fixes
2000-08-15 01:22:33 +00:00
Brian Wellington
2a123ac026
remove unused variable
2000-08-15 00:52:49 +00:00
Brian Wellington
9cd6710f91
validators can now be cancelled.
2000-08-15 00:21:05 +00:00
Andreas Gustafsson
ef97e09e20
make the validator attach to the view only weakly, so that
...
the view can start shutting down even though a validation is in progress.
2000-08-14 22:17:40 +00:00
Brian Wellington
1e2749dba8
Yet more minor cleanup.
2000-08-14 22:00:00 +00:00
Andreas Gustafsson
07f69609fc
log messages should start with lower case letter
2000-08-14 21:59:57 +00:00
Andreas Gustafsson
59d1ce0b01
don't try to configure a max-names option for stub zones
2000-08-14 21:47:42 +00:00
Andreas Gustafsson
0e05b42192
dns_zt_print() is gone
2000-08-14 19:52:21 +00:00
Andreas Gustafsson
99a9da7941
RT #235 : attempts to send a reqeust over IPv6 on systems
...
that do not support IPv6 caused an assertion failure
2000-08-14 19:31:49 +00:00
Brian Wellington
b0f941a50f
387. [func] Add dns_byaddr_createptrname(), which converts
...
an address into the name used by a PTR query.
2000-08-14 19:09:56 +00:00
Brian Wellington
f2338a0d6a
Minor tsig cleanup.
2000-08-14 18:13:11 +00:00
Andreas Gustafsson
d5e72d5dba
signed/unsigned mismatch
2000-08-14 03:50:59 +00:00
Andreas Gustafsson
d56b56dbba
nodecount() returns unsigned int, not isc_boolean_t
2000-08-14 02:49:32 +00:00
Mark Andrews
a207c319ac
Remove redundant test
2000-08-14 01:28:21 +00:00
Andreas Gustafsson
ff59f0e4fe
removed dns_zt_print(), dns_zone_print(), dns_zone_tostr(),
...
PRINT_ZONE_REF; these were only used by the zone2_test program which
has now been removed
2000-08-13 23:51:55 +00:00
Andreas Gustafsson
7e6d32fdba
#endif /* NOMINUM_PUBLIC */ was missing the magic comment
2000-08-11 21:51:04 +00:00
Andreas Gustafsson
e02884167b
use the UNUSED() macro
2000-08-11 16:47:33 +00:00
Brian Wellington
d3ed0df76c
The acl name was being assigned to NULL before it could be freed.
2000-08-11 02:34:45 +00:00
Brian Wellington
ea52f8cf9c
A pointer returned by isc_mem_strdup() wasn't being checked.
2000-08-11 02:11:20 +00:00
Andreas Gustafsson
ea419adc4e
386. [bug] Missing strdup() of ACL name caused random
...
ACL matching failures.
2000-08-11 01:53:47 +00:00
Brian Wellington
de58ecaa9c
Treat undefined acls as an error, rather than warning and then later
...
throwing an assertion.
2000-08-11 00:20:59 +00:00
Andreas Gustafsson
a3e7b6450e
style
2000-08-10 23:42:17 +00:00
Brian Wellington
5e989d1777
If isc_socket_bind tries to bind to a socket with a different address
...
family than the address specified, return a meaningful error.
2000-08-10 23:11:12 +00:00
Andreas Gustafsson
dc685fd1d3
typo
2000-08-10 22:44:00 +00:00
Brian Wellington
f15eb342bd
Add DST_R_OPENSSLFAILURE, which basically means that openssl returned
...
an error and we don't know why.
2000-08-10 22:28:36 +00:00
Brian Wellington
3d37f10b91
On send, treat EPERM like ISC_R_HOSTUNREACH. send() seems to return EPERM
...
on Linux when firewall rules block the send.
2000-08-10 21:47:46 +00:00
Andreas Gustafsson
9be4279a95
[RT #231 ] dns_db_nodecount() could be invoked with a NULL argument.
...
Also moved the database size logging to the same place as the database
size checking.
2000-08-10 20:26:08 +00:00
Andreas Gustafsson
562cc4924b
when sending notifies is suppressed due to the zone being
...
unloaded, clear the NEEDNOTIFY flag so that we don't reschedule the
notify every second
2000-08-10 19:50:02 +00:00
Brian Wellington
c758ad35e7
Check that the zone is still loaded in the notify event handler.
2000-08-10 19:34:49 +00:00
Andreas Gustafsson
c03ce72a3b
log error messages for attempts to use nonexistent database types
2000-08-10 18:38:10 +00:00
Andreas Gustafsson
eea2865fec
385. [cleanup] Removed function dns_zone_equal().
2000-08-10 18:35:46 +00:00
Brian Wellington
147b0c9ba7
The server would crash trying to unload an unloaded zone if the initial
...
AXFR had more than maxnames records.
2000-08-10 17:11:23 +00:00
Brian Wellington
64fa945ab6
The default value of zone->maxnames should be 0, not DNS_ZONE_MINRETRY (?)
2000-08-10 16:57:25 +00:00
Brian Wellington
8eb6e41bfb
A zone is now considered secure if there is a zone key at the apex.
2000-08-10 02:02:10 +00:00
Brian Wellington
41654670e7
Added dns_dnssec_iszonekey() to determine if a KEY is a zone key without
...
the overhead of converting it to a dst key.
2000-08-10 02:00:35 +00:00
Brian Wellington
2f507825cf
_tostruct had a few typos.
2000-08-10 01:59:39 +00:00
Brian Wellington
674f1cfb1d
383. [func] When writing a master file, print the SOA and NS
...
records (and their SIGs) before other records.
2000-08-10 01:02:00 +00:00
Andreas Gustafsson
886b96ebfd
382. [func] The function dns_zone_setdbtype() now takes
...
an argc/argv style vector of words and sets
both the zone database type and its arguments,
making the functions dns_zone_adddbarg()
and dns_zone_cleardbargs() unnecessary.
2000-08-10 00:53:36 +00:00
Brian Wellington
cd7ffa4c12
381. [bug] Check for IPV6_RECVPKTINFO and use it instead of
...
IPV6_PKTINFO if found. [RT #229 ]
2000-08-10 00:05:45 +00:00
Brian Wellington
281fce5ed7
When tracing allocations, don't die with an assertion failure if
...
isc_mem_setdestroycheck(mctx, ISC_FALSE) was called. Also, print the
context in the trace statement.
2000-08-09 23:03:15 +00:00
Brian Wellington
8b858da2bb
An error message was printing a result code as a number, not a string.
2000-08-09 21:15:32 +00:00
Andreas Gustafsson
1199d0ee34
use isc_sockaddr_anyofpf()
2000-08-09 19:11:27 +00:00
Andreas Gustafsson
ff92fcaff3
some isc_sockaddr_* functions were undocumented, and others were
...
documented in the source file rather than the header file
2000-08-09 19:09:09 +00:00
Andreas Gustafsson
5bba7216f3
added isc_sockaddr_anyofpf()
2000-08-09 18:57:16 +00:00
David Lawrence
76c6a504d8
rootname() is no longer necessary now that the rbt will always return a
...
relative name via the find or chain APIs
2000-08-09 04:54:17 +00:00
Brian Wellington
e1818a34f7
Handle DNS_R_ZONETOOLARGE by unloading the zone and deleting the on-disk
...
database and journal.
2000-08-09 00:17:20 +00:00
Andreas Gustafsson
e605e98f3e
use DNS_NAME_MAXTEXT/DNS_NAME_FORMATSIZE
2000-08-09 00:09:36 +00:00
Andreas Gustafsson
1913796b78
typo
2000-08-08 23:49:28 +00:00
Andreas Gustafsson
efadda9a7b
added UNUSED() macros to suppress compiler warnings when
...
compiling with assertion checking turned off
2000-08-08 23:40:46 +00:00
Andreas Gustafsson
4870ad08e8
wired up and implemented the max-names zone option (for GNI)
2000-08-08 23:36:24 +00:00
Brian Wellington
3d136ddc82
missed a comma when adding the zone too large result text
2000-08-08 23:33:05 +00:00
Andreas Gustafsson
4a2af70858
added DNS_NAME_MAXTEXT and DNS_NAME_FORMATSIZE
2000-08-08 23:20:14 +00:00
Andreas Gustafsson
f4bc158a46
in dns_name_isabsolute(), dns_name_fullcompare(),
...
and dns_name_compare(), do not require that the name has >0 labels
so that these functions can be used on the degenerate relative name @
2000-08-08 23:18:12 +00:00
Andreas Gustafsson
7048bc2b71
wired up and implemented the max-names zone option (for GNI)
2000-08-08 23:14:29 +00:00
Brian Wellington
c18730e2c0
Protect all of the max-names stuff with NOMINUM_PUBLIC
2000-08-08 23:04:55 +00:00
Brian Wellington
0a4577a158
Added DNS_R_ZONETOOLARGE
2000-08-08 22:50:34 +00:00
Andreas Gustafsson
2821f5aeab
createiterator() failed to set rbtdbiter->common.db
...
to NULL before attaching it
2000-08-08 21:41:58 +00:00
Andreas Gustafsson
2d63e8f8d2
dns_db_attach() failed to check the requirement that
...
the pointer being attached to is NULL
2000-08-08 18:41:42 +00:00
Brian Wellington
cb8a455cd5
A few calls to dst_region_computeid() passed in regions with the wrong
...
length.
2000-08-08 16:13:40 +00:00
Andreas Gustafsson
7d823f705d
deal with nonstandard MS extension
2000-08-07 20:37:34 +00:00
Andreas Gustafsson
7bf91d95eb
tab sets for default and explicitttl styles were
...
swapped (?)
2000-08-07 19:54:50 +00:00
Andreas Gustafsson
979f959fb5
fixed incomplete sentence
2000-08-07 19:30:58 +00:00
Michael Graff
3d9892109d
print out (debug level 2) the number of nodes in the zone on axfr, ixfr, and load
2000-08-04 13:26:48 +00:00
Brian Wellington
48d861c067
The node counting stuff didn't work.
2000-08-03 21:34:27 +00:00
Mark Andrews
e06aebbe7b
371. [doc] document that dns_journal_rollforward can return
...
ISC_R_RANGE.
2000-08-03 21:31:41 +00:00
Mark Andrews
512661edd7
370. [bug] The error message for roll forward failures was
...
overly terse.
2000-08-03 21:24:49 +00:00
Brian Wellington
19f4d25fd5
Add dns_master_dumpnode, dns_master_dumpnodetostream, and
...
dns_master_style_explicitttl.
2000-08-03 19:50:12 +00:00
Brian Wellington
83e6eb0dfe
Add routines to count the number of nodes in a database and an rbt.
2000-08-03 19:46:37 +00:00
David Lawrence
a31bdafd5c
Some seds do not support ? in regexps.
2000-08-03 15:29:40 +00:00
David Lawrence
5ba268d2ab
Solaris yacc puts "#line" directives as "# line", so remove the latter as the
...
former already is on other platforms.
Also reduce Solaris const warnings by fixing the structure definition of
yytoktype and the declaration of yyreds.
2000-08-03 14:03:43 +00:00
David Lawrence
450e48205f
Ensure argument to isdigit() is within valid range by "&"ing with 0xff.
2000-08-03 13:44:02 +00:00
Michael Graff
dd7682a5de
only check in the view if it isn't NULL
2000-08-03 00:41:26 +00:00
Michael Graff
cb9aa603ab
wire up the {min,max}-{refresh,retry}-time stuff
2000-08-02 22:29:16 +00:00
Andreas Gustafsson
44f1473596
conform to style guide in use of sizeof()
2000-08-02 21:58:19 +00:00
James Brister
385a9cb48a
369. [func] Support new named.conf options, view and zone
...
statements:
max-retry-time, min-retry-time,
max-refresh-time, min-refresh-time, max-names.
2000-08-02 20:44:27 +00:00
David Lawrence
5896a3af18
In lwres_getaddrinfo() when checking for numeric addresses, the ntmp char array
...
was only initialized and used when LWRES_HAVE_SIN6_SCOPE_ID was defined,
but was declared and used outside a protective #ifdef. I moved the
declaration and one use of it into #ifdef protection.
2000-08-02 16:08:41 +00:00
David Lawrence
078b05bc26
In hmacmd5_sign, stack variable "digest" changed from char * to unsigned char *
...
to be compatible with digest parameter of isc_hmacmd5_sign().
2000-08-02 15:33:11 +00:00
David Lawrence
e15ecf08f2
use ISC_TF() to set an isc_boolean_t return value
2000-08-02 15:28:13 +00:00
David Lawrence
c037bf9c8e
My last change caused new warnings on systems that were already making the
...
text arrays const.
2000-08-01 19:12:10 +00:00
Michael Graff
5ffd3b6473
rewrite bits of strange code. Now xfer-00 doesn't crash.
2000-08-01 14:48:59 +00:00
David Lawrence
15b196c28e
Signficantly reduced the const warnings from confparser.c.
...
I did not copy this to all platforms to test it everywhere, but I will keep
an eye on the build status page to be sure it did not mess up anything else.
2000-08-01 14:34:11 +00:00
Michael Sawyer
a4c4df8be7
Expand out NOMINUM_PUBLIC test-out by one instruction.
2000-08-01 14:12:58 +00:00
Michael Graff
4421383e30
only dereference l->keys if it isn't NULL
2000-08-01 13:53:38 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
c5944292e9
361. [func] When the RBT find or chain functions set the name and
...
origin for a node that stores the root label
the name is now set to an empty name, instead of ".",
to simplify later use of the name and origin by
dns_name_concatenate(), dns_name_totext() or
dns_name_format().
360. [func] dns_name_totext() and dns_name_format() now allow
an empty name to be passed, which is formatted as "@".
2000-07-31 23:27:25 +00:00
David Lawrence
051d1879fe
dns_name_totext() now allows names with 0 labels, which format as "@"
2000-07-31 23:09:49 +00:00
David Lawrence
9658892dbc
revert the changes to dns_name_format() back to dns_name_totext() because
...
dns_name_format() does not print absolute names
2000-07-31 22:34:01 +00:00
David Lawrence
003e911541
tsig.c:136: warning: unused variable `tmp' -- removed
2000-07-31 21:07:11 +00:00
Michael Graff
6d3496c045
Implement additional-from-{glue,auth} [ yes | no ] ;
...
with yes being the default. These control searching in the cache and
other zones we are authorative for. This is mostly for gdib, but
may be useful elsewhere.
The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
David Lawrence
23b251fbf2
needs <dns/name.h> for dns_name_t
2000-07-31 20:57:06 +00:00
David Lawrence
65260de947
needs <dns/fixedname.h> now that it rdatastruct.h does not provide it
2000-07-31 20:53:56 +00:00
Brian Wellington
153d59973f
Allow keyboard operations to be interrupted by the interrupt or quit
...
character.
2000-07-31 20:36:08 +00:00
Brian Wellington
0e93f65e10
Print the key id when DNS_STYLEFLAG_COMMENT is passed to _totext()
2000-07-31 19:47:21 +00:00
Brian Wellington
38c3484647
Replace the internal dst__id_calc() with the visible dst_region_computeid().
2000-07-31 19:44:21 +00:00
Brian Wellington
2b518b5fb4
fixedname.h is not needed
2000-07-31 19:40:52 +00:00
Michael Graff
b4dfb47474
whitespace police
2000-07-31 19:36:48 +00:00
Michael Graff
0eeabc1399
remove trailing blank lines
2000-07-31 19:35:31 +00:00
Brian Wellington
3469c26c0e
$INCLUDE didn't work with a quoted filename; now it does. None of the
...
calls to isc_lex_gettoken were properly handling isc_tokentype_special
tokens; it's now an error to see one.
2000-07-30 20:28:07 +00:00
Brian Wellington
eefb0a0720
If there are no writers waiting, always let new readers in. Also change the
...
hardcoded default read and write quota values to #defines.
2000-07-30 17:57:48 +00:00
Brian Wellington
4eabcbb83b
In several places, the resolver assigned values to event->ev_sender simply
...
because the field couldn't be NULL (until recently). They now use NULL.
2000-07-29 01:18:36 +00:00
Brian Wellington
da786e7937
Sending a TSIG signed query with a TSIG algorithm that's not
...
HMAC-MD5.SIG-ALG.REG.INT shouldn't crash the server. Also, the description
of dns_tsigkey_create was wrong in at least one place, and the function
incorrectly returned an undocumented result.
2000-07-28 23:27:01 +00:00
Brian Wellington
cd54303345
357. [bug] The server would crash if a response contained both
...
a CNAME and records of the query type.
2000-07-28 22:37:47 +00:00
Brian Wellington
f91e126d21
Allow zones with no NS records to be loaded and/or transferred in. Log
...
an error if the zone is loaded, but continue anyway.
2000-07-28 20:13:47 +00:00
Andreas Gustafsson
98a5693ce7
removed unused variable debug_lexer
2000-07-28 19:33:29 +00:00
Andreas Gustafsson
7edcf7abdf
added INSISTs and comments to notify code
2000-07-28 19:32:57 +00:00
Brian Wellington
ddbc279e7b
Removed some cruft and a crash.
2000-07-28 00:01:59 +00:00
Brian Wellington
019a2ec92c
A comment had an extra *.
2000-07-27 23:56:41 +00:00
Michael Graff
a4cb99bf12
pasto
2000-07-27 23:31:20 +00:00
Brian Wellington
bf426c2605
Passing a dereferenced pointer as the event->sender is just plain silly.
...
Now that NULL is an allowed value, use it.
2000-07-27 22:25:58 +00:00
Brian Wellington
677045ed61
356. [cleanup] isc_task_send no longer requires event->sender to
...
be non-null.
2000-07-27 22:24:54 +00:00
Brian Wellington
47846b7468
A comment was reformatted badly.
2000-07-27 22:05:04 +00:00
Brian Wellington
fbde30645b
cd queries would cause the server to hang on exit.
2000-07-27 21:29:58 +00:00
Brian Wellington
f15af68028
negative responses to cd queries should work now.
2000-07-27 18:42:08 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
10885eeaae
I was mistaken, FreeBSD needs the stddef.h include
2000-07-27 02:11:19 +00:00
David Lawrence
febf5f8b55
355. [func] Added isc_dir_createunique(), similar to mkdtemp().
2000-07-27 02:04:36 +00:00
Brian Wellington
98d010a24a
If a negative insecurity proof succeeds, set all of the rdatasets in the
...
authority section of the message to non-pending, so that the response
has the ad bit set.
2000-07-27 01:26:15 +00:00
Andreas Gustafsson
4d9b99ccb2
the client control event should be a server event,
...
not a DNS library event
2000-07-26 23:45:55 +00:00
Michael Sawyer
a53151d995
Fix up some of the sanatize code and make kits correctly
2000-07-26 23:40:22 +00:00
Mark Andrews
c9b176a528
353. [bug] double incrememnt in lwrew/gethost.c:copytobuf().
...
(RT# 187)
2000-07-26 22:52:01 +00:00
Andreas Gustafsson
371827c1e0
added missing DNSSAFE license file
2000-07-26 22:41:28 +00:00
David Lawrence
976f44baa3
needed isc/string.h for memset() prototype
2000-07-26 22:36:34 +00:00
David Lawrence
7b04a0e1df
does not need stddef.h, tell emacs to use C mode on the file
2000-07-26 21:56:28 +00:00
David Lawrence
951c247f29
style lint
2000-07-26 21:44:34 +00:00
David Lawrence
f6f4d7ee0f
separate the ISC_R_NRESULTS macro from those that define result codes, for
...
clarity
2000-07-26 21:34:11 +00:00
David Lawrence
894a2f61c9
minor style issue -- missing periods at ends of sentences/phrasesin comments.
2000-07-26 21:32:57 +00:00
David Lawrence
ef4010aae7
cross-reference error strings with their result.h macros
2000-07-26 21:31:52 +00:00
Michael Graff
6d016e34bf
minor formatting issue -- kill trailing whitespace
2000-07-26 20:56:39 +00:00
Michael Graff
bfab56849d
Revamp memory stuff.
...
Now, if you define ISC_MEM_TRACKLINES, and set isc_mem_debugging = 2 first
thing in main(), isc_mem_stats() will dump the file/line where any leaking
allocations were made.
2000-07-26 19:06:20 +00:00
Michael Sawyer
761a1c3761
Add sanitizer and hide per-master key code behind sanitizing #ifdefs
2000-07-26 18:47:43 +00:00
Andreas Gustafsson
a32738e3e4
352. [bug] Race condition in dns_client_t startup could cause
...
an assertion failure.
2000-07-26 17:39:12 +00:00
Andreas Gustafsson
97684ed87d
new functions isc_task_getname() and isc_task_gettag(),
...
to be used for debugging
2000-07-26 17:11:14 +00:00
James Brister
6e1de1f55b
When unsetting option strings pointer wasn't being NULLed.
2000-07-26 15:21:04 +00:00
Brian Wellington
5b0413f993
Call isc_log_wouldlog to potentially avoid extra work in validator_log.
2000-07-26 00:50:02 +00:00
Brian Wellington
53dc771403
The CD bit changes broke insecurity proofs. They work again.
2000-07-26 00:03:18 +00:00
Brian Wellington
6dc130c7c9
351. [bug] Constructing a response with rcode SERVFAIL to a TSIG
...
signed query could crash the server.
2000-07-25 22:51:46 +00:00
Andreas Gustafsson
ec34015017
dns_c_view_getalsonotify() should attach the list
...
like both the global and per-zone counterparts now do
2000-07-25 22:38:29 +00:00
Brian Wellington
94ec6e9a1a
whitespace fixes
2000-07-25 22:04:33 +00:00
Brian Wellington
69a761838b
Support for the cd (checking disabled) bit. Also remove data from the
...
cache if validation fails.
2000-07-25 22:03:25 +00:00
Brian Wellington
7e0d7323d7
Detach from the iplist obtained from *_getalsonotify.
2000-07-25 20:26:11 +00:00
James Brister
b28affc652
Added missing prototypes.
2000-07-25 20:17:52 +00:00
James Brister
07919f7bb8
Do a dns_c_iplist_attach first when returning the iplist from also-notify.
2000-07-25 20:16:00 +00:00
Michael Sawyer
8cfe1a4846
Typo correction in DNS_MAX/MIN_RETRY usage
...
Don't #define mins/maxes if they are already defined. (per MG)
2000-07-25 19:29:00 +00:00
James Brister
d4ab9cd94f
348. [func] New named.conf boolean values 'glue-from-auth' and
...
'glue-from-cache' now supported in view and global
options statement.
2000-07-25 17:55:43 +00:00
Brian Wellington
969f24b04c
dns_dnssec_verifymessage should make sure that it's verifying with the right
...
key (which should be the case anyway, but it never hurts to check). Also
fix a memory leak and change a few _tostruct() calls to not allocate memory.
2000-07-25 17:12:00 +00:00
Andreas Gustafsson
81b94e091c
added new fetch option DNS_FETCHOPT_NOVALIDATE
2000-07-25 17:03:21 +00:00
Brian Wellington
60783293cc
If a failed positive validation led us to try an insecurity proof, and the
...
insecurity proof also failed, the validator event should normally contain
the error from the positive validation.
2000-07-25 01:24:18 +00:00
Andreas Gustafsson
398bdb2710
in deleterdataset(), set the DNS_DBADD_FORCE flag
...
when adding the deletion rdataset so that rdatasets can be deleted
regardless of their trust level
2000-07-25 01:19:51 +00:00
Andreas Gustafsson
9037893f90
add() assumed dns_trust_authsecure is the highest trust level,
...
but this is no longer the case. Thus, the DNS_DBADD_FORCE option did not take effect
if the existing data was at level dns_trust_ultimate. Since the DNS_DBADD_FORCE
option is currently used only with cached data, no actual harm has been done.
2000-07-25 01:06:01 +00:00
Andreas Gustafsson
56f8b1c404
the "done" variable reintroduced in the previous revision
...
was not initialized
2000-07-24 23:55:19 +00:00
Andreas Gustafsson
516b9de0d9
eliminated needless code duplication between
...
the yea_and_nay and notify_setting grammar rules
2000-07-24 23:32:31 +00:00
Brian Wellington
687d363dea
The "Ensures" condition for dns_db_deleterdataset was obviously wrong.
2000-07-24 23:10:50 +00:00
Michael Graff
ef653fbdb1
implement 'notify [ yes | no | explicit ]'
2000-07-24 22:59:44 +00:00
Andreas Gustafsson
6f12e3ca45
Restored the "done" variable removed in 1.150 and made
...
the result code check after the loop deal with ISC_R_SUCCESS
instead. The previous fix had the side effect of keeping multiple
answers to non-ANY queries, causing assertion failures in cache_name()
which is not prepared to deal with this situation
2000-07-24 20:10:26 +00:00
Brian Wellington
1b1775921e
If a message is built for one host, which isn't powered on, the tsig object
...
wasn't removed until the xfer object was deleted, so when the xfer tried the
second master, it asserted.
2000-07-24 05:30:30 +00:00
Michael Sawyer
2f0bfccf31
Remove dead REQUIRE
2000-07-22 00:40:39 +00:00
Michael Sawyer
f592550498
Add comments and make a slight REQUIRE change
2000-07-22 00:27:40 +00:00
Michael Sawyer
0371079513
Wire up key option in masters line.
2000-07-21 23:13:59 +00:00
Brian Wellington
c27767a7b9
tsig keys were not properly ref counted
2000-07-21 23:00:31 +00:00
Brian Wellington
3b2efab212
There's no real difference between the "sring" and "dring" parameters, so
...
call them "ring1" and "ring2" instead. Also remove a bogus assertion.
2000-07-21 22:38:31 +00:00
Brian Wellington
2483a850e8
The call to dns_tsig_verify doesn't need a keyring.
2000-07-21 22:22:55 +00:00
Andreas Gustafsson
5aa7bca733
dns_rbt_printnode() formatted the node name
...
into a buffer of 255 char pointers, not 255 chars; changed it
to use dns_name_format()
2000-07-21 22:08:42 +00:00
James Brister
c35f1e5937
341. [func] Support 'key' clause in named.conf zone masters
...
statement:
masters {
10.0.0.1 port 666 key "foo";
10.0.0.2 ;
};
2000-07-21 21:25:01 +00:00
Brian Wellington
a49acbf201
Store tsig keys in an rbt, not a list.
2000-07-21 20:53:59 +00:00
Michael Sawyer
b6e3718b20
Should really allocate memory before trying to use it.
2000-07-21 20:51:44 +00:00
Andreas Gustafsson
e30c4dbe6f
typos
2000-07-21 20:37:01 +00:00
Brian Wellington
84a47e20ae
If the request was signed with a tsig key, verify the signature on the
...
response.
2000-07-21 20:33:13 +00:00
Brian Wellington
4be64854b4
The wrong name was being duped when a tsig key was generated using tkey.
2000-07-21 20:32:12 +00:00
Michael Sawyer
5813d091e9
Spacing changes
...
replace memset with slightly more portable NULL initialization
properly NULL masterkeynames when zone is created
2000-07-21 20:10:03 +00:00
Michael Sawyer
9b72c4648f
Internal code for masters with key entries. Not wired into config yet.
2000-07-21 18:47:23 +00:00
Brian Wellington
d6e6858bb9
If dns_request_getresponse() fails, log it.
2000-07-20 19:34:16 +00:00
Brian Wellington
a5e73f3e9d
Having a non-noerror value inn the tsig error field should always return
...
DNS_R_TSIGERRORSET in dns_tsig_verify. Change the result text to reflect
this.
2000-07-20 19:32:57 +00:00
Andreas Gustafsson
b7ebc6a127
minor tweak to hash function of previous change
2000-07-20 01:15:25 +00:00
Andreas Gustafsson
f969863d54
replaced the hash function in dns_name_hash() by one
...
that is simpler, faster, and produces a much more even distribution,
particularly when the data to hash ends with a null byte like domain
names often do
2000-07-20 01:14:48 +00:00
Andreas Gustafsson
99eba32b06
Removed the code added in revision 1.57:
...
"Store CNAMEs and their SIGs (if any) in their own name structure on
the name list. I.e. do not mix CNAMEs with non-CNAME data. Do the
same thing for DNAMEs."
because it caused DNSSEC validation of responses to ANY queries at
nodes with CNAME records to fail, and no one was able to figure out
why it was added in the first place. As a beneficial side effect,
findname() now finds names even if they have attribute bits set
differently from the one being searched for. This supersedes
the fix of revision 1.133.
2000-07-20 00:05:32 +00:00
Andreas Gustafsson
aa5940281a
When handling the response to an ANY query in a secure zone, deal with
...
the multiple answer RRsets by validating each one separately. Also,
eliminated the "done" variable in answer_response() because in the
rare situations where it got set to ISC_TRUE, it caused the function
to return prematurely by exiting a loop with a result of ISC_R_SUCCESS
and hitting a "if (result != ISC_R_NOMORE) return (result);" test
immediately following following the loop.
This should fix [RT #109 ], "ANY query in secure zone crashes server".
2000-07-19 23:19:05 +00:00
Brian Wellington
209ec709f3
Use the isc hmac library instead of a separate implementation (not that
...
the separate implementation was especially complicated). dst hmac-md5 should
really go away at some point.
2000-07-18 18:15:27 +00:00
James Brister
4ca8537286
Removed some debugging cruft.
...
Fixed handling of octal/hexadecimal numbers on input.
2000-07-18 13:19:27 +00:00
Brian Wellington
9df7d74e42
Use isc_base64_decodestring() instead of an explicit lexer.
2000-07-18 01:14:17 +00:00
Brian Wellington
49c8a96fba
Don't require that tsig keys must be on a keyring. Also some other cleanup.
2000-07-18 00:46:03 +00:00
Brian Wellington
7a184cd4e5
don't copy a name structure, copy a pointer.
2000-07-18 00:44:52 +00:00
Brian Wellington
f6579931b3
Added calls to isc_log_wouldlog() in additional logging functions.
2000-07-17 23:25:35 +00:00
Brian Wellington
9c4cba349f
334. [func] Added hmac-md5 to libisc.
2000-07-17 17:33:39 +00:00
Andreas Gustafsson
0e65062acb
strengthened the check added in the previous change:
...
the new query domain must not only be a non-child of the query name,
it must be a parent of the query name (or equal to the query name)
2000-07-16 18:26:18 +00:00
Andreas Gustafsson
64024eaa4d
333. [bug] The resolver incorrectly accepted referrals to
...
subdomains of the query domain, causing an
assertion failure.
2000-07-15 01:02:25 +00:00
David Lawrence
891a1bead8
Use new function dns_name_reset() to make a name have no data, instead
...
of dns_name_concatenate(NULL, NULL, name, NULL).
Define DNS_NAME_USELINE to get macroized name functions. Removed
older FAST_COUNTLABELS and FAST_ISABSOLUTE to use standard name
interface, which are covered by DNS_NAME_USEINLINE.
2000-07-14 19:17:39 +00:00
David Lawrence
da527e4ff6
332. [func] New function dns_name_reset().
2000-07-14 19:12:54 +00:00
Brian Wellington
da892e9733
Typo in comment - isc_time_microdiff returns microseconds, not milliseconds.
2000-07-14 16:59:32 +00:00
Andreas Gustafsson
10f4e9668a
the INSIST condition of 1.145 was too strong, weakened it;
...
dded another INSIST to help track down the INSIST(!external) crash
2000-07-14 00:37:27 +00:00
Andreas Gustafsson
55da37e18f
removed dead code
2000-07-14 00:33:09 +00:00
Brian Wellington
6bc1a64561
If a positive validation fails and it looks like the reason is that there
...
are no material DNSSEC signatures, try an insecurity proof.
2000-07-13 23:52:04 +00:00
Brian Wellington
4250285838
Return DNS_R_NAMETOOLONG in a few places where less useful errors were
...
returned before.
2000-07-13 18:10:18 +00:00
Brian Wellington
618e871c2e
Add DNS_R_NAMETOOLONG
2000-07-13 02:41:20 +00:00
Andreas Gustafsson
4532e9e7c6
in isc_log_wouldlog(), deal with the possibility of lctx
...
being NULL
2000-07-13 02:28:18 +00:00
Andreas Gustafsson
0072e42780
use isc_log_wouldlog() in manager_log()
2000-07-13 01:38:40 +00:00
Brian Wellington
2935e25e99
Removed debugging code that is no longer useful.
2000-07-13 01:22:56 +00:00
Andreas Gustafsson
9317787889
use isc_log_wouldlog()
2000-07-13 01:16:22 +00:00
Brian Wellington
febc974d0f
Use isc_log_wouldlog() to avoid calling strerror() whenever possible.
2000-07-13 01:13:53 +00:00
Brian Wellington
2e1236ad1e
Call isc_log_wouldlog()
2000-07-13 00:30:58 +00:00
Brian Wellington
945c32833b
Call isc_log_wouldlog() in a few places.
2000-07-13 00:27:17 +00:00
Andreas Gustafsson
211ac47e07
use isc_log_wouldlog() to avoid unnecessary formatting work
...
when the debug level does not warrant logging
2000-07-13 00:25:38 +00:00
Andreas Gustafsson
30576c592b
330. [func] New function isc_log_wouldlog().
2000-07-13 00:19:02 +00:00
Brian Wellington
ecb2897c71
Insist that when a fetch returns a successful event, the rdataset is associated.
...
A test failed about a week ago because this was not true, and because it
died in the event handler, diagnosing the problem was impossible.
2000-07-12 23:56:06 +00:00
Andreas Gustafsson
2c24bbb10b
clarified warning messages
2000-07-12 16:17:38 +00:00
James Brister
8af589aea3
It's no longer a fatal error if a keys{} clause is missing on a control
...
channel definition, nor if the keys{} clause is empty. Warnings are
issued.
2000-07-12 15:36:09 +00:00
Brian Wellington
a6f31a3fd0
Only install default handlers for SIGTERM and SIGWAIT if we haven't installed
...
other handlers already.
2000-07-12 01:46:57 +00:00
Andreas Gustafsson
403cc93b27
typo in log message
2000-07-11 22:44:33 +00:00
David Lawrence
ce2be9b721
329. [func] omapi_auth_register() now takes a size_t argument for
...
the length of a key's secret data. Previously
OMAPI only stored secrets up to the first NUL byte.
This change was made to cope with decoded base64 secrets, so in this
revision omapiconf.c and rndc.c also decode the secret.
2000-07-11 22:03:12 +00:00
David Lawrence
9bf765ab3a
328. [func] Added isc_base64_decodestring().
...
(This is basically bin/named/server.c:base64_cstring_tobuffer(), which I
will remove in another revision that will not need to be pulled up. I also
would like to change isc_base64_totext() and isc_base64_tobuffer() to be
isc_base64_encoderegion() and isc_base64_decodelexer(), unless there are
exceptions. I find their existing names to be quite confusing with regard to
what translation function each performs.)
2000-07-11 21:51:13 +00:00
James Brister
f4d9f465cd
327. [bug] rndc.conf parser wasn't correctly recognising an IP
...
address where a host specification was required.
2000-07-11 20:13:09 +00:00
Brian Wellington
838f13fbdc
Set default signal handlers for SIGINT and SIGTERM (SIGHUP already had one).
...
This doesn't appear to have an effect on any platform, but it seems like a
good idea.
2000-07-11 19:18:05 +00:00
James Brister
adade77942
326. [func] 'keys' in an 'inet' control statement is now
...
required and must have at least one item in it.
warning is issued if a 'unix' control channel is
defined (not supported).
2000-07-11 19:09:10 +00:00
Mark Andrews
5c0a406664
325. [bug] isc_lex_gettoken was processing octal strings when
...
ISC_LEXOPT_CNUMBER was not set.
2000-07-11 02:44:54 +00:00
Andreas Gustafsson
a4db2a47f5
incremented library version numbers to 1.0.0
2000-07-10 22:20:43 +00:00
Michael Graff
d2762d6c37
If the name is a dynamic name, free its memory
2000-07-10 20:46:02 +00:00
Michael Graff
401bea7527
set connected and bound when the connect completes
2000-07-10 19:40:06 +00:00
Andreas Gustafsson
28059de4ef
when a master file ends in a place where a newline is expected,
...
make the warning message say 'file does not end with newline' instead of
'unexpected end of file' to lead the user on the right tracks to fixing
the most likely cause. Also, don't include the function name in the message.
2000-07-10 19:07:19 +00:00
David Lawrence
d4868faf3f
removed the port member from dns_c_ctrl_t; the port is put in the sockaddr.
2000-07-10 11:28:31 +00:00
David Lawrence
838281ed55
318. [func] dns_c_ndcctx_destroy() could never return anything
...
except ISC_R_SUCCESS; made it have void return instead.
2000-07-10 11:27:12 +00:00
David Lawrence
89e57b472d
317. [func] Use callbacks from libomapi to determine if a
...
new connection is valid, and if a key requested
to be used with that connection is valid.
2000-07-10 11:23:00 +00:00
Mark Andrews
fd4810861c
Warn on unexpected <eof> if input source is a file, treat as <eol><eof>
...
regardless of input source.
2000-07-10 05:15:04 +00:00
Mark Andrews
b47f3dc885
Add isc_lex_isfile().
2000-07-10 05:11:18 +00:00
Mark Andrews
d1e971ba02
316. [bug] EOF mid line should be a error.
...
315. [bug] Handle non-empty blanks lines.
2000-07-09 12:52:34 +00:00
Andreas Gustafsson
f405ffddc8
added missing requirements
2000-07-08 17:27:28 +00:00
James Brister
475c936d4c
314. [func] Inet controls named.conf statement can now have
...
any non-negative number of keys specified.
2000-07-07 23:11:48 +00:00
James Brister
b4124351ad
typo in printing additional-data definition..
2000-07-07 22:57:53 +00:00
David Lawrence
d20d22616b
A socket result of ISC_R_SUCCESS can still possibly be posted even after
...
isc_socket_cancel() has been called. resquery_senddone() has been fixed
to account for this (there was a race condition because of the faulty
assumption that only ISC_R_CANCELED would be returned after
isc_socket_cancel()).
The interaction of resquery_response() with the dispatcher now has to be
closely reviewed to make sure it does not have a similar problem with
a canceled query. If the faulty assumption hadn't been faulty, it was
fine, but now I'm not so sure.
2000-07-07 19:43:14 +00:00
Brian Wellington
0308460880
Some of the lwres functions weren't calling lwres_conf_parse.
2000-07-07 19:43:10 +00:00
Brian Wellington
68aa880dd5
remove unnecessary calls to fcntl().
2000-07-07 19:10:00 +00:00
Brian Wellington
d8c8722f28
313. [bug] When parsing resolv.conf, don't terminate on an
...
error. Instead, parse as much as possible, but
still return an error if one was found.
2000-07-07 18:58:46 +00:00
Brian Wellington
03968c0f5e
removed dead code
2000-07-07 18:28:58 +00:00
Brian Wellington
4b7167e96a
312. [bug] Increase the number of allowed elements in the
...
resolv.conf search path from 6 to 8. If there
are more than this, ignore the remainder rather
than returning a failure in lwres_conf_parse.
2000-07-07 18:24:11 +00:00
Brian Wellington
a4b496f2ab
311. [bug] lwres_conf_parse failed when the first line of
...
resolv.conf was empty or a comment.
2000-07-07 18:16:46 +00:00
James Brister
524c8ea0dc
typo in print statement.
2000-07-07 14:30:00 +00:00
James Brister
952e9025b0
310. [func] Changes to named.conf "controls" statement (inet
...
subtype only)
- support "keys" clause
controls {
inet * port 1024
allow { any; } keys { "foo"; }
}
- allow "port xxx" to be left out of statement,
in which case it defaults to omapi's default port
of 953.
2000-07-07 13:56:14 +00:00
Brian Wellington
25496cebad
If trying to validate a key set that happens to be a security root, the
...
validation should only consist of checking that each key in the key set
is also in the list of security root keys.
Strangeness occurs when the key set is signed, since the key set is marked
as secure, but the sig set is not, since it wasn't used in the validation
process. This means that a query for a key set at a security root will
have the AD bit set if the key set is unsigned and not if the key set is signed.
2000-07-07 00:44:01 +00:00
David Lawrence
3658cf5419
comment cleanup (missing "not", spaces where tabs should have been)
2000-07-07 00:25:47 +00:00
David Lawrence
9fb4b3f08a
Do not return an exact match from dns_rbt_findnode() when the exact
...
match does not have associated data and DNS_RBTFIND_EMPTYDATA is not set.
Return DNS_R_PARTIALMATCH instead if there is a superdomain with
data, or ISC_R_NOTFOUND if no superdomain has data.
Make dns_rbt_findname() honor DNS_RBTFIND_EMPTYDATA, per the rbt.h
documentation that has been saying it will. It didn't.
2000-07-06 23:54:45 +00:00
Brian Wellington
861df15904
The includes were in the wrong order, causing digital unix to fail.
2000-07-06 22:13:15 +00:00
Brian Wellington
23efeb1a58
Check LWRES_PLATFORM_HAVESALEN, not ISC_PLATFORM_HAVESALEN
2000-07-06 21:42:05 +00:00
Brian Wellington
23ce1c7cca
Lots of the comments were wrong.
2000-07-06 20:05:13 +00:00
Brian Wellington
ca93ad9b9e
If we're asking for a key and need to call dns_view_findzonecut(), set
...
the DNS_DB_NOEXACT flag. This means that the resolver will start look for the
key at or above the parent zone, and will return the key set from the parent
zone if key sets are present in both the parent and child.
2000-07-06 02:33:43 +00:00
Andreas Gustafsson
b7b5dd0d10
treat all responses to AXFR requests as AXFR responses
2000-07-05 20:28:34 +00:00
Michael Graff
8681403c16
Shut up a gcc warning
2000-07-05 20:26:46 +00:00
Mark Andrews
8c1aa8573d
308. [bug] Treat a SOA record not at top of zone as an error
...
when loading a zone. (RT #154 )
2000-07-04 04:28:44 +00:00
Mark Andrews
3cf456d58e
zone_get_from_db() now does as much as is possible.
2000-07-04 04:21:38 +00:00
Mark Andrews
84cb41f729
new error code DNS_R_NOTZONETOP
2000-07-04 03:59:54 +00:00
David Lawrence
24675e8e13
In dns_dispatch_createtcp(), REQUIRE() that attributes not include
...
DNS_DISPATCHATTR_UDP, and document that requirement as well as the
existing requirement for needing DNS_DISPATCHATTR_TCP.
No need to pull up.
2000-07-04 01:48:13 +00:00
Brian Wellington
9e37579870
Check that zone->view is not NULL before checking that zone->view->adb is not
...
NULL. It appears that zone maintenance can occur when the zone is shutting
down and the view pointer is NULL. We don't want to do zone maintenance in
this case.
2000-07-04 01:32:40 +00:00
David Lawrence
c7c2522a32
query-replace-o in error message; no need to pull up since no code in 9.0.0
...
will use the function in which the error appears
2000-07-04 01:29:48 +00:00
David Lawrence
96ab25294b
307. [bug] When canceling a query, the resolver didn't check for
...
isc_socket_sendto() calls that did not yet have their
completion events posted, so it could (rarely) end up
destroying the query context and then want to use
it again when the send event posted, triggering an
assertion as it tried to cancel an already-canceled
query. (RT #77 )
... so now the resolver counts the number of outstanding isc_socket_sendto()s
and only destroys the query context when there are no more.
2000-07-04 01:19:20 +00:00
Brian Wellington
e68de4a7db
306. [bug] Reading HMAC-MD5 private key files didn't work.
2000-07-03 23:27:45 +00:00
Andreas Gustafsson
b3e4ce3059
alternative fix to 303. [RT #157 ]
2000-07-03 22:42:36 +00:00
Andreas Gustafsson
d8560fb7ff
[RT #155 ]
...
305. [bug] When reloading the server with a config file
containing a syntax error, it could catch an
assertion failure trying to perform zone
maintenance on tentatively created zones whose
views were never fully configured and lacked
an address database.
2000-07-03 20:21:53 +00:00
Brian Wellington
e2894b0e50
304. [bug] If more than LWRES_CONFMAXNAMESERVERS servers
...
are listed in resolv.conf, silently ignore them
instead of returning failure.
2000-07-03 20:13:12 +00:00
Andreas Gustafsson
855bda3de3
new joint ISC/BSDI copyright message as requested by
...
Paul Borman <prb@bsdi.com>
2000-07-03 17:44:22 +00:00
Mark Andrews
845e0b5f96
303. [bug] add additional sanity checks to differentiate a AXFR
...
response vs a IXFR response. (RT #157 )
2000-07-03 13:33:05 +00:00
David Lawrence
de8e189332
300. [bug] Using both <isc/net.h> and <lwres/net.h> didn't work
...
on platforms lacking IPv6 because each included their
own ipv6 header file for the missing definitions. Now
each library's ipv6.h defines the wrapper symbol of
the other (ISC_IPV6_H and LWRES_IPV6_H).
2000-07-01 01:41:54 +00:00
David Lawrence
641689bff4
note in the comment that isc_time_microdiff returns 0 if t1 < t2.
...
no need to pull up.
2000-06-30 22:40:32 +00:00
Brian Wellington
e405739af2
297. [bug] Specifying a key name that wasn't fully qualified
...
in certain parts of the config file could cause
an assertion.
2000-06-30 15:39:23 +00:00
Andreas Gustafsson
fe8d130967
make install didn't work when using separate build dir
2000-06-30 00:29:29 +00:00
Andreas Gustafsson
428b78e56d
RT #153 : when invoked with type==CNAME and a message
...
not constructed by dns_message_parse(), dns_message_findname() failed to
find anything due to checking for attribute bits set only by dns_message_parse().
This caused an infinite loop when constructing the response to an ANY query
at a CNAME in a secure zone.
2000-06-29 19:49:43 +00:00
Andreas Gustafsson
824068b85b
cut-and-paste-o: dns_message_findname() tested for
...
dns_rdatatype_cname twice instead of cname+dname
2000-06-29 18:58:32 +00:00
Andreas Gustafsson
26be84cdfc
spelling, grammar, and formatting; no functional change
2000-06-29 16:48:53 +00:00
Mark Andrews
b74e73c5b4
294. [bug] If we run out of space in while processing glue
...
when reading a master file and commit "current name"
reverts to "name_current" instead of staying as
"name_glue".
2000-06-29 15:55:19 +00:00
Michael Graff
2e0e781ba4
use the correct function name in debugging statements
2000-06-29 07:40:58 +00:00
Brian Wellington
089b7bf0a5
a missing #include "assert_p.h" caused a compile failure.
2000-06-28 22:57:42 +00:00
Brian Wellington
09aea877e7
An lwres context was being destroyed while still in use
2000-06-28 21:55:33 +00:00
Brian Wellington
f51647808f
Using 0 as an error value tends to conflict with using 0 to represent
...
success.
2000-06-28 21:43:46 +00:00
Jim Reid
084d809e48
fixed some typos
...
removed references to ENI_ error codes because they're not
documented in RFC2133 and are defined in getnameinfo.c rather
than some include file anyway
2000-06-28 21:43:41 +00:00
David Lawrence
5eae30a019
in fact, ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are not needed at all since
...
rdatastructpre.h and rdatastructsuf.h already provide the wrapper.
(no need to pull up.)
2000-06-28 19:07:19 +00:00
David Lawrence
778d24f5ba
do not include isc/lang.h; rdatastructpre.h already gets it.
...
no need to pull these changes up to the 9.0.0 branch.
2000-06-28 19:03:24 +00:00
Michael Graff
0cd1ba32c1
put edns0 restarts back to 3, and fix up a few trace messages to be standard ones -- lower case first letter.
2000-06-28 16:30:29 +00:00
David Lawrence
4a44b85e6e
Disable the requirement that all messages be signed, since this
...
will not work until the "controls" statement is implemented in
named.conf post-9.0.0.
2000-06-28 05:24:41 +00:00
David Lawrence
de88422aec
only define ISC_MEM_DEBUG if it is not already defined, or if ISC_MEM_DEBUGOFF
...
is not defined. no need to pull this one up to v9_0.
2000-06-28 03:46:37 +00:00
David Lawrence
13c32cb589
285. [bug] A change made to the dst API for beta4 inadvertently
...
broke OMAPI's creation of a dst key from an incoming
message, causing an assertion to be triggered. Fixed.
2000-06-28 03:09:44 +00:00
Brian Wellington
171d0db7f9
Return NO_RECOVERY, not HOST_NOT_FOUND if the error is not LWRES_NOTFOUND
2000-06-27 23:20:34 +00:00
Brian Wellington
2ef7b73fd5
Missing #include "assert_p.h"
2000-06-27 23:13:26 +00:00
Jim Reid
a07cfacd85
initial draft of lwres manpages
2000-06-27 21:53:10 +00:00
Andreas Gustafsson
c4bf0b3906
don't issue warnings saying max-ncache-ttl and max-cache-ttl are
...
not yet implemented, because they are
2000-06-27 21:33:20 +00:00
Andreas Gustafsson
33e482fa3e
edited comment, no functional change
2000-06-27 21:04:12 +00:00
Brian Wellington
d364e89bda
The off by one error wasn't.
2000-06-27 18:51:51 +00:00
Michael Sawyer
d8afbf2f30
Force SIGHUP to be in state SIG_DFL when starting, since Solaris would break
...
that, if run from under cron.
2000-06-27 18:49:14 +00:00
Brian Wellington
9006ddc64a
Fix off-by-one error and move a few lines of code.
2000-06-27 18:03:52 +00:00
Brian Wellington
031ce3bc62
Return better errors (TRAILINGDATA, not UNEXPECTEDEND), and style changes.
2000-06-27 18:03:23 +00:00
Brian Wellington
f356f1bb5d
style changes
2000-06-27 18:02:12 +00:00
Brian Wellington
db118c5f26
Add a comment saying that _parseheader() isn't the right place to verify
...
that the buffer containing the entire packet is long enough.
2000-06-27 18:01:16 +00:00
Brian Wellington
c614882bd8
typo
2000-06-27 00:41:13 +00:00
Brian Wellington
6f4317150b
remove dead code
2000-06-27 00:24:27 +00:00
Brian Wellington
50719689ef
coding style
2000-06-27 00:24:12 +00:00
Brian Wellington
c1ecf4ace2
Remove declaration of REQUIRE
2000-06-26 23:35:00 +00:00
Brian Wellington
347ccc2716
Fixed a few errors in error recovery and uses of int instead of lwres_result_t
2000-06-26 23:23:28 +00:00
Andreas Gustafsson
a7d4703552
commented
2000-06-26 22:59:22 +00:00
Andreas Gustafsson
aa57fcf820
two more unchecked calls to strdup() found by Brian
2000-06-26 22:50:20 +00:00
Andreas Gustafsson
f264d3cb2c
sense of strcmp() wrong; missing test of strdup() return value
...
(find by Brian by inspection)
2000-06-26 22:30:32 +00:00
Andreas Gustafsson
95e7cd1ecb
commented
2000-06-26 22:09:49 +00:00
Michael Graff
7618ec31e3
bump restarts to 4. After 3, we change the retry times. This lets the query take longer, but it is more likely to succeed with EDNS0 if the server or the network is just slow, not broken.
2000-06-26 21:46:25 +00:00
David Lawrence
2298aec5a1
test for high bit being set in isc_file_settime needed to use an
...
unsigned long long constant to work correctly on platforms that have
a 64 bit timeval.tv_sec and 32 bit ints.
2000-06-26 21:33:57 +00:00
Brian Wellington
bc9470d240
*** empty log message ***
2000-06-26 21:27:14 +00:00
Michael Graff
57ebb859ee
After N restarts (currently 3) try again with EDNS0 disabled.
2000-06-26 21:07:36 +00:00
Brian Wellington
e1e309c63d
Removed more pointer to integer assignments.
2000-06-26 20:58:52 +00:00
Brian Wellington
234878743f
Cast a pointer to an unsigned long, not an unsigned int, before doing bit
...
manipulations.
2000-06-26 20:39:42 +00:00
Brian Wellington
1d1d2fa57a
Seed a (not really) random value with time(NULL), not the pointer value.
2000-06-26 20:30:37 +00:00
Brian Wellington
98164bc1ad
Printing a size_t as either %d or %u doesn't work on some 64 bit architectures.
2000-06-26 20:27:42 +00:00
Michael Graff
a72ca8608c
revert part of a previous commit. This makes net/host unreachable hard errors again.
2000-06-26 20:16:01 +00:00
Brian Wellington
0191211ce5
Casting void * to unsigned long works better than casting to isc_uint32_t
2000-06-26 18:41:06 +00:00
Michael Graff
53b63f5467
minor change to make certain 'on' is defined. This used to be used only by USE_CMSG, but is also used to turn on BSD compatibility, so test on SO_BSDCOMPAT too.
2000-06-26 18:20:25 +00:00
Michael Graff
18a8c21c77
turn on BSD compatibility to avoid the annoying linux 'return host unreachable for unconnected UDP datagrams' bug.
2000-06-26 17:48:26 +00:00
James Brister
8775909be9
282. [bug] lexer now returns ISC_R_RANGE if parsed integer is
...
too big for an usigned long.
2000-06-23 22:32:10 +00:00
James Brister
406ce0cd96
281. [bug] fixed list of recognised config file category names.
2000-06-23 22:30:02 +00:00
David Lawrence
c4c5c242cd
when changing the name of a parameter, remember to change the uses of it. duh.
2000-06-23 22:28:22 +00:00
David Lawrence
df0036cbcd
backlog argument to omapi_listener_listen was changed to unsiged
2000-06-23 22:22:24 +00:00
David Lawrence
24de6390c1
"entropy.c", line 1319: remark(1552): variable "ent" was set but never used
2000-06-23 22:06:47 +00:00
David Lawrence
438d4a305d
include order lint
2000-06-23 21:43:46 +00:00
David Lawrence
48cfd6b4fc
omapi_protocol_connect's port argument type changed to in_port_t.
2000-06-23 21:36:57 +00:00
David Lawrence
8ab36dee9c
connect_toserver's port argument type changed to in_port_t.
...
socket variable renamed sock to avoid reserved name conflict.
2000-06-23 21:36:17 +00:00
David Lawrence
4b60cab173
"delete" function pointer changed to "expunge" to avoid C++ reserved word
...
conflict, and renamed object_methoddelete to object_methodexpunge for
consistency
2000-06-23 21:28:31 +00:00
David Lawrence
8db07dbeb9
"delete" function pointer changed to "expunge" to avoid C++ reserved word
...
conflict, and renamed object_methoddelete to object_methodexpunge for
consistency
2000-06-23 21:05:22 +00:00
Michael Sawyer
167f530b5b
Only test rendering class for != NONE/ANY in non-update messages
2000-06-23 20:47:23 +00:00
David Lawrence
1c12b87999
"remove" structure member renamed to "delete" renamed to avoid reserved word
...
conflict, and renamed object_methodremove to object_methoddelete for
consistency
2000-06-23 20:30:28 +00:00
David Lawrence
17d91fddb3
279. [bug] Private omapi function symbols shared between
...
two or more files in libomapi.a were not namespace
protected using the ISC convention of starting with
the library name and two underscores ("omapi__"...)
2000-06-23 20:19:02 +00:00
David Lawrence
107a15b0d8
index renamed to idx to avoid reserved word conflict
2000-06-23 20:05:00 +00:00
David Lawrence
b2728187cc
length should be unsigned in omapi_data_dereference
2000-06-23 20:04:25 +00:00
David Lawrence
571e433d03
argument to omapi_object_setinter should be int
2000-06-23 20:03:56 +00:00
Michael Graff
79f9369c4f
gc DOIO_UNEXPECTED as it was never used
2000-06-23 19:58:38 +00:00
David Lawrence
c244584cad
276. [bug] isc_log_categorybyname() and isc_log_modulebyname()
...
would fail to find the first member of any category
or module array apart from the internal defaults.
Thus, for example, the "notify" category was improperly
configured by named.
This resolves RT #132 , "Logging channels definition problems."
2000-06-23 17:52:20 +00:00
Mark Andrews
b74e3d974b
comment update
2000-06-23 17:30:59 +00:00
Mark Andrews
b03a619e1d
set AA in notify messages
2000-06-23 17:26:38 +00:00
David Lawrence
9b639db360
use protect netdb.h and rpc/netdb.h from check-includes.pl recommended removal
2000-06-23 03:14:04 +00:00
David Lawrence
be65f56d23
does not need stddef.h, lwres/int.h or lwres/result.h
2000-06-23 03:13:26 +00:00
David Lawrence
f7be916879
does not need lwres/lang.h
2000-06-23 03:12:42 +00:00
David Lawrence
cf203e0ece
does not need stddef.h or lwres/int.h
2000-06-23 03:12:28 +00:00
David Lawrence
a41242165c
use lwres/lang.h, protect some files from check-includes.pl recommended removal
2000-06-23 03:12:06 +00:00
David Lawrence
e6e10b96f9
protect assert.h from check-includes.pl removal recommendation
2000-06-23 03:11:01 +00:00
David Lawrence
27aa96b186
use isc/lang.h
2000-06-23 03:10:33 +00:00
David Lawrence
33f236e3a1
protect sys/types.h and unistd.h from check-includes.pl removal recommendation
2000-06-23 03:10:02 +00:00
David Lawrence
544f8fd0be
protect sys/types.h from check-includes.pl removal recommendation
2000-06-23 03:08:18 +00:00
David Lawrence
b654509b18
protect limits.h from check-includes.pl removal recommendation
2000-06-23 03:07:45 +00:00
David Lawrence
ec32c6b366
use isc/lang.h and add protective UNIX_ERRNO2RESULT_H wrapper
2000-06-23 03:03:57 +00:00
David Lawrence
ac9e556e49
use isc/lang.h and fix ISC_STDIO_H wrapper
2000-06-23 03:03:14 +00:00
David Lawrence
e9acb52098
use isc/lang.h and fix ISC_SHA1_H wrapper
2000-06-23 03:02:58 +00:00
David Lawrence
76d6c9e54f
protect isc/formatcheck.h from check-includes.pl removal recommendation
2000-06-23 03:02:41 +00:00
David Lawrence
d7984899c8
use isc/lang.h
2000-06-23 03:02:04 +00:00
David Lawrence
bac5798358
use isc/lang.h and add protective ISC_FSACCESS_H wrapper
2000-06-23 03:01:46 +00:00
David Lawrence
8dfc0c1ab0
does not need isc/magic.h
2000-06-23 03:01:12 +00:00
David Lawrence
7657358689
does not need isc/types.h
2000-06-23 03:00:30 +00:00
David Lawrence
0980761026
does not need mutex.h
2000-06-23 03:00:01 +00:00
David Lawrence
aea59f157b
does not need eventclass.h
2000-06-23 02:59:28 +00:00
David Lawrence
5c54d949cf
style lint
2000-06-23 02:59:05 +00:00
Michael Graff
0087d83906
thinko. Check for necessary entropy content correctly.
2000-06-23 02:31:10 +00:00
Brian Wellington
22057930cd
TSIG AXFR verify leaked memory when talking to a BIND 8 server.
2000-06-23 02:07:58 +00:00
Brian Wellington
0378429c74
Add some log messages
2000-06-23 01:51:35 +00:00
Brian Wellington
d4edcfe5eb
Add tsig and tkey log moduleS
2000-06-23 01:51:18 +00:00
Andreas Gustafsson
57b3597444
275. [bug] The definition of lwres_gai_strerror() was missing the
...
lwres_ prefix.
2000-06-23 01:50:48 +00:00
Brian Wellington
809fdfba22
TSIG AXFR verify failed when talking to a BIND 8 server.
2000-06-23 00:48:28 +00:00
David Lawrence
03d33d6f87
wrap long line
2000-06-23 00:29:20 +00:00
Brian Wellington
e0d98fa781
TKEY failure could leak memory.
2000-06-22 23:07:00 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
Andreas Gustafsson
0ede98ca38
typo in comment
2000-06-22 21:45:30 +00:00
Brian Wellington
d153fb05e4
Require less entropy to be present for smaller keys. This means that
...
generating entropy on the keyboard doesn't take 5 minutes anymore.
2000-06-22 21:19:13 +00:00
Andreas Gustafsson
6036112f48
more detailed logging during insecurity proofs
2000-06-22 21:14:48 +00:00
Brian Wellington
aed3b8cb4e
cfmakeraw() is not posix
2000-06-22 20:50:55 +00:00
David Lawrence
7c74e180c2
update_copyrights
2000-06-22 03:00:36 +00:00
David Lawrence
038b0bd35c
return the number of ncpus, instead of whatever random crap is on the stack
2000-06-22 02:23:39 +00:00
Michael Graff
0eb2572d79
add isc_thread_setconcurrency()
2000-06-22 01:48:24 +00:00
Brian Wellington
386a52a5ea
Add isc/unix/os.c, which has isc_os_ncpus()
2000-06-22 01:06:35 +00:00
Michael Graff
9f95b0199c
add an argument to indicate how long to wait before draining the keyboard's input queue. This keeps people from overrunning input into the shell, etc.
2000-06-22 00:25:33 +00:00
Andreas Gustafsson
7bb1e299e1
269. [bug] Failed DNSSEC validations could cause an assertion
...
failure by causing clone_results() to be called with
with hevent->node == NULL.
2000-06-21 22:47:38 +00:00
David Lawrence
28d9fd5381
update_copyrights
2000-06-21 22:45:24 +00:00
David Lawrence
f2e5c64635
update_copyrights
2000-06-21 22:38:33 +00:00
David Lawrence
b602710169
update_copyrights
2000-06-21 22:20:18 +00:00
Michael Graff
8e7e1ef75b
let the entropy source seed the pseudorandom source from _very_ bad sources like the time and the pid. Update the dispatcher to always expect success in these cases.
2000-06-21 22:12:23 +00:00
David Lawrence
49dbdb0186
update_copyrights
2000-06-21 22:05:07 +00:00
Michael Graff
80617c8faa
Add using an entropy source to generate a random query ID seed value.
2000-06-21 21:34:43 +00:00
David Lawrence
8cbd9988dc
the ipv6.h header file is now platform independent
2000-06-21 20:50:55 +00:00
Brian Wellington
864d6c7042
Add LWRES_R_INCOMPLETE
2000-06-21 18:18:22 +00:00
Andreas Gustafsson
0302c5670c
do includes in alphabetical order
2000-06-21 17:27:55 +00:00
Michael Graff
890fb60939
add keyboard API
2000-06-21 01:45:21 +00:00
Michael Graff
96e79f7ede
Fully implement callback sources, and add a test program to test it.
2000-06-21 00:04:57 +00:00
Michael Graff
3036f326e5
attach to the memory context on manager create, and detach on destroy
2000-06-21 00:01:52 +00:00
Mark Andrews
a4bdc2328a
266. [bug] zone.c:save_nsrrset() node was not initalised.
2000-06-20 23:54:11 +00:00
Mark Andrews
559bb1016f
265. [bug] dns_request_create() not works for TCP.
...
264. [func] Dispatch can not take TCP sockets in connecting
state. Set DNS_DISPATCHATTR_CONNECTED when calling
dns_dispatch_createtcp() for connected TCP sockets
or call dns_dispatch_starttcp() when the socket is
connected.
2000-06-20 23:54:01 +00:00
Mark Andrews
3c671ac666
264. [func] Dispatch can not take TCP sockets in connecting
...
state. Set DNS_DISPATCHATTR_CONNECTED when calling
dns_dispatch_createtcp() for connected TCP sockets
or call dns_dispatch_starttcp() when the socket is
connected.
2000-06-20 23:52:54 +00:00
James Brister
58c42ee18c
263. [func] New logging channel type 'stderr'
...
channel some-name {
stderr;
severity error;
}
2000-06-20 21:36:49 +00:00
Michael Graff
35250798eb
Actually create sample sources now.
2000-06-20 19:10:19 +00:00
Mark Andrews
5dc6a24e8b
262. [bug] 'master' was not initalised in zone.c:stub_callback().
2000-06-20 19:03:13 +00:00
Michael Graff
b9672b61d8
add processing of sample sources, and of callback sources
2000-06-20 19:01:13 +00:00
Michael Graff
8470db5b12
clean up ; remove unneeded function arguments
2000-06-20 17:24:47 +00:00
David Lawrence
4b7c8ee536
use libisc fsaccess to make private key file accessible only to owner
2000-06-20 04:13:40 +00:00
David Lawrence
5336b803ae
style lint
2000-06-20 04:12:15 +00:00
David Lawrence
4acd8d2afe
build fsaccess
2000-06-20 04:09:48 +00:00
David Lawrence
1f5eafd61b
added ISC_R_NOTFILE and ISC_R_NOTDIRECTORY
2000-06-20 04:07:21 +00:00
David Lawrence
60f67141b8
added isc_fsaccess_t
2000-06-20 04:06:23 +00:00
David Lawrence
a904de0bc8
OS-independent filesystem permissions
2000-06-20 04:06:01 +00:00
Mark Andrews
242dfd9cc6
261 [func] Add dns_zone_markdirty().
2000-06-19 23:05:32 +00:00
David Lawrence
03052a178c
dns_rbt_deletefromlevel() did not need its dns_rbt_t argument
2000-06-19 22:55:42 +00:00
Michael Graff
fbcba391fa
fix format argument
2000-06-19 22:23:05 +00:00
Michael Graff
6d81064bf7
include isc/formatcheck.h
2000-06-19 22:16:25 +00:00
Brian Wellington
412e5c6211
Add lwres_udp_port, so that test programs can use a different port.
2000-06-19 21:56:48 +00:00
Michael Graff
9550eb2dab
add formatcheck.h
2000-06-19 21:45:05 +00:00
David Lawrence
afd7f38277
style lint
2000-06-19 19:18:45 +00:00
Brian Wellington
0c7b7a19e5
Use GCC's format attribute for better error checking when possible.
2000-06-19 18:02:32 +00:00
Brian Wellington
4e3316d1b7
isc_log_write called with extra parameter, typos
2000-06-19 17:41:42 +00:00
David Lawrence
29953187b6
ok, this is The Last Time mucking with the dang
...
offset overflow check. the expression has been simplified and if
this causes warnings on any platform now i'm gonna go postal.
2000-06-19 17:16:44 +00:00
Michael Graff
7685c082c8
remove flags from source types. It was never used, and probably shouldn't be there.
2000-06-17 01:42:21 +00:00
Michael Graff
fd316ab4f9
snapshot
2000-06-17 01:30:40 +00:00
Michael Graff
9ceb50ed04
protect isc_entropy_stats() with a lock, and use a static dumpstats() internally when a lock is already held, for debugging. Add isc_entropy_putdata() which can be used to prime the pool.
2000-06-17 00:43:11 +00:00
Michael Graff
57ded06933
fix multicast test
2000-06-16 22:35:36 +00:00
Andreas Gustafsson
12dd8db40b
don't indent comments by one space
2000-06-16 21:45:51 +00:00
Michael Sawyer
9b3a69e6a7
Improved printing of DynDNS packets in *totext.
2000-06-16 18:48:41 +00:00
Michael Sawyer
6dd86183b0
Revert 1.126 -> 1.125
2000-06-16 18:27:49 +00:00
Michael Sawyer
3238566d66
Change counts on message_totext to use update names when un update message
...
Improve handling of rdatasets without rdata.
2000-06-16 17:48:05 +00:00
Andreas Gustafsson
8ed2c82a73
do not use initial caps in log messages
2000-06-16 15:51:58 +00:00
Michael Graff
aad37e39b3
protect sin6_scope_id
2000-06-16 01:44:15 +00:00
Michael Graff
29a2e0c9b5
Bring back warnings we supressed for b4 :)
2000-06-16 01:39:05 +00:00
Michael Graff
e92d6ed5e7
snapshot
2000-06-16 01:38:13 +00:00
Andreas Gustafsson
8bbc3795bf
RT #133 : fixed two separate bugs, each of which would cause a bus
...
error during shutdown of a busy caching server (specifically, one
making many outgoing TCP connections).
Bug 1: resquery_destroy() accessed query->fctx->res->mctx, even though
query->fctx could already be destroyed at this point.
Bug 2: resquery_connected() called fctx_done(query->fctx, result)
immediately after fctx_cancelquery(), which could destroy *query.
Also added some explanatory comments.
2000-06-16 01:16:39 +00:00
David Lawrence
c9687c0800
HPUX said:
...
cc: "netaddr.c", line 235: warning 508: Statement can never be reached.
cc: "netaddr.c", line 238: warning 508: Statement can never be reached.
... but now it won't say that anymore. "break"s following "return"s removed.
2000-06-16 01:07:43 +00:00
Michael Graff
ce5bd92088
Store our own version of what type of socket we had, so we can clean up even after the socket is detached.
2000-06-16 00:52:05 +00:00
Michael Graff
efe2f579ba
add LWRES_CONTEXT_SERVERMODE
2000-06-15 23:48:11 +00:00
James Brister
0d5d8e2bbf
259. [func] New random-device and random-seed-file statements
...
for global options block of named.conf. Both accept
a single string argument.
2000-06-15 23:38:16 +00:00
Michael Graff
3d2332d68f
include <lwres/net.h> so AF_INET6 is always defined
2000-06-15 22:43:48 +00:00
Michael Graff
8313838954
Conditionalize setting of struct sockaddr_in6's sin6_scope_id member.
...
Some machines have it, older ipv6 flavors do not.
2000-06-15 21:52:21 +00:00
James Brister
52d06580bd
Fixed handling of printing of lwres_addr_t.address field.
2000-06-15 21:34:21 +00:00
Michael Graff
2193d51910
latest patches from pr 135
2000-06-15 18:49:54 +00:00
Michael Graff
eadfacf1f5
journal.c doesn't really seem to need <unistd.h>
2000-06-15 18:29:45 +00:00
Michael Graff
99dd8505ed
Bring up to spec. Patches from pr 134, 135
2000-06-15 18:28:11 +00:00
Michael Graff
f64ded0ac7
set ISC_SOCKEVENTATTR_MULTICAST on packets received from a multicast address
2000-06-15 18:25:49 +00:00
Michael Graff
d80da258e3
Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast()
2000-06-15 18:23:54 +00:00
Michael Graff
d2e9c94edb
Add ISC_R_MULTICAST
2000-06-15 18:21:38 +00:00
Michael Graff
c3581e2bcc
No need to destroy filesources -- they will clean up when the source is destroyed
2000-06-15 18:15:26 +00:00
Andreas Gustafsson
06ed5a0d46
fixec typos in previous checkin
2000-06-15 17:42:16 +00:00
Andreas Gustafsson
aa79283a0d
257. [bug] The server detached the last zone manager reference
...
too early, while it could still be in use by queries.
This manifested itself as assertion failures during the
shutdown process for busy name servers (RT #133 ).
256. [func] isc_ratelimiter_t now has attach/detach semantics, and
isc_ratelimiter_shutdown guarantees that the rate
limiter is detached from its task.
255. [func] New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00
Andreas Gustafsson
7e86b27bc0
typos in comments
2000-06-15 16:46:24 +00:00
Andreas Gustafsson
21eaa04858
added dns_zonemgr_attach(); also changed comments for other
...
attach() functions to consistently say that the new reference attaches to
the object, not vice versa
2000-06-15 16:11:50 +00:00
Mark Andrews
1e98bdb4a3
add missing REQUIRE()s
2000-06-15 02:45:47 +00:00
Andreas Gustafsson
374606311f
removed incorrect cast from offset wraparound check (patch from tale)
2000-06-14 16:25:12 +00:00
James Brister
e03329a387
253. [func] resolv.conf parser now recognises ';' and '#' as
...
comments (anywhere in line, not just as the beginning).
252. [bug] resolv.conf parser mishandled masks on sortlists.
It slso aborted when an unrecognised keyword was seen,
now it silently ignores the entire line.
2000-06-13 17:52:58 +00:00
Michael Graff
c498b4be95
initialize with at least THRESHOLD_BITS bits of entropy for pseudorandom case.
2000-06-12 22:28:05 +00:00
Michael Graff
6a3beb6f7e
don't reset initialized state to ISC_TRUE -- it is a counter now, not a boolean
2000-06-12 21:37:13 +00:00
Brian Wellington
898c0c12f0
MIN -> MAX
2000-06-12 20:49:18 +00:00
Andreas Gustafsson
2f259b4eec
commented
2000-06-12 19:23:51 +00:00
Michael Graff
8fdd9c31b9
allow blocking when priming the pseudorandom generator
2000-06-12 18:28:25 +00:00
Michael Graff
8422b3823f
require that we collect at least 20 bytes (hash size) of good randomness
...
before allowing pseudorandom operation.
2000-06-12 18:19:43 +00:00
Brian Wellington
c0975ccf5c
Use the dst entropy wrapper in all cases, so that the initial entropy flags
...
passes into dst are always in effect.
2000-06-12 18:05:15 +00:00
Brian Wellington
ce89d902a2
dst_context_create should check for a null key before creating a context
2000-06-12 07:07:53 +00:00
Brian Wellington
03e7db4ba4
hmacmd5_generate wasn't initializing a buffer
2000-06-12 07:07:14 +00:00
Brian Wellington
3bd1726b6f
fix memory leak on entropy failure
2000-06-10 21:30:53 +00:00
David Lawrence
ec90f1a1d6
revived openssl sha1 code to get the project to compile again. it is needed
...
by openssl/dsa_gen.c, as that file is currently written. this might not
be what is ultimately desired, but was the quickest way to have a working
system again.
2000-06-10 16:53:53 +00:00
Michael Graff
8b143acb3a
remove debugging printfs, no really
2000-06-10 01:53:02 +00:00
Michael Graff
01e8ed519e
remove debugging printfs
2000-06-10 01:52:35 +00:00
Michael Graff
f1400cb774
snapshot
2000-06-10 01:47:06 +00:00
Brian Wellington
d01c654984
Removed unused openssl md5, sha1, and randomness code
2000-06-10 01:39:13 +00:00
Michael Graff
d08577ac0b
don't reset added when retrying sources, and add another printf
2000-06-10 01:09:22 +00:00
Michael Graff
a0dc53dd58
check in a debugging printf, to help track down a problem on linux
2000-06-10 00:52:56 +00:00
Michael Graff
d730157099
Try a different tactic before returning failure
2000-06-10 00:50:03 +00:00
Michael Sawyer
2c12768b43
Change req_connected require to SOCKEVENT_CONNECT instead of
...
SOCKEVENT_SENDDONE
2000-06-10 00:37:05 +00:00
Michael Graff
e679d0acb1
<, not <=
2000-06-10 00:35:08 +00:00
Brian Wellington
09b6ea10e0
typo
2000-06-09 23:50:19 +00:00
Brian Wellington
6204077770
Actually make openssl work with our entropy api
2000-06-09 23:31:55 +00:00
Michael Sawyer
2004704111
Bind socket before use
2000-06-09 23:29:35 +00:00
Brian Wellington
14c5931d3d
tkey cleanups and conversion to the entropy api
2000-06-09 22:33:08 +00:00
Brian Wellington
09a1a618cd
Use the entropy api.
2000-06-09 22:32:20 +00:00
Michael Graff
f8b50c193f
snapshot
2000-06-09 22:24:22 +00:00
James Brister
bedfa169b4
fixed handling of size+unit when value would be too large for internal
...
representation.
max-cache-size config option now takes a size-spec like 'datasize',
except 'default' is not allowed.
2000-06-09 22:13:23 +00:00
Andreas Gustafsson
3fe45d9897
do the length checks of 1.90 in a more efficient way; take
...
advantage of the new buffer API macros
2000-06-09 22:01:55 +00:00
Andreas Gustafsson
2bb908bd0b
style; removed references to EDNS1 and local compression
2000-06-09 21:52:27 +00:00
Michael Graff
79fdce6aff
add blocking mode, and add a flag to indicate the input is a device
2000-06-09 21:36:51 +00:00
Andreas Gustafsson
7e006df76f
reordered copyright messages so that the ISC 'portions' copyright
...
can be automatically maintained
2000-06-09 21:23:19 +00:00
Andreas Gustafsson
1cad45e9cf
whitespace changes in copyright message
2000-06-09 20:59:32 +00:00
Andreas Gustafsson
3b938ff0d9
copyright messages now generated by util/update_copyrights
2000-06-09 20:58:39 +00:00
Andreas Gustafsson
db03efe326
changed copyright years to 1999,2000 per util/copyrights
2000-06-09 20:57:29 +00:00
Michael Graff
b90f80957a
use create/attach/detach semantics
2000-06-09 19:18:56 +00:00
Michael Graff
24629383aa
kill printf
2000-06-09 18:46:17 +00:00
Michael Graff
348f351145
checkpoint
2000-06-09 18:45:51 +00:00
Michael Graff
99bec2168f
checkpoint
2000-06-09 18:33:35 +00:00
Michael Graff
b8feb9c67c
checkpoint
2000-06-09 18:22:11 +00:00
Michael Graff
630a955711
checkpoint
2000-06-09 17:48:08 +00:00
Michael Graff
b48abf6b85
snapshot
2000-06-09 17:25:41 +00:00
James Brister
d85552c450
global lame-ttl option was not being printed when config structures were
...
written out.
2000-06-09 15:54:26 +00:00
James Brister
47c196192a
Rename cache-size config option to max-cache-size and change argument
...
type to be strict integer (no 'default' or 'unlimited')..
2000-06-09 15:03:28 +00:00
James Brister
adf8222185
Rename global option cachesize to cache-size and add corresponding option
...
to view statement.
2000-06-09 08:48:42 +00:00
Mark Andrews
0791b485bf
DNS_ZONE_F_???? -> DNS_ZONEFLG_????
...
DNS_ZONE_O_???? -> DNS_ZONEOPT_????
Add various missing REQUIRE's
Add / cleanup comments in zone.h
Remove dns_zone_unmount() never implemented.
2000-06-09 06:16:21 +00:00
Mark Andrews
bcff319811
Wildcard NS records are not conceptually allowed by RFC 103[45].
2000-06-09 06:03:47 +00:00
Mark Andrews
ce1b0e505e
INSIST() on sane time from the kernel.
2000-06-09 06:01:37 +00:00
Michael Graff
e596c6fe81
make it build.
2000-06-09 04:06:06 +00:00
Michael Graff
c6e2d36708
snapshot
2000-06-09 02:00:22 +00:00
Michael Sawyer
58c40ca8bd
Modify message_sectiontotext() to use update section names when opcode
...
is update.
2000-06-09 01:46:59 +00:00
Brian Wellington
f3b52d9fe5
If an uncompressed name will take more than 255 characters and the buffer is
...
sufficiently long, dns_name_fromwire should return DNS_R_FORMERR, not
ISC_R_NOSPACE.
2000-06-09 01:30:11 +00:00
Michael Graff
9403a56228
checkpoint
2000-06-09 00:11:39 +00:00
Michael Graff
118332fc5c
snapshot
2000-06-08 23:42:17 +00:00
David Lawrence
b7c94aa070
maybe that cast to off_t i took out wasn't right, but that's because it should
...
have been a cast to isc_offset_t rather than being removed
2000-06-08 23:29:59 +00:00
David Lawrence
e46d261abb
added void parameter declarator for definition of dst_lib_destroy()
2000-06-08 23:21:15 +00:00
David Lawrence
6ba9a50031
need errno.h for errno
2000-06-08 23:20:01 +00:00
Michael Graff
60a7475dd8
checkpoint
2000-06-08 22:18:53 +00:00
Michael Graff
81b7c342c4
s/ISC_R_ENTROPY/ISC_R_NOENTROPY/g
2000-06-08 22:17:03 +00:00
David Lawrence
c656250292
include void parameter declarator for definition of dst__openssldh_destroy()
2000-06-08 20:52:12 +00:00
David Lawrence
076f3bc6ad
use ANSI memset instead of bzero
2000-06-08 20:42:11 +00:00
David Lawrence
e90de0d144
buildfilename() definition needed static attribute of its declaration
2000-06-08 20:38:48 +00:00
Michael Graff
d10733a5a3
add ISC_R_ENTROPY
2000-06-08 19:23:04 +00:00
Andreas Gustafsson
b6007467eb
style; no functional change
2000-06-08 18:37:29 +00:00
Andreas Gustafsson
c062bee495
style; no functional change
2000-06-08 18:36:52 +00:00
Michael Sawyer
1378841691
Clean-room version of gai_strerror() to get rid of (C) issues.
2000-06-08 18:32:04 +00:00
Andreas Gustafsson
596089957b
cachesize was misspelled as cachezie
2000-06-08 17:26:35 +00:00
James Brister
71a4339351
Empty named.conf file and empty options statement are now parsed properly.
...
New cachesize option for named.conf
Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
Michael Graff
016742f7d8
add stirring functions and other bits. Snapshot.
2000-06-08 06:35:49 +00:00
Mark Andrews
db06b81059
signed vs unsigned char.
2000-06-08 06:16:09 +00:00
Michael Graff
0aa8742ace
minor formatting nit
2000-06-08 05:26:38 +00:00
Michael Graff
1e3c9ce3ab
kill a warning on some systems.
2000-06-08 05:26:00 +00:00
Michael Graff
9282e3c21a
don't periodically dump the database. I think we're debugged enough by now.
2000-06-08 01:43:21 +00:00
Michael Graff
ccc067f7d5
enable INSIST/REQUIRE() checking of bound status on sockets
2000-06-08 00:23:54 +00:00
Brian Wellington
5388c214e5
Correctly fix type for rbtdb64_create
2000-06-08 00:06:50 +00:00
Michael Graff
332e078f6e
fix type for rbtdb64_create, too
2000-06-07 22:29:00 +00:00
Michael Graff
270ad529d3
snapshot
2000-06-07 22:15:55 +00:00
Michael Graff
090ac4fa1c
Use ip6.arpa for bitstring labels
2000-06-07 22:02:22 +00:00
Michael Graff
17b8fc714a
snapshot
2000-06-07 20:55:12 +00:00
Michael Graff
a14eb88840
clamp ttls in the adb to be 10 < ttl < 86400, that is, 10 seconds minimum and 24 hours max
2000-06-07 20:15:48 +00:00
Michael Graff
90407942d3
Use autoconf's AC_C_BIGENDIAN macro to detect endian flavor, and use WORDS_BIGENDIAN from config.h{,.in}
2000-06-07 19:41:49 +00:00
Brian Wellington
b01324ef07
Removed unused DST_R_NAMETOOLONG result code
2000-06-07 19:18:53 +00:00
Brian Wellington
76513c0271
Removed errant call to dns_rdata_freestruct, cleaned up an error case.
2000-06-07 19:05:45 +00:00
Brian Wellington
c892129a37
isc_buffer_base->isc_buffer_used
2000-06-07 19:05:00 +00:00
Brian Wellington
78d14e388a
Use MD5/SHA1 from libisc instead of dst/openssl
2000-06-07 17:22:31 +00:00
Mark Andrews
80ee8ea28d
Consolidation and cleanup of stub code.
2000-06-07 06:14:52 +00:00
Mark Andrews
0380c44d02
241. [cleanup] nscount and soacount have been removed from the
...
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews
265086fc36
Added comments.
2000-06-07 03:12:13 +00:00
Mark Andrews
2a3e99550d
240. [func] databases now come in three flavours: zone, cache
...
and stub.
Add stubs zones support checkpoint.
notify_t -> dns_notify_t
2000-06-07 02:40:42 +00:00
Mark Andrews
a6733246ea
240. [func] databases now come in three flavours: zone, cache
...
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
bb36b3102c
Use the isc md5 routines instead of dst.
2000-06-07 02:33:46 +00:00
Brian Wellington
1ee3b153b6
Added length constants, changed _final parameter from array to pointer.
2000-06-07 02:28:43 +00:00
Michael Graff
fbb2ab3056
md5 endian doesn't seem to matter?
2000-06-07 02:21:39 +00:00
Brian Wellington
77c67dfb26
Repeatedly querying for nonexistant data could lead to a crash.
2000-06-07 01:32:47 +00:00
Michael Graff
f2314fbd79
fix comments
2000-06-07 01:17:06 +00:00
Michael Graff
db4871e843
complain if BYTE_ORDER isn't defined
2000-06-07 01:14:26 +00:00
Michael Graff
bb2d54f1b3
build md5.c
2000-06-07 00:49:04 +00:00
Michael Graff
801c511ecd
s/u_int/unsigned int/g
2000-06-07 00:30:42 +00:00
Michael Graff
676c534c8d
We really don't need to export the sha1 transform() function, it is internal only.
2000-06-07 00:22:32 +00:00
Michael Graff
74da616f07
add sha1 implementation
2000-06-07 00:15:19 +00:00
David Lawrence
003a40178f
make DNS_RDATACOMMON_INIT work again. structure elemnts had the same name as
...
the downcased macro argument names
2000-06-07 00:11:51 +00:00
Brian Wellington
3aec811249
fixed memory leak on TSIG BADSIG
2000-06-06 23:44:13 +00:00
David Lawrence
92ab6defb6
don't redefine DNS_RBT_ANCESTORBLOCK to a tiny size when ISC_MEM_DEBUG is
...
defined, as it is by default now. huge performance hit that we would
likely have been slow to notice if not for the t_rbt chain tests
having a bug. :-)
2000-06-06 23:25:29 +00:00
David Lawrence
49f64feb02
removed an irrelevant cast to off_t in the offset wraparound check.
...
the expression in question is already of type isc_offset_t, which
is just a typedef for off_t.
2000-06-06 22:28:21 +00:00
David Lawrence
5fda9ca75a
redefined ISC_OFFSET_MAXIMUM
2000-06-06 22:10:10 +00:00
Brian Wellington
b3ef06344a
DST API updates
2000-06-06 22:01:49 +00:00
Brian Wellington
4441bfbd6b
More dst updates:
...
- dst_lib_init()/dst_lib_destroy() allow dst to use a predefined
mctx and free all resources on exit.
- dst_key_tofile() & dst_key/fromfile() take a directory parameter.
- dst_key_parsefile() removed, replaced by dst_key_fromnamedfile()
- more bug fixes and memory leak fixes
2000-06-06 21:58:16 +00:00
Brian Wellington
46734259ca
Replace the calls to openssl error routines with stubs, since the calls
...
allocate memory somewhere which isn't being freed.
2000-06-06 20:40:28 +00:00
Brian Wellington
54ef500660
Turn on ISC_MEM_DEBUG by default and define isc_mem_debugging as an extern
...
defaulting to ISC_FALSE.
2000-06-06 18:07:38 +00:00
Brian Wellington
4c050ce9dc
typo
2000-06-06 17:57:58 +00:00
Brian Wellington
36bcb04af2
If ISC_MEM_DEBUG is enabled, the variable isc_mem_debugging controls
...
whether messages are printed or not.
2000-06-06 17:50:43 +00:00
Andreas Gustafsson
f6684513fa
style; no functional change
2000-06-06 17:50:38 +00:00
Andreas Gustafsson
ee03a00244
changed references to 'binary buffer' in comments
...
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
Andreas Gustafsson
ad7209ea70
style, no functional change
2000-06-06 17:43:21 +00:00
David Lawrence
bb808665b4
removed unused stack variable "ctx" from dnssafersa_verify()
2000-06-06 16:35:59 +00:00
David Lawrence
ed71ea51c6
Silence a few more warnings:
...
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
+ PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
+ IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
Solaris 2.8.
2000-06-06 16:06:50 +00:00
David Lawrence
fccbca2cdf
style lint; macro parameter names are lowercase
2000-06-06 15:23:26 +00:00
David Lawrence
9e532f8f5e
use ISC_TF to assign an isc_boolean_t
2000-06-06 15:21:46 +00:00
David Lawrence
febb976e2e
dnssafersa_verify() was failing because it used isc_buffer_used() where it
...
needed isc_buffer_base().
2000-06-06 15:16:45 +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
Mark Andrews
7ed73313b1
Add function to determine whether a given request used TCP or not.
2000-06-06 02:07:13 +00:00
Mark Andrews
ba6f0d85b4
Add macro to initalise the common part of a rdata struct.
2000-06-06 02:03:23 +00:00
Mark Andrews
d2b5fe92a4
Generate dependancies for dot 'h' files made by gen.
2000-06-06 02:01:41 +00:00
Andreas Gustafsson
9c11326b18
237. [bug] If connect() returned ENOBUFS when the resolver was
...
initiating a TCP query, the socket didn't get destroyed,
and the server did not shut down cleanly. [RT #107 ]
2000-06-05 22:31:54 +00:00
David Lawrence
b1a8714e07
cast void *isc_buffer_used() to char * for pointer arithmetic
2000-06-05 22:20:04 +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
Andreas Gustafsson
abf2e095fb
config code now guarantees that port number is set in the
...
also-notify list
2000-06-05 21:54:28 +00:00
James Brister
d5399cc351
Allow a trusted-key's first field (domain-name) be either a quoted or
...
an unquoted string, instead of requiring a quoted string.
2000-06-05 20:32:01 +00:00
Brian Wellington
b70f6ae9d0
missing call to dst_context_destroy
2000-06-05 20:01:07 +00:00
Brian Wellington
b15d35d4e6
use the dst md5 layer instead of openssl md5, replace verify with sign & compare
2000-06-05 19:10:58 +00:00
Brian Wellington
9ee00c4fa0
use the dst md5 layer instead of dnssafe md5
2000-06-05 19:10:27 +00:00
Andreas Gustafsson
f1f2f8bd47
Wired up the new 'port' option. Also, the interface manager now has
...
both a 'listen-on' and a 'listen-on-v6' ACL. We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00
James Brister
029f5aa861
Conversion of various config file values to isc_uint32_t.
2000-06-05 09:17:14 +00:00
Mark Andrews
ac3b769801
232. [bug] Allow slave zones to not have a file.
2000-06-05 03:44:17 +00:00
James Brister
69b691c962
Support new 'port' clause in config file options section. Causes
...
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Michael Graff
527bf54995
s/u_int32_t/isc_uint32_t/g
2000-06-03 05:38:29 +00:00
Michael Graff
2f1059efb7
checkpoint
2000-06-03 02:15:08 +00:00
Brian Wellington
aeca99a602
Don't dereference a pointer before assigning it.
2000-06-03 00:43:46 +00:00
Brian Wellington
e27021ee1f
Certain negative responses could crash the validator.
...
The insecurity proof code didn't check to see if the name was below a security
root.
2000-06-03 00:18:43 +00:00
Brian Wellington
e8325473bc
typos
2000-06-02 23:44:52 +00:00
Andreas Gustafsson
f266030dc3
RT #129 : the journalling code assumed (and indeed INSISTed) that the
...
in-core and on-disk representations of a journal file offset be the same size.
This restriction has now been lifted.
2000-06-02 23:43:17 +00:00
Brian Wellington
182706b2e9
more dst updates
2000-06-02 23:36:14 +00:00
Michael Graff
9f732d73da
put the correct (new) socket on the linked list, not the existing (listen) socket.
2000-06-02 20:09:01 +00:00
Brian Wellington
4fe8755480
Use the new DST API
2000-06-02 18:59:33 +00:00
Brian Wellington
011463c376
New DST API for signing/verifying, as well as some reorganization, cleanup,
...
and bug fixes.
2000-06-02 18:57:51 +00:00
Brian Wellington
ac37a32d23
If isc_log_settag() was used to set a non-NULL tag, the allocated memory
...
was never freed.
2000-06-02 18:15:45 +00:00
Andreas Gustafsson
35af0018dd
made isc_sockaddr_totext() return failure rather than catch an
...
assertion when confronted with an unsupported address family, like it used to
before it was changed to use isc_netaddr_totext() internally
2000-06-02 17:48:31 +00:00
Andreas Gustafsson
11d0a4a55e
wired up the sig-validity-interval option; renamed its
...
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
James Brister
98c2f9a111
Support config file trusted-keys and also-notify statemenets in views.
...
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).
Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
David Lawrence
f8faa9fe09
my last revision created a dns_rdataclass_* enum that had a comma after the
...
last idenfier, and IRIX whined about it. Repeatedly. Sigh.
2000-06-02 03:26:17 +00:00
David Lawrence
97741ef83e
ndata and offsets for dns_rootname and dns_wildcardname need to be
...
unsigned char * (not char *) to match the ndata and offsets in dns_name_t.
2000-06-02 03:18:12 +00:00
Michael Graff
0a161e9da7
use a linked list, rather than a counter, to keep track of sockets. This makes
...
debugging easier. Also, while here, s/EMPTY/ISC_LIST_EMPTY/g
2000-06-02 01:27:27 +00:00
David Lawrence
1c70c5ee90
227. [cleanup] The enumerated identifiers dns_rdataclass_*,
...
dns_rcode_*, dns_opcode_*, and dns_trust_* are
also now cast to their appropriate types.
2000-06-02 01:07:05 +00:00
Andreas Gustafsson
3755da41db
reformatting; no functional change
2000-06-02 00:20:46 +00:00
Andreas Gustafsson
c7298a2f0e
dns_name_totext() now always prints the root name as '.',
...
even when omit_final_dot is true
2000-06-02 00:19:37 +00:00
Andreas Gustafsson
a3c0a79b61
dns_name_totext() now always prints the root name as '.',
...
even when omit_final_dot is true
2000-06-02 00:14:02 +00:00
Andreas Gustafsson
8edbb66acd
#include <errno.h> no longer needed now that we use isc_file_*
2000-06-02 00:05:30 +00:00
Andreas Gustafsson
658dc22047
no need to check for a port number of zero in master addresses as
...
the configuration code now guarantees that the port numbers have been
set in the masters list
2000-06-01 23:17:46 +00:00
Andreas Gustafsson
a892ddd1bd
changed the zone type of the version.bind. CH zone from 'none'
...
to 'master', as the semantics of zones of type 'none' are not well defined.
Allow zone->dbname to be NULL to support this usage.
2000-06-01 23:11:26 +00:00
Andreas Gustafsson
b3352f568a
removed outdated comment
2000-06-01 22:34:03 +00:00
Andreas Gustafsson
11a91ac55e
call isc_task_setname() on the dispatch tasks
2000-06-01 22:00:09 +00:00
David Lawrence
0b056755b2
225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
...
cast to dns_rdatatype_t via macros of their same name
so that they are of the proper integral type wherever
a dns_rdatatype_t is needed.
(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
David Lawrence
b8f0fedbe7
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
Minor other ISC style cleanups.
2000-06-01 19:14:59 +00:00
David Lawrence
50bd180f4b
lwres_gai_strerror()'s return value is massaged to remove the const qualifier,
...
as specified by RFC 2133. It's still ultimately const, just not with
the qualifier.
2000-06-01 19:11:21 +00:00
David Lawrence
a5e5d67faa
gai_strerror is spec'd by RFC 2133 as char *, with no const qualifier.
...
I'll have to see about how this can be handled more suitably by the code,
but for now, the return value has been revered to not being const qualified.
2000-06-01 18:29:27 +00:00
David Lawrence
6d12fdf966
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.
rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.
Some minor integer-compatibility issues. (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast. The type of an
enum member is int, so there are some conversion issues there, too.)
A pointers-to-function should not be cast to a pointer-to-object.
Variables should not be named for C reserved identifiers.
One or two set-but-not-used variables removed.
Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
David Lawrence
8612a0d515
gai_strerror returns const char * now; this change was (erroneously) only made
...
to netdb.h in my local tree, not to the file that generates it ...
2000-06-01 18:10:37 +00:00
Brian Wellington
89dabedbd0
make lwres_gai_strerror return char *, not const char *. This now matches the
...
prototype in include/lwres/netdb.h (which was causing a compile failure) and
the strerror man pages.
2000-06-01 18:06:31 +00:00
Andreas Gustafsson
b8c7678461
style; no functional change
2000-06-01 18:04:37 +00:00
David Lawrence
ca81c3971c
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
Minor other ISC style cleanups.
2000-06-01 17:39:26 +00:00
David Lawrence
44bd41cce3
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
2000-06-01 17:33:39 +00:00
David Lawrence
87cafc5e70
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.
Also cleaned up a few places where variable names clashed with reserved
identifiers. (Which mostly works fine, but strictly speaking is undefined
by the standard.)
Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Andreas Gustafsson
fd6de7af32
refer to RFC2845, not draft-ietf-dnsext-tsig-00.txt
2000-06-01 16:47:26 +00:00
Andreas Gustafsson
4831695ebe
no need to include <isc/netaddr.h> to get in_port_t; <isc/net.h> suffices
2000-06-01 16:40:23 +00:00
David Lawrence
ee205e0662
[rt #128 ] removed redundant result check from dns_xfrin_create.
...
char *msg parameter to xfrin_fail made const.
2000-06-01 13:48:55 +00:00
Brian Wellington
399fe4aa0f
Lots of bugs fixed in _fromfile and _fromdns. There were enough of them that
...
they managed to hide each other in most cases.
2000-06-01 02:33:26 +00:00
Brian Wellington
b058593410
Passed incorrect size to isc_mem_get.
2000-06-01 02:04:38 +00:00
Brian Wellington
2321de58e5
Added #include <isc/netaddr.h>, since in_port_t wasn't defined.
2000-06-01 02:04:01 +00:00
Brian Wellington
7a97b7630f
dns_message_gettsig/getsig0 cleanup
2000-06-01 01:30:55 +00:00
Andreas Gustafsson
92a31c0f86
support view-specific and global 'also-notify'
2000-06-01 00:41:23 +00:00
Michael Graff
d98c74e2ec
set the default destination port in the view, and use it when returning addresses from the adb.
2000-06-01 00:30:58 +00:00
Brian Wellington
fe0e3c7707
Rename message->tsigset/querytsigset to tsig/querytsig.
2000-05-31 23:58:35 +00:00
Brian Wellington
91268e69b0
Don't directly access the TSIG field of the message.
2000-05-31 23:57:45 +00:00
Andreas Gustafsson
e6ec99f169
commented
2000-05-31 23:35:09 +00:00
Michael Graff
bfd98dd959
don't log ports where they don't make sense
2000-05-31 23:03:01 +00:00
Brian Wellington
75f6c57d95
When an rdataset is signed, its ttl is normalized based on the signature
...
validity period.
2000-05-31 22:01:39 +00:00
Andreas Gustafsson
5416faa397
Fixed RT #127 . After the changes of zone.c 1.120, the variable
...
'soa' was no longer used, but it was still freed (sometimes)
2000-05-31 21:13:57 +00:00
James Brister
725a4773f5
Support also-notify and trusted-keys in a view statement.
...
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington
b6e9d91ff0
dns_message_rendersection left the buffer in a corrupted state if there
...
was reserved space in the message and the section had no names.
2000-05-30 23:47:56 +00:00
Brian Wellington
0f80bfec68
The message code now has functions to manipulate TSIG and SIG(0), and the
...
callers use these functions. Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Brian Wellington
8c8b6b1ce5
include isc/buffer.h, dns/rdatastruct.h
2000-05-30 22:30:39 +00:00
Brian Wellington
090601a51c
include dns/rdatastruct.h
2000-05-30 22:30:13 +00:00
Brian Wellington
f1788d67ad
include isc/buffer.h
2000-05-30 22:29:28 +00:00
Brian Wellington
451a3c5262
include isc/buffer.h, dns/name.h, dns/rdatastruct.h
2000-05-30 22:28:37 +00:00
Mark Andrews
48841a4ae9
When checking for notifies in the queue first check to see if a request has
...
been sent.
Check DNS_ZONE_F_NEEDREFRESH when we have got to the last master in
refresh_callback.
2000-05-29 05:47:18 +00:00
Brian Wellington
7077846f3b
minor cleanup
2000-05-27 00:24:07 +00:00
Andreas Gustafsson
c8c884b79b
made defaults for max-cache-ttl and max-ncache-ttl the same as in
...
BIND 8: 7 days and 3 hours, respectively
2000-05-27 00:20:39 +00:00
Andreas Gustafsson
7cd4c3ddd1
The 'cache-ttl' and 'ncache-ttl' options now work
2000-05-26 23:17:56 +00:00
Brian Wellington
9a4a878733
removed debugging code
2000-05-26 22:03:47 +00:00
Brian Wellington
ca9af3aaf7
Lots of restructuring to make code easier to follow. Also a few bugs fixed,
...
and hopefully not too many new ones introduced.
2000-05-26 21:45:53 +00:00
Andreas Gustafsson
396dba6250
added /*FALLTHROUGH*/ comments where appropriate
2000-05-26 18:18:12 +00:00
Andreas Gustafsson
115635379a
style
2000-05-26 17:46:16 +00:00
Andreas Gustafsson
6c7bfa7c59
added ISC_NETADDR_FORMATSIZE as a counterpart to
...
ISC_SOCKADDR_FORMATSIZE and commented them both
2000-05-26 16:39:28 +00:00
Andreas Gustafsson
bf16dd5997
use dns_name_format()
2000-05-26 16:12:30 +00:00
Michael Graff
bd81a43c73
drop ::1.2.3.4 and ::ffff:1.2.3.4 in the resolver, not the adb.
2000-05-26 02:16:10 +00:00
Brian Wellington
5f80c1428b
Don't leak memory when reloading the zone if an update-policy clause was
...
present in the old zone.
2000-05-26 00:48:59 +00:00
Andreas Gustafsson
bb25076ffc
implement isc_sockaddr_totext() in terms of isc_netaddr_totext()
2000-05-26 00:41:57 +00:00
Andreas Gustafsson
8eaa51a699
new functions isc_netaddr_totext() and isc_netaddr_format()
2000-05-26 00:41:03 +00:00
Andreas Gustafsson
46e8a97c7c
use isc_sockaddr_format()
2000-05-26 00:38:12 +00:00
David Lawrence
6d831cd0ba
"make include", added by marka during his megacheckin of every file getting
...
the message "in6_addr.s6_addr is *always* an array" (been there, done that)
is actually useful to just rebuild the include/dns/*.h files which
"gen" generates ... if only the rule had a backslash, so that
include/dns/rdatastruct.h was recognized as a dependent rather than
the command to execute. now it does.
2000-05-26 00:21:52 +00:00
Brian Wellington
af60263664
Added dns_tsigkey_attach & _detach, to simplify reference counting.
...
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +00:00
David Lawrence
82a30bf0a0
in dns_name_fromtext, REQUIRE() that the source buffer not have an
...
isc_buffer_remaininglength of 0. this finds problems like isc_buffer_init
not followed by isc_buffer_add much sooner.
also, enforce the already documented contract requirements of needing
a valid source buffer and either a valid target buffer or a name
with a dedicated buffer.
2000-05-25 23:57:25 +00:00
Andreas Gustafsson
8c7eaac6bb
deal with the default view
2000-05-25 22:10:29 +00:00
Andreas Gustafsson
c885fad9b8
Wired up the view-specific 'key' statement.
2000-05-25 22:06:51 +00:00
Andreas Gustafsson
c6cdf39bb2
Removed the function dns_zone_validate(). It was unused,
...
undocumented, marked XXX, and buggy (it contained a switch
statement that compared an rdclass to a set of zone types).
2000-05-25 21:13:39 +00:00
Michael Graff
7c82f6f2e3
Print the actual ipv4-in-ipv6 mapped address we ignore when we ignore it.
2000-05-25 21:08:06 +00:00
Andreas Gustafsson
e6aae9483e
removed code for hint, forward, and cache "zones" as those
...
no longer have zone objects associated with them
2000-05-25 21:07:43 +00:00
Andreas Gustafsson
1adb2e87a2
Cleaned up dns_zone_configure():
...
- Eliminated massive code duplication
- Eliminated code for configuring forward and hint "zones",
as those no longer have zone objects. Left stub zones in
because those probably will have zone objects associated
with them.
- Fixed several bugs:
+ 'allow-transfer' was not obeyed for slave zones or stub zones
+ 'dialup' was not obeyed for stub zones
+ 'transfers-per-ns' was not obeyed for any zones
2000-05-25 19:27:48 +00:00
Olafur Gudmundsson
389f2ccc2f
Upgrading openssl to latest released version 0.9.5
...
there are no major fixes in here but couple of bug fixes that
may affect operation in some cases. I updated rename.h to
make sure all symbols with T have dst__openssl prefix.
Any bugs found in this source code should be reported to the
openssl people.
Olafur
2000-05-25 18:27:42 +00:00
David Lawrence
05e3940191
made operand to left shift in ISC_OFFSET_MAXIMUM unsigned to avoid
...
integer overflow.
2000-05-25 16:44:25 +00:00
Andreas Gustafsson
c90b021ea3
renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(),
...
to be consistent with the name of the config file option
2000-05-25 15:34:26 +00:00
David Lawrence
b27d7383f4
prototype of *_pop_free made to conform with existing prototype of sk_pop_free
2000-05-25 14:20:05 +00:00
Andreas Gustafsson
4f7ced3f4a
use isc_sockaddr_any(), isc_sockaddr_any6()
2000-05-25 05:21:12 +00:00
Andreas Gustafsson
f1248b6383
use isc_sockaddr_any(), isc_sockaddr_any6()
2000-05-25 05:13:19 +00:00
Andreas Gustafsson
1b106e224d
typo: *lcfgp points to a logging configuration
...
not a logging context
2000-05-25 05:07:21 +00:00
David Lawrence
ebece5658f
added prototypes to pointers-to-functions for sk_pop_free and lh_doall_arg
...
to make both IRIX and HP/UX happy.
2000-05-25 04:02:47 +00:00
David Lawrence
e13efecaa5
made journal_pos_t.offset be an isc_offset_t, resolving some
...
"comparison between signed and unsigned" warnings and allowing for 64 bit
offsets on machines that support it (though there is an issue, there
with journal_rawpos_t being only 4 bytes.)
2000-05-25 03:41:12 +00:00
David Lawrence
6deb631b20
208. [func] Added ISC_OFFSET_MAXIMUM for the maximum value
...
of an isc_offset_t.
2000-05-25 03:34:34 +00:00
David Lawrence
db9628e897
changed "c" stack variable from char to unsigned char to quiet Solaris 5.8
...
warnings that "subscript has type char".
2000-05-25 01:08:07 +00:00
Brian Wellington
5d83b561ad
Added dns_tsigrcode_totext/fromtext
2000-05-25 00:46:32 +00:00
David Lawrence
1ee6767f40
explicitly cast to int four assignments of an unsigned long expression to
...
and int variable. in three of the four cases this cast is questionable,
as suitable range had not been checked, but the situation is no worse
than without the casts.
2000-05-24 23:42:01 +00:00
David Lawrence
cf9eeff3dc
added prototype for pop_info
2000-05-24 23:39:13 +00:00
David Lawrence
c175eace1d
made a couple of definition prototypes consistent with their
...
declaration prototypes.
2000-05-24 23:38:33 +00:00
David Lawrence
36024add69
made "err" in ssleay_rand_pseudo_bytes unsigned long to match the return value
...
of ERR_peek_error().
2000-05-24 23:36:35 +00:00
Brian Wellington
a9bc95f22e
dst now stores the key name as a dns_name_t, not a char *.
2000-05-24 23:13:32 +00:00
David Lawrence
f419977986
use NULL, not NULL_PTR, when casting to a context that requires a
...
pointer-to-function instead of pointer-to-object
2000-05-24 21:50:10 +00:00
David Lawrence
826c281a05
Solaris 5.6 gives this warning about a left shift to set the high bit:
...
warning: integer overflow detected: op "<<"
unless the operand is unsigned/
2000-05-24 21:36:01 +00:00
David Lawrence
f105c1cb72
use IRIX_DNSSEC_WARNINGS_HACK to shut up missing prototype warnings
2000-05-24 20:04:59 +00:00
Michael Sawyer
194de894f0
Slight change to printing of \n's.
2000-05-24 19:28:31 +00:00
David Lawrence
6b554f7f0d
#include <stdlib.h> /* Required on BSD/OS 3.1 for abort() used in va_arg(). */
2000-05-24 18:43:29 +00:00
David Lawrence
bad71acec3
removed non-existing directory ./include from CINCLUDES
2000-05-24 18:38:43 +00:00
Michael Sawyer
c7868e2262
Modify dns_message_totext, dns_message_sectiontotext,
...
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +00:00
Brian Wellington
19d1b1667d
notify and zone soa queries are now tsig signed when appropriate.
2000-05-24 17:30:41 +00:00
David Lawrence
20b20b2394
202. [func] isc_lex_getsourceline() changed from returning int
...
to returning unsigned long, the type of its underlying
counter.
2000-05-24 15:07:59 +00:00
David Lawrence
03a0fca86d
define and use LWRES_SOCKADDR_LEN_T for recvfrom() and stop compiler warnings
...
by casting the sixth parameter of recvfrom() to void *, as with
lib/isc/unix/socket.c.
2000-05-24 05:22:36 +00:00
David Lawrence
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00
David Lawrence
2fda9d9e1b
conform wrapper symbol to ISC style. include isc/result.h for isc_result_t.
2000-05-24 04:59:02 +00:00
David Lawrence
81064d6419
dns/result.h and dns/compress.h removed from t_api.h
2000-05-24 04:56:32 +00:00
David Lawrence
fe56f2116b
dns/result.h and dns/compress.h removed from t_api.h
2000-05-24 03:45:00 +00:00
David Lawrence
5e09ded492
cast assignment of confdata->ndots to lwres_uint8_t (its type). it was already
...
being range checked.
2000-05-24 03:02:16 +00:00
David Lawrence
695c2f9ba1
range check assignment of uint16 "id" in dst_key_parsefilename
2000-05-24 03:00:39 +00:00
David Lawrence
94bd549175
updated comments with regards to chains and parent pointers, and added caveat
...
about what happens with "name" and "origin" parameters when a chain
points to ".".
2000-05-24 02:56:26 +00:00
David Lawrence
1d198e8a6b
removed unused stack variable sigrdataset from authvalidated()
2000-05-24 02:47:15 +00:00
David Lawrence
16996a0488
quiet the irix compiler about uses of the COMPARE()
...
macro in dns_rdataclass_fromtext by using an intermediate variable
to hold the constant 2nd argument in each use.
added the RESERVED attribute to the reserved0 class in the same function.
2000-05-24 02:45:08 +00:00
David Lawrence
2e4ad2f406
removed unreachable break statements that followed return statements
2000-05-24 02:42:03 +00:00
David Lawrence
cf479fdc6b
removed unused static function violate_locking_hierarchy
2000-05-24 02:41:03 +00:00
David Lawrence
604a596b5f
added an UNUSED() to shut up the irix compiler.
2000-05-24 02:39:01 +00:00
David Lawrence
77685300d9
cast isc_time_seconds to long when assigning to a timeval.tv_sec, and explain
...
why this is an ok thing to do. shuts up the irix compiler.
2000-05-24 02:36:49 +00:00
David Lawrence
389b5c8593
added a sync_channellist call to isc_log_create to ensure the channellist in
...
the logconfig is properly dimensioned, and only free the channellist
memory in isc_logconfig_destroy if the channellist_count is > 0.
the first addresses a problem that could occur when a successful
isc_log_create was followed immediately by isc_log_[v]write[1] or
isc_log_destroy (with no intervening isc_log_usechannel or
isc_logconfig_use), and the second addresses a problem that could
occur in cleanup if isc_log_create or isc_logconfig_create failed.
2000-05-24 02:33:16 +00:00
Brian Wellington
fc16635d3c
remove a memory leak
2000-05-23 23:36:39 +00:00
Brian Wellington
41faaa9b35
If an incoming message contains a SIG(0), store the rdataset owner name
...
in the message structure, even though it should be the root. Also,
return this name in dns_message_getsig0().
2000-05-23 23:35:54 +00:00
Brian Wellington
e6d420aea9
In dns_name_totext, if omit_final_dot is true and the name is the root,
...
override omit_final_dot and print "."
2000-05-23 23:34:40 +00:00
Andreas Gustafsson
875ad7d99d
when reloading the server, zone objects reused with a new
...
view object still referenced their old view
2000-05-23 04:38:22 +00:00
Michael Graff
862d18c79a
set ifindex to 0 for outgoing udp ipv6 datagrams.
2000-05-23 02:51:39 +00:00
Michael Graff
5cc49bc70c
don't set permanent failure on udp sockets, even on unexpected error
2000-05-23 02:20:23 +00:00
Brian Wellington
81b438273a
Commented hard to understand behavior in dns_message_signer
2000-05-23 00:23:42 +00:00
Mark Andrews
00b67c06b9
Add contract notes for dns_requestmgr_{attach,detach}().
2000-05-23 00:11:45 +00:00
Brian Wellington
c637772ac3
Attempting to delete a SIG set with dynamic update crashed the server.
2000-05-23 00:09:09 +00:00
Brian Wellington
82efeeb703
removed typo
2000-05-22 23:34:24 +00:00
Brian Wellington
7e8dd00fce
More tsig rdatastruct problems fixed
2000-05-22 23:17:22 +00:00
Andreas Gustafsson
b291fec7c9
offset.h was not installed by 'make install'
2000-05-22 22:46:53 +00:00
Michael Sawyer
54229947d3
Change strlen to sizeof.
2000-05-22 22:41:24 +00:00
Andreas Gustafsson
1ac4b2a1da
when printing a SIG record with covers==0, print it as 0,
...
not RESERVED0
2000-05-22 21:42:47 +00:00
Michael Sawyer
1ed4ba5a1f
Add pseudosection printing, and dns_message_pseudosectiontotext().
2000-05-22 21:22:06 +00:00
Brian Wellington
feb40fc5f9
keytag collision handling was broken and a memory leak existed in the error
...
handling code.
2000-05-22 21:17:05 +00:00
Andreas Gustafsson
bac6f7fd14
the comments for isc_ratelimiter_create() said the
...
events are executed in the context of 'task'; this is no longer true
2000-05-22 19:47:43 +00:00
Andreas Gustafsson
34b26adb24
heap invariant INSIST did the wrong thing in the border case
...
of a heap item and its parent having identical priority
2000-05-22 19:47:01 +00:00
Andreas Gustafsson
b68f341a48
must include <isc/print.h> to use snprintf
2000-05-22 19:29:09 +00:00
Andreas Gustafsson
cd01c9716f
Reintroduced separate internal/external reference counts for zones,
...
reversing part of the changes made on 2000/05/17. Doing an explicit
zone shutdown on destruction of the zone table caused the zone to
be shut down prematurely on server reload when the zone table was
destroyed but the zone had already been attached to a new zone table.
An external reference count is needed to correctly handle this situation.
2000-05-22 17:23:15 +00:00
Michael Graff
a330a4b008
only set permanent failure for tcp streams on sending
2000-05-22 16:56:12 +00:00
Mark Andrews
373ce67419
Implement dns_rdata_fromstruct() where not already done.
...
Add missing REQUIRE tests to existing implementations.
2000-05-22 12:38:12 +00:00
Mark Andrews
0103f42343
Add comment about requiring pointers to memory block to be NULL if the
...
corresponding length is 0, non-NULL otherwise.
2000-05-22 12:34:16 +00:00
Andreas Gustafsson
e996ff2d5b
print isc_time_t fields using %u, not %lu
2000-05-22 03:07:47 +00:00
Andreas Gustafsson
4c94069644
199. [bug] isc_heap_delete() sometimes violated the heap
...
invariant, causing timer events not to be posted
when due.
Specifically, isc_heap_delete() moved the last element of the heap to
the vacated position and then attempted to restore the heap invariant
by calling sink_down(). This works when the last element has a lower
priority than the one being deleted, and this is often the case
because the last element tends to have a low priority. However, it is
not guaranteed to be the lowest. When deleting an item of a lower
priority than the last item, restoring the invariant requires a call
to float_up(), not sink_down().
isc_heap_delete_now calls either float_up() or sink_down() as needed,
and INSISTs have been added to verify that the heap invariant indeed
holds after the calls.
2000-05-22 02:53:52 +00:00
Andreas Gustafsson
be8d4578da
zone_xferdone() assigned the updated zone expiry time to the wrong variable
...
zone->expire instead of zone->expiretime. This left zone->expiretime
with a value of zero, causing zone_settimer() to get horribly confused
and set the timer to the inactive state (!). This in turn caused
notify-driven refreshes (and probably other timer-scheduled events, too)
to never happen.
2000-05-20 21:24:41 +00:00
Brian Wellington
d1eee46938
fixes to dns_message_sectiontotext for the question section
2000-05-20 02:00:29 +00:00
Michael Graff
19591ace46
reload zone housekeeping information on AXFR/IXFR
2000-05-20 01:32:46 +00:00
Michael Graff
341323e0e7
move dns_db_getsoaserial() from journal.c to db.c
2000-05-20 01:32:03 +00:00
Michael Graff
24d3d0ecff
fix a slight documentation bug
2000-05-20 01:30:16 +00:00
Michael Sawyer
9dca36b2ab
Remove unused no_rdata_or_ttl flag from message_totext and message_sectiontotest routines.
2000-05-20 01:29:58 +00:00
Brian Wellington
fa686a7235
removed more invalid _freestruct calls
2000-05-20 01:27:28 +00:00
Michael Graff
1a3563145b
remove unreachable code
2000-05-20 01:05:50 +00:00
Brian Wellington
17a3fcecd0
Propagate errors out of the validator in all cases. This means that if there
...
are any problems in a validation, a SERVFAIL will be returned. This may not
be correct in all cases (and will be fixed), but it leaves the server in a
much more consistent state after failures.
2000-05-19 23:04:14 +00:00
Brian Wellington
c610d78e67
changes to the rdata_tostruct api had broken tsig/tkey
2000-05-19 22:11:20 +00:00
Michael Graff
46993e1d9d
Merge the mlg-20000518 branch onto the mainline. Change summary:
...
dns_dispatch_create() no longer exists. dns_dispatch_createtcp()
and dns_dispatch_getudp() are the replacements. _createtcp() takes
a bound, connected TCP socket, while _getudp() will search for
a sharable UDP socket, and if found, attach to it and return a
pointer to it. If one is not found, it will create a udp socket,
bind it to a supplied local address, and create a new dispatcher
around it.
dns_dispatch_remove{request,response}() no longer take the dispatch
as an argument.
query-source can now be set per view.
The dispatch manager holds onto three memory pools, one for
allocating dispatchers from, one for events, and one for
requests/replies. The free list on these pools is hard-coded,
but set to 1024. This keeps us from having to dig into the
isc_mem_t the pools draw from as often.
dns_resolver_create() and dns_view_createresolver() require that
valid dispatchers be passed in; dispatchers are no longer created
for the caller.
2000-05-19 21:46:46 +00:00
Andreas Gustafsson
ac940fef1b
[RT #115 ] find_closest_nxt() tried to concatenate . with .
...
when the closest NXT was owned by the root domain
2000-05-19 21:27:14 +00:00
Brian Wellington
e49c834de8
Replaced dns_keynode_next by the more correct dns_keytable_findnextkeynode
2000-05-19 20:25:55 +00:00
Andreas Gustafsson
e755d59880
validator.c failed to compile on many platforms because
...
a label was not followed by a statement. Added a null statement.
2000-05-19 18:48:27 +00:00
Brian Wellington
ba393f380e
better keytag collision handling with trusted keys
2000-05-19 18:39:49 +00:00
Brian Wellington
ea14aa24aa
added dns_keynode_next
2000-05-19 18:38:27 +00:00
Mark Andrews
389e24909e
return ISC_R_SUCCESS from tostruct().
2000-05-19 13:28:36 +00:00
Mark Andrews
a2b5255212
remove INSIST(ISC_FALSE) from freestruct().
2000-05-19 13:27:45 +00:00
Mark Andrews
1e2cf7696f
tostruct() initalise region from rdata.
2000-05-19 13:05:51 +00:00
Mark Andrews
e7514afccb
Convert tostruct() to new API.
2000-05-19 13:04:45 +00:00
David Lawrence
fccb3e6c67
When joining nodes, set parent pointers of the left and right children of
...
the upper node (if they exist) to point to the new node.
2000-05-19 05:58:48 +00:00
David Lawrence
092b4e5359
The deletion assertion failure reported in RT #112 has been fixed; a pointer
...
should have been set to NULL when the top of a level was being rotated but
instead it was set to the node which pointed down to the level of the deleted
node.
rotate_left and rotate_right no longer take a parent parameter, since they
don't need it with the existence of parent pointers.
dns_rbt_deletefromlevel now takes a pointer to the pointer of the root of
the level as a parameter so that it doesn't have to rediscover the root that
its caller (dns_rbt_deletenode) already discovered.
dns_rbt_deletefromlevel did some (minor) pointless work with the sibling of the
deleted node before the color fixup loop was entered; it does so no more.
forward function declarations changed to ISC style.
2000-05-19 04:42:08 +00:00
Andreas Gustafsson
ea96c33a39
call dns_zone_setview() once and for all when creating a zone;
...
do not call it again when reconfiguring
2000-05-19 02:34:23 +00:00
Mark Andrews
a2fad0f37c
Convert to use dns_rdata_tostruct(,,mctx = NULL) where appropriate.
...
Set initial expire based on file mode time. We can expire when not
running.
2000-05-19 02:18:40 +00:00
Mark Andrews
e6caf43a0b
ctype.h is now included in rdata.c
2000-05-19 02:12:56 +00:00
Mark Andrews
251705f683
Lowercase the service string as some getservbyname() are case sensitive
...
and the database is usually in lowercase.
2000-05-19 02:07:16 +00:00
Mark Andrews
4333126a5c
Name structures were not being initialized.
2000-05-19 02:06:00 +00:00
Mark Andrews
1bb227b988
dns_name_dup() -> name_duporclone() in tostruct().
2000-05-19 02:03:56 +00:00
Mark Andrews
3ef59f5561
Fix bad REQUIRE in tostruct().
2000-05-19 02:02:11 +00:00
Mark Andrews
de153390f5
Add #include <ctype.h> here and not depend on it being included w/ x25
...
support.
2000-05-19 02:00:40 +00:00
Brian Wellington
187604c1ad
accidentally removed an assignment to NULL before; added a note to look
...
back at keytag collisions later
2000-05-19 01:23:12 +00:00
Brian Wellington
16ccb6a9ba
free all keynodes when deleting an rbt node
2000-05-19 01:21:31 +00:00
Brian Wellington
afb6c3b615
adding multiple keys to the same node of the tree is not an error
2000-05-19 00:50:45 +00:00
Brian Wellington
e492431068
missing NULL initialization
2000-05-19 00:29:00 +00:00
Brian Wellington
c50936eb40
changed dst_key_free() prototype, misc. dst cleanup
2000-05-19 00:20:59 +00:00
Brian Wellington
d6643ef587
snapshot - support for keytag collision, better support for signed subdomains
...
of insecure domains.
2000-05-18 23:22:14 +00:00
James Brister
8977ab7ca0
Zone configuration validation is now done at end of config file parsing,
...
and before loading callbacks.
2000-05-18 23:20:21 +00:00
David Lawrence
e6ce1a0ea9
use _PLATFORM_NEEDINETIN6H
2000-05-18 22:43:48 +00:00
David Lawrence
e8336c458c
use HAVE_UNIXWARE_SIGWAIT
2000-05-18 22:39:24 +00:00
David Lawrence
76b4bfdf32
minor assertion check shuffling
2000-05-18 22:38:49 +00:00
Michael Sawyer
232fd751ed
Require nanoseconds is valid, instead of t->nanoseconds, which is what we're
...
getting ready to set.
2000-05-18 18:59:38 +00:00
Brian Wellington
aa863b2d1e
insecurity proof wasn't correctly setting the rdataset trust level;
...
added more debug output
2000-05-18 18:29:29 +00:00
Brian Wellington
a375150af2
REQUIRE() checking in isc_log_doit could seg fault
2000-05-18 17:56:35 +00:00
David Lawrence
75a44b91a9
isc_time_subtract() now returns isc_result_t.
...
Use isc_time_secondsastimet() to set a time_t variable.
Properly skip the duplicate checking loop if the boundary time is not
successfully set (this was intended before, but coded wrongly).
Removed unused variable pid_string, after I opted to not add the
unrequested ISC_LOG_PRINTPID option half way into implementing it.
2000-05-18 17:20:15 +00:00
David Lawrence
60e412971e
isc_time_add now returns an isc_result_t, ensuring proper range of the
...
result of the addition.
2000-05-18 17:15:11 +00:00
David Lawrence
87480bb860
Use isc_time_secondsastimet() set timespec.tv_sec (returning an
...
error if the seconds are out of range), and cast isc_time_nanoseconds()
to shut up the IRIX compiler.
2000-05-18 17:13:58 +00:00
David Lawrence
bc12a0c0d0
Ensure proper range of isc_time_seconds() assigning to timeval.tv_sec,
...
and cast isc_time_nanoseconds to shut up the IRIX compiler.
2000-05-18 17:12:14 +00:00
David Lawrence
6fa1cb5754
189. [func] isc_time_secondsastimet(), a new function, will ensure
...
that the number of seconds in an isc_time_t does not
exceed the range of a time_t, or return ISC_R_RANGE.
Similarly, isc_time_now(), isc_time_nowplusinterval(),
isc_time_add() and isc_time_subtract() now check the
range for overflow/underflow. In the case of
isc_time_subtract, this changed a calling requirement
(ie, something that could generate an assertion)
into merely a condition that returns an error result.
isc_time_add() and isc_time_subtract() were void-
valued before but now return isc_result_t.
The seconds member isc_time_t on Unix platforms was changed from time_t
to unsigned int.
unix/time.c now uses macros for nanoseconds per second, nanoseconds per
microsecond and microseconds per second to make sure that the right
number of zeros appears each place the constant is used.
unix/time.c functions which take initialized isc_(interval|time)_t arguments
INSIST() that the nanoseconds value is less than one full second.
unix/time.c's isc_time_microdiff was broken because it did multiplication and
addition with unsigned integers and attempted to set them a 64 bit int to
avoid overflow, but C's ints don't promote to 64 bits on machines that only
have 32 bit longs. Fixed.
Added all the pertinent documentation to time.h.
2000-05-18 17:08:32 +00:00
Andreas Gustafsson
52b784e2a6
log warning message about out-of-zone data in zone transfers
...
instead of ignoring it silently
2000-05-18 16:49:54 +00:00
Mark Andrews
2b24b1909f
remove REQUIRE(mctx != NULL) from tostruct
2000-05-18 06:27:07 +00:00
Mark Andrews
206c71aae4
handle freestruct(.. mctx = NULL);
2000-05-18 05:46:52 +00:00
Mark Andrews
1aae402fc3
187. [func] isc_ratelimter_enqueue() has an additional arguement
...
'task'.
checkpoint zone maintence / notify work.
2000-05-18 04:43:00 +00:00
Mark Andrews
59abb512d3
186 [func] dns_request_getresponse() has an additional arguement
...
'preserve_order'.
2000-05-18 02:59:20 +00:00
Brian Wellington
5c61176885
insecurity proof for negative responses
2000-05-18 02:02:05 +00:00
Brian Wellington
2ee24549b3
Added DNS_R_NOTINSECURE
2000-05-18 01:42:40 +00:00
Andreas Gustafsson
0fd13c7aca
reversed previous change: data that is neither secure not pending
...
is assumed to be from insecure zones and therefore should have AD set
per server policy
2000-05-18 01:40:56 +00:00
Brian Wellington
81ab85fd39
dst function name cleanup
2000-05-17 22:48:10 +00:00
Andreas Gustafsson
64527927ac
bind TCP socket to wildcard address; delay creation of
...
TCP dispatch until socket is connected
2000-05-17 20:33:29 +00:00
Andreas Gustafsson
22608315e8
Fixed multiple shutdown cleanup bugs in the zone object. This
...
involved extensive restructuring of the reference counting of
zones and related objects.
Zones now attach to their views. To avoid a circular dependency that
would keep views from ever shutting down, this is done using the new
functions dns_view_weakattach() / dns_view_weakdetach() which
guarantee that the view will not be freed but still allow it
to be shut down.
The zones themselves now only have a single reference count, with
similar "weak" semantics. Managed zones must now be shut down
explicitly by calling dns_zone_shutdown(). To shut down all
zones in a zone table, call dns_zt_shutdown().
The zone manager is now reference counted, weakly. To shut down the
zone manager, you must explicitly call dns_zonemgr_shutdown().
2000-05-17 19:45:36 +00:00
Brian Wellington
94766449d6
restructuring snapshot
2000-05-17 18:24:59 +00:00
Mark Andrews
e7359c3a86
Implement totext(). RFC 2671 does *not* specify a presentation format.
...
[option length [base64string] ] ...
2000-05-17 03:39:29 +00:00
Mark Andrews
fc1feadb61
Add ISC_SOCKADDR_FORMATSIZE macro.
2000-05-17 02:20:58 +00:00
Michael Sawyer
9b171934ef
Change REQUIRE test to allow signing of root domain
2000-05-17 02:15:08 +00:00
David Lawrence
57d32ef99d
In fctx_query, if dns_dispatch_create fails jump to cleanup_query instead
...
of cleanup_dispatch; there is no query->dispatch to clean up.
2000-05-17 00:00:55 +00:00
Andreas Gustafsson
b2d0b835c7
for purposes of clearing the AD bit, consider all trust levels below dns_trust_secure to be 'pending'
2000-05-16 22:16:02 +00:00
Brian Wellington
a823dfa663
sys/time.h needed for struct timeval
2000-05-16 21:05:03 +00:00
David Lawrence
600cfa2ba4
184. [cleanup] Variables/functions which began with two leading
...
underscores were made to conform to the ANSI/ISO
standard, which says that such names are reserved.
2000-05-16 05:19:47 +00:00
David Lawrence
6d8cdbaff4
185. [bug] Fixed up handling of ISC_MEMCLUSTER_LEGACY. Several
...
public functions did not have an isc__ prefix, and
referred to functions that had previously been
renamed.
184. [cleanup] Variables/functions which began with two leading
underscores were made to conform to the ANSI/ISO
function declaration and comment reformatting in accordance with coding
style document.
check_overrun conditionally compiled based on ISC_MEM_FILL and
ISC_MEM_CHECKOVERRUN to avoid compiler warnings about being defined
but not used if one of those two CPP symbols is not defined.
2000-05-16 05:17:31 +00:00
David Lawrence
a120694df8
conform variable names in isc_.*region_consume to ANSI/ISO standard
2000-05-16 03:37:40 +00:00
David Lawrence
2918b5bda6
ISC_LOG_PRINTTAG/isc_log_settag()/isc_log_gettag() added
2000-05-16 03:37:39 +00:00
David Lawrence
cb4a97bb1c
added missing config.h
2000-05-16 03:00:53 +00:00
Mark Andrews
5273184ae1
Add isc_file_settime() set access and modification times.
2000-05-16 02:13:08 +00:00
Brian Wellington
1d58763c26
Added dst_key_parsefilename
2000-05-15 23:14:42 +00:00
Brian Wellington
70cd89aadb
compiler warning
2000-05-15 23:14:12 +00:00
Brian Wellington
c5de87b086
bug fixes from the last commit
2000-05-15 21:30:45 +00:00
David Lawrence
34b394b43e
DNS_R_RANGE -> ISC_R_RANGE
2000-05-15 21:14:38 +00:00
Brian Wellington
94a7e85857
Export dst_key_buildfilename and make various dst functions call it.
2000-05-15 21:02:39 +00:00
David Lawrence
c5c3b17a0a
added ISC_R_RANGE
2000-05-15 20:37:06 +00:00
Michael Sawyer
c95a89b433
Added dns_message_sectiontotext() and dns_message_totext() functions.
2000-05-15 17:49:57 +00:00
James Brister
4932a54ed6
- options named.conf statement *must* now come before any zone or view
...
statements.
- Post-load of named.conf check verifies a slave zone has non-empty list
of masters defined.
- New per-zone boolean:
enable-zone yes | no ;
- intended to let a zone be disabled without having to comment out the
entire zone statement.
- New global and per-view option:
max-cache-ttl number
- New global and per-view option:
addition-data internal | minimal | maximal;
2000-05-15 12:36:33 +00:00
Andreas Gustafsson
27fd91edc3
enabled previously #if 0'ed-out code to bind resolver sockets to
...
the wildcard address, as a temporary (?) fix for the server failing with
'socket is not bound' during startup
2000-05-15 05:09:13 +00:00
Andreas Gustafsson
33e0be00e3
isc_sockaddr_any6() set sockaddr->length incorrectly
2000-05-15 04:47:20 +00:00
Andreas Gustafsson
8d6794a163
removed #ifdef'ed-out function dns_zone_manage()
2000-05-14 23:23:37 +00:00
David Lawrence
02b152eb28
line 356: remark(1174): parameter "msg" was declared but never referenced
...
line 356: remark(1174): parameter "dev" was declared but never referenced
This is true when ISC_NET_BSD44MSGHDR is not defined. UNUSED()s were added.
line 1580: remark(1552): variable "task" was set but never used
line 1670: remark(1552): variable "task" was set but never used
I removed the stack variable and its assignment in each case.
line 2915: remark(1552): variable "ret" was set but never used
It was apparent that the variable was meant to be the return value
of isc_socket_getsockname, so the return statement was changed to use it.
Also ...
Changed function declarations to ISC coding style.
Wrapped two lines that were wider than column 79.
Removed two UNUSED() macros for variables that were no longer unused.
2000-05-14 22:35:45 +00:00
Andreas Gustafsson
bbf6673828
use isc_sockaddr_format() instead of a static function doing
...
the same thing
2000-05-14 20:52:35 +00:00
Andreas Gustafsson
527ea00c17
174. [func] New public function isc_sockaddr_format(), for
...
formatting socket addresses in log messages.
2000-05-14 20:42:43 +00:00
Andreas Gustafsson
f7d85bae58
Keep a queue of zones waiting for zone transfer quota so that a new
...
transfer can be dispatched immediately whenever quota becomes available
2000-05-14 20:01:34 +00:00
David Lawrence
6087c3dda7
Ah, oops, wrong prototype for t_sighandler.
...
(Condition signaled: time for bed.)
2000-05-14 04:08:03 +00:00
David Lawrence
a349b8220d
line 89: remark(1693): unprototyped function redeclared with prototype
...
line 684: remark(1692): prototyped function redeclared without prototype
line 700: remark(1692): prototyped function redeclared without prototype
Prototypes fixed.
line 331: remark(1552): variable "n" was set but never used.
Variable removed.
2000-05-14 03:58:15 +00:00
David Lawrence
6c6ad82aca
line 454: remark(1552): variable "delim" was set but never used.
...
It was removed and the function call that set it (getword) was cast to void.
In the context in which it was being used, the return value was not needed.
2000-05-14 03:53:53 +00:00
David Lawrence
221aacd5ff
iline 57: remark(1692): prototyped function redeclared without prototype
...
line 84: remark(1692): prototyped function redeclared without prototype
line 137: remark(1692): prototyped function redeclared without prototype
The missing prototypes were added.
2000-05-14 03:52:36 +00:00
David Lawrence
969dca4c16
line 272: remark(1552): variable "inner" was set but never used.
...
Now used in place of more complex expression.
2000-05-14 03:51:39 +00:00
David Lawrence
c06afcfe58
line 126: remark(1692): prototyped function redeclared without prototype.
...
Prototype added.
2000-05-14 03:51:07 +00:00
David Lawrence
e718ce9939
line 647: remark(1552): variable "connection" was set but never used.
...
Removed variable.
2000-05-14 03:50:45 +00:00
David Lawrence
3e3a8b051d
"lwconfig.c", line 438: remark(1506): implicit conversion from "long" to
...
"unsigned char": rounding, sign extension, or loss of accuracy may
result
Fixed by ensuring suitable range before assignment.
2000-05-14 03:34:33 +00:00
David Lawrence
80056496f0
line 307: remark(1692): prototyped function redeclared without prototype.
...
Fixed.
2000-05-14 03:26:31 +00:00
David Lawrence
74cf566d92
"context.c", line 195: remark(1506): implicit conversion from "unsigned int"
...
to "long": rounding, sign extension, or loss of accuracy may result
Fixed by ensuring unsigned long ctx->timeout does not overflow the signed
long timeout.tv_sec.
2000-05-14 03:20:17 +00:00
David Lawrence
65ec49af96
"view.c", line 541: remark(1552): variable "version" was set but never used
...
Removed "version" from function.
2000-05-14 02:34:27 +00:00
David Lawrence
0013c93bc4
"validator.c", line 343: remark(1552): variable "rdataset" was set but never
...
used
Removed rdataset from function.
2000-05-14 02:33:29 +00:00
David Lawrence
66c5ce9e0c
Fixed these warnings:
...
"tkey.c", line 220: remark(1552): variable "tsigkey" was set but never used
"tkey.c", line 846: remark(1552): variable "tsigkey" was set but never used
by removing the unused variables.
2000-05-14 02:31:13 +00:00
Andreas Gustafsson
ec7493d8d1
172. [bug] $TTL directive was sometimes missing from dumped
...
master files because totext_ctx_init() failed to
initialize ctx->current_ttl_valid.
2000-05-14 02:31:09 +00:00
David Lawrence
affa3155be
Fixed this warning:
...
"ssu.c", line 240: warning(1185): enumerated type mixed with another type
by adding an ISC_TF() to the return statement of an isc_boolean_t function.
2000-05-14 02:29:23 +00:00
David Lawrence
971f454bbd
Fixed these warnings:
...
"resolver.c", line 750: remark(1552): variable "trdataset" was set but never
used
"resolver.c", line 3043: remark(1552): variable "have_sig" was set but never
used
True and true.
"resolver.c", line 2194: warning(1551): variable "now" is used before its
value is set
Moved setting of "now" to earlier in the function.
2000-05-14 02:27:26 +00:00
David Lawrence
2467f3cafd
Removed comment about some day prefixing members of ISC_EVENT_COMMON
...
with ev_ prefix, since that has been done.
2000-05-14 02:12:18 +00:00
David Lawrence
df8c9ee481
Fixed these warnings:
...
"rdata.c", line 164: remark(1174): variable "octdigits" was declared but never
referenced
This was true; octdigits was used in no lib/dns/**/* files.
"rdata.c", line 1485: remark(1506): implicit conversion from "unsigned long"
to "int": rounding, sign extension, or loss of accuracy may result
"rdata.c", line 1493: remark(1506): implicit conversion from "unsigned long"
to "int": rounding, sign extension, or loss of accuracy may result
"rdata.c", line 1501: remark(1506): implicit conversion from "unsigned long"
to "int": rounding, sign extension, or loss of accuracy may result
These three were all in atob_tobuffer, where the value of stroul was being
assigned to an isc_int32_t, which is typedef'd from int and possibly smaller
than long (definitely on the IRIX machine). The variables in question were
changed from isc_int32_t to long.
2000-05-14 02:02:24 +00:00
David Lawrence
71f88e821c
Fixed IRIX warnings:
...
"./rdata/any_255/tsig_250.c", line 74: remark(1506): implicit conversion from
"unsigned long" to "int": rounding, sign extension, or loss of
accuracy may result
"./rdata/any_255/tsig_250.c", line 95: remark(1506): implicit conversion from
"unsigned long" to "int": rounding, sign extension, or loss of
accuracy may result
The values in question were already being checked to be within the range of
a short, so where the warnings were occuring they were just cast to int.
2000-05-13 22:50:49 +00:00
David Lawrence
652c80435a
Fixed IRIX warnings:
...
"./rdata/generic/tkey_249.c", line 89: remark(1506): implicit conversion from
"unsigned long" to "int": rounding, sign extension, or loss of
accuracy may result
"./rdata/generic/tkey_249.c", line 98: remark(1506): implicit conversion from
"unsigned long" to "int": rounding, sign extension, or loss of
accuracy may result
The values in question were already being checked to be within the range of
a short, so where the warnings were occuring they were just cast to int.
2000-05-13 22:46:07 +00:00
David Lawrence
e14969d293
Fixed IRIX warning:
...
"./rdata/generic/unspec_103.c", line 138: warning(1184): possible use of "="
where "==" was intended
by changing to ==, which is clearly what was intended.
2000-05-13 22:39:03 +00:00
David Lawrence
17547ed8c9
Fixed IRIX warning:
...
"./rdata/generic/opt_41.c", line 73: remark(1552): variable "option" was set
but never used
by removing option, because there was nothing to do with its value.
2000-05-13 22:33:29 +00:00
David Lawrence
7c7d67b5d8
Fixed IRIX warning:
...
"./rdata/in_1/a6_38.c", line 259: remark(1552): variable "octets" was set but
never used
by using UNUSED() on this stack variable. I didn't take it out altogether
because this function is not yet finished, but someone was starting to
do some work on it and I didn't want to undo that.
2000-05-13 22:07:57 +00:00
David Lawrence
873484b40d
Fixed IRIX warning:
...
"./rdata/generic/nxt_30.c", line 66: warning(1042): operand types are
incompatible ("char *" and "void *")
by casting to char *, as already being done with several other uses of
token.value.as_pointer.
2000-05-13 22:05:39 +00:00
David Lawrence
3d181bc9f1
needs string.h for memset() prototype.
2000-05-13 21:57:02 +00:00
David Lawrence
22520194de
Fixed several instances of this IRIX warning:
...
"./rdata/generic/loc_29.c", line ??: remark(1506): implicit conversion from
"unsigned long" to "int": rounding, sign extension, or loss of
accuracy may result
by making sure that the range was suitable for an int and casting to
int in each case. (This appeared to be more desirable than changing
all of the variables in question to longs.)
2000-05-13 21:24:37 +00:00
David Lawrence
f1f3bb3aa0
Fixed IRIX warning:
...
"./rdata/generic/mx_15.c", line 202: warning(1184): possible use of "=" where
"==" was intended
by changing to == since it was clear that test was desired, not assignment.
2000-05-13 20:52:13 +00:00
David Lawrence
44d74084ff
Fixed IRIX warnings:
...
"./rdata/in_1/a_1.c", line 178: warning(1184): possible use of "=" where "=="
was intended
"./rdata/in_1/a_1.c", line 179: warning(1184): possible use of "=" where "=="
was intended
By chaning them to ==, because (a) we don't allow side-effects in REQUIRE()
and (b) it is clear from the rest of the code that it really was a test that
was desired and not an assignment.
2000-05-13 20:50:35 +00:00
David Lawrence
29aa703dd6
Fixed IRIX warnings:
...
"rbtdb.c", line 1579: remark(1552): parameter "now" was set but never used
"rbtdb.c", line 2888: remark(1552): parameter "version" was set but never used
by using UNUSED() rather than setting variables to unused values.
2000-05-13 20:42:59 +00:00
David Lawrence
421cb938fd
*FIXED* IRIX warnings:
...
"nxt.c", line 42: remark(1552): variable "byte" was set but never used
"nxt.c", line 56: remark(1552): variable "byte" was set but never used
2000-05-13 20:39:17 +00:00
David Lawrence
d3d03f736d
Silence IRIX warning:
...
"name.c", line 201: remark(1552): variable "byte" was set but never used
2000-05-13 20:34:55 +00:00
David Lawrence
0911d40d83
Silence IRIX warning:
...
"keytable.c", line 286: remark(1552): variable "knode" was set but never used
2000-05-13 20:23:17 +00:00
David Lawrence
56a2bee133
Silence IRIX warning:
...
"journal.c", line 169: remark(1552): variable "zoneclass" was set but never
used
by removing zoneclass declaration and zoneclass = dns_db_class(db) from
dns_db_createsoatuple.
2000-05-13 20:21:45 +00:00
David Lawrence
c6715d2315
Silence IRIX warnings:
...
"adb.c", line 2042: remark(1552): variable "result" was set but never used
isc_result_t result;
^
"adb.c", line 3082: warning(1185): enumerated type mixed with another type
NAME_GLUEOK(adbname), NAME_HINTOK(adbname),
^
"adb.c", line 3187: warning(1185): enumerated type mixed with another type
now, NAME_GLUEOK(adbname), NAME_HINTOK(adbname),
Note that the first is in timer_cleanup, a function returning void in a context
that can't do anything with something other than void (as an isc_taskaction_t).
It calls isc_timer_reset, which could conceivably return ISC_R_NOMEMORY or
ISC_R_UNEXPECTED. For now the call has been cast to void, but someone
who knows the code better should have a look and see whether something more
intelligent could be done with an error (and, if not, remove my XXX and
make sure the comment is clear as to why ignoring the return is the
best that can be done).
2000-05-13 20:15:16 +00:00
David Lawrence
605c03155a
Silence IRIX warning:
...
"confzone.c", line 445: remark(1552): variable "res" was set but never used
Made *_zone_init functions return void since they all always returned
ISC_R_SUCCESS.
2000-05-13 19:46:26 +00:00
David Lawrence
34e52a882a
Silence IRIX warning:
...
"confndc.c", line 1149: remark(1552): variable "mem" was set but never used
2000-05-13 19:45:13 +00:00
David Lawrence
aef7d54ae7
Silence IRIX warning:
...
"confctl.c", line 177: remark(1552): variable "rval" was set but never used
2000-05-13 19:44:53 +00:00
David Lawrence
48a7c6ab28
Silence IRIX warning:
...
"hmac_link.c", line 92: remark(1692): prototyped function redeclared without
prototype
dst_s_hmacmd5_init() {
2000-05-13 19:31:35 +00:00
David Lawrence
8e63fe6323
Silence IRIX warning:
...
"dst_parse.c", line 201: remark(1552): variable "error" was set but never used
2000-05-13 19:30:19 +00:00
David Lawrence
29ee206b9a
Shut up IRIX warnings, including:
...
"bsafe_link.c", line 116: remark(1692): prototyped function redeclared without
prototype
dst_s_bsafersa_init() {
and several variations of:
"bsafe_link.c", line 155: remark(1552): variable "status" was set but never
used
int status = 0;
along with style lint (notably bitwise operands used as truth values:
mode & DST_SIGMODE_INIT versus (mode & DST_SIGMODE_INIT) != 0.
2000-05-13 19:28:15 +00:00
David Lawrence
e52750239e
Changed the CPP symbol it uses from *_HAVENETINET6* to *_NEEDNETINET6*
...
to better clarify what is going on with regard to the symbol.
2000-05-13 18:18:08 +00:00
Andreas Gustafsson
7c74a7745d
comments for dns_zone_setmasters() and dns_zone_setnotify()
...
said they add to a list; this is no longer true, they now set the whole list
2000-05-13 17:54:37 +00:00
Andreas Gustafsson
e1f16346db
validator must not indicate a validation failure by returning
...
ISC_R_NOTFOUND as that seriously confuses query_find(). Introduced new
result codes DNS_R_NOVALIDSIG and DNS_R_NOVALIDNXT to use instead.
2000-05-12 21:25:17 +00:00
Andreas Gustafsson
78951552dc
removed support for trusted keys other than security
...
roots; check that key name is appropriate even if it is a security
root; added/clarified log messages
2000-05-12 17:41:30 +00:00
Mark Andrews
c661868379
Add missing range checks in fromtext().
2000-05-12 12:59:35 +00:00
Mark Andrews
902acbaefc
notify checkpoint
2000-05-12 10:21:06 +00:00
Andreas Gustafsson
3ce4b8b03e
added a comment
2000-05-11 22:58:17 +00:00
Andreas Gustafsson
c94f485c4b
use the UNUSED() macro
2000-05-11 22:48:12 +00:00
Andreas Gustafsson
fd9f6afdff
use the UNUSED() macro
2000-05-11 22:47:00 +00:00
Michael Graff
3ee8ba5e32
expand on why magic numbers need to be first in the structure
2000-05-11 16:18:01 +00:00
David Lawrence
d8e34837cd
isc_file_{stdiofunc} -> isc_stdio_*
2000-05-11 16:14:05 +00:00
David Lawrence
0c73b546ec
Moved posix_result from file.c to errno2result.[ch], for use by multiple
...
source files. We may want to generalize this as part of the libisc API,
but with a better name.
2000-05-11 15:09:30 +00:00
Mark Andrews
8adf1b9e74
Checkpoint ratelimiting refresh queries and notifies.
...
170. [cleanup] Remove inter server consistancy checks from zone,
these should return as a seperate module in 9.1.
dns_zone_checkservers(), dns_zone_checkparents(),
dns_zone_checkchildren(), dns_zone_checkglue().
Remove dns_zone_setadb(), dns_zone_setresolver(),
dns_zone_setrequestmgr() these should now be found
via the view.
2000-05-11 10:04:59 +00:00
Mark Andrews
c052487cdf
169. [func] ratelimiter can now process N events per interval.
2000-05-11 09:23:29 +00:00
Michael Graff
2fc337ec38
add isc_socket_isbound()
2000-05-11 07:39:17 +00:00
Michael Graff
b9c8f4378a
Add address searching to dns_disptach_find().
2000-05-11 07:33:17 +00:00
Michael Graff
6849d91cd7
mark accepted connections as connected and bound.
2000-05-11 06:35:20 +00:00
Michael Graff
8321dd2150
add ISC_R_NOTBOUND and ISC_R_NOTCONNECTED and return them where appropriate.
2000-05-11 05:43:53 +00:00
Andreas Gustafsson
dcd66bf966
include statements in named.conf caused syntax errors due to
...
not consuming the semicolon ending the include statement before switching
input streams
2000-05-11 02:19:08 +00:00
Andreas Gustafsson
0c59b2a42f
dst_key_fromdns() assigned to *keyp even though it returned an error
2000-05-11 02:11:44 +00:00
Michael Graff
65c21f5f73
get rid of a newline in a log message and minor formatting issue (line > 80 chars)
2000-05-11 02:06:18 +00:00
Michael Graff
4cfd0c3960
make magic numbers be the first things in the structures
2000-05-11 00:03:58 +00:00
Michael Graff
202ea9ccee
make magic numbers be the first things in the structures
2000-05-10 23:58:12 +00:00
Mark Andrews
f4f3f2cf34
167. [bug] Make lack of masters for a slave zone a soft error.
2000-05-10 21:51:17 +00:00
Michael Graff
ca9739800f
implement dns_dispatchmgr_t, replacing dns_dispatchlist_t. Use it throughout the library/server.
2000-05-10 21:34:50 +00:00
Michael Graff
f019e00452
Add (commented out) 'must be bound' checking
2000-05-10 21:17:49 +00:00
Andreas Gustafsson
18959172ab
check isc_lex_openfile() return value against ISC_R_FILENOTFOUND,
...
not ISC_R_FAILURE
2000-05-10 18:54:04 +00:00
Olafur Gudmundsson
ff8d15be4e
Fixed 3 bugs in keygen,
...
it overwrote old keys if new key key-id conflicted
It was generating non null-keys with id==0
It was not able to generate DSA null keys.
I changed size of maximum RSA key to 2048.
2000-05-10 17:57:53 +00:00
Michael Graff
2968701c3a
require that magic numbers be the first item in the structure.
2000-05-10 17:45:45 +00:00
Michael Graff
bc892aec31
implement _find()
2000-05-10 17:26:23 +00:00
Michael Graff
98399fdb3e
enable building of dispatchlist.c
2000-05-10 17:25:22 +00:00
Michael Graff
abf30e12ba
declare dns_dispatchlist_t here
2000-05-10 17:24:55 +00:00
Michael Graff
86bf5e8c34
add ISC_MAGIC('a','b','c','d') to make specifying magic numbers a bit more
...
readable
2000-05-10 17:06:57 +00:00
Michael Graff
1cf2ee1ef0
snapshot; dispatch list stuff
2000-05-10 07:28:33 +00:00
Mark Andrews
25d161ae43
Log failures to dump the zone file.
...
Clear DNS_FLAG_Z_NEEDDUMP after successfully dumping the zone.
2000-05-10 04:47:03 +00:00
David Lawrence
f2fdfe7c42
Silence "end-of-loop condition not reached" warnings from Solaris compiler
2000-05-10 03:33:57 +00:00
Andreas Gustafsson
c2e880fa8b
indicate reason for failure to open configuration file in
...
error message [RT #61 ]
2000-05-10 00:37:28 +00:00
Andreas Gustafsson
62890ae20d
removed an #if 0 ... #endif section (insted of fixing
...
the typo in it)
2000-05-10 00:16:09 +00:00
Andreas Gustafsson
3e14b69d19
fixed bugs in previous commit
2000-05-09 23:35:08 +00:00
Andreas Gustafsson
913bc4304d
use isc_file_fopen() and isc_file_fclose();
...
use the logging system, not UNEXPECTED_ERROR()
2000-05-09 23:32:13 +00:00
Andreas Gustafsson
84fcfe530b
new logging module DNS_LOGMODULE_MASTERDUMP
2000-05-09 23:31:12 +00:00
Andreas Gustafsson
29446b1149
dns_modules[] was missing dns/request
2000-05-09 23:29:51 +00:00
Andreas Gustafsson
996f4a8bc3
164. [cleanup] Added functions isc_file_fopen(), isc_file_fclose(),
...
isc_file_fseek(), isc_file_fread(), isc_file_fwrite(),
isc_file_fflush(), isc_file_ffsync(), isc_file_remove()
to encapsulate nonportable usage of errno and fflush().
2000-05-09 23:19:32 +00:00
Andreas Gustafsson
6a13d6f3c6
Added result codes ISC_R_FILENOTFOUND and ISC_R_FILEEXISTS
2000-05-09 23:10:34 +00:00
David Lawrence
47b26abe77
ensure proper range for argument to ctype functions
2000-05-09 22:22:25 +00:00
James Brister
c0fcd6b98b
Fixed prototype error in yyparse that only HPUX noticed.
2000-05-09 16:49:50 +00:00
David Lawrence
d03ee55286
don't try to build getnet.o, since getnet.c no longer exists
2000-05-09 15:01:15 +00:00
David Lawrence
fc024be774
argument to tolower() cast to unsigned char
2000-05-09 12:07:32 +00:00
Mark Andrews
8b61d20120
convert TRACE -> logging: ISC_LOG_DEBUG(3)
2000-05-09 05:12:49 +00:00
Mark Andrews
17d0495c33
160. [cleanup] getnet*() are not going to be implemented at this
...
stage.
2000-05-09 02:21:58 +00:00
David Lawrence
681bd61239
isc/{unix,win32}/include/isc/ipv6.h moved to isc/include/isc/ipv6.h
2000-05-09 00:55:59 +00:00
David Lawrence
1a36eb1209
Silence HP/UX warnings:
...
cc: "mem.c", line 173: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 180: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 188: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 194: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 205: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 212: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 222: warning 714: Function "realloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 228: warning 714: Function "realloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 236: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 242: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 258: warning 714: Function "set_debug_options_func" called with no prototype or definition in scope.
cc: "mem.c", line 264: warning 714: Function "get_debug_options_func" called with no prototype or definition in scope.
2000-05-08 23:58:23 +00:00
David Lawrence
f5add515a3
Quiet HP/UX warnings:
...
cc: "stack.c", line 231: warning 714: Function called with no prototype or definition in scope.
cc: "stack.c", line 275: warning 714: Function "func" called with no prototype or definition in scope.
2000-05-08 23:53:48 +00:00
David Lawrence
2a8fc4e9f7
Quiet HP/UX warnings:
...
cc: "lhash.c", line 294: warning 714: Function "func" called with no prototype or definition in scope.
cc: "lhash.c", line 401: warning 714: Function called with no prototype or definition in scope.
cc: "lhash.c", line 422: warning 714: Function called with no prototype or definition in scope.
2000-05-08 23:50:37 +00:00
David Lawrence
acbec87f20
Quiet HP/UX warning:
...
cc: "algchoic.h", line 74: warning 617: Redeclaration of tag "B_AlgorithmInfoType" ignored.
cc: "algchoic.h", line 74: warning 617: Redeclaration of tag "B_AlgorithmInfoType" ignored.
by removing:
struct B_AlgorithmInfoType;
because balgmeth.h already defines that struct tag.
(So does balg.h, but that isn't causing warnings.)
2000-05-08 23:41:59 +00:00
David Lawrence
8b9ad57c12
Comment about unavoidable HP/UX compiler warning:
...
warning 541: Integer overflow during conversion.
when their own SIO* macros are used in ioctl calls.
2000-05-08 23:36:19 +00:00
David Lawrence
0c5a46afed
comment about why unistd.h is required
2000-05-08 21:10:35 +00:00
James Brister
7730b2c1db
Redefining config file items is now an error.
...
Error messages changed to 'cannot redefine xxx'
2000-05-08 20:31:13 +00:00
David Lawrence
5d49890aca
isc/net.h required for ntohl on some platforms
2000-05-08 20:18:35 +00:00
Michael Graff
ab7c671292
add <stdlib.h> for mkstemp on NetBSD
2000-05-08 20:05:27 +00:00
David Lawrence
8764af86f7
/*
...
* Compilers that use an older prototype for recvfrom() will
* warn about the type of the sixth parameter, fromlen. It
* is now standardized as unsigned, specifically as socklen_t.
*/
(... but the code itself still uses unsigned int. This comment was added
because HP/UX is complaining now even as other compilers stopped complaining
when it was changed from signed int to unsigned int.)
2000-05-08 19:53:50 +00:00
James Brister
131c2e2e9d
No longer validate category names upon config file parsing.
2000-05-08 19:52:03 +00:00
David Lawrence
7bb0f11636
stdlib.h needed on HP/UX for abs()
2000-05-08 19:30:10 +00:00
David Lawrence
6028d1ce03
Needs string.h for function prototypes. For some reason gcc and other
...
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +00:00
David Lawrence
64574939c4
Removed useless third parameter to MPINIT macro which was always true,
...
because it was causing HP/UX to barf up eight lines of:
cc: "adb.c", line 2219: warning 509: Condition always evaluates to true: If clause will always be executed.
2000-05-08 18:47:02 +00:00
James Brister
a466582ff0
Copy functions were not assigning result to output parameter. Now they are.
2000-05-08 18:42:38 +00:00
James Brister
3cb5571edf
Include unistd.h so FreeBSD doesn't complain about getopt() prototype
...
missing.
2000-05-08 18:37:58 +00:00
David Lawrence
454e318ef6
include string.h for memcpy; gcc fails to warn about its absence, but hp doesn't
2000-05-08 18:37:22 +00:00
David Lawrence
28beeb7067
fromlen changed from int to unsigned int
2000-05-08 17:57:01 +00:00
David Lawrence
5990bedbac
changed authlen from signed int to unsigned int in omapi_message_send
2000-05-08 16:32:23 +00:00
David Lawrence
6e3a8256ee
need <sys/time.h> on some platforms
2000-05-08 16:30:49 +00:00
David Lawrence
8abddcd3f2
rdata.c needs to include string.h before memcpy is used.
...
since rdata.c is including string.h, the individual rdata files do not need to.
2000-05-08 16:12:30 +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
65c9645ca7
Support new 'database' statement in zone.
...
database "quoted-string";
2000-05-06 10:18:48 +00:00
Michael Graff
6c41175537
add isc_sockaddr_any() and isc_sockaddr_any6 to set up a wildcarded address/port for v4 and v6 sockaddrs
2000-05-06 01:49:43 +00:00
Michael Graff
96e3bc37e6
document that before send*() or recv*() may be called, the socket must be bound either via connect() or bind()
2000-05-06 01:49:07 +00:00
Michael Graff
ece3d6c356
Cause runtime probing of v6 addresses to fail, even if we can actually
...
make v6 sockets, but we do not have struct in6_pktinfo.
Add a check in configure.in for struct in6_pktinfo.
Use the result of that check to define (if needed) in6_pktinfo in net.h.
This change makes us build on platforms that have SOME ipv6 structures
(like in6_addr, etc) but not enough to be useful to us.
Note: Before making an ipv6 socket the code should verify that ipv6
sockets can be made using isc_net_probeipv6(). It should also
check for v4 sockets using isc_net_probeipv4() to be consistant.
2000-05-06 01:30:32 +00:00
Mark Andrews
5159c42783
153. [func] dns_rdata_tostruct() 'mxtc' is now optional. If 'mctx'
...
is NULL then you need to preserve the 'rdata' until
you have finished using the structure as there may be
references to the associated memory. If 'mctx' is non
NULL it is guarenteed that there are no references to
to memory addsociated with 'rdata'.
dns_rdata_freestruct() must be called if 'mctx' was
non NULL and may safely be called if 'mctx' was NULL.
Finish implementing 153 for IN specific types.
naptr_35.h some of the lengths should be 8 bits.
2000-05-05 23:20:10 +00:00
Andreas Gustafsson
5466ce3f27
fromstruct_* functions needlessly used dns_name_towire() to do
...
a simple name data copy, thereby requiring a non-NULL mctx
2000-05-05 18:15:02 +00:00
Andreas Gustafsson
bffbdf7545
cache all response RRs before validating
2000-05-05 17:26:47 +00:00
Andreas Gustafsson
8d501088b7
tostruct_ns() used the wrong mctx
2000-05-05 17:24:21 +00:00
Mark Andrews
9281e7aa77
Implement / convert to new API for tostuct() and freestruct().
...
Define dns_rdata_loc_t structure.
x25 length is only 8 bits.
2000-05-05 05:50:14 +00:00
Andreas Gustafsson
62fb5eccb5
pass query type to negative response validator
2000-05-05 00:19:00 +00:00
Andreas Gustafsson
59e9979330
REQUIRE(type != 0)
2000-05-05 00:18:36 +00:00
Andreas Gustafsson
a726ac16b3
updated comments
2000-05-05 00:18:16 +00:00
Andreas Gustafsson
8dfc98528f
isc_mem_get() return value check used the wrong variable
2000-05-04 23:59:49 +00:00
Andreas Gustafsson
ae0713cac2
removed debugging printf
2000-05-04 23:58:05 +00:00
Michael Graff
8e3e48ff56
use isc_uint8_t rather than isc_int8_t for string lengths, and don't call a structure member sa_len
2000-05-04 23:50:56 +00:00
Michael Graff
987effb437
Be far, far noisier about 'generated file; do not edit' to keep the important message from disappearing between copyright notices (say, in rdatastruct.h)
2000-05-04 22:49:47 +00:00
Andreas Gustafsson
35c0626628
Don't ever send GLOBAL16 compression, not even if edns>=1. Since the
...
edns1 I-D has expired, no one knows what edns level 1 will mean, and it may end up not
implying support for GLOBAL16. We are still liberal in what we accept; GLOBAL16
is accepted in packets we receive.
2000-05-04 22:36:24 +00:00