]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

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

7 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

7 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

7 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

7 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.

7 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

7 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

7 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

7 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**

7 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

7 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

7 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

7 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

7 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

7 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.

7 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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agotests/rrl: check endian-independent hash input
Mark Karpilovskij [Thu, 14 Mar 2019 14:42:42 +0000 (15:42 +0100)] 
tests/rrl: check endian-independent hash input

7 years agomod-rrl: endian-independent response classification
Mark Karpilovskij [Mon, 11 Mar 2019 13:09:07 +0000 (14:09 +0100)] 
mod-rrl: endian-independent response classification

7 years agomod-rrl: improve code readability
Mark Karpilovskij [Thu, 28 Mar 2019 14:25:15 +0000 (15:25 +0100)] 
mod-rrl: improve code readability

7 years agoMerge branch 'key_roll_flags' into 'master'
Libor Peltan [Tue, 2 Apr 2019 12:41:40 +0000 (12:41 +0000)] 
Merge branch 'key_roll_flags' into 'master'

Fix missing NSEC3 resalt during full refresh

See merge request knot/knot-dns!995

7 years agozone-event: unify KEY_ROLL flags + fix missing NSEC3 resalt during full refresh
Daniel Salzman [Tue, 2 Apr 2019 11:54:00 +0000 (13:54 +0200)] 
zone-event: unify KEY_ROLL flags + fix missing NSEC3 resalt during full refresh

7 years agoknot_lmdb: add missing knot_lmdb_deinit if an error
Daniel Salzman [Tue, 2 Apr 2019 11:23:34 +0000 (13:23 +0200)] 
knot_lmdb: add missing knot_lmdb_deinit if an error

7 years agoremove unused mutex
Libor Peltan [Mon, 1 Apr 2019 16:27:08 +0000 (18:27 +0200)] 
remove unused mutex

7 years agozone-update: don't abort control transaction by itself
Daniel Salzman [Mon, 25 Mar 2019 13:51:23 +0000 (14:51 +0100)] 
zone-update: don't abort control transaction by itself

fix of "zone: invalidate possible control transaction during zone commit"

7 years agocontents: fix error cleanup in zone_contents_new
Daniel Salzman [Mon, 25 Mar 2019 12:31:46 +0000 (13:31 +0100)] 
contents: fix error cleanup in zone_contents_new

7 years agozone: invalidate possible control transaction during zone commit
Daniel Salzman [Mon, 25 Mar 2019 09:35:37 +0000 (10:35 +0100)] 
zone: invalidate possible control transaction during zone commit

7 years agobugfix: nsec3 opt out not working in some cases
Libor Peltan [Mon, 25 Mar 2019 11:02:23 +0000 (12:02 +0100)] 
bugfix: nsec3 opt out not working in some cases

7 years agozone-update: fix memory leak in zone_update_clear if full update
Daniel Salzman [Sun, 24 Mar 2019 20:28:15 +0000 (21:28 +0100)] 
zone-update: fix memory leak in zone_update_clear if full update

Can be reproduced by server shutdown after failed initial zone-commit.

7 years agoctl: fix zone commit with signing enabled on initial zone contents
Daniel Salzman [Sun, 24 Mar 2019 20:09:48 +0000 (21:09 +0100)] 
ctl: fix zone commit with signing enabled on initial zone contents

relates #641

7 years agoconf: add notice log about missing confdb when starting txn
Daniel Salzman [Sun, 24 Mar 2019 15:37:22 +0000 (16:37 +0100)] 
conf: add notice log about missing confdb when starting txn

7 years agodoc: fix example of ACL configuration
Daniel Salzman [Wed, 20 Mar 2019 19:41:00 +0000 (20:41 +0100)] 
doc: fix example of ACL configuration

7 years agoRevert "doc: update Trustway Proteccio NetHSM support"
Daniel Salzman [Wed, 20 Mar 2019 19:20:03 +0000 (20:20 +0100)] 
Revert "doc: update Trustway Proteccio NetHSM support"

This reverts commit e8f956e23f0a9c2f42e0151a836d1e21422ba02d.

Allegedly it's not supported yet.

7 years agoMerge branch 'fix_redundant_soa_rrsig' into 'master'
Daniel Salzman [Tue, 19 Mar 2019 13:59:31 +0000 (13:59 +0000)] 
Merge branch 'fix_redundant_soa_rrsig' into 'master'

bugfix: changeset merge cancelout confused by changing RRSIG TTL

See merge request knot/knot-dns!990

7 years agobugfix: changeset merge cancelout confused by changing RRSIG TTL
Libor Peltan [Tue, 19 Mar 2019 09:20:17 +0000 (10:20 +0100)] 
bugfix: changeset merge cancelout confused by changing RRSIG TTL

this caused sometimes duplicit SOA RRSIGs on slave

7 years agodoc: update Trustway Proteccio NetHSM support
Daniel Salzman [Tue, 19 Mar 2019 07:59:20 +0000 (08:59 +0100)] 
doc: update Trustway Proteccio NetHSM support

Based on information by CAU, PHILIPPE <philippe.cau@atos.net>.

7 years agoconfigure: allow extended version suppression via KNOT_VERSION_FORMAT=release
Daniel Salzman [Tue, 12 Mar 2019 09:18:07 +0000 (10:18 +0100)] 
configure: allow extended version suppression via KNOT_VERSION_FORMAT=release

7 years agoMerge branch 'fix_notify_errlog' into 'master'
Daniel Salzman [Sat, 9 Mar 2019 19:14:48 +0000 (19:14 +0000)] 
Merge branch 'fix_notify_errlog' into 'master'

notify: fixed logging in case of error

See merge request knot/knot-dns!989

7 years agonotify: fixed logging in case of error
Libor Peltan [Thu, 7 Mar 2019 17:35:04 +0000 (18:35 +0100)] 
notify: fixed logging in case of error

7 years agoMakefiles: add missing lmdb_CFLAGS
Daniel Salzman [Thu, 7 Mar 2019 09:52:10 +0000 (10:52 +0100)] 
Makefiles: add missing lmdb_CFLAGS

relates #638

7 years agojournal: include proper header <lmdb.h>
Daniel Salzman [Wed, 6 Mar 2019 16:35:44 +0000 (17:35 +0100)] 
journal: include proper header <lmdb.h>

fixes #638