]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
6 years agowip sendmsg_test
Daniel Salzman [Mon, 20 May 2019 08:13:55 +0000 (10:13 +0200)] 
wip

6 years agoMerge branch 'adjust_zone_size_incr' into 'master'
Daniel Salzman [Thu, 16 May 2019 11:04:04 +0000 (11:04 +0000)] 
Merge branch 'adjust_zone_size_incr' into 'master'

optimization: adjusting: mesure zone size incrementally for updates

See merge request knot/knot-dns!1005

6 years agoMerge branch 'offline_ksk_error_handl' into 'master'
Daniel Salzman [Wed, 15 May 2019 11:58:51 +0000 (11:58 +0000)] 
Merge branch 'offline_ksk_error_handl' into 'master'

offline ksk: don't touch error.code if set to error value

See merge request knot/knot-dns!1009

6 years agooptimization: adjusting: mesure zone size incrementally for updates
Libor Peltan [Fri, 10 May 2019 15:11:49 +0000 (17:11 +0200)] 
optimization: adjusting: mesure zone size incrementally for updates

6 years agokeymgr: proper usage of zscanner interface errorcodes
Libor Peltan [Wed, 15 May 2019 08:29:22 +0000 (10:29 +0200)] 
keymgr: proper usage of zscanner interface errorcodes

6 years agoMerge branch 'infinite_key_lifetime' into 'master'
Daniel Salzman [Tue, 14 May 2019 19:43:29 +0000 (19:43 +0000)] 
Merge branch 'infinite_key_lifetime' into 'master'

dnssec: bugfix: correct computing with infinite key lifetime

See merge request knot/knot-dns!1008

6 years agodnssec: bugfix: correct computing with infinite key lifetime
Libor Peltan [Tue, 14 May 2019 16:28:11 +0000 (18:28 +0200)] 
dnssec: bugfix: correct computing with infinite key lifetime

6 years agodoc: update knot.conf + fix typo
Daniel Salzman [Tue, 14 May 2019 19:21:46 +0000 (21:21 +0200)] 
doc: update knot.conf + fix typo

6 years agoMerge branch 'nsec3_salt_infty' into 'master'
Daniel Salzman [Tue, 14 May 2019 19:17:38 +0000 (19:17 +0000)] 
Merge branch 'nsec3_salt_infty' into 'master'

nsec3: allow infinite validity of nsec3salt

See merge request knot/knot-dns!1007

6 years agoMerge branch 'additionals_reverse_tree' into 'master'
Daniel Salzman [Tue, 14 May 2019 18:55:55 +0000 (18:55 +0000)] 
Merge branch 'additionals_reverse_tree' into 'master'

Additionals reverse tree

See merge request knot/knot-dns!1004

6 years agooffline ksk: don't touch error.code if set to error value
Libor Peltan [Tue, 14 May 2019 17:20:01 +0000 (19:20 +0200)] 
offline ksk: don't touch error.code if set to error value

6 years agonsec3: allow infinite validity of nsec3salt
Libor Peltan [Tue, 14 May 2019 15:58:27 +0000 (17:58 +0200)] 
nsec3: allow infinite validity of nsec3salt

6 years agoadjust: more effective rdataset iteration
Libor Peltan [Tue, 14 May 2019 14:38:13 +0000 (16:38 +0200)] 
adjust: more effective rdataset iteration

6 years agoadditionals_tree: using deduplicated dynarray for storing pointers in nodes
Libor Peltan [Thu, 9 May 2019 17:48:12 +0000 (19:48 +0200)] 
additionals_tree: using deduplicated dynarray for storing pointers in nodes

6 years agoadjusting: implemented reverse tree for looking up additionals changed in update
Libor Peltan [Tue, 7 May 2019 15:32:05 +0000 (17:32 +0200)] 
adjusting: implemented reverse tree for looking up additionals changed in update

the tree is like a key-value database, with the key being a domain name
of a record which is an additional for a record in the zone
while the name might be not in the zone; the value is a list_t
of pointers to zone nodes, for which it actually is an addiitonal

whenever in an incremental update a record is changed/added
with the name of an additional, all the listed nodes
must be re-adjusted (re-discovered additionals

previously, we always re-discovered additionals for whole zone

6 years agobugfix: don't incremental adjust when original zone not adjusted previously
Libor Peltan [Tue, 7 May 2019 15:25:59 +0000 (17:25 +0200)] 
bugfix: don't incremental adjust when original zone not adjusted previously

6 years agoMerge branch 'offlike_ksk_rrsig_expire' into 'master'
Daniel Salzman [Tue, 14 May 2019 13:22:11 +0000 (13:22 +0000)] 
Merge branch 'offlike_ksk_rrsig_expire' into 'master'

offline KSK: bugfix: refresh offline RRSIGs

Closes #645

See merge request knot/knot-dns!1006

6 years agotest: temporary files shall be created in temporary dir, not source
Libor Peltan [Tue, 14 May 2019 13:14:00 +0000 (15:14 +0200)] 
test: temporary files shall be created in temporary dir, not source

6 years agooffline KSK: bugfix: refresh offline RRSIGs
Libor Peltan [Mon, 13 May 2019 16:19:40 +0000 (18:19 +0200)] 
offline KSK: bugfix: refresh offline RRSIGs

6 years agolittle: make coverity understand
Libor Peltan [Mon, 13 May 2019 11:01:01 +0000 (13:01 +0200)] 
little: make coverity understand

6 years agosemaphore: mute warning about deprecated functions on macOS
Daniel Salzman [Fri, 10 May 2019 09:17:49 +0000 (11:17 +0200)] 
semaphore: mute warning about deprecated functions on macOS

6 years agofix after static analysis
Libor Peltan [Thu, 9 May 2019 11:23:26 +0000 (13:23 +0200)] 
fix after static analysis

6 years agoMerge branch 'nsec_optimi2reb' into 'master'
Daniel Salzman [Tue, 7 May 2019 15:09:22 +0000 (15:09 +0000)] 
Merge branch 'nsec_optimi2reb' into 'master'

Nsec optimi2reb

See merge request knot/knot-dns!1002

6 years agobugfix: assertion no longer valid
Libor Peltan [Tue, 7 May 2019 08:23:43 +0000 (10:23 +0200)] 
bugfix: assertion no longer valid

6 years agodnssec/nsec_update: bugfix: removed code removing what had been removed
Libor Peltan [Fri, 3 May 2019 09:52:54 +0000 (11:52 +0200)] 
dnssec/nsec_update: bugfix: removed code removing what had been removed

6 years agonsec3: get rid of using extra changeset completely
Libor Peltan [Tue, 9 Apr 2019 09:39:15 +0000 (11:39 +0200)] 
nsec3: get rid of using extra changeset completely

6 years agonsec3: avoid extra changeset when creating nsec3 chain
Libor Peltan [Mon, 8 Apr 2019 16:10:08 +0000 (18:10 +0200)] 
nsec3: avoid extra changeset when creating nsec3 chain

6 years agonsec/nsec3: simplified code for fixing chain
Libor Peltan [Wed, 20 Mar 2019 09:50:33 +0000 (10:50 +0100)] 
nsec/nsec3: simplified code for fixing chain

6 years agonsec/nsec3: avoid using extra changeset for fixing chain
Libor Peltan [Fri, 8 Mar 2019 15:07:07 +0000 (16:07 +0100)] 
nsec/nsec3: avoid using extra changeset for fixing chain

6 years agonsec3: avoid using extra changesets for signing nsec chain
Libor Peltan [Fri, 8 Mar 2019 12:08:11 +0000 (13:08 +0100)] 
nsec3: avoid using extra changesets for signing nsec chain

6 years agonsec3: cleanup code before re-designing it
Libor Peltan [Thu, 7 Mar 2019 17:38:36 +0000 (18:38 +0100)] 
nsec3: cleanup code before re-designing it

6 years agodoc: update debug log severity description
Daniel Salzman [Mon, 6 May 2019 19:18:51 +0000 (21:18 +0200)] 
doc: update debug log severity description

6 years agogeoip: fix finding for the best view
Mark Karpilovskij [Mon, 6 May 2019 18:38:26 +0000 (20:38 +0200)] 
geoip: fix finding for the best view

6 years agoMerge branch 'nsec_update_triv' into 'master'
Daniel Salzman [Sun, 5 May 2019 19:03:59 +0000 (19:03 +0000)] 
Merge branch 'nsec_update_triv' into 'master'

dnssec/nsec_update: trivial optimization

See merge request knot/knot-dns!1003

6 years agoMerge branch 'resign_optimi' into 'master'
Daniel Salzman [Sun, 5 May 2019 18:53:31 +0000 (18:53 +0000)] 
Merge branch 'resign_optimi' into 'master'

Resign optimi

See merge request knot/knot-dns!1001

6 years agodnssec/nsec_update: trivial optimization
Libor Peltan [Sat, 4 May 2019 06:20:10 +0000 (08:20 +0200)] 
dnssec/nsec_update: trivial optimization

6 years agodnssec: avoid checking existing correct RRSIGs twice
Libor Peltan [Thu, 2 May 2019 13:37:10 +0000 (15:37 +0200)] 
dnssec: avoid checking existing correct RRSIGs twice

...once in remove_expired_rrsigs(), once in add_missing_rrsigs()
this is important because unlike RSASHA, with ECDSA is checking signature far slower than creating one
little side effect: signatures of DNSKEY record by ZSK are always removed

6 years agodnssec: simplified code for removing invalid rrsigs
Libor Peltan [Tue, 30 Apr 2019 11:50:52 +0000 (13:50 +0200)] 
dnssec: simplified code for removing invalid rrsigs

6 years agoMerge branch 'qptrie_null_cb' into 'master'
Libor Peltan [Mon, 29 Apr 2019 11:29:15 +0000 (11:29 +0000)] 
Merge branch 'qptrie_null_cb' into 'master'

QP-trie NULL callback

See merge request knot/knot-dns!1000

6 years agoasserting the zone has been adjusted properly
Libor Peltan [Mon, 29 Apr 2019 10:43:27 +0000 (12:43 +0200)] 
asserting the zone has been adjusted properly

6 years agozone: use NULL trie_cb for qp-trie COW operations
Daniel Salzman [Mon, 29 Apr 2019 07:54:23 +0000 (09:54 +0200)] 
zone: use NULL trie_cb for qp-trie COW operations

6 years agoqptrie: allow NULL trie_cb callback
Daniel Salzman [Mon, 29 Apr 2019 07:53:49 +0000 (09:53 +0200)] 
qptrie: allow NULL trie_cb callback

6 years agoMerge branch 'cow_trie8' into 'master'
Daniel Salzman [Fri, 26 Apr 2019 13:58:27 +0000 (13:58 +0000)] 
Merge branch 'cow_trie8' into 'master'

Implementation of COW trie for zone updates

See merge request knot/knot-dns!988

6 years agonode: remove unused function node_set_parent
Daniel Salzman [Fri, 26 Apr 2019 10:54:14 +0000 (12:54 +0200)] 
node: remove unused function node_set_parent

6 years agocontents: remove superfluous function parameter
Daniel Salzman [Fri, 26 Apr 2019 09:52:42 +0000 (11:52 +0200)] 
contents: remove superfluous function parameter

6 years agocontents: code cleanup
Daniel Salzman [Fri, 26 Apr 2019 09:44:58 +0000 (11:44 +0200)] 
contents: code cleanup

6 years agozone: some documentation improvements
Daniel Salzman [Wed, 24 Apr 2019 14:58:13 +0000 (16:58 +0200)] 
zone: some documentation improvements

6 years agonode: make some function inline static
Daniel Salzman [Wed, 24 Apr 2019 11:18:04 +0000 (13:18 +0200)] 
node: make some function inline static

6 years agoUpdate license headers
Daniel Salzman [Wed, 24 Apr 2019 11:05:26 +0000 (13:05 +0200)] 
Update license headers

6 years agozone: fix expire not to free zone before COW txn commited
Libor Peltan [Thu, 18 Apr 2019 13:11:39 +0000 (15:11 +0200)] 
zone: fix expire not to free zone before COW txn commited

6 years agoremoved incorrect unlocking of semaphore
Libor Peltan [Tue, 9 Apr 2019 15:21:20 +0000 (17:21 +0200)] 
removed incorrect unlocking of semaphore

6 years agobugfix: little leak when unsuccessful journal load
Libor Peltan [Thu, 4 Apr 2019 11:06:25 +0000 (13:06 +0200)] 
bugfix: little leak when unsuccessful journal load

6 years agosemaphore: custom implementation to somehow work on OpenBSD and OSX
Libor Peltan [Tue, 2 Apr 2019 15:46:37 +0000 (17:46 +0200)] 
semaphore: custom implementation to somehow work on OpenBSD and OSX

6 years agoapply: COW mutex -> semaphore, cause freed by RCU in other thread
Libor Peltan [Mon, 1 Apr 2019 16:22:42 +0000 (18:22 +0200)] 
apply: COW mutex -> semaphore, cause freed by RCU in other thread

6 years agotests-extra: move nsec_dbg equivalent to nsec_update
Daniel Salzman [Fri, 29 Mar 2019 21:00:06 +0000 (22:00 +0100)] 
tests-extra: move nsec_dbg equivalent to nsec_update

6 years agonsec3: fix slave signing in weird rare case
Libor Peltan [Fri, 29 Mar 2019 15:10:45 +0000 (16:10 +0100)] 
nsec3: fix slave signing in weird rare case

6 years agonode: mute warning unused variable if NDEBUG
Daniel Salzman [Thu, 28 Mar 2019 09:25:25 +0000 (10:25 +0100)] 
node: mute warning unused variable if NDEBUG

6 years agotests: improved check of NSEC3 update covers adding delegation
Libor Peltan [Fri, 22 Mar 2019 12:28:29 +0000 (13:28 +0100)] 
tests: improved check of NSEC3 update covers adding delegation

6 years agotests/node: fix double free
Daniel Salzman [Mon, 11 Mar 2019 10:10:07 +0000 (11:10 +0100)] 
tests/node: fix double free

6 years agoadjust: resolved fixmes and optimization
Libor Peltan [Wed, 6 Mar 2019 15:34:45 +0000 (16:34 +0100)] 
adjust: resolved fixmes and optimization

6 years agotiny bugfix
Libor Peltan [Wed, 6 Mar 2019 14:21:30 +0000 (15:21 +0100)] 
tiny bugfix

6 years agozone: optimization of a frequently used function
Libor Peltan [Tue, 5 Mar 2019 18:15:42 +0000 (19:15 +0100)] 
zone: optimization of a frequently used function

6 years agoadjust: optimization: no longer need to re-look for node name
Libor Peltan [Fri, 1 Mar 2019 16:05:41 +0000 (17:05 +0100)] 
adjust: optimization: no longer need to re-look for node name

6 years agoupdate: mutex avoid next update before cleanup by call_rcu
Libor Peltan [Fri, 1 Mar 2019 16:02:13 +0000 (17:02 +0100)] 
update: mutex avoid next update before cleanup by call_rcu

6 years agoRevert "reverted implementation of zone-update RCU callbacks"
Libor Peltan [Fri, 1 Mar 2019 12:09:32 +0000 (13:09 +0100)] 
Revert "reverted implementation of zone-update RCU callbacks"

This reverts commit dbe6243d6372b4d388cda9246446d83ac4557480.
This also revers the "check unified" mechanizm which basicly was just an
assert.

6 years agoswitched to COW trie for incremental updates
Libor Peltan [Wed, 27 Feb 2019 16:32:41 +0000 (17:32 +0100)] 
switched to COW trie for incremental updates

6 years agobi-nodes implemented, used for zone, updates, apply
Libor Peltan [Fri, 8 Feb 2019 16:03:04 +0000 (17:03 +0100)] 
bi-nodes implemented, used for zone, updates, apply

6 years agonode: function wrapper to obtaining prev, parent and glue nodes
Libor Peltan [Wed, 13 Feb 2019 17:14:44 +0000 (18:14 +0100)] 
node: function wrapper to obtaining prev, parent and glue nodes

6 years agozone tree: apply callback becomes node* instead of node**
Libor Peltan [Mon, 11 Feb 2019 12:57:55 +0000 (13:57 +0100)] 
zone tree: apply callback becomes node* instead of node**

6 years agogeneral: determine if node is apex from flags not parent ptr
Libor Peltan [Mon, 4 Feb 2019 15:41:20 +0000 (16:41 +0100)] 
general: determine if node is apex from flags not parent ptr

6 years agozone-in-journal: serialize zone contents directly
Libor Peltan [Wed, 13 Feb 2019 14:20:21 +0000 (15:20 +0100)] 
zone-in-journal: serialize zone contents directly

6 years agotests: preserve both valgrind logs from stop-started knot
Libor Peltan [Wed, 13 Feb 2019 13:32:43 +0000 (14:32 +0100)] 
tests: preserve both valgrind logs from stop-started knot

6 years agozone-in-journal: load journal directly into zone contents
Libor Peltan [Wed, 13 Feb 2019 12:53:17 +0000 (13:53 +0100)] 
zone-in-journal: load journal directly into zone contents

6 years agoddns: avoid unnecessary node shallow copy when removing whole
Libor Peltan [Wed, 13 Feb 2019 12:36:01 +0000 (13:36 +0100)] 
ddns: avoid unnecessary node shallow copy when removing whole

6 years agoreverted implementation of zone-update RCU callbacks
Libor Peltan [Wed, 13 Feb 2019 12:05:57 +0000 (13:05 +0100)] 
reverted implementation of zone-update RCU callbacks

...now waiting again for synchronize_rcu() before continue. Slower.

6 years agozone tree: api for tree iteration, avoid iterating trie
Libor Peltan [Mon, 11 Feb 2019 11:33:57 +0000 (12:33 +0100)] 
zone tree: api for tree iteration, avoid iterating trie

6 years agocode simplification: node must not be re-parented
Libor Peltan [Mon, 4 Feb 2019 15:35:27 +0000 (16:35 +0100)] 
code simplification: node must not be re-parented

6 years agonsec3: this is probably useless
Libor Peltan [Mon, 4 Feb 2019 15:20:13 +0000 (16:20 +0100)] 
nsec3: this is probably useless

6 years agoMerge branch 'clear_conf_dbdir' into 'master'
Daniel Salzman [Thu, 25 Apr 2019 09:58:59 +0000 (09:58 +0000)] 
Merge branch 'clear_conf_dbdir' into 'master'

conf: code cleanup: get DB path unified

See merge request knot/knot-dns!999

6 years agoconf: code cleanup: get DB path unified
Libor Peltan [Wed, 24 Apr 2019 13:48:40 +0000 (15:48 +0200)] 
conf: code cleanup: get DB path unified

6 years agoMerge branch 'kasp_db_sweep' into 'master'
Libor Peltan [Thu, 25 Apr 2019 08:23:29 +0000 (08:23 +0000)] 
Merge branch 'kasp_db_sweep' into 'master'

kasp db: better organized code for clearing orphans in kasp db

See merge request knot/knot-dns!998

6 years agokaspdb: remove unused kasp_db_list_zones
Daniel Salzman [Wed, 24 Apr 2019 19:54:14 +0000 (21:54 +0200)] 
kaspdb: remove unused kasp_db_list_zones

6 years agoctl: code cleanup
Daniel Salzman [Wed, 24 Apr 2019 19:52:44 +0000 (21:52 +0200)] 
ctl: code cleanup

6 years agokasp db: better organized code for clearing orphans in kasp db
Libor Peltan [Wed, 24 Apr 2019 12:57:56 +0000 (14:57 +0200)] 
kasp db: better organized code for clearing orphans in kasp db

6 years agodoc: fix typo
Daniel Salzman [Wed, 24 Apr 2019 14:39:50 +0000 (16:39 +0200)] 
doc: fix typo

6 years agoserver: disable Path MTU discovery for IPv4/UDP
Daniel Salzman [Fri, 19 Apr 2019 18:38:45 +0000 (20:38 +0200)] 
server: disable Path MTU discovery for IPv4/UDP

Thanks to Daisuke Higashi!

fixes #640

6 years agoconfigure: improve detection of pthread_setaffinity_np
Daniel Salzman [Fri, 12 Apr 2019 11:50:53 +0000 (13:50 +0200)] 
configure: improve detection of pthread_setaffinity_np

6 years agoconfigure: fix detection of pthread_setaffinity_np
Daniel Salzman [Tue, 9 Apr 2019 09:26:10 +0000 (11:26 +0200)] 
configure: fix detection of pthread_setaffinity_np

6 years agodoc: migrating 2.5.0 KASP DB
Libor Peltan [Tue, 9 Apr 2019 09:01:32 +0000 (11:01 +0200)] 
doc: migrating 2.5.0 KASP DB

6 years agoMerge branch 'fix_load_nsec3param' into 'master'
Daniel Salzman [Mon, 8 Apr 2019 12:10:48 +0000 (12:10 +0000)] 
Merge branch 'fix_load_nsec3param' into 'master'

fix: load NSEC3PARAM before comparing it

See merge request knot/knot-dns!997

6 years agofix: load NSEC3PARAM before comparing it
Libor Peltan [Mon, 8 Apr 2019 11:22:57 +0000 (13:22 +0200)] 
fix: load NSEC3PARAM before comparing it

6 years agocoding mistake
Libor Peltan [Fri, 5 Apr 2019 14:10:28 +0000 (16:10 +0200)] 
coding mistake

6 years agoMerge branch 'sign_update_skip_glue' into 'master'
Daniel Salzman [Thu, 4 Apr 2019 10:35:15 +0000 (10:35 +0000)] 
Merge branch 'sign_update_skip_glue' into 'master'

dnssec: incremental sign, avoid signing glue

See merge request knot/knot-dns!996

6 years agodnssec: incremental sign, avoid signing glue
Libor Peltan [Thu, 4 Apr 2019 08:59:42 +0000 (10:59 +0200)] 
dnssec: incremental sign, avoid signing glue

also, on normal sign, remove possibly existing RRSIGs on NONAUTH nodes

6 years agotest: ensure freeze goes before refresh
Libor Peltan [Wed, 3 Apr 2019 11:24:06 +0000 (13:24 +0200)] 
test: ensure freeze goes before refresh

6 years agodoc: improve concurrent zone access warning
Daniel Salzman [Wed, 3 Apr 2019 12:01:24 +0000 (14:01 +0200)] 
doc: improve concurrent zone access warning

6 years agoMerge branch 'rrl_refactor' into 'master'
Daniel Salzman [Tue, 2 Apr 2019 16:50:09 +0000 (16:50 +0000)] 
Merge branch 'rrl_refactor' into 'master'

Module RRL refactoring

See merge request knot/knot-dns!993

6 years agomod-rrl: simplify endian-independent adrress operations
Daniel Salzman [Fri, 29 Mar 2019 12:33:42 +0000 (13:33 +0100)] 
mod-rrl: simplify endian-independent adrress operations

6 years agomod-rrl: refactor hopscotch hashing to be readable
Mark Karpilovskij [Thu, 28 Mar 2019 15:34:23 +0000 (16:34 +0100)] 
mod-rrl: refactor hopscotch hashing to be readable

6 years agomod-rrl: remove unnecessary qname length from hash
Mark Karpilovskij [Fri, 15 Mar 2019 15:07:44 +0000 (16:07 +0100)] 
mod-rrl: remove unnecessary qname length from hash