]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
7 years agodoc: add migration from 2.7.x to 2.8.x
Daniel Salzman [Wed, 6 Mar 2019 13:28:33 +0000 (14:28 +0100)] 
doc: add migration from 2.7.x to 2.8.x

7 years agoBump version 2.9.dev v2.9.dev
Daniel Salzman [Tue, 5 Mar 2019 13:51:39 +0000 (14:51 +0100)] 
Bump version 2.9.dev

7 years agoNEWS: add version 2.8.0
Daniel Salzman [Tue, 5 Mar 2019 13:36:19 +0000 (14:36 +0100)] 
NEWS: add version 2.8.0

7 years agoMerge branch 'clean-cached-cflags' into 'master'
Daniel Salzman [Mon, 4 Mar 2019 21:57:27 +0000 (21:57 +0000)] 
Merge branch 'clean-cached-cflags' into 'master'

Avoid recording -fdebug-prefix-map= from CFLAGS and CPPFLAGS

See merge request knot/knot-dns!987

7 years agoAvoid recording -fdebug-prefix-map= from CFLAGS and CPPFLAGS
Daniel Kahn Gillmor [Mon, 4 Mar 2019 19:39:32 +0000 (14:39 -0500)] 
Avoid recording -fdebug-prefix-map= from CFLAGS and CPPFLAGS

It's not particularly useful to record -fdebug-prefix-map= and friends
in the list of used CFLAGS arguments.  Additionally, since these
compiler arguments are typically used to make reproducible binary
artifacts by stripping out information about the ephemeral build path
used, embedding them in the resulting binary actually re-introduces
the reproducibility problem.

Note that gcc itself omits these values from the DWARF information
that it generates:

https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/dwarf2out.c;h=1b17f2bc1d5eef3d3ef70abf92a4d09da285d2b8;hb=HEAD#l24396

You can see the reproducibility issue here:

    https://tests.reproducible-builds.org/debian/dbd/unstable/amd64/knot_2.7.6-2.diffoscope.html

7 years agoCI: update PDF documentation file name
Daniel Salzman [Fri, 1 Mar 2019 15:24:08 +0000 (16:24 +0100)] 
CI: update PDF documentation file name

7 years agoUpdate library versions
Daniel Salzman [Fri, 1 Mar 2019 13:11:53 +0000 (14:11 +0100)] 
Update library versions

7 years agodistro/debian: various improvements and backports
Daniel Salzman [Fri, 1 Mar 2019 14:38:45 +0000 (15:38 +0100)] 
distro/debian: various improvements and backports

7 years agoMerge branch 'distro-test-f' into 'master'
Daniel Salzman [Thu, 28 Feb 2019 20:31:11 +0000 (20:31 +0000)] 
Merge branch 'distro-test-f' into 'master'

distro/tests: fix tests for fedora package

See merge request knot/knot-dns!986

7 years agoload: mute unchecked return from snprintf
Daniel Salzman [Thu, 28 Feb 2019 15:20:20 +0000 (16:20 +0100)] 
load: mute unchecked return from snprintf

7 years agoddns: move event-specific code to handlers
Daniel Salzman [Thu, 28 Feb 2019 14:29:32 +0000 (15:29 +0100)] 
ddns: move event-specific code to handlers

7 years agonet: update documentation
Daniel Salzman [Thu, 28 Feb 2019 13:46:52 +0000 (14:46 +0100)] 
net: update documentation

7 years agorefresh: log elapsed time
Daniel Salzman [Wed, 27 Feb 2019 11:06:41 +0000 (12:06 +0100)] 
refresh: log elapsed time

7 years agorefresh: unify similar code
Daniel Salzman [Tue, 26 Feb 2019 13:40:42 +0000 (14:40 +0100)] 
refresh: unify similar code

7 years agorefresh: don't log outgoing
Daniel Salzman [Tue, 26 Feb 2019 12:55:11 +0000 (13:55 +0100)] 
refresh: don't log outgoing

7 years agolog: some extensions and cleanup
Daniel Salzman [Tue, 26 Feb 2019 11:43:18 +0000 (12:43 +0100)] 
log: some extensions and cleanup

7 years agoMerge branch 'load_serial_log' into 'master'
Daniel Salzman [Thu, 28 Feb 2019 15:11:49 +0000 (15:11 +0000)] 
Merge branch 'load_serial_log' into 'master'

zone load: improved logging of loaded SOA serials

See merge request knot/knot-dns!985

7 years agoscripts/build-in-obs.sh: disable prompt for knot-dns-testing builds
Tomas Krizek [Thu, 28 Feb 2019 15:07:18 +0000 (16:07 +0100)] 
scripts/build-in-obs.sh: disable prompt for knot-dns-testing builds

7 years agodistro/rpm: disable failing test in contrib/test_net
Tomas Krizek [Thu, 28 Feb 2019 14:55:45 +0000 (15:55 +0100)] 
distro/rpm: disable failing test in contrib/test_net

7 years agodistro/tests: fix fedora packaging tests
Tomas Krizek [Wed, 27 Feb 2019 16:29:24 +0000 (17:29 +0100)] 
distro/tests: fix fedora packaging tests

7 years agozone load: improved logging of loaded SOA serials
Libor Peltan [Thu, 28 Feb 2019 14:50:32 +0000 (15:50 +0100)] 
zone load: improved logging of loaded SOA serials

7 years agoevents: fixed coding mistake
Libor Peltan [Thu, 28 Feb 2019 10:35:32 +0000 (11:35 +0100)] 
events: fixed coding mistake

7 years agolmdb: another warning fix for OpenBSD's gcc 4.2
Daniel Salzman [Wed, 27 Feb 2019 16:24:31 +0000 (17:24 +0100)] 
lmdb: another warning fix for OpenBSD's gcc 4.2

7 years agogeoip: get rid of UTF-8 BOM
Daniel Salzman [Wed, 27 Feb 2019 13:55:15 +0000 (14:55 +0100)] 
geoip: get rid of UTF-8 BOM

7 years agolmdb: mute 'unused variable' if NDEBUG
Daniel Salzman [Wed, 27 Feb 2019 12:56:00 +0000 (13:56 +0100)] 
lmdb: mute 'unused variable' if NDEBUG

7 years agotests/qp-cow: mute 'unused variable' if NDEBUG
Daniel Salzman [Wed, 27 Feb 2019 12:49:52 +0000 (13:49 +0100)] 
tests/qp-cow: mute 'unused variable' if NDEBUG

7 years agotests/kasp_db: take important code out of assertion
Daniel Salzman [Wed, 27 Feb 2019 12:40:39 +0000 (13:40 +0100)] 
tests/kasp_db: take important code out of assertion

7 years agoconfigure: change order of commands to fix operation of KNOT_LIB_VERSION
Daniel Salzman [Tue, 26 Feb 2019 15:40:23 +0000 (16:40 +0100)] 
configure: change order of commands to fix operation of KNOT_LIB_VERSION

7 years agoMerge branch 'geoip_optimize' into 'master'
Daniel Salzman [Tue, 26 Feb 2019 15:38:12 +0000 (15:38 +0000)] 
Merge branch 'geoip_optimize' into 'master'

Optimize geoip query processing

See merge request knot/knot-dns!982

7 years agomod-geoip: refactored query processing function
Mark Karpilovskij [Tue, 26 Feb 2019 15:07:10 +0000 (16:07 +0100)] 
mod-geoip: refactored query processing function

7 years agomod-geoip: fix subnet default case and test for it
Mark Karpilovskij [Mon, 25 Feb 2019 16:50:56 +0000 (17:50 +0100)] 
mod-geoip: fix subnet default case and test for it

7 years agomod-geoip: optimize query processing speed
Mark Karpilovskij [Fri, 15 Feb 2019 14:33:00 +0000 (15:33 +0100)] 
mod-geoip: optimize query processing speed

Geo views for a given domain name are sorted when the module is loaded
and the linear iteration over them during query processing
is replaced by a faster binary search.

7 years agotests-extra: decreased test size for geoip module
Mark Karpilovskij [Tue, 26 Feb 2019 14:32:25 +0000 (15:32 +0100)] 
tests-extra: decreased test size for geoip module

due to ctl timeouts with valgrind

7 years agoMerge branch 'doc_keymgr_uid' into 'master'
Daniel Salzman [Tue, 26 Feb 2019 12:05:29 +0000 (12:05 +0000)] 
Merge branch 'doc_keymgr_uid' into 'master'

doc: note of keymgr uid

Closes #633

See merge request knot/knot-dns!984

7 years agodoc: note of keymgr uid
Libor Peltan [Tue, 26 Feb 2019 11:58:26 +0000 (12:58 +0100)] 
doc: note of keymgr uid

7 years agoMerge branch 'unadjust_nces3_zonefile' into 'master'
Daniel Salzman [Tue, 26 Feb 2019 11:55:16 +0000 (11:55 +0000)] 
Merge branch 'unadjust_nces3_zonefile' into 'master'

zonefile load: reset NSEC3 node pointers after semcheck

See merge request knot/knot-dns!983

7 years agozonefile load: reset NSEC3 node pointers after semcheck
Libor Peltan [Tue, 26 Feb 2019 11:11:18 +0000 (12:11 +0100)] 
zonefile load: reset NSEC3 node pointers after semcheck

...because the zone contents will be possibly modified by ixfr-from-diff
and in this case NSEC3 pointers might become invalid

7 years agodoc: add info about letter case preservation
Daniel Salzman [Mon, 25 Feb 2019 18:05:44 +0000 (19:05 +0100)] 
doc: add info about letter case preservation

7 years agodoc: explain +noidn option usage
Mark Karpilovskij [Mon, 25 Feb 2019 17:38:29 +0000 (18:38 +0100)] 
doc: explain +noidn option usage

7 years agotests-extra: extend modules/geoip test
Mark Karpilovskij [Mon, 25 Feb 2019 12:34:12 +0000 (13:34 +0100)] 
tests-extra: extend modules/geoip test

7 years agotest-extra: add test for re-signing with changed NSEC3 parameters
Daniel Salzman [Mon, 25 Feb 2019 11:12:51 +0000 (12:12 +0100)] 
test-extra: add test for re-signing with changed NSEC3 parameters

7 years agotime: fix undefined item st_mtim in struct stat on macOS
Daniel Salzman [Sun, 24 Feb 2019 19:51:21 +0000 (20:51 +0100)] 
time: fix undefined item st_mtim in struct stat on macOS

7 years agoMerge branch 'fine-grained-mtime' into 'master'
Daniel Salzman [Sat, 23 Feb 2019 21:44:42 +0000 (21:44 +0000)] 
Merge branch 'fine-grained-mtime' into 'master'

zonefile: Verify mtime against full-precision timestamp

See merge request knot/knot-dns!980

7 years agoMerge branch 'base64-is-not-hexdump' into 'master'
Daniel Salzman [Sat, 23 Feb 2019 21:30:37 +0000 (21:30 +0000)] 
Merge branch 'base64-is-not-hexdump' into 'master'

correct kdig documentation about +[no]crypto

See merge request knot/knot-dns!981

7 years agocorrect kdig documentation about +[no]crypto
Daniel Kahn Gillmor [Fri, 4 Jan 2019 20:14:32 +0000 (15:14 -0500)] 
correct kdig documentation about +[no]crypto

kdig displays cryptographic signatures and keys in base64 encoding,
not in hexdump format.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
7 years agozonefile: Verify mtime against full-precision timestamp
Daniel Kahn Gillmor [Fri, 22 Feb 2019 21:05:38 +0000 (16:05 -0500)] 
zonefile: Verify mtime against full-precision timestamp

We've just used 1-second granularity mtime to check if a file has
changed.

But if two updates happen within a calendar second, and knotd notices
the first one and reloads the file, it might never notice the second
change and continue serving the old file.  We can see this happening
in intermittent test suite failures in the debian continuous
integration servers:

    https://ci.debian.net/packages/k/knot/unstable/amd64

Using nanosecond-granularity timestamps should make these problems go
away.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
7 years agotests: mute warning on OpenBSD
Daniel Salzman [Fri, 22 Feb 2019 14:36:35 +0000 (15:36 +0100)] 
tests: mute warning on OpenBSD

7 years agokeystore: fix leak in pkcs8 import
Mark Karpilovskij [Fri, 22 Feb 2019 14:08:11 +0000 (15:08 +0100)] 
keystore: fix leak in pkcs8 import

7 years agojournal: move include pthread.h from .c to .h
Daniel Salzman [Fri, 22 Feb 2019 10:27:09 +0000 (11:27 +0100)] 
journal: move include pthread.h from .c to .h

7 years agotests: get rid of strcpy
Daniel Salzman [Fri, 22 Feb 2019 10:16:08 +0000 (11:16 +0100)] 
tests: get rid of strcpy

7 years agokeymgr: get rid of strcpy and strcat
Daniel Salzman [Fri, 22 Feb 2019 09:44:39 +0000 (10:44 +0100)] 
keymgr: get rid of strcpy and strcat

7 years agoUnify license headers
Daniel Salzman [Fri, 22 Feb 2019 08:23:21 +0000 (09:23 +0100)] 
Unify license headers

7 years agolibdnssec: add dnssec_nsec3_params_match
Daniel Salzman [Fri, 22 Feb 2019 07:56:24 +0000 (08:56 +0100)] 
libdnssec: add dnssec_nsec3_params_match

7 years agodoc: update introduction
Daniel Salzman [Thu, 21 Feb 2019 15:41:45 +0000 (16:41 +0100)] 
doc: update introduction

7 years agolibzscanner: add support for OPENPGPKEY, CSYNC, SMIMEA, and ZONEMD rrtypes
Daniel Salzman [Thu, 21 Feb 2019 13:07:08 +0000 (14:07 +0100)] 
libzscanner: add support for OPENPGPKEY, CSYNC, SMIMEA, and ZONEMD rrtypes

7 years agolibknot: add support for OPENPGPKEY, CSYNC, SMIMEA, and ZONEMD rrtypes
Daniel Salzman [Wed, 20 Feb 2019 20:46:42 +0000 (21:46 +0100)] 
libknot: add support for OPENPGPKEY, CSYNC, SMIMEA, and ZONEMD rrtypes

7 years agosemchecks: fix in apex glue check, extend and unify tests
Daniel Salzman [Wed, 20 Feb 2019 20:09:37 +0000 (21:09 +0100)] 
semchecks: fix in apex glue check, extend and unify tests

7 years agokeymgr: don't print DS using algorithm SHA-1
Daniel Salzman [Tue, 19 Feb 2019 15:52:02 +0000 (16:52 +0100)] 
keymgr: don't print DS using algorithm SHA-1

7 years agoscripts: update timerdb-info.py
Daniel Salzman [Fri, 15 Feb 2019 15:01:16 +0000 (16:01 +0100)] 
scripts: update timerdb-info.py

7 years agotests-extra: update dependencies, remove outdated Docker instructions
Daniel Salzman [Fri, 15 Feb 2019 13:59:46 +0000 (14:59 +0100)] 
tests-extra: update dependencies, remove outdated Docker instructions

7 years agoMake use of posix_madvise(3) on OSes which have a different implementation of madvise(3)
Matthieu Guegan [Wed, 13 Feb 2019 16:29:30 +0000 (17:29 +0100)] 
Make use of posix_madvise(3) on OSes which have a different implementation of madvise(3)

7 years agocookies: fix uninitialized module context access
Daniel Salzman [Thu, 14 Feb 2019 15:04:44 +0000 (16:04 +0100)] 
cookies: fix uninitialized module context access

7 years agojournal: mute warning 'unchecked return value'
Daniel Salzman [Thu, 14 Feb 2019 14:02:20 +0000 (15:02 +0100)] 
journal: mute warning 'unchecked return value'

7 years agokaspdb: mute warning 'unchecked return value'
Daniel Salzman [Thu, 14 Feb 2019 14:02:09 +0000 (15:02 +0100)] 
kaspdb: mute warning 'unchecked return value'

7 years agojournal: mute warning 'unchecked return value'
Daniel Salzman [Thu, 14 Feb 2019 13:56:29 +0000 (14:56 +0100)] 
journal: mute warning 'unchecked return value'

7 years agojournal: fix possible NULL dereference
Daniel Salzman [Thu, 14 Feb 2019 13:29:30 +0000 (14:29 +0100)] 
journal: fix possible NULL dereference

7 years agodnssec: fix useless function call
Daniel Salzman [Thu, 14 Feb 2019 13:21:05 +0000 (14:21 +0100)] 
dnssec: fix useless function call

7 years agosemcheck: fix possible NULL dereference
Daniel Salzman [Thu, 14 Feb 2019 13:14:35 +0000 (14:14 +0100)] 
semcheck: fix possible NULL dereference

7 years agojournal: mute warning 'reliance on integer endianness'
Daniel Salzman [Thu, 14 Feb 2019 13:13:39 +0000 (14:13 +0100)] 
journal: mute warning 'reliance on integer endianness'

7 years agokaspdb: mute warning 'explicit null dereference'
Daniel Salzman [Thu, 14 Feb 2019 13:08:56 +0000 (14:08 +0100)] 
kaspdb: mute warning 'explicit null dereference'

7 years agojournal: rename _open, _close, and _rename to avoid name conflicts
Daniel Salzman [Thu, 14 Feb 2019 13:00:36 +0000 (14:00 +0100)] 
journal: rename _open, _close, and _rename to avoid name conflicts

7 years agolibdnssec: replace alloca with a variable length array
Daniel Salzman [Wed, 13 Feb 2019 20:55:54 +0000 (21:55 +0100)] 
libdnssec: replace alloca with a variable length array

7 years agoAdd SmartOS/SunOS endian.h definition
Matthieu Guegan [Wed, 13 Feb 2019 16:37:27 +0000 (17:37 +0100)] 
Add SmartOS/SunOS endian.h definition

7 years agoAdd `strings.h` inclusion for bcopy(3) definition
Matthieu Guegan [Wed, 13 Feb 2019 16:33:50 +0000 (17:33 +0100)] 
Add `strings.h` inclusion for bcopy(3) definition

7 years agodoc: fix key state names in the description
Daniel Salzman [Tue, 12 Feb 2019 15:46:36 +0000 (16:46 +0100)] 
doc: fix key state names in the description

7 years agozonedb: fix C99 warning about typedef redefinition
Daniel Salzman [Tue, 12 Feb 2019 13:45:19 +0000 (14:45 +0100)] 
zonedb: fix C99 warning about typedef redefinition

7 years agotrie: another bugfix
Libor Peltan [Thu, 7 Feb 2019 10:51:33 +0000 (11:51 +0100)] 
trie: another bugfix

7 years agosemcheck: always check NS/deleg at zone apex
Daniel Salzman [Tue, 12 Feb 2019 10:34:05 +0000 (11:34 +0100)] 
semcheck: always check NS/deleg at zone apex

If NS or corresponding in-bailiwick glue record is missing, a warning is logged.
Still, such a zone is loaded and server!

See https://mailarchive.ietf.org/arch/msg/dnsop/rRDuW8n3rBVAr_A9hlLQXSsfNlw

7 years agomod-cookies: update doc (module can be used without config)
Mark Karpilovskij [Fri, 8 Feb 2019 16:19:07 +0000 (17:19 +0100)] 
mod-cookies: update doc (module can be used without config)

7 years agomod-cookies: manually configurable Server Secret
Mark Karpilovskij [Fri, 8 Feb 2019 16:01:41 +0000 (17:01 +0100)] 
mod-cookies: manually configurable Server Secret

7 years agotests/net: remove commented, broken, and unreliable test
Daniel Salzman [Fri, 8 Feb 2019 15:36:59 +0000 (16:36 +0100)] 
tests/net: remove commented, broken, and unreliable test

7 years agoMerge branch 'ds_check_solid' into 'master'
Daniel Salzman [Thu, 7 Feb 2019 15:43:40 +0000 (15:43 +0000)] 
Merge branch 'ds_check_solid' into 'master'

parent DS check: re-plan according to KASP even when purged timers

See merge request knot/knot-dns!978

7 years agoMerge branch 'lmdb_refactor' into 'master'
Daniel Salzman [Thu, 7 Feb 2019 15:37:18 +0000 (15:37 +0000)] 
Merge branch 'lmdb_refactor' into 'master'

Lmdb refactor

See merge request knot/knot-dns!962

7 years agoparent DS check: re-plan according to KASP even when purged timers
Libor Peltan [Thu, 7 Feb 2019 14:56:44 +0000 (15:56 +0100)] 
parent DS check: re-plan according to KASP even when purged timers

7 years agojournal_metadata: fix compiler warning "broken strict-aliasing"
Daniel Salzman [Tue, 5 Feb 2019 16:04:25 +0000 (17:04 +0100)] 
journal_metadata: fix compiler warning "broken strict-aliasing"

7 years agokaspdb: fix compiler warning "control reaches end of non-void function"
Daniel Salzman [Tue, 5 Feb 2019 16:04:18 +0000 (17:04 +0100)] 
kaspdb: fix compiler warning "control reaches end of non-void function"

7 years agoMerge branch 'trie_it-new-APIs'
Daniel Salzman [Wed, 6 Feb 2019 21:15:45 +0000 (22:15 +0100)] 
Merge branch 'trie_it-new-APIs'

7 years agoAdapt to trie API change
Daniel Salzman [Wed, 6 Feb 2019 16:26:58 +0000 (17:26 +0100)] 
Adapt to trie API change

7 years agotrie: generalize the sign of key chars and flip it
Vladimír Čunát [Tue, 5 Feb 2019 13:39:03 +0000 (14:39 +0100)] 
trie: generalize the sign of key chars and flip it

Nitpick: the byte typedef didn't seem sufficiently useful,
regardless of trie_key_t sign.

7 years agotrie: add new iterator APIs
Vladimír Čunát [Fri, 1 Feb 2019 13:15:33 +0000 (14:15 +0100)] 
trie: add new iterator APIs

7 years agoMerge branch 'adjust_optimization' into 'master'
Daniel Salzman [Wed, 6 Feb 2019 18:10:12 +0000 (18:10 +0000)] 
Merge branch 'adjust_optimization' into 'master'

Adjust optimization

See merge request knot/knot-dns!977

7 years agoadjust:bugfix after reorganizing code
Libor Peltan [Wed, 6 Feb 2019 17:06:39 +0000 (18:06 +0100)] 
adjust:bugfix after reorganizing code

7 years agoadjusting: on incremental update, try re-using NSEC3 name
Libor Peltan [Wed, 6 Feb 2019 16:32:01 +0000 (17:32 +0100)] 
adjusting: on incremental update, try re-using NSEC3 name

7 years agoMerge branch 'nsec3_wc_adjust_only_name' into 'master'
Daniel Salzman [Wed, 6 Feb 2019 16:08:48 +0000 (16:08 +0000)] 
Merge branch 'nsec3_wc_adjust_only_name' into 'master'

Nsec3 wc adjust only name

See merge request knot/knot-dns!976

7 years agoadjusting: use zone_contents_find_node_or_wildcard for additionals discovery
Daniel Salzman [Wed, 6 Feb 2019 12:31:11 +0000 (13:31 +0100)] 
adjusting: use zone_contents_find_node_or_wildcard for additionals discovery

7 years agoadjusting: adjusting nsec3_wildcard pointers only incrementally
Libor Peltan [Tue, 5 Feb 2019 17:01:11 +0000 (18:01 +0100)] 
adjusting: adjusting nsec3_wildcard pointers only incrementally

7 years agoadjust/nsec3: only compute dname of wildcard proof, intstead ptr to node
Libor Peltan [Tue, 5 Feb 2019 15:35:34 +0000 (16:35 +0100)] 
adjust/nsec3: only compute dname of wildcard proof, intstead ptr to node

7 years agojournal: fix handling usigned types
Libor Peltan [Wed, 6 Feb 2019 13:18:07 +0000 (14:18 +0100)] 
journal: fix handling usigned types

7 years agofix on 32bit platform
Libor Peltan [Wed, 6 Feb 2019 12:24:42 +0000 (13:24 +0100)] 
fix on 32bit platform

7 years agonitpicks
Libor Peltan [Wed, 6 Feb 2019 11:35:04 +0000 (12:35 +0100)] 
nitpicks