]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
7 years agoasserts to help cppcheck
Libor Peltan [Wed, 7 Aug 2019 10:44:54 +0000 (12:44 +0200)] 
asserts to help cppcheck

7 years agoMerge branch 'always_cancelout' into 'master'
Daniel Salzman [Wed, 7 Aug 2019 09:00:01 +0000 (09:00 +0000)] 
Merge branch 'always_cancelout' into 'master'

changesets: always cancel-out when adding/removing to and merging

See merge request knot/knot-dns!1042

7 years agochangesets: always cancel-out when adding/removing to and merging
Libor Peltan [Tue, 6 Aug 2019 14:54:04 +0000 (16:54 +0200)] 
changesets: always cancel-out when adding/removing to and merging

7 years agoMerge branch 'update_apply_chset_refactor' into 'master'
Daniel Salzman [Wed, 7 Aug 2019 08:01:50 +0000 (08:01 +0000)] 
Merge branch 'update_apply_chset_refactor' into 'master'

Update apply chset refactor

See merge request knot/knot-dns!1040

7 years agotests-extra: extend remove_nonex2 to redundant_ctl_deny and redundant_ddns_ignore
Daniel Salzman [Tue, 6 Aug 2019 19:32:36 +0000 (21:32 +0200)] 
tests-extra: extend remove_nonex2 to redundant_ctl_deny and redundant_ddns_ignore

7 years agotests: add test of non-propagation nonexisting removal to outgiong IXFR
Libor Peltan [Tue, 6 Aug 2019 10:06:15 +0000 (12:06 +0200)] 
tests: add test of non-propagation nonexisting removal to outgiong IXFR

7 years agoRevert "zone update: put into changeset only what has been really added/removed"
Libor Peltan [Tue, 6 Aug 2019 10:04:43 +0000 (12:04 +0200)] 
Revert "zone update: put into changeset only what has been really added/removed"

This reverts commit 8e46a6884c2fa71c8f31e69af05a892c9f162ea7.

7 years agozone update: put into changeset only what has been really added/removed
Libor Peltan [Mon, 5 Aug 2019 19:23:37 +0000 (21:23 +0200)] 
zone update: put into changeset only what has been really added/removed

7 years agointernal: refactor apply_replace_soa
Libor Peltan [Mon, 5 Aug 2019 17:03:48 +0000 (19:03 +0200)] 
internal: refactor apply_replace_soa

7 years agochangeset walk: don't omit removed and added SOA rrset
Libor Peltan [Mon, 5 Aug 2019 12:06:21 +0000 (14:06 +0200)] 
changeset walk: don't omit removed and added SOA rrset

7 years agoupdates: refactor changeset apply: use update_add/rem
Libor Peltan [Sat, 3 Aug 2019 11:54:26 +0000 (13:54 +0200)] 
updates: refactor changeset apply: use update_add/rem

7 years agobug: use correct bi-node-half when answering with glue
Libor Peltan [Tue, 6 Aug 2019 14:52:26 +0000 (16:52 +0200)] 
bug: use correct bi-node-half when answering with glue

7 years agotest: bugfix of test checking log message
Libor Peltan [Tue, 6 Aug 2019 14:51:43 +0000 (16:51 +0200)] 
test: bugfix of test checking log message

7 years agoMerge branch 'apply_strict_no_add_existing' into 'master'
Daniel Salzman [Tue, 6 Aug 2019 13:28:28 +0000 (13:28 +0000)] 
Merge branch 'apply_strict_no_add_existing' into 'master'

ixfr/ctl: adding already existing RR is an error

See merge request knot/knot-dns!1041

7 years agoixfr/ctl: adding already existing RR is an error
Libor Peltan [Tue, 6 Aug 2019 12:08:12 +0000 (14:08 +0200)] 
ixfr/ctl: adding already existing RR is an error

7 years agoknotc: print an error if zone-(read,get,diff) got invalid rrtype
Daniel Salzman [Mon, 5 Aug 2019 19:00:17 +0000 (21:00 +0200)] 
knotc: print an error if zone-(read,get,diff) got invalid rrtype

fixes #652

7 years agoMerge branch 'fix_nsec3_node_second' into 'master'
Daniel Salzman [Sat, 3 Aug 2019 18:30:44 +0000 (18:30 +0000)] 
Merge branch 'fix_nsec3_node_second' into 'master'

Fix nsec3 node second

See merge request knot/knot-dns!1039

7 years agotest: counterexample for a specifig bug
Libor Peltan [Fri, 2 Aug 2019 11:52:52 +0000 (13:52 +0200)] 
test: counterexample for a specifig bug

7 years agonode->nsec3_node: always store binode_first
Libor Peltan [Fri, 2 Aug 2019 09:53:24 +0000 (11:53 +0200)] 
node->nsec3_node: always store binode_first

7 years agonode: more comfortable alterantives for binode_node()
Libor Peltan [Fri, 2 Aug 2019 09:52:59 +0000 (11:52 +0200)] 
node: more comfortable alterantives for binode_node()

7 years agotcp-handler: get back last_poll_time -- partially revert commit 347a3a0191d8a8c462a3e...
David Vašek [Wed, 31 Jul 2019 15:21:48 +0000 (17:21 +0200)] 
tcp-handler: get back last_poll_time -- partially revert commit 347a3a0191d8a8c462a3e0012c09ab571847bef1

7 years agoMerge branch 'ixfr_apply_strict' into 'master'
Daniel Salzman [Thu, 1 Aug 2019 13:25:06 +0000 (13:25 +0000)] 
Merge branch 'ixfr_apply_strict' into 'master'

Fixes related to IXFR and strict approach to removals.

See merge request knot/knot-dns!1037

7 years agotests-extra: use various NSEC3 salt lengths to check value limits in dnssec/nsec_update
Daniel Salzman [Thu, 1 Aug 2019 12:02:20 +0000 (14:02 +0200)] 
tests-extra: use various NSEC3 salt lengths to check value limits in dnssec/nsec_update

7 years agobugfix: DNSSEC: aviod double SOA RRSIG removal in changeset
Libor Peltan [Thu, 1 Aug 2019 11:39:47 +0000 (13:39 +0200)] 
bugfix: DNSSEC: aviod double SOA RRSIG removal in changeset

7 years agoixfr: refuse nonexisting removal even if good removal RR in the same rrset
Libor Peltan [Thu, 1 Aug 2019 11:08:31 +0000 (13:08 +0200)] 
ixfr: refuse nonexisting removal even if good removal RR in the same rrset

7 years agonsec3: fix creating initial zero salt
Libor Peltan [Wed, 31 Jul 2019 15:18:51 +0000 (17:18 +0200)] 
nsec3: fix creating initial zero salt

7 years agotests-extra: sometimes enable NSEC3 opt-out for ddns/basic
Daniel Salzman [Wed, 31 Jul 2019 11:06:17 +0000 (13:06 +0200)] 
tests-extra: sometimes enable NSEC3 opt-out for ddns/basic

7 years agozone-tree: add some binode asserts
Daniel Salzman [Wed, 31 Jul 2019 11:04:15 +0000 (13:04 +0200)] 
zone-tree: add some binode asserts

7 years agonode: check if NODE_FLAGS_SECOND only with NODE_FLAGS_BINODE
Daniel Salzman [Wed, 31 Jul 2019 10:29:56 +0000 (12:29 +0200)] 
node: check if NODE_FLAGS_SECOND only with NODE_FLAGS_BINODE

7 years agonode: check binode-related flags if a binode
Daniel Salzman [Tue, 30 Jul 2019 21:39:22 +0000 (23:39 +0200)] 
node: check binode-related flags if a binode

7 years agozone-tree: remove callback from zone_tree_del_node
Daniel Salzman [Tue, 30 Jul 2019 19:39:32 +0000 (21:39 +0200)] 
zone-tree: remove callback from zone_tree_del_node

7 years agozone-tree: return KNOT_EOUTOFZONE if adding out-of-bailiwick node
Daniel Salzman [Tue, 30 Jul 2019 19:10:33 +0000 (21:10 +0200)] 
zone-tree: return KNOT_EOUTOFZONE if adding out-of-bailiwick node

7 years agoRevert "nsec-chain: skip apex node when fixing NSEC3 chain"
Daniel Salzman [Tue, 30 Jul 2019 18:38:07 +0000 (20:38 +0200)] 
Revert "nsec-chain: skip apex node when fixing NSEC3 chain"

This reverts commit 69490d2ee9db3c31358f42d82a09b8cc15bda09a.

7 years agobugfix: don't insert apex into nsec3_ptrs
Libor Peltan [Tue, 30 Jul 2019 15:49:27 +0000 (17:49 +0200)] 
bugfix: don't insert apex into nsec3_ptrs

7 years agoadjust/nsec3: ensure FLAGS_NSEC_NODE whenever setting node->nsec3_node
Libor Peltan [Tue, 30 Jul 2019 15:46:54 +0000 (17:46 +0200)] 
adjust/nsec3: ensure FLAGS_NSEC_NODE whenever setting node->nsec3_node

7 years agoconf: fix bin to txt conversion of acl.update-type
Daniel Salzman [Sun, 28 Jul 2019 17:46:11 +0000 (19:46 +0200)] 
conf: fix bin to txt conversion of acl.update-type

fixes #651

7 years agoapply: code cleanup
Daniel Salzman [Thu, 25 Jul 2019 08:07:49 +0000 (10:07 +0200)] 
apply: code cleanup

7 years agonsec-chain: skip apex node when fixing NSEC3 chain
Daniel Salzman [Thu, 25 Jul 2019 13:52:50 +0000 (15:52 +0200)] 
nsec-chain: skip apex node when fixing NSEC3 chain

7 years agoknotd: proper temporary fd close
David Vašek [Wed, 24 Jul 2019 12:32:36 +0000 (14:32 +0200)] 
knotd: proper temporary fd close

7 years agoknotd: close temporary fd
David Vašek [Wed, 24 Jul 2019 12:10:49 +0000 (14:10 +0200)] 
knotd: close temporary fd

7 years agonet: fix timeout decreasing (Coverity)
Daniel Salzman [Wed, 24 Jul 2019 09:29:39 +0000 (11:29 +0200)] 
net: fix timeout decreasing (Coverity)

7 years agotls: fix incorrect address arithmetic (Coverity)
Daniel Salzman [Wed, 24 Jul 2019 08:51:56 +0000 (10:51 +0200)] 
tls: fix incorrect address arithmetic (Coverity)

7 years agodoc: fix rndc command for zone file synchronization
Daniel Salzman [Wed, 24 Jul 2019 06:52:06 +0000 (08:52 +0200)] 
doc: fix rndc command for zone file synchronization

7 years agoMerge branch 'fix_nsec_update' into 'master'
Daniel Salzman [Tue, 23 Jul 2019 21:30:18 +0000 (21:30 +0000)] 
Merge branch 'fix_nsec_update' into 'master'

Fix nsec update

See merge request knot/knot-dns!1033

7 years agotests-extra: amplify error detection during NSEC update test
Daniel Salzman [Tue, 23 Jul 2019 20:47:07 +0000 (22:47 +0200)] 
tests-extra: amplify error detection during NSEC update test

7 years agonsec(3) upd: start chain fixing on some fixed node, not first one
Libor Peltan [Fri, 12 Jul 2019 12:27:53 +0000 (14:27 +0200)] 
nsec(3) upd: start chain fixing on some fixed node, not first one

...because the first/last one might be added/removed,
causing problems like some corner cases

7 years agonsec(3) upd: nearest lower node might not be biggest, as NSEC is modulo zone
Libor Peltan [Fri, 12 Jul 2019 12:25:24 +0000 (14:25 +0200)] 
nsec(3) upd: nearest lower node might not be biggest, as NSEC is modulo zone

7 years agogeoip: fix possible out-of-bound access if invalid configuration (Coverity)
Daniel Salzman [Mon, 22 Jul 2019 19:25:53 +0000 (21:25 +0200)] 
geoip: fix possible out-of-bound access if invalid configuration (Coverity)

7 years agotests-extra: keep geoip config files
Daniel Salzman [Mon, 22 Jul 2019 19:05:15 +0000 (21:05 +0200)] 
tests-extra: keep geoip config files

7 years agotcp-handler: refactor net_dns_tcp_(recv|send) processing + improved logging
Daniel Salzman [Tue, 2 Jul 2019 13:37:53 +0000 (15:37 +0200)] 
tcp-handler: refactor net_dns_tcp_(recv|send) processing + improved logging

7 years agoconf: add option for setting TCP query timeout
Jan Hák [Thu, 30 May 2019 12:14:49 +0000 (14:14 +0200)] 
conf: add option for setting TCP query timeout

fixes #474

7 years agocontrib/net: implement proper timeout
Jan Hák [Wed, 29 May 2019 10:24:59 +0000 (12:24 +0200)] 
contrib/net: implement proper timeout

7 years agoMerge branch 'ci-add-debian10' into 'master'
Daniel Salzman [Fri, 19 Jul 2019 09:32:23 +0000 (09:32 +0000)] 
Merge branch 'ci-add-debian10' into 'master'

ci: add distrotest:debian10

See merge request knot/knot-dns!1034

7 years agoci: add distrotest:debian10
Tomas Krizek [Thu, 18 Jul 2019 15:12:48 +0000 (17:12 +0200)] 
ci: add distrotest:debian10

7 years agoDockerfile: update dependencies for new Debian
Daniel Salzman [Wed, 17 Jul 2019 15:06:57 +0000 (17:06 +0200)] 
Dockerfile: update dependencies for new Debian

7 years agoscripts/Docker: fix missing latexmk in debian:latest
Daniel Salzman [Tue, 16 Jul 2019 10:29:57 +0000 (12:29 +0200)] 
scripts/Docker: fix missing latexmk in debian:latest

7 years ago doc: add section 'supported network features' to intro
David Vašek [Mon, 15 Jul 2019 12:01:03 +0000 (14:01 +0200)] 
 doc: add section 'supported network features' to intro

7 years agodoc: improve some dnssec-related descriptions
Daniel Salzman [Mon, 15 Jul 2019 11:51:40 +0000 (13:51 +0200)] 
doc: improve some dnssec-related descriptions

7 years agodoc: update dnskey rollover example
Daniel Salzman [Mon, 15 Jul 2019 10:41:49 +0000 (12:41 +0200)] 
doc: update dnskey rollover example

7 years agoconf: improve dnskey lifetime checks
Daniel Salzman [Mon, 15 Jul 2019 08:03:50 +0000 (10:03 +0200)] 
conf: improve dnskey lifetime checks

7 years agodoc: fixed key states retire_active versus post_active
Libor Peltan [Mon, 15 Jul 2019 17:52:42 +0000 (19:52 +0200)] 
doc: fixed key states retire_active versus post_active

7 years agorefresh: add missing preferred master cleanup
Daniel Salzman [Sun, 14 Jul 2019 18:45:19 +0000 (20:45 +0200)] 
refresh: add missing preferred master cleanup

7 years agozone: add missing debug log when preferred remote failed
Daniel Salzman [Sat, 13 Jul 2019 19:17:04 +0000 (21:17 +0200)] 
zone: add missing debug log when preferred remote failed

7 years agodoc: better exact description of zsk-lifetime
Libor Peltan [Fri, 12 Jul 2019 15:46:46 +0000 (17:46 +0200)] 
doc: better exact description of zsk-lifetime

7 years agoconf: change default tcp-workers, adjust docs for {udp,tcp,background}-workers
David Vašek [Fri, 12 Jul 2019 10:48:32 +0000 (12:48 +0200)] 
conf: change default tcp-workers, adjust docs for {udp,tcp,background}-workers

7 years agoconf: fix some types of the cache items
David Vašek [Thu, 11 Jul 2019 13:13:02 +0000 (15:13 +0200)] 
conf: fix some types of the cache items

7 years agoconf: store the {udp,tcp,background}-workers parametrs in the cache and use those...
David Vašek [Thu, 11 Jul 2019 13:07:35 +0000 (15:07 +0200)] 
conf: store the {udp,tcp,background}-workers parametrs in the cache and use those values

7 years agoconf: auto-configure max-tcp-clients and keep it in the cache
David Vašek [Thu, 11 Jul 2019 10:59:17 +0000 (12:59 +0200)] 
conf: auto-configure max-tcp-clients and keep it in the cache

7 years agoconf: auto-configure max-tcp-clients
David Vašek [Wed, 10 Jul 2019 16:23:11 +0000 (18:23 +0200)] 
conf: auto-configure max-tcp-clients

7 years agotcp-handler: create a function for sweep timer update
Daniel Salzman [Tue, 9 Jul 2019 06:20:34 +0000 (08:20 +0200)] 
tcp-handler: create a function for sweep timer update

7 years agotcp-handler: don't return unused value from tcp_event_accept()
David Vašek [Mon, 8 Jul 2019 15:02:57 +0000 (17:02 +0200)] 
tcp-handler: don't return unused value from tcp_event_accept()

7 years agoconf: remove deprecated tcp-handshake-timeout
Daniel Salzman [Mon, 1 Jul 2019 11:48:17 +0000 (13:48 +0200)] 
conf: remove deprecated tcp-handshake-timeout

7 years agotcp-handler: replace tcp_hshake_timeout with tcp_idle_timeout
Daniel Salzman [Mon, 8 Jul 2019 11:25:43 +0000 (13:25 +0200)] 
tcp-handler: replace tcp_hshake_timeout with tcp_idle_timeout

7 years agotcp-handler: store TCP idle timeout to handler context
Daniel Salzman [Mon, 8 Jul 2019 11:24:33 +0000 (13:24 +0200)] 
tcp-handler: store TCP idle timeout to handler context

7 years agoconf: get rid of confusing constant CONF_XFERS
Daniel Salzman [Wed, 22 May 2019 12:19:35 +0000 (14:19 +0200)] 
conf: get rid of confusing constant CONF_XFERS

7 years agotcp-handler: don't return unused value from tcp_wait_for_events()
Daniel Salzman [Tue, 21 May 2019 13:06:01 +0000 (15:06 +0200)] 
tcp-handler: don't return unused value from tcp_wait_for_events()

7 years agotcp-handler: don't set SO_RCVTIMEO on already nonblocking sockets
Daniel Salzman [Tue, 21 May 2019 13:00:56 +0000 (15:00 +0200)] 
tcp-handler: don't set SO_RCVTIMEO on already nonblocking sockets

7 years agotcp-handler: simple code cleanup
Daniel Salzman [Tue, 9 Jul 2019 06:52:50 +0000 (08:52 +0200)] 
tcp-handler: simple code cleanup

7 years agotcp-handler: store max TCP clients configuration to handler context
Daniel Salzman [Tue, 9 Jul 2019 06:56:00 +0000 (08:56 +0200)] 
tcp-handler: store max TCP clients configuration to handler context

7 years agotcp-handler: remove a handling of impossible return value from tcp_event_accept()
David Vašek [Mon, 8 Jul 2019 10:42:55 +0000 (12:42 +0200)] 
tcp-handler: remove a handling of impossible return value from tcp_event_accept()

7 years agotcp-handler: fix CPU looping with too many TCP clients
David Vašek [Thu, 4 Jul 2019 16:38:45 +0000 (18:38 +0200)] 
tcp-handler: fix CPU looping with too many TCP clients

7 years agotests-extra: unify code indentation
Daniel Salzman [Fri, 12 Jul 2019 07:29:52 +0000 (09:29 +0200)] 
tests-extra: unify code indentation

7 years agotests-extra: added numbering of tests when repeating
Jan Hák [Fri, 12 Jul 2019 07:27:26 +0000 (09:27 +0200)] 
tests-extra: added numbering of tests when repeating

7 years agoMerge branch 'unify_only_modified2' into 'master'
Daniel Salzman [Thu, 11 Jul 2019 08:34:55 +0000 (08:34 +0000)] 
Merge branch 'unify_only_modified2' into 'master'

Unify only modified2

See merge request knot/knot-dns!1027

7 years agotest: rrset and node removal via ctl
Libor Peltan [Mon, 8 Jul 2019 15:47:08 +0000 (17:47 +0200)] 
test: rrset and node removal via ctl

7 years agoupdates: insert into ptrs also changed nodes' parents...
Libor Peltan [Wed, 3 Jul 2019 10:39:04 +0000 (12:39 +0200)] 
updates: insert into ptrs also changed nodes' parents...

...because they have changed child count and maybe also flags

7 years agoadjust/update: cleanup/unify only nodes affected by update or adjusting
Libor Peltan [Wed, 19 Jun 2019 14:40:50 +0000 (16:40 +0200)] 
adjust/update: cleanup/unify only nodes affected by update or adjusting

7 years agozone update: refactoring
Libor Peltan [Wed, 19 Jun 2019 14:42:22 +0000 (16:42 +0200)] 
zone update: refactoring

7 years agoupdates: simplify code
Libor Peltan [Thu, 20 Jun 2019 17:34:06 +0000 (19:34 +0200)] 
updates: simplify code

7 years agoMerge branch 'rrl_slip' into 'master'
Libor Peltan [Tue, 9 Jul 2019 12:17:02 +0000 (12:17 +0000)] 
Merge branch 'rrl_slip' into 'master'

RRL slip

See merge request knot/knot-dns!1031

7 years agorrl: improve documentation
Daniel Salzman [Tue, 9 Jul 2019 12:06:08 +0000 (14:06 +0200)] 
rrl: improve documentation

7 years agorrl: refactor rrl_slip_roll
Daniel Salzman [Tue, 9 Jul 2019 11:50:43 +0000 (13:50 +0200)] 
rrl: refactor rrl_slip_roll

7 years agotest: slower but more convenient with dnssec-verify
Libor Peltan [Mon, 8 Jul 2019 14:44:25 +0000 (16:44 +0200)] 
test: slower but more convenient with dnssec-verify

7 years agoMerge branch 'test_sign_parallel' into 'master'
Daniel Salzman [Mon, 8 Jul 2019 13:51:14 +0000 (13:51 +0000)] 
Merge branch 'test_sign_parallel' into 'master'

tests: use parallel signing everywhere

See merge request knot/knot-dns!1030

7 years agotests: use parallel signing everywhere
Libor Peltan [Mon, 8 Jul 2019 13:45:16 +0000 (15:45 +0200)] 
tests: use parallel signing everywhere

7 years agorrl: logging of source subnet address instead of source address
Jan Hák [Thu, 4 Jul 2019 11:15:09 +0000 (13:15 +0200)] 
rrl: logging of source subnet address instead of source address

7 years agodoc: describe logging via systemd, plus improved wording
David Vašek [Thu, 4 Jul 2019 07:41:25 +0000 (09:41 +0200)] 
doc: describe logging via systemd, plus improved wording

7 years agoMerge branch 'fix_planning_ds_q' into 'master'
Daniel Salzman [Thu, 4 Jul 2019 14:02:55 +0000 (14:02 +0000)] 
Merge branch 'fix_planning_ds_q' into 'master'

DS query: fix planning if changed config

See merge request knot/knot-dns!1029

7 years agoDS query: fix planning if changed config
Libor Peltan [Thu, 4 Jul 2019 13:26:02 +0000 (15:26 +0200)] 
DS query: fix planning if changed config

7 years agodoc: improvements and fixes
David Vašek [Mon, 1 Jul 2019 11:25:45 +0000 (13:25 +0200)] 
doc: improvements and fixes