]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Mon, 20 May 2019 08:13:55 +0000 (10:13 +0200)]
wip
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
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
Libor Peltan [Fri, 10 May 2019 15:11:49 +0000 (17:11 +0200)]
optimization: adjusting: mesure zone size incrementally for updates
Libor Peltan [Wed, 15 May 2019 08:29:22 +0000 (10:29 +0200)]
keymgr: proper usage of zscanner interface errorcodes
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
Libor Peltan [Tue, 14 May 2019 16:28:11 +0000 (18:28 +0200)]
dnssec: bugfix: correct computing with infinite key lifetime
Daniel Salzman [Tue, 14 May 2019 19:21:46 +0000 (21:21 +0200)]
doc: update knot.conf + fix typo
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
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
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
Libor Peltan [Tue, 14 May 2019 15:58:27 +0000 (17:58 +0200)]
nsec3: allow infinite validity of nsec3salt
Libor Peltan [Tue, 14 May 2019 14:38:13 +0000 (16:38 +0200)]
adjust: more effective rdataset iteration
Libor Peltan [Thu, 9 May 2019 17:48:12 +0000 (19:48 +0200)]
additionals_tree: using deduplicated dynarray for storing pointers in nodes
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
Libor Peltan [Tue, 7 May 2019 15:25:59 +0000 (17:25 +0200)]
bugfix: don't incremental adjust when original zone not adjusted previously
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
Libor Peltan [Tue, 14 May 2019 13:14:00 +0000 (15:14 +0200)]
test: temporary files shall be created in temporary dir, not source
Libor Peltan [Mon, 13 May 2019 16:19:40 +0000 (18:19 +0200)]
offline KSK: bugfix: refresh offline RRSIGs
Libor Peltan [Mon, 13 May 2019 11:01:01 +0000 (13:01 +0200)]
little: make coverity understand
Daniel Salzman [Fri, 10 May 2019 09:17:49 +0000 (11:17 +0200)]
semaphore: mute warning about deprecated functions on macOS
Libor Peltan [Thu, 9 May 2019 11:23:26 +0000 (13:23 +0200)]
fix after static analysis
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
Libor Peltan [Tue, 7 May 2019 08:23:43 +0000 (10:23 +0200)]
bugfix: assertion no longer valid
Libor Peltan [Fri, 3 May 2019 09:52:54 +0000 (11:52 +0200)]
dnssec/nsec_update: bugfix: removed code removing what had been removed
Libor Peltan [Tue, 9 Apr 2019 09:39:15 +0000 (11:39 +0200)]
nsec3: get rid of using extra changeset completely
Libor Peltan [Mon, 8 Apr 2019 16:10:08 +0000 (18:10 +0200)]
nsec3: avoid extra changeset when creating nsec3 chain
Libor Peltan [Wed, 20 Mar 2019 09:50:33 +0000 (10:50 +0100)]
nsec/nsec3: simplified code 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
Libor Peltan [Fri, 8 Mar 2019 12:08:11 +0000 (13:08 +0100)]
nsec3: avoid using extra changesets for signing nsec chain
Libor Peltan [Thu, 7 Mar 2019 17:38:36 +0000 (18:38 +0100)]
nsec3: cleanup code before re-designing it
Daniel Salzman [Mon, 6 May 2019 19:18:51 +0000 (21:18 +0200)]
doc: update debug log severity description
Mark Karpilovskij [Mon, 6 May 2019 18:38:26 +0000 (20:38 +0200)]
geoip: fix finding for the best view
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
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
Libor Peltan [Sat, 4 May 2019 06:20:10 +0000 (08:20 +0200)]
dnssec/nsec_update: trivial optimization
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
Libor Peltan [Tue, 30 Apr 2019 11:50:52 +0000 (13:50 +0200)]
dnssec: simplified code for removing invalid rrsigs
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
Libor Peltan [Mon, 29 Apr 2019 10:43:27 +0000 (12:43 +0200)]
asserting the zone has been adjusted properly
Daniel Salzman [Mon, 29 Apr 2019 07:54:23 +0000 (09:54 +0200)]
zone: use NULL trie_cb for qp-trie COW operations
Daniel Salzman [Mon, 29 Apr 2019 07:53:49 +0000 (09:53 +0200)]
qptrie: allow NULL trie_cb callback
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
Daniel Salzman [Fri, 26 Apr 2019 10:54:14 +0000 (12:54 +0200)]
node: remove unused function node_set_parent
Daniel Salzman [Fri, 26 Apr 2019 09:52:42 +0000 (11:52 +0200)]
contents: remove superfluous function parameter
Daniel Salzman [Fri, 26 Apr 2019 09:44:58 +0000 (11:44 +0200)]
contents: code cleanup
Daniel Salzman [Wed, 24 Apr 2019 14:58:13 +0000 (16:58 +0200)]
zone: some documentation improvements
Daniel Salzman [Wed, 24 Apr 2019 11:18:04 +0000 (13:18 +0200)]
node: make some function inline static
Daniel Salzman [Wed, 24 Apr 2019 11:05:26 +0000 (13:05 +0200)]
Update license headers
Libor Peltan [Thu, 18 Apr 2019 13:11:39 +0000 (15:11 +0200)]
zone: fix expire not to free zone before COW txn commited
Libor Peltan [Tue, 9 Apr 2019 15:21:20 +0000 (17:21 +0200)]
removed incorrect unlocking of semaphore
Libor Peltan [Thu, 4 Apr 2019 11:06:25 +0000 (13:06 +0200)]
bugfix: little leak when unsuccessful journal load
Libor Peltan [Tue, 2 Apr 2019 15:46:37 +0000 (17:46 +0200)]
semaphore: custom implementation to somehow work on OpenBSD and OSX
Libor Peltan [Mon, 1 Apr 2019 16:22:42 +0000 (18:22 +0200)]
apply: COW mutex -> semaphore, cause freed by RCU in other thread
Daniel Salzman [Fri, 29 Mar 2019 21:00:06 +0000 (22:00 +0100)]
tests-extra: move nsec_dbg equivalent to nsec_update
Libor Peltan [Fri, 29 Mar 2019 15:10:45 +0000 (16:10 +0100)]
nsec3: fix slave signing in weird rare case
Daniel Salzman [Thu, 28 Mar 2019 09:25:25 +0000 (10:25 +0100)]
node: mute warning unused variable if NDEBUG
Libor Peltan [Fri, 22 Mar 2019 12:28:29 +0000 (13:28 +0100)]
tests: improved check of NSEC3 update covers adding delegation
Daniel Salzman [Mon, 11 Mar 2019 10:10:07 +0000 (11:10 +0100)]
tests/node: fix double free
Libor Peltan [Wed, 6 Mar 2019 15:34:45 +0000 (16:34 +0100)]
adjust: resolved fixmes and optimization
Libor Peltan [Wed, 6 Mar 2019 14:21:30 +0000 (15:21 +0100)]
tiny bugfix
Libor Peltan [Tue, 5 Mar 2019 18:15:42 +0000 (19:15 +0100)]
zone: optimization of a frequently used function
Libor Peltan [Fri, 1 Mar 2019 16:05:41 +0000 (17:05 +0100)]
adjust: optimization: no longer need to re-look for node name
Libor Peltan [Fri, 1 Mar 2019 16:02:13 +0000 (17:02 +0100)]
update: mutex avoid next update before cleanup by call_rcu
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.
Libor Peltan [Wed, 27 Feb 2019 16:32:41 +0000 (17:32 +0100)]
switched to COW trie for incremental updates
Libor Peltan [Fri, 8 Feb 2019 16:03:04 +0000 (17:03 +0100)]
bi-nodes implemented, used for zone, updates, apply
Libor Peltan [Wed, 13 Feb 2019 17:14:44 +0000 (18:14 +0100)]
node: function wrapper to obtaining prev, parent and glue nodes
Libor Peltan [Mon, 11 Feb 2019 12:57:55 +0000 (13:57 +0100)]
zone tree: apply callback becomes node* instead of node**
Libor Peltan [Mon, 4 Feb 2019 15:41:20 +0000 (16:41 +0100)]
general: determine if node is apex from flags not parent ptr
Libor Peltan [Wed, 13 Feb 2019 14:20:21 +0000 (15:20 +0100)]
zone-in-journal: serialize zone contents directly
Libor Peltan [Wed, 13 Feb 2019 13:32:43 +0000 (14:32 +0100)]
tests: preserve both valgrind logs from stop-started knot
Libor Peltan [Wed, 13 Feb 2019 12:53:17 +0000 (13:53 +0100)]
zone-in-journal: load journal directly into zone contents
Libor Peltan [Wed, 13 Feb 2019 12:36:01 +0000 (13:36 +0100)]
ddns: avoid unnecessary node shallow copy when removing whole
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.
Libor Peltan [Mon, 11 Feb 2019 11:33:57 +0000 (12:33 +0100)]
zone tree: api for tree iteration, avoid iterating trie
Libor Peltan [Mon, 4 Feb 2019 15:35:27 +0000 (16:35 +0100)]
code simplification: node must not be re-parented
Libor Peltan [Mon, 4 Feb 2019 15:20:13 +0000 (16:20 +0100)]
nsec3: this is probably useless
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
Libor Peltan [Wed, 24 Apr 2019 13:48:40 +0000 (15:48 +0200)]
conf: code cleanup: get DB path unified
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
Daniel Salzman [Wed, 24 Apr 2019 19:54:14 +0000 (21:54 +0200)]
kaspdb: remove unused kasp_db_list_zones
Daniel Salzman [Wed, 24 Apr 2019 19:52:44 +0000 (21:52 +0200)]
ctl: code cleanup
Libor Peltan [Wed, 24 Apr 2019 12:57:56 +0000 (14:57 +0200)]
kasp db: better organized code for clearing orphans in kasp db
Daniel Salzman [Wed, 24 Apr 2019 14:39:50 +0000 (16:39 +0200)]
doc: fix typo
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
Daniel Salzman [Fri, 12 Apr 2019 11:50:53 +0000 (13:50 +0200)]
configure: improve 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
Libor Peltan [Tue, 9 Apr 2019 09:01:32 +0000 (11:01 +0200)]
doc: migrating 2.5.0 KASP DB
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
Libor Peltan [Mon, 8 Apr 2019 11:22:57 +0000 (13:22 +0200)]
fix: load NSEC3PARAM before comparing it
Libor Peltan [Fri, 5 Apr 2019 14:10:28 +0000 (16:10 +0200)]
coding mistake
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
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
Libor Peltan [Wed, 3 Apr 2019 11:24:06 +0000 (13:24 +0200)]
test: ensure freeze goes before refresh
Daniel Salzman [Wed, 3 Apr 2019 12:01:24 +0000 (14:01 +0200)]
doc: improve concurrent zone access warning
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
Daniel Salzman [Fri, 29 Mar 2019 12:33:42 +0000 (13:33 +0100)]
mod-rrl: simplify endian-independent adrress operations
Mark Karpilovskij [Thu, 28 Mar 2019 15:34:23 +0000 (16:34 +0100)]
mod-rrl: refactor hopscotch hashing to be readable
Mark Karpilovskij [Fri, 15 Mar 2019 15:07:44 +0000 (16:07 +0100)]
mod-rrl: remove unnecessary qname length from hash