]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Sun, 12 Aug 2018 20:47:02 +0000 (22:47 +0200)]
doc: update migration
Daniel Salzman [Sun, 12 Aug 2018 20:40:10 +0000 (22:40 +0200)]
distro/deb: add libjemalloc, upgrade libidn, remove libjansson
Daniel Salzman [Sun, 12 Aug 2018 20:25:25 +0000 (22:25 +0200)]
nameserver: use KNOT_PF_ORIGTTL where necessary
Vladimír Čunát [Tue, 7 Aug 2018 08:46:40 +0000 (10:46 +0200)]
rrset-wire: add KNOT_PF_ORIGTTL to configure how to set RRSIG's TTL
Daniel Salzman [Fri, 10 Aug 2018 13:27:29 +0000 (13:27 +0000)]
Merge branch 'sample_config' into 'master'
packaging updates
See merge request knot/knot-dns!918
Daniel Salzman [Fri, 10 Aug 2018 13:07:21 +0000 (13:07 +0000)]
Merge branch 'fix_ttl_rrsig' into 'master'
rrsig ttl - fix updating from orig_ttl for all output and diff, see below
See merge request knot/knot-dns!917
Libor Peltan [Thu, 9 Aug 2018 13:31:59 +0000 (15:31 +0200)]
rrsig ttl - fix updating from orig_ttl for all output and diff, see below
RFC requires that unlike other rrset types, RRSIG must store different TTL for each rdata, to keep them equal to signed rrset's TTL.
But Knot only stores one TTL per rrset, fixing this by using orig_ttl from RRSIG and updating TTL while answer.
This commit also fixes this for knotc zone-read and knotc zone-diff commands.
Moreover, zone update from differences ignores changed TTL-only for RRSIGS. Changed orig_ttl is still diffed as it's part of rdata.
Tomas Krizek [Thu, 9 Aug 2018 13:21:46 +0000 (15:21 +0200)]
distro/tests: add test for openSUSE Leap 15
Tomas Krizek [Fri, 10 Aug 2018 11:30:20 +0000 (13:30 +0200)]
distro/tests: add knot-dns-testing repo
Tomas Krizek [Fri, 10 Aug 2018 11:16:42 +0000 (13:16 +0200)]
distro/arch: use upstream packaging files
Tomas Krizek [Fri, 10 Aug 2018 09:45:06 +0000 (11:45 +0200)]
distro/rpm: use upstream files in spec
Daniel Salzman [Thu, 9 Aug 2018 16:17:34 +0000 (18:17 +0200)]
load: log also zone size
Daniel Salzman [Thu, 9 Aug 2018 13:03:37 +0000 (15:03 +0200)]
distro/rpm: use common knot.sample.conf
Daniel Salzman [Thu, 9 Aug 2018 13:03:02 +0000 (15:03 +0200)]
samples: simplify knot.sample.conf, enable user: knot:knot
Libor Peltan [Thu, 9 Aug 2018 08:11:20 +0000 (10:11 +0200)]
doc: removed obsolete note that is no longer true
Daniel Salzman [Wed, 8 Aug 2018 20:39:56 +0000 (22:39 +0200)]
configure: improve description of --with-memory-allocator
Daniel Salzman [Wed, 8 Aug 2018 20:23:42 +0000 (22:23 +0200)]
configure: fix default prefix setting
Daniel Salzman [Mon, 6 Aug 2018 12:00:34 +0000 (14:00 +0200)]
configure: add the distro directory to dist tarball
Daniel Salzman [Sun, 5 Aug 2018 19:14:59 +0000 (21:14 +0200)]
distro: add libmaxminddb dependency
Daniel Salzman [Fri, 3 Aug 2018 21:54:48 +0000 (23:54 +0200)]
NEWS: fix formatting
Daniel Salzman [Fri, 3 Aug 2018 21:34:05 +0000 (23:34 +0200)]
Bump version 2.8.dev
Daniel Salzman [Fri, 3 Aug 2018 21:21:59 +0000 (23:21 +0200)]
Update NEWS for 2.7.0
Daniel Salzman [Thu, 2 Aug 2018 12:23:55 +0000 (12:23 +0000)]
Merge branch 'lib-symbols' into 'master'
Bump library version to libknot8, libdnssec6, libzscanner2, and knotd module
See merge request knot/knot-dns!914
Tomas Krizek [Tue, 31 Jul 2018 10:05:14 +0000 (12:05 +0200)]
ci: check debian symbols in CI
Tomas Krizek [Tue, 31 Jul 2018 11:07:02 +0000 (13:07 +0200)]
bump library version to libknot8, libdnssec6
Daniel Salzman [Wed, 1 Aug 2018 21:15:03 +0000 (23:15 +0200)]
configure: add --with-memory-allocator option to support alternative malloc implementations
Daniel Salzman [Wed, 1 Aug 2018 19:04:03 +0000 (19:04 +0000)]
Merge branch 'dname-api' into 'master'
knot_dname_* API rework
See merge request knot/knot-dns!915
Vladimír Čunát [Wed, 1 Aug 2018 17:11:49 +0000 (19:11 +0200)]
knot_dname_in(): remove
Vladimír Čunát [Wed, 1 Aug 2018 17:02:15 +0000 (19:02 +0200)]
knot_dname_is_sub(): remove
Two of the call points might be slightly more readable with _is_sub(),
but I'm not convinced that justifies keeping the function.
Vladimír Čunát [Wed, 1 Aug 2018 16:56:26 +0000 (18:56 +0200)]
test_dname: test knot_dname_in_bailiwick()
... instead of knot_dname_is_sub()
Vladimír Čunát [Wed, 1 Aug 2018 16:36:55 +0000 (18:36 +0200)]
nitpick in NSEC3 proofs: simplify an assertion
Vladimír Čunát [Wed, 1 Aug 2018 16:06:17 +0000 (18:06 +0200)]
knot_dname_in_bailiwick(): new API
And reimplement knot_dname_is_sub() and knot_dname_in() via the new API.
Mark Karpilovskij [Wed, 1 Aug 2018 15:41:31 +0000 (17:41 +0200)]
doc: update man pages
Mark Karpilovskij [Wed, 1 Aug 2018 14:53:06 +0000 (16:53 +0200)]
doc: clarify zonefile-load and other nitpicks
Mark Karpilovskij [Wed, 1 Aug 2018 08:58:55 +0000 (10:58 +0200)]
zone-update: Coverity fixes
Vladimír Čunát [Wed, 1 Aug 2018 08:23:46 +0000 (10:23 +0200)]
doc nitpick: stress that _is_sub() means *strict* subdomain
Daniel Salzman [Tue, 31 Jul 2018 19:38:34 +0000 (19:38 +0000)]
Merge branch 'load_diff_no_serial' into 'master'
Load diff no serial
See merge request knot/knot-dns!907
Mark Karpilovskij [Tue, 31 Jul 2018 12:40:15 +0000 (14:40 +0200)]
load: save zonefile info before potentially incrementing its serial
Libor Peltan [Fri, 22 Jun 2018 09:53:28 +0000 (11:53 +0200)]
doc: handling zf, journal, serials with examples
Libor Peltan [Fri, 22 Jun 2018 15:03:56 +0000 (17:03 +0200)]
load: ignore dnssec-related records if load difference and signing enabled
The difference ignores RRSIGs, NSECs, and NSEC3s. This is motivated by users
willing to have zonefile w/o DNSSEC, but signed zone.
If the final update consists only from changed SOA serial and RRSIG-SOA, clear it.
This happens after automatic serial icrement, we avoid increment on simple reload.
Libor Peltan [Fri, 22 Jun 2018 09:52:53 +0000 (11:52 +0200)]
load: implemented option loading diff from ZF ignoring serial
Mark Karpilovskij [Fri, 27 Jul 2018 14:07:02 +0000 (16:07 +0200)]
geoip: fixed memory leak
Mark Karpilovskij [Fri, 27 Jul 2018 13:25:19 +0000 (15:25 +0200)]
modules: update year in static_modules.h
Mark Karpilovskij [Fri, 27 Jul 2018 11:44:08 +0000 (13:44 +0200)]
onlinesign: do not let the keyset leak
Daniel Salzman [Fri, 27 Jul 2018 11:12:36 +0000 (13:12 +0200)]
tests-extra: add sleep to ensure zone is flushed in zone/flush_immediate
Mark Karpilovskij [Thu, 26 Jul 2018 14:47:21 +0000 (16:47 +0200)]
dnssec: disable strict changeset application when fixing NSEC chains
Daniel Salzman [Fri, 27 Jul 2018 08:38:31 +0000 (10:38 +0200)]
doc: update links to proper Git repository
Daniel Salzman [Thu, 26 Jul 2018 14:28:47 +0000 (16:28 +0200)]
ctl: allow empty zone transaction commit doing nothing
Mark Karpilovskij [Wed, 25 Jul 2018 11:49:13 +0000 (13:49 +0200)]
zone-events: fix return value when signing updates
Daniel Salzman [Tue, 24 Jul 2018 10:16:03 +0000 (12:16 +0200)]
flush: perform flush even when re-signed upon load keeping SOA serial
fixes #594
Daniel Salzman [Tue, 24 Jul 2018 08:01:23 +0000 (10:01 +0200)]
doc: add maxmindb dependency and some tiny improvements
Mark Karpilovskij [Mon, 23 Jul 2018 11:55:25 +0000 (13:55 +0200)]
knot/common: shut up MacOS compiler warning
Mark Karpilovskij [Mon, 23 Jul 2018 11:16:35 +0000 (13:16 +0200)]
module: Coverity fixes
Mark Karpilovskij [Mon, 23 Jul 2018 11:08:02 +0000 (13:08 +0200)]
geoip: replace strchrnul by strchr for compatibility
Daniel Salzman [Mon, 23 Jul 2018 09:10:12 +0000 (09:10 +0000)]
Merge branch 'new_geo_module' into 'master'
Module for response tailoring according to client's subnet or geographic location
Closes #563 and #413
See merge request knot/knot-dns!910
Mark Karpilovskij [Fri, 20 Jul 2018 10:06:17 +0000 (12:06 +0200)]
geoip: multiple improvements
- DNSSEC RRs forbidden in geo config
- exit processing if query answered by previous module
- use lookup format of dnames in trie
- check the correct "geo" or "net" key in config
- unify log messages
- set AA bit if the query is processed succesfuly
- add geodb avilability check
Mark Karpilovskij [Thu, 19 Jul 2018 13:41:30 +0000 (15:41 +0200)]
geoip: documentation
Daniel Salzman [Fri, 20 Jul 2018 07:18:15 +0000 (09:18 +0200)]
geoip: switch to module DNSSEC API
Daniel Salzman [Tue, 17 Jul 2018 10:53:53 +0000 (12:53 +0200)]
geoip: remove void pointers & other cleanup
Mark Karpilovskij [Mon, 16 Jul 2018 12:36:32 +0000 (14:36 +0200)]
geoip: refactored parsing function & a subnet fix
Mark Karpilovskij [Mon, 16 Jul 2018 09:00:06 +0000 (11:00 +0200)]
geoip: fixed ECS
Mark Karpilovskij [Thu, 12 Jul 2018 16:11:16 +0000 (18:11 +0200)]
geoip: finalize config format, support for geoname_id
Mark Karpilovskij [Wed, 11 Jul 2018 10:57:04 +0000 (12:57 +0200)]
geoip: answer with CNAME if queried RR unavailable
Mark Karpilovskij [Wed, 11 Jul 2018 08:34:09 +0000 (10:34 +0200)]
geoip: move mmdb logic to separate file
Mark Karpilovskij [Tue, 10 Jul 2018 14:37:21 +0000 (16:37 +0200)]
geoip: optimize geodb query processing
Mark Karpilovskij [Mon, 2 Jul 2018 16:02:46 +0000 (18:02 +0200)]
geoip: various bugfixes
Mark Karpilovskij [Fri, 29 Jun 2018 15:26:12 +0000 (17:26 +0200)]
geoip: more general geodb key configuration
Mark Karpilovskij [Thu, 21 Jun 2018 15:48:58 +0000 (17:48 +0200)]
geoip: support both IPv4 and IPv6 subnets
Mark Karpilovskij [Wed, 4 Jul 2018 12:16:56 +0000 (14:16 +0200)]
geoip: use the hack in the module
Mark Karpilovskij [Thu, 29 Mar 2018 14:59:53 +0000 (16:59 +0200)]
internet: a processing stage hack for geoip
Mark Karpilovskij [Fri, 16 Mar 2018 15:09:00 +0000 (16:09 +0100)]
geoip: initial commit
Daniel Salzman [Fri, 20 Jul 2018 12:49:57 +0000 (14:49 +0200)]
distro: add Standards-Version to control
Daniel Salzman [Fri, 20 Jul 2018 12:28:16 +0000 (14:28 +0200)]
distro: simplify deb sources hierarchy
Daniel Salzman [Fri, 20 Jul 2018 12:03:22 +0000 (14:03 +0200)]
scripts: add generation of the .dsc file for Debian packaging
Daniel Salzman [Fri, 20 Jul 2018 07:17:51 +0000 (09:17 +0200)]
module: add DNSSEC signing API + adapt module onlinesign
Daniel Salzman [Fri, 20 Jul 2018 08:33:53 +0000 (10:33 +0200)]
libknot/pkt: make knot_pkt_parse_question public (for Knot Resolver)
Daniel Salzman [Wed, 18 Jul 2018 15:27:24 +0000 (17:27 +0200)]
doc: update optional dependencies
Tomas Krizek [Mon, 16 Jul 2018 11:12:32 +0000 (13:12 +0200)]
ci: don't use cache when building Docker images
Daniel Salzman [Mon, 16 Jul 2018 10:52:38 +0000 (12:52 +0200)]
docker: add libmaxminddb, upgrade libidn, cleanup
Libor Peltan [Fri, 13 Jul 2018 09:19:37 +0000 (11:19 +0200)]
fix determining if we apply SOA with changeset
Daniel Salzman [Thu, 12 Jul 2018 12:03:01 +0000 (14:03 +0200)]
tests: fix warnings if NDEBUG
Daniel Salzman [Wed, 11 Jul 2018 19:24:20 +0000 (21:24 +0200)]
Adapt to new rrtype and rdataset API
Daniel Salzman [Sat, 7 Jul 2018 21:22:04 +0000 (23:22 +0200)]
libknot/rrtype: simplify API (rdataset, index) -> (rdata)
Daniel Salzman [Sun, 8 Jul 2018 21:21:34 +0000 (23:21 +0200)]
libknot/rdataset: remove redundant function knot_rdataset_sort_at (rdataset is already sorted)
Daniel Salzman [Wed, 11 Jul 2018 14:37:14 +0000 (14:37 +0000)]
Merge branch 'update-rpm-spec' into 'master'
distro/rpm: add BuildRequires: gcc
See merge request knot/knot-dns!913
Tomas Krizek [Wed, 11 Jul 2018 13:02:07 +0000 (15:02 +0200)]
distro/rpm: add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
Daniel Salzman [Mon, 9 Jul 2018 12:58:41 +0000 (14:58 +0200)]
keymgr: add import-pkcs11 function
Daniel Salzman [Mon, 9 Jul 2018 12:02:54 +0000 (14:02 +0200)]
keymgr: fix alignment of listed keys
Daniel Salzman [Fri, 6 Jul 2018 18:54:22 +0000 (20:54 +0200)]
Merge branch 'fix_serial_unixtime' into 'master'
Fix serial unixtime
Closes #593
See merge request knot/knot-dns!911
Daniel Salzman [Fri, 6 Jul 2018 18:34:23 +0000 (20:34 +0200)]
Merge branch 'fix_shared_policy' into 'master'
dnssec shared policy: don't return a link to nonexistent key
Closes #589
See merge request knot/knot-dns!912
Libor Peltan [Fri, 6 Jul 2018 13:37:31 +0000 (15:37 +0200)]
dnssec shared policy: don't return a link to nonexistent key
Libor Peltan [Fri, 6 Jul 2018 12:29:53 +0000 (14:29 +0200)]
serial policy: unixtime mimics bind behaviour - increment if lower
Libor Peltan [Fri, 6 Jul 2018 12:11:43 +0000 (14:11 +0200)]
fix: update: update SERVFAILs if serial decrements
Libor Peltan [Fri, 6 Jul 2018 12:11:05 +0000 (14:11 +0200)]
bugfix: zone_update_clear called twice makes no harm
Libor Peltan [Fri, 6 Jul 2018 09:46:25 +0000 (11:46 +0200)]
bugfix: serialization sometimes looses rrset
the cause is that if happens that `tmp_phase == SERIALIZE_RRSET_INIT`
but at the same time `candidate > max_size`
we exit the function `serialize_prepare` with SERIALIZE_RRSET_INIT
BUT the rrset has been already loaded to rrset_buf with get_next_rrset
Daniel Salzman [Wed, 4 Jul 2018 20:21:22 +0000 (22:21 +0200)]
libknot/rdataset: fix function name
Daniel Salzman [Wed, 4 Jul 2018 18:57:27 +0000 (20:57 +0200)]
libknot/rdataset: rename structure items
Daniel Salzman [Wed, 4 Jul 2018 15:23:14 +0000 (17:23 +0200)]
libknot/rdataset: add knot_rdata_next function
Filip Široký [Mon, 2 Jul 2018 11:20:36 +0000 (13:20 +0200)]
tests-fuzz: add tests for dname to/from string operations
Mark Karpilovskij [Mon, 2 Jul 2018 09:32:36 +0000 (11:32 +0200)]
kjournalprint: convert zone name on input to lowercase