- 04 Nov, 2019 2 commits
-
-
Ondřej Surý authored
The named_g_defaultdnstap was never used as the dnstap requires explicit configuration of the output file. Related scan-build report: ./server.c:3476:14: warning: Value stored to 'dpath' during its initialization is never read const char *dpath = named_g_defaultdnstap; ^~~~~ ~~~~~~~~~~~~~~~~~~~~~ 1 warning generated.
-
Ondřej Surý authored
-
- 31 Oct, 2019 2 commits
-
-
Tony Finch authored
And add a note to the man page that `rndc validation` flushes the cache when the validation state is changed. (It is necessary to flush the cache when turning on validation, to avoid continuing to use cryptographically invalid data. It is probably wise to flush the cache when turning off validation to recover from lameness problems.)
-
Tony Finch authored
The implementation of `rndc validation status` iterates over all the views to print their validation status. It takes care to print newlines in between, but it also used put a nul byte at the end of the first view which truncated the output. After this change, the nul byte is added at the end so that it prints the validation status in all views. The `_bind` view is skipped because its validation status is irrelevant.
-
- 03 Oct, 2019 2 commits
-
-
Ondřej Surý authored
-
Ondřej Surý authored
-
- 12 Sep, 2019 2 commits
-
-
Mark Andrews authored
-
Ondřej Surý authored
-
- 30 Aug, 2019 1 commit
-
-
Ondřej Surý authored
isc_event_allocate() calls isc_mem_get() to allocate the event structure. As isc_mem_get() cannot fail softly (e.g. it never returns NULL), the isc_event_allocate() cannot return NULL, hence we remove the (ret == NULL) handling blocks using the semantic patch from the previous commit.
-
- 29 Aug, 2019 1 commit
-
-
Evan Hunt authored
-
- 09 Aug, 2019 1 commit
-
-
Evan Hunt authored
-
- 23 Jul, 2019 3 commits
-
-
Evan Hunt authored
- removed some dead code - dns_zone_setdbtype is now void as it could no longer return anything but ISC_R_SUCCESS; calls to it no longer check for a result - controlkeylist_fromconfig() is also now void - fixed a whitespace error
-
Ondřej Surý authored
-
Ondřej Surý authored
-
- 21 Jul, 2019 2 commits
-
-
Ondřej Surý authored
This commit changes the BIND cookie algorithms to match draft-sury-toorop-dnsop-server-cookies-00. Namely, it changes the Client Cookie algorithm to use SipHash 2-4, adds the new Server Cookie algorithm using SipHash 2-4, and changes the default for the Server Cookie algorithm to be siphash24. Add siphash24 cookie algorithm, and make it keep legacy aes as
-
Witold Kręcicki authored
-
- 04 Jul, 2019 2 commits
-
-
Thomas Jach authored
-
Evan Hunt authored
-
- 03 Jul, 2019 1 commit
-
-
Evan Hunt authored
The MSVS C compiler requires every struct to have at least one member. The dns_geoip_databases_t structure had one set of members for HAVE_GEOIP and a different set for HAVE_GEOIP2, and none when neither API is in use. This commit silences the compiler error by moving the declaration of dns_geoip_databases_t to types.h as an opaque reference, and commenting out the contents of geoip.h when neither version of GeoIP is enabled.
-
- 27 Jun, 2019 2 commits
-
-
Evan Hunt authored
- revise mapping of search terms to database types to match the GeoIP2 schemas. - open GeoIP2 databases when starting up; close when shutting down. - clarify the logged error message when an unknown database type is configured. - add new geoip ACL subtypes to support searching for continent in country databases. - map geoip ACL subtypes to specific MMDB database queries. - perform MMDB lookups based on subtype, saving state between queries so repeated lookups for the same address aren't necessary.
-
Evan Hunt authored
-
- 25 Jun, 2019 1 commit
-
-
Ondřej Surý authored
The libxml2 have previously leaked into the global namespace leading to forced -I<include_path> for every compilation unit using isc/xml.h header. This MR fixes the usage making the caller object opaque.
-
- 24 Jun, 2019 1 commit
-
-
Tony Finch authored
After a failed reload I noticed two problems: * There was a missing newline in the output of `rndc status` so it finished "reload/reconfig in progressserver is up and running" * The "reconfig in progress" note should have said "reconfig failed"
-
- 05 Jun, 2019 3 commits
-
-
Evan Hunt authored
- managed-keys is now deprecated as well as trusted-keys, though it continues to work as a synonym for dnssec-keys - references to managed-keys have been updated throughout the code. - tests have been updated to use dnssec-keys format - also the trusted-keys entries have been removed from the generated bind.keys.h file and are no longer generated by bindkeys.pl.
-
Evan Hunt authored
- trusted-keys is now flagged as deprecated, but still works - managed-keys can be used to configure permanent trust anchors by using the "static-key" keyword in place of "initial-key" - parser now uses an enum for static-key and initial-key keywords
-
Tony Finch authored
Since 2008, the cleaning-interval timer has been documented as "effectively obsolete" and disabled in the default configuration with a comment saying "now meaningless". This change deletes all the code that implements the cleaning-interval timer, except for the config parser in whcih it is now explicitly marked as obsolete. I have verified (using the deletelru and deletettl cache stats) that named still cleans the cache after this change.
-
- 22 Mar, 2019 1 commit
-
-
Evan Hunt authored
-
- 19 Mar, 2019 3 commits
-
-
Michał Kępień authored
Some values returned by dstkey_fromconfig() indicate that key loading should be interrupted, others do not. There are also certain subsequent checks to be made after parsing a key from configuration and the results of these checks also affect the key loading process. All of this complicates the key loading logic. In order to make the relevant parts of the code easier to follow, reduce the body of the inner for loop in load_view_keys() to a single call to a new function, process_key(). Move dstkey_fromconfig() error handling to process_key() as well and add comments to clearly describe the effects of various key loading errors.
-
Matthijs Mekking authored
-
Matthijs Mekking authored
More specifically: ignore configured trusted and managed keys that match a disabled algorithm. The behavioral change is that associated responses no longer SERVFAIL, but return insecure.
-
- 15 Mar, 2019 2 commits
-
-
Evan Hunt authored
-
Mark Andrews authored
-
- 14 Mar, 2019 1 commit
-
-
Mark Andrews authored
-
- 08 Mar, 2019 1 commit
-
-
Ondřej Surý authored
-
- 07 Mar, 2019 1 commit
-
-
Mark Andrews authored
-
- 06 Mar, 2019 1 commit
-
-
Michał Kępień authored
When the "library" part of a "plugin" configuration stanza does not contain at least one path separator, treat it as a filename and assume it is a name of a shared object present in the named plugin installation directory. Absolute and relative paths can still be used and will be used verbatim. Get the full path to a plugin before attempting to check/register it so that all relevant log messages include the same plugin path (apart from the one logged when the full path cannot be determined).
-
- 18 Feb, 2019 1 commit
-
-
Mark Andrews authored
-
- 06 Feb, 2019 1 commit
-
-
Evan Hunt authored
-
- 25 Jan, 2019 1 commit
-
-
Witold Krecicki authored
- Use getters for isc_quota parameters, make fields private - Fix a potential data race with recursion clients limits logging
-
- 24 Jan, 2019 1 commit
-
-
Evan Hunt authored
cfg_parse_buffer() now has the same signature as the former cfg_parse_buffer4(). cfg_parse_buffer{2,3,4}() have been removed.
-