]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
8 years agoMerge branch 'distro-tests-update' into 'master'
Daniel Salzman [Fri, 29 Jun 2018 12:34:49 +0000 (14:34 +0200)] 
Merge branch 'distro-tests-update' into 'master'

dsitro/tests: add new distros

See merge request knot/knot-dns!909

8 years agodistro/tests: add new distros
Tomas Krizek [Fri, 29 Jun 2018 12:06:59 +0000 (14:06 +0200)] 
distro/tests: add new distros

8 years agodistro/tests: support different distro versions
Tomas Krizek [Fri, 29 Jun 2018 12:06:35 +0000 (14:06 +0200)] 
distro/tests: support different distro versions

8 years agoknof.conf: listen only on localhost by default
Tomas Krizek [Fri, 29 Jun 2018 11:34:01 +0000 (13:34 +0200)] 
knof.conf: listen only on localhost by default

8 years agoconf: simplify debug logging
Daniel Salzman [Thu, 28 Jun 2018 12:22:52 +0000 (14:22 +0200)] 
conf: simplify debug logging

8 years agoevents: remove omitted urcu.h include
Daniel Salzman [Thu, 28 Jun 2018 11:03:48 +0000 (13:03 +0200)] 
events: remove omitted urcu.h include

8 years agoaxfr: rename confusing variable (zone -> contents)
Daniel Salzman [Thu, 28 Jun 2018 10:53:24 +0000 (12:53 +0200)] 
axfr: rename confusing variable (zone -> contents)

8 years agoxfr: check for expired zone if multi-message transfer to avoid NULL access
Daniel Salzman [Thu, 28 Jun 2018 10:49:49 +0000 (12:49 +0200)] 
xfr: check for expired zone if multi-message transfer to avoid NULL access

8 years agoctl: use event scheduler for zone expiration instead of direct call
Libor Peltan [Wed, 27 Jun 2018 13:58:33 +0000 (15:58 +0200)] 
ctl: use event scheduler for zone expiration instead of direct call

8 years agoMerge branch 'fix_csk_to_kzsk' into 'master'
Daniel Salzman [Wed, 27 Jun 2018 11:12:27 +0000 (13:12 +0200)] 
Merge branch 'fix_csk_to_kzsk' into 'master'

bugfix: CSK->KZSK rollover retires CSK early

Closes #588

See merge request knot/knot-dns!908

8 years agobugfix: CSK->KZSK rollover retires CSK early
Libor Peltan [Wed, 27 Jun 2018 10:36:26 +0000 (12:36 +0200)] 
bugfix: CSK->KZSK rollover retires CSK early

8 years agoaxfr: fix double free when failed to sign the zone
Daniel Salzman [Mon, 25 Jun 2018 14:09:42 +0000 (16:09 +0200)] 
axfr: fix double free when failed to sign the zone

fixes #587

8 years agostrtonum: add missing include
Daniel Salzman [Thu, 21 Jun 2018 08:18:11 +0000 (10:18 +0200)] 
strtonum: add missing include

8 years agostrtonum: mute some clang analyzer warnings
Daniel Salzman [Thu, 21 Jun 2018 08:13:21 +0000 (10:13 +0200)] 
strtonum: mute some clang analyzer warnings

8 years agolibknot: better assert in knot_rdata_init
Daniel Salzman [Tue, 19 Jun 2018 14:45:21 +0000 (16:45 +0200)] 
libknot: better assert in knot_rdata_init

8 years agolibknot: mute some clang-analyzer warnings
Daniel Salzman [Tue, 19 Jun 2018 12:47:26 +0000 (14:47 +0200)] 
libknot: mute some clang-analyzer warnings

8 years agozscanner: reset parser state upon input initialization
Daniel Salzman [Fri, 15 Jun 2018 12:13:51 +0000 (14:13 +0200)] 
zscanner: reset parser state upon input initialization

8 years agonsec3: pre-tagging (in)correct NSEC3 chain member nodes
Libor Peltan [Fri, 15 Jun 2018 08:11:10 +0000 (10:11 +0200)] 
nsec3: pre-tagging (in)correct NSEC3 chain member nodes

8 years agoMerge branch 'nsec3_optim_proof_no_wildc' into 'master'
Daniel Salzman [Wed, 13 Jun 2018 10:19:33 +0000 (12:19 +0200)] 
Merge branch 'nsec3_optim_proof_no_wildc' into 'master'

NSEC3 optimization

See merge request knot/knot-dns!906

8 years agonsec_proofs: get rid off wildcard macro
Daniel Salzman [Tue, 12 Jun 2018 12:56:21 +0000 (14:56 +0200)] 
nsec_proofs: get rid off wildcard macro

8 years agotests: fix omitted NSEC3 chain in some semantic tests
Daniel Salzman [Tue, 12 Jun 2018 14:18:40 +0000 (16:18 +0200)] 
tests: fix omitted NSEC3 chain in some semantic tests

8 years agonsec3 optimize: nsec3 pointers must be created on finished tree
Libor Peltan [Fri, 1 Jun 2018 17:40:18 +0000 (19:40 +0200)] 
nsec3 optimize: nsec3 pointers must be created on finished tree

8 years agonsec3: optimized no-wildcard proof
Libor Peltan [Fri, 1 Jun 2018 17:40:18 +0000 (19:40 +0200)] 
nsec3: optimized no-wildcard proof

8 years agoyparser: add support for dname key value
Daniel Salzman [Tue, 12 Jun 2018 11:43:06 +0000 (13:43 +0200)] 
yparser: add support for dname key value

8 years agorrset-wire: fix destination check for compression pointer
Daniel Salzman [Mon, 11 Jun 2018 10:30:08 +0000 (12:30 +0200)] 
rrset-wire: fix destination check for compression pointer

8 years agorrset-wire: unify code
Daniel Salzman [Mon, 11 Jun 2018 10:09:27 +0000 (12:09 +0200)] 
rrset-wire: unify code

8 years agorrset-wire: replace knot_dname_parse with simplified implementation
Daniel Salzman [Thu, 7 Jun 2018 15:30:07 +0000 (17:30 +0200)] 
rrset-wire: replace knot_dname_parse with simplified implementation

8 years agorrset-wire: remove double rdata loop
Daniel Salzman [Thu, 7 Jun 2018 13:58:56 +0000 (15:58 +0200)] 
rrset-wire: remove double rdata loop

8 years agorrset-wire: separate rdata parsing and writing logic
Daniel Salzman [Wed, 6 Jun 2018 11:47:41 +0000 (13:47 +0200)] 
rrset-wire: separate rdata parsing and writing logic

8 years agopkt: make private parsing functions static
Daniel Salzman [Wed, 6 Jun 2018 10:35:52 +0000 (12:35 +0200)] 
pkt: make private parsing functions static

8 years agorrset-wire: header cleanup
Daniel Salzman [Wed, 6 Jun 2018 10:21:33 +0000 (12:21 +0200)] 
rrset-wire: header cleanup

8 years agoconf: remove useless mm_ctx
Daniel Salzman [Tue, 5 Jun 2018 14:12:25 +0000 (16:12 +0200)] 
conf: remove useless mm_ctx

8 years agomodule: remove leaking mm_realloc and useless mm_ctx
Daniel Salzman [Tue, 5 Jun 2018 10:31:47 +0000 (12:31 +0200)] 
module: remove leaking mm_realloc and useless mm_ctx

8 years agoMerge branch 'ci-weekly-docker-build' into 'master'
Daniel Salzman [Tue, 5 Jun 2018 09:26:40 +0000 (11:26 +0200)] 
Merge branch 'ci-weekly-docker-build' into 'master'

ci: adjust schedules

See merge request knot/knot-dns!905

8 years agoknot_rrset_to_wire: add parameter to rotate the RRset
Vladimír Čunát [Thu, 1 Feb 2018 10:10:21 +0000 (11:10 +0100)] 
knot_rrset_to_wire: add parameter to rotate the RRset

8 years agoci: adjust schedules
Tomas Krizek [Mon, 4 Jun 2018 16:07:24 +0000 (18:07 +0200)] 
ci: adjust schedules

With Gitlab 10.7 variable support in pipeline only/except, it's now
possible to execute OBS builds with a nightly schedule, while keeping
the docker image builds on a weekly schedule.

https://docs.gitlab.com/ee/ci/variables/#variables-expressions

8 years agolibs: fix *_VERSION_PATCH if development version
Daniel Salzman [Fri, 1 Jun 2018 12:14:32 +0000 (14:14 +0200)] 
libs: fix *_VERSION_PATCH if development version

8 years agokdig: fix qname detection if 'notify' is a prefix
Daniel Salzman [Fri, 25 May 2018 18:35:54 +0000 (20:35 +0200)] 
kdig: fix qname detection if 'notify' is a prefix

8 years agoMerge branch 'docker-fix-defaults' into 'master'
Daniel Salzman [Thu, 24 May 2018 16:21:45 +0000 (18:21 +0200)] 
Merge branch 'docker-fix-defaults' into 'master'

docker: use sensible defaults

Closes #583

See merge request knot/knot-dns!903

8 years agoMerge branch 'ecs_support' into 'master'
Daniel Salzman [Tue, 22 May 2018 08:16:19 +0000 (10:16 +0200)] 
Merge branch 'ecs_support' into 'master'

knot: add support for ECS EDNS option

See merge request knot/knot-dns!904

8 years agoknot: add support for ECS EDNS option
Mark Karpilovskij [Mon, 14 May 2018 18:15:03 +0000 (20:15 +0200)] 
knot: add support for ECS EDNS option

8 years agoconf: fix memory leak
Daniel Salzman [Mon, 21 May 2018 15:43:32 +0000 (17:43 +0200)] 
conf: fix memory leak

8 years agoconf: fix creeping memory consumption upon reload
Daniel Salzman [Fri, 18 May 2018 14:34:44 +0000 (16:34 +0200)] 
conf: fix creeping memory consumption upon reload

8 years agoload: extend log message
Daniel Salzman [Thu, 17 May 2018 09:16:14 +0000 (11:16 +0200)] 
load: extend log message

8 years agoMerge branch 'log_dnssec_no_diff' into 'master'
Daniel Salzman [Thu, 17 May 2018 07:48:57 +0000 (09:48 +0200)] 
Merge branch 'log_dnssec_no_diff' into 'master'

Log dnssec no diff

See merge request knot/knot-dns!901

8 years agologging: warn if DNSSEC and no difference and allowed XFR at load
Daniel Salzman [Mon, 14 May 2018 07:23:35 +0000 (09:23 +0200)] 
logging: warn if DNSSEC and no difference and allowed XFR at load

8 years agologging: warn if DNSSEC and no difference at load
Libor Peltan [Sun, 6 May 2018 13:35:58 +0000 (15:35 +0200)] 
logging: warn if DNSSEC and no difference at load

8 years agoRevert "conf: warn if whole zonefile-load + automatic DNSSEC signing + ACL transfer"
Libor Peltan [Sun, 6 May 2018 13:36:00 +0000 (15:36 +0200)] 
Revert "conf: warn if whole zonefile-load + automatic DNSSEC signing + ACL transfer"

This reverts commit 4fbcaf753558edc88eca4e511ff39d6a9802d7e4.

8 years agodnsproxy: don't append duplicate TSIG and EDNS in non-fallback mode
Daniel Salzman [Tue, 15 May 2018 17:18:52 +0000 (19:18 +0200)] 
dnsproxy: don't append duplicate TSIG and EDNS in non-fallback mode

8 years agodnsproxy: keep original qname letter case
Daniel Salzman [Tue, 15 May 2018 13:49:54 +0000 (15:49 +0200)] 
dnsproxy: keep original qname letter case

fixes #581

8 years agodocker: use sensible defaults
Tomas Krizek [Mon, 14 May 2018 11:00:29 +0000 (13:00 +0200)] 
docker: use sensible defaults

Use default configuration file with example zone file and drop the
user to interactive knotc cli when launched.

Fixes #583

8 years agoMerge branch 'doc_zone_load' into 'master'
Daniel Salzman [Sun, 13 May 2018 14:31:36 +0000 (16:31 +0200)] 
Merge branch 'doc_zone_load' into 'master'

doc: roughly described zone load process

See merge request knot/knot-dns!900

8 years agodoc: roughly described zone load process
Libor Peltan [Fri, 27 Apr 2018 08:52:59 +0000 (10:52 +0200)] 
doc: roughly described zone load process

8 years agozone load: added few comments to various load situations
Libor Peltan [Fri, 11 May 2018 15:25:37 +0000 (17:25 +0200)] 
zone load: added few comments to various load situations

8 years agolibs: remove unused error codes
Daniel Salzman [Fri, 4 May 2018 13:17:07 +0000 (15:17 +0200)] 
libs: remove unused error codes

8 years agoconfig: add rfc1912 dateserial policy
Wolfgang Jung [Wed, 2 May 2018 12:43:39 +0000 (14:43 +0200)] 
config: add rfc1912 dateserial policy

close #582

8 years agoUnify header files
Daniel Salzman [Wed, 2 May 2018 12:17:47 +0000 (14:17 +0200)] 
Unify header files

8 years agodname: fix possible memory leaks in knot_dname_to_str
Daniel Salzman [Mon, 30 Apr 2018 07:28:31 +0000 (09:28 +0200)] 
dname: fix possible memory leaks in knot_dname_to_str

8 years agoMerge branch 'load_diff_autoincrement_soa' into 'master'
Daniel Salzman [Fri, 27 Apr 2018 08:15:52 +0000 (10:15 +0200)] 
Merge branch 'load_diff_autoincrement_soa' into 'master'

zone load: if computed diff and soa unchanged, increment it

Closes #234

See merge request knot/knot-dns!899

8 years agotests: adapted to new behaviour
Libor Peltan [Fri, 20 Apr 2018 14:12:18 +0000 (16:12 +0200)] 
tests: adapted to new behaviour

8 years agozone load: if computed diff and soa unchanged, increment it
Libor Peltan [Fri, 20 Apr 2018 13:22:23 +0000 (15:22 +0200)] 
zone load: if computed diff and soa unchanged, increment it

8 years agolibknot: added error code for unexpected trailing data
Mark Karpilovskij [Thu, 26 Apr 2018 15:10:15 +0000 (17:10 +0200)] 
libknot: added error code for unexpected trailing data

8 years agoREADME: replace libidn11-dev with libidn2-0-dev
Daniel Salzman [Thu, 26 Apr 2018 06:54:44 +0000 (08:54 +0200)] 
README: replace libidn11-dev with libidn2-0-dev

8 years agotests-extra: update README and valgrind suppression file
Daniel Salzman [Wed, 25 Apr 2018 11:34:23 +0000 (13:34 +0200)] 
tests-extra: update README and valgrind suppression file

8 years agodname: fix knot_dname_to_str memory overflow
Daniel Salzman [Mon, 23 Apr 2018 12:31:18 +0000 (14:31 +0200)] 
dname: fix knot_dname_to_str memory overflow

8 years agodname: simplify dname_storage_t usage to mute Coverity
Daniel Salzman [Mon, 23 Apr 2018 10:35:10 +0000 (12:35 +0200)] 
dname: simplify dname_storage_t usage to mute Coverity

8 years agoyparser: check correct name length when parsing options
Mark Karpilovskij [Fri, 20 Apr 2018 13:05:06 +0000 (15:05 +0200)] 
yparser: check correct name length when parsing options

8 years agodname: fix typo in knot_dname_storage_t, add a simple test
Daniel Salzman [Tue, 17 Apr 2018 12:14:02 +0000 (14:14 +0200)] 
dname: fix typo in knot_dname_storage_t, add a simple test

8 years agodoc: remove outdated note in config reference
Mark Karpilovskij [Fri, 6 Apr 2018 08:50:00 +0000 (10:50 +0200)] 
doc: remove outdated note in config reference

8 years agoconf: warn if whole zonefile-load + automatic DNSSEC signing + ACL transfer
Mark Karpilovskij [Fri, 6 Apr 2018 14:57:09 +0000 (16:57 +0200)] 
conf: warn if whole zonefile-load + automatic DNSSEC signing + ACL transfer

Relates to #572

8 years agoconf: remove obsolete config option ixfr-from-differences
Mark Karpilovskij [Fri, 6 Apr 2018 11:16:37 +0000 (13:16 +0200)] 
conf: remove obsolete config option ixfr-from-differences

8 years agokdig: add empty QNAME suppport via -q without a value
Daniel Salzman [Sun, 8 Apr 2018 11:10:01 +0000 (13:10 +0200)] 
kdig: add empty QNAME suppport via -q without a value

8 years agolibknot/pkt: disable compression if no QNAME is available
Daniel Salzman [Sun, 8 Apr 2018 11:09:39 +0000 (13:09 +0200)] 
libknot/pkt: disable compression if no QNAME is available

8 years agocontrib/lmdb: update to 0.9.22
Daniel Salzman [Sun, 8 Apr 2018 08:27:58 +0000 (10:27 +0200)] 
contrib/lmdb: update to 0.9.22

8 years agoMerge branch 'structured_log' into 'master'
Libor Peltan [Sat, 7 Apr 2018 17:22:47 +0000 (19:22 +0200)] 
Merge branch 'structured_log' into 'master'

Structured logging for the KSK submission event

Closes #551

See merge request knot/knot-dns!876

8 years agozscanner: improve compatibility for non-regular inputs
Daniel Salzman [Fri, 6 Apr 2018 13:55:27 +0000 (15:55 +0200)] 
zscanner: improve compatibility for non-regular inputs

8 years agoMerge branch 'zonecheck_stdin' into 'master'
Daniel Salzman [Fri, 6 Apr 2018 11:17:52 +0000 (13:17 +0200)] 
Merge branch 'zonecheck_stdin' into 'master'

zscanner: support for loading zone from non-normal file (e.g. pipe)

Closes #542

See merge request knot/knot-dns!862

8 years agozscanner: support for loading zone from non-normal file (e.g. pipe)
Libor Peltan [Fri, 1 Dec 2017 18:06:15 +0000 (19:06 +0100)] 
zscanner: support for loading zone from non-normal file (e.g. pipe)

...by reading it whole into dynamically growing memory buffer

8 years agoprocess_query: add EDNS also to EMALF response if in query
Daniel Salzman [Wed, 4 Apr 2018 14:23:45 +0000 (16:23 +0200)] 
process_query: add EDNS also to EMALF response if in query

8 years agodoc: add structured logging into operation
Libor Peltan [Fri, 2 Feb 2018 10:38:07 +0000 (11:38 +0100)] 
doc: add structured logging into operation

8 years agodnssec: add KEY_SUBMISSION entry with keytag value to key submission log
Daniel Salzman [Tue, 3 Apr 2018 17:06:03 +0000 (19:06 +0200)] 
dnssec: add KEY_SUBMISSION entry with keytag value to key submission log

8 years agolog: add optional parameter to structured logging
Daniel Salzman [Tue, 3 Apr 2018 17:03:07 +0000 (19:03 +0200)] 
log: add optional parameter to structured logging

8 years agoMerge branch 'obs-opensuse' into 'master'
Daniel Salzman [Wed, 28 Mar 2018 15:04:13 +0000 (17:04 +0200)] 
Merge branch 'obs-opensuse' into 'master'

packaging: improvements and openSUSE Tumbleweed/Leap 15 support

See merge request knot/knot-dns!898

8 years agodistro/tests: make tests compatible with openSUSE
Tomas Krizek [Wed, 28 Mar 2018 14:11:06 +0000 (16:11 +0200)] 
distro/tests: make tests compatible with openSUSE

8 years agodistro/tests: improve VM names to avoid collisions with knot-resolver
Tomas Krizek [Fri, 23 Mar 2018 14:31:41 +0000 (15:31 +0100)] 
distro/tests: improve VM names to avoid collisions with knot-resolver

8 years agodistro/tests: add openSUSE VM
Tomas Krizek [Mon, 26 Mar 2018 13:17:48 +0000 (15:17 +0200)] 
distro/tests: add openSUSE VM

8 years agodistro/tests: add service reload to package tests
Tomas Krizek [Tue, 27 Mar 2018 12:49:28 +0000 (14:49 +0200)] 
distro/tests: add service reload to package tests

8 years agodistro/common: use capabilities in knot.service
Tomas Krizek [Tue, 27 Mar 2018 12:45:06 +0000 (14:45 +0200)] 
distro/common: use capabilities in knot.service

Running daemon as unprivileged user with these capabilities should now
work properly. For details, see
https://gitlab.labs.nic.cz/knot/knot-dns/merge_requests/864 .

8 years agodistro/rpm+deb: unify systemd tmpfiles
Tomas Krizek [Tue, 27 Mar 2018 12:20:40 +0000 (14:20 +0200)] 
distro/rpm+deb: unify systemd tmpfiles

8 years agodistro/arch: remove obsolete dependency for pykeymgr
Tomas Krizek [Tue, 27 Mar 2018 11:45:13 +0000 (13:45 +0200)] 
distro/arch: remove obsolete dependency for pykeymgr

8 years agodistro/common: disable static libraries during build
Tomas Krizek [Mon, 26 Mar 2018 13:17:20 +0000 (15:17 +0200)] 
distro/common: disable static libraries during build

8 years agodistro/rpm: spec compatibility for openSUSE Tumbleweed/Leap builds
Tomas Krizek [Wed, 21 Mar 2018 16:24:03 +0000 (17:24 +0100)] 
distro/rpm: spec compatibility for openSUSE Tumbleweed/Leap builds

8 years agodistro/rpm: improve spec file formatting
Tomas Krizek [Wed, 21 Mar 2018 14:40:03 +0000 (15:40 +0100)] 
distro/rpm: improve spec file formatting

8 years agokdig: fix detection of the NOTIFY query
Daniel Salzman [Tue, 27 Mar 2018 11:32:08 +0000 (13:32 +0200)] 
kdig: fix detection of the NOTIFY query

8 years agoconf: but fail if no match for include pattern without wildcard
Daniel Salzman [Tue, 27 Mar 2018 11:26:00 +0000 (13:26 +0200)] 
conf: but fail if no match for include pattern without wildcard

fixes #578

8 years agoconf: don't fail if include pattern with no match
Daniel Salzman [Tue, 27 Mar 2018 07:44:58 +0000 (09:44 +0200)] 
conf: don't fail if include pattern with no match

fixes #578

8 years agoconfigure: don't add LMDB specifics to CFLAGS
Daniel Salzman [Mon, 26 Mar 2018 12:57:27 +0000 (14:57 +0200)] 
configure: don't add LMDB specifics to CFLAGS

8 years agoMerge branch 'master' of gitlab.labs.nic.cz:knot/knot-dns
Libor Peltan [Thu, 22 Mar 2018 15:01:45 +0000 (16:01 +0100)] 
Merge branch 'master' of gitlab.labs.nic.cz:knot/knot-dns

8 years agojournal: fix memleak on error eg. incomplete history
Libor Peltan [Thu, 22 Mar 2018 14:58:34 +0000 (15:58 +0100)] 
journal: fix memleak on error eg. incomplete history

8 years agoMerge branch 'sign_cds_with_ksk' into 'master'
Daniel Salzman [Thu, 22 Mar 2018 14:42:50 +0000 (15:42 +0100)] 
Merge branch 'sign_cds_with_ksk' into 'master'

dnssec: sign CDS/CDNSKEY with KSK instead of ZSK

See merge request knot/knot-dns!897