]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
6 years agodistro: update libknot.11.symbols
Daniel Salzman [Fri, 14 Aug 2020 10:43:08 +0000 (12:43 +0200)] 
distro: update libknot.11.symbols

6 years agokzonesign: fix typo
Daniel Salzman [Fri, 14 Aug 2020 10:26:38 +0000 (12:26 +0200)] 
kzonesign: fix typo

6 years agokxdpgun: add example how to generate queries file
Daniel Salzman [Fri, 14 Aug 2020 08:05:25 +0000 (10:05 +0200)] 
kxdpgun: add example how to generate queries file

6 years agokzonesign: unify program parameters
Daniel Salzman [Fri, 14 Aug 2020 07:54:53 +0000 (09:54 +0200)] 
kzonesign: unify program parameters

6 years agoutils: properly initialize the time zone for libc functions where needed
David Vašek [Tue, 11 Aug 2020 11:29:39 +0000 (13:29 +0200)] 
utils: properly initialize the time zone for libc functions where needed

The initialization is needed for localtime_r(3) libc function to work reliably on all platforms.

6 years agodoc: add migration from 2.9.x to 3.0.x
Daniel Salzman [Wed, 12 Aug 2020 08:06:21 +0000 (10:06 +0200)] 
doc: add migration from 2.9.x to 3.0.x

6 years agosem check: fix memory leak
Daniel Salzman [Tue, 11 Aug 2020 17:25:46 +0000 (19:25 +0200)] 
sem check: fix memory leak

6 years agotests: fix test_confio after zone config schema extension
Daniel Salzman [Tue, 11 Aug 2020 13:28:42 +0000 (15:28 +0200)] 
tests: fix test_confio after zone config schema extension

6 years agoMerge branch 'kzonecheck_optimize' into 'master'
Daniel Salzman [Tue, 11 Aug 2020 12:41:05 +0000 (14:41 +0200)] 
Merge branch 'kzonecheck_optimize' into 'master'

sem check: skip crypto if keytag mismatch

Closes #688

See merge request knot/knot-dns!1166

6 years agosem check: skip crypto if keytag mismatch
Libor Peltan [Tue, 11 Aug 2020 12:20:30 +0000 (14:20 +0200)] 
sem check: skip crypto if keytag mismatch

6 years agoMerge branch 'catalog_role' into 'master'
Daniel Salzman [Tue, 11 Aug 2020 12:00:06 +0000 (14:00 +0200)] 
Merge branch 'catalog_role' into 'master'

catalog: add catalog-role option to distinguish 'generate' and 'member' roles in the future

See merge request knot/knot-dns!1165

6 years agocatalog: add catalog-role option to distinguish 'generate' and 'member' roles in...
Libor Peltan [Mon, 10 Aug 2020 15:48:00 +0000 (17:48 +0200)] 
catalog: add catalog-role option to distinguish 'generate' and 'member' roles in the future

6 years agoMerge branch 'ubuntu_20_04' into 'master'
Daniel Salzman [Mon, 10 Aug 2020 13:23:09 +0000 (15:23 +0200)] 
Merge branch 'ubuntu_20_04' into 'master'

tests-extra: compatibility with new Bind9-utils and Python 3.8

See merge request knot/knot-dns!1123

6 years agokxdpgun: improve traffic summary
Daniel Salzman [Mon, 10 Aug 2020 12:00:20 +0000 (14:00 +0200)] 
kxdpgun: improve traffic summary

6 years agoMerge branch 'doc_offline_ksk' into 'master'
Daniel Salzman [Mon, 10 Aug 2020 09:24:46 +0000 (11:24 +0200)] 
Merge branch 'doc_offline_ksk' into 'master'

doc: additional hints for Offline KSK operation

See merge request knot/knot-dns!1162

6 years agodoc: additional hints for Offline KSK operation
Libor Peltan [Tue, 4 Aug 2020 06:28:28 +0000 (08:28 +0200)] 
doc: additional hints for Offline KSK operation

6 years agotcp-handler: set CPU affinity
Daniel Salzman [Sun, 9 Aug 2020 15:58:58 +0000 (17:58 +0200)] 
tcp-handler: set CPU affinity

6 years agoknotd: add socket BFP filter to TCP sockets
Daniel Salzman [Sun, 9 Aug 2020 09:38:02 +0000 (11:38 +0200)] 
knotd: add socket BFP filter to TCP sockets

6 years agoserver: mute Valgrind error "Syscall param socketcall.setsockopt(optval) points to...
Daniel Salzman [Sun, 9 Aug 2020 08:09:43 +0000 (10:09 +0200)] 
server: mute Valgrind error "Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s)", code cleanup

6 years agokeymgr: update blank configuration to new schema
Daniel Salzman [Fri, 7 Aug 2020 19:03:17 +0000 (21:03 +0200)] 
keymgr: update blank configuration to new schema

6 years agopython: allow calling from other directories
Rick van Rein [Fri, 7 Aug 2020 19:25:17 +0000 (21:25 +0200)] 
python: allow calling from other directories

6 years agolog: add timezone to timestamp for non-syslog streams
Daniel Salzman [Fri, 7 Aug 2020 18:54:59 +0000 (20:54 +0200)] 
log: add timezone to timestamp for non-syslog streams

6 years agoknotd: add socket BFP filter for perfect CPU locality
Jan Hak [Thu, 6 Aug 2020 07:42:12 +0000 (09:42 +0200)] 
knotd: add socket BFP filter for perfect CPU locality

6 years agoMerge branch 'ksignzone' into 'master'
Daniel Salzman [Fri, 7 Aug 2020 14:16:24 +0000 (16:16 +0200)] 
Merge branch 'ksignzone' into 'master'

Kzonesign

See merge request knot/knot-dns!1134

6 years agokzonesign: complete help, tiny code unification
Daniel Salzman [Thu, 6 Aug 2020 18:10:13 +0000 (20:10 +0200)] 
kzonesign: complete help, tiny code unification

6 years agokzonesign: move from sbin to bin
Daniel Salzman [Wed, 5 Aug 2020 17:17:40 +0000 (19:17 +0200)] 
kzonesign: move from sbin to bin

6 years agoscripts: improve update-project-files.py
Daniel Salzman [Wed, 5 Aug 2020 17:10:10 +0000 (19:10 +0200)] 
scripts: improve update-project-files.py

6 years agokzonesign: renamed from ksignzone
Libor Peltan [Tue, 4 Aug 2020 18:26:34 +0000 (20:26 +0200)] 
kzonesign: renamed from ksignzone

6 years agokzonesign: support for fake timestamp
Libor Peltan [Tue, 5 May 2020 09:51:02 +0000 (11:51 +0200)] 
kzonesign: support for fake timestamp

6 years agoksignzone implemented
Libor Peltan [Tue, 5 May 2020 09:36:49 +0000 (11:36 +0200)] 
ksignzone implemented

6 years agoMerge branch 'kxdpgun_nitpicks' into 'master'
Daniel Salzman [Wed, 5 Aug 2020 12:33:35 +0000 (14:33 +0200)] 
Merge branch 'kxdpgun_nitpicks' into 'master'

Kxdpgun nitpicks

See merge request knot/knot-dns!1164

6 years agokxdpgun: display response data rate
Libor Peltan [Wed, 5 Aug 2020 11:18:39 +0000 (13:18 +0200)] 
kxdpgun: display response data rate

6 years agokxdpgun: fix units to pps...
Libor Peltan [Wed, 5 Aug 2020 11:09:09 +0000 (13:09 +0200)] 
kxdpgun: fix units to pps...

...because qps makes no sense for responses

6 years agoMerge branch 'rename_kxdpgun' into 'master'
Daniel Salzman [Tue, 4 Aug 2020 17:06:47 +0000 (19:06 +0200)] 
Merge branch 'rename_kxdpgun' into 'master'

kxdpgun: renamed from knot-xdp-gun

See merge request knot/knot-dns!1163

6 years agokxdpgun: renamed from knot-xdp-gun
Libor Peltan [Tue, 4 Aug 2020 16:45:05 +0000 (18:45 +0200)] 
kxdpgun: renamed from knot-xdp-gun

6 years agoMerge branch 'dnssec_validation' into 'master'
Daniel Salzman [Mon, 3 Aug 2020 14:51:20 +0000 (16:51 +0200)] 
Merge branch 'dnssec_validation' into 'master'

Dnssec validation

See merge request knot/knot-dns!1112

6 years agodnssec validation: enable junk NSEC3 with...
Daniel Salzman [Wed, 29 Jul 2020 16:43:31 +0000 (18:43 +0200)] 
dnssec validation: enable junk NSEC3 with...

...same salt, but different iterations count

6 years agonsec-chain: remove NSEC3PARAM check from bitmap_add_node_rrsets()
Daniel Salzman [Wed, 29 Jul 2020 09:55:55 +0000 (11:55 +0200)] 
nsec-chain: remove NSEC3PARAM check from bitmap_add_node_rrsets()

The check seems obsolete.

6 years agodnssec validation: disable AXFR failover if validation failed
Libor Peltan [Fri, 27 Mar 2020 16:24:25 +0000 (17:24 +0100)] 
dnssec validation: disable AXFR failover if validation failed

6 years agobugfix: refresh: proper error code instead of KNOT_EPROCESSING
Libor Peltan [Fri, 27 Mar 2020 16:23:49 +0000 (17:23 +0100)] 
bugfix: refresh: proper error code instead of KNOT_EPROCESSING

6 years agoDNSSEC validation: allow garbage NSEC3 nodes...
Libor Peltan [Fri, 27 Mar 2020 10:59:27 +0000 (11:59 +0100)] 
DNSSEC validation: allow garbage NSEC3 nodes...

...more precisely, if zone has NSEC3 tree, allow any NSEC3 records with different salt
this is useful for checking zones with slow-resalt

6 years agoimplemented dnssec validation of updates
Libor Peltan [Wed, 26 Feb 2020 17:35:03 +0000 (18:35 +0100)] 
implemented dnssec validation of updates

6 years agoMerge branch 'xdp_gun_ign_other' into 'master'
Daniel Salzman [Thu, 30 Jul 2020 14:39:35 +0000 (16:39 +0200)] 
Merge branch 'xdp_gun_ign_other' into 'master'

xdp gun: completely ignore different incomming traffic

See merge request knot/knot-dns!1161

6 years agoxdp gun: completely ignore different incomming traffic
Libor Peltan [Thu, 30 Jul 2020 14:33:07 +0000 (16:33 +0200)] 
xdp gun: completely ignore different incomming traffic

6 years agoMerge branch 'xdp_gun_affinity' into 'master'
Daniel Salzman [Thu, 30 Jul 2020 12:44:06 +0000 (14:44 +0200)] 
Merge branch 'xdp_gun_affinity' into 'master'

xdp gun: parameter for CPU affinity setting

See merge request knot/knot-dns!1160

6 years agoxdp-gun: fix parameters description in the documentation
Daniel Salzman [Thu, 30 Jul 2020 12:35:56 +0000 (14:35 +0200)] 
xdp-gun: fix parameters description in the documentation

6 years agoxdp-gun: parameter for CPU affinity setting
Libor Peltan [Thu, 30 Jul 2020 08:11:06 +0000 (10:11 +0200)] 
xdp-gun: parameter for CPU affinity setting

6 years agoMerge branch 'xdp_gun_const_tid' into 'master'
Daniel Salzman [Thu, 30 Jul 2020 12:03:35 +0000 (14:03 +0200)] 
Merge branch 'xdp_gun_const_tid' into 'master'

xdp gun: use constant trans id to distinguish junk traffic

See merge request knot/knot-dns!1159

6 years agoxdp gun: use constant trans id to distinguish junk traffic
Libor Peltan [Thu, 30 Jul 2020 07:05:08 +0000 (09:05 +0200)] 
xdp gun: use constant trans id to distinguish junk traffic

6 years agodoc/operation: extend XDP description
Daniel Salzman [Tue, 28 Jul 2020 18:11:11 +0000 (20:11 +0200)] 
doc/operation: extend XDP description

6 years agoUpdate links to gitlab.nic.cz
Daniel Salzman [Tue, 28 Jul 2020 14:41:05 +0000 (16:41 +0200)] 
Update links to gitlab.nic.cz

6 years agoxdp-gun: set CPU affinity of threads to first N CPUs
Daniel Salzman [Tue, 28 Jul 2020 13:08:02 +0000 (15:08 +0200)] 
xdp-gun: set CPU affinity of threads to first N CPUs

6 years agoMerge branch 'fixes_jpmens' into 'master'
Daniel Salzman [Fri, 24 Jul 2020 11:26:18 +0000 (13:26 +0200)] 
Merge branch 'fixes_jpmens' into 'master'

Fixes jpmens

Closes #685

See merge request knot/knot-dns!1158

6 years agodnssec: fix setting revoked flag
Libor Peltan [Fri, 24 Jul 2020 10:22:11 +0000 (12:22 +0200)] 
dnssec: fix setting revoked flag

6 years agocatalog: fix handling nonexistent catalog config option
Libor Peltan [Fri, 24 Jul 2020 08:11:23 +0000 (10:11 +0200)] 
catalog: fix handling nonexistent catalog config option

6 years agoknotc reload: check for non-loaded zone when replanning after reload
Libor Peltan [Fri, 24 Jul 2020 07:49:59 +0000 (09:49 +0200)] 
knotc reload: check for non-loaded zone when replanning after reload

6 years agoMerge branch 'catalog_fix_update' into 'master'
Daniel Salzman [Mon, 20 Jul 2020 11:49:24 +0000 (13:49 +0200)] 
Merge branch 'catalog_fix_update' into 'master'

catalog: bugfix: save to catalog DB even reconf change

See merge request knot/knot-dns!1157

6 years agocatalog: bugfix: save to catalog DB even reconf change
Libor Peltan [Mon, 20 Jul 2020 11:32:55 +0000 (13:32 +0200)] 
catalog: bugfix: save to catalog DB even reconf change

6 years agoDockerfile: add libnghttp2
Daniel Salzman [Mon, 20 Jul 2020 08:03:47 +0000 (10:03 +0200)] 
Dockerfile: add libnghttp2

6 years agodoc/knot-xdp-gun: add notes about requirements
Daniel Salzman [Sun, 19 Jul 2020 18:28:33 +0000 (20:28 +0200)] 
doc/knot-xdp-gun: add notes about requirements

6 years agodistro/deb: add info about the knot-xdp-gun utility
Daniel Salzman [Sun, 19 Jul 2020 18:00:16 +0000 (20:00 +0200)] 
distro/deb: add info about the knot-xdp-gun utility

6 years agotests/conf: fix clang-analyzer warning 'Dereference of null pointer'
Daniel Salzman [Sun, 19 Jul 2020 17:46:45 +0000 (19:46 +0200)] 
tests/conf: fix clang-analyzer warning 'Dereference of null pointer'

6 years agoconf: use static buffer instead of dynamic memory for catalog name
Daniel Salzman [Sun, 19 Jul 2020 17:34:06 +0000 (19:34 +0200)] 
conf: use static buffer instead of dynamic memory for catalog name

6 years agoMerge branch 'noignore_parse_errors' into 'master'
Daniel Salzman [Sun, 19 Jul 2020 17:12:42 +0000 (19:12 +0200)] 
Merge branch 'noignore_parse_errors' into 'master'

nameserver: don't ignore parsing errors, answer FORMERR

See merge request knot/knot-dns!1155

6 years agonameserver: don't ignore parsing errors, answer FORMERR
Libor Peltan [Fri, 17 Jul 2020 15:15:53 +0000 (17:15 +0200)] 
nameserver: don't ignore parsing errors, answer FORMERR

the trick: decreasing 'parsed' throws FORMERR in process_query_out()

the issue: Knot answered NOERROR on query with 2x OPT

6 years agoMerge branch 'requestor_error_reporting' into 'master'
Daniel Salzman [Fri, 17 Jul 2020 08:49:48 +0000 (10:49 +0200)] 
Merge branch 'requestor_error_reporting' into 'master'

Requestor and other error reporting, XFR failover logic, document needed file descriptors

See merge request knot/knot-dns!1152

6 years agorefresh: more detailed IXFR-to-AXFR failover logic
David Vašek [Thu, 16 Jul 2020 16:24:02 +0000 (18:24 +0200)] 
refresh: more detailed IXFR-to-AXFR failover logic

6 years agoMerge branch 'ksk_state_revoked' into 'master'
Daniel Salzman [Fri, 17 Jul 2020 08:23:03 +0000 (10:23 +0200)] 
Merge branch 'ksk_state_revoked' into 'master'

Ksk state revoked

See merge request knot/knot-dns!1153

6 years agoDS push: bugfix: cleanup timers after successful push
Libor Peltan [Thu, 16 Jul 2020 19:58:01 +0000 (21:58 +0200)] 
DS push: bugfix: cleanup timers after successful push

6 years agotests: improved DS push, when roll+push+check too fast
Libor Peltan [Thu, 16 Jul 2020 17:53:25 +0000 (19:53 +0200)] 
tests: improved DS push, when roll+push+check too fast

6 years agodnssec: implemented RFC 5011 KSK revoked state
Libor Peltan [Thu, 16 Jul 2020 17:52:41 +0000 (19:52 +0200)] 
dnssec: implemented RFC 5011 KSK revoked state

...only for manual key management

6 years agolibknot/error: allow to set a default error for knot_map_errno*() function calls
David Vašek [Thu, 16 Jul 2020 13:43:18 +0000 (15:43 +0200)] 
libknot/error: allow to set a default error for knot_map_errno*() function calls

Also, change the default Knot error (for errnos not in the mapping table) from
KNOT_ERROR (-1000) to a new value KNOT_ERRNO_ERROR (-500). The aim is to distinguish
between DNS logic errors and the underlying OS (syscall and library) errors.

6 years agolibknot/error: add support for more system errors
David Vašek [Mon, 13 Jul 2020 10:28:45 +0000 (12:28 +0200)] 
libknot/error: add support for more system errors

6 years agodoc: mention the necessity to configure enough file descriptors
David Vašek [Fri, 10 Jul 2020 22:17:35 +0000 (00:17 +0200)] 
doc: mention the necessity to configure enough file descriptors

6 years agorequestor: report real error when creating and connecting a socket
David Vašek [Fri, 10 Jul 2020 20:46:46 +0000 (22:46 +0200)] 
requestor: report real error when creating and connecting a socket

6 years agohttps: mute some warnings about printf argument mismatch
Daniel Salzman [Thu, 16 Jul 2020 13:45:22 +0000 (15:45 +0200)] 
https: mute some warnings about printf argument mismatch

6 years agocatalog: fixed handling of catDB transactions
Libor Peltan [Wed, 15 Jul 2020 16:15:08 +0000 (18:15 +0200)] 
catalog: fixed handling of catDB transactions

6 years agokeymgr: improve error message from import-bind if a file error
Daniel Salzman [Wed, 15 Jul 2020 14:43:32 +0000 (16:43 +0200)] 
keymgr: improve error message from import-bind if a file error

The primary problem is that zs_set_input_file() always returns ZS_FILE_OPEN
for open() error, so it's impossible to distinguish between file name
and permission errors for example.

closes #683

6 years agoMerge branch 'catalog2' into 'master'
Daniel Salzman [Mon, 13 Jul 2020 18:20:22 +0000 (20:20 +0200)] 
Merge branch 'catalog2' into 'master'

Zone catalog implemeted

See merge request knot/knot-dns!1132

6 years agotests/catalog: small mapsize to work with valgrind --tark-origin
Libor Peltan [Mon, 13 Jul 2020 12:16:11 +0000 (14:16 +0200)] 
tests/catalog: small mapsize to work with valgrind --tark-origin

6 years agokeymgr: fake configuration quoting kasp_db path
Libor Peltan [Fri, 10 Jul 2020 16:11:03 +0000 (18:11 +0200)] 
keymgr: fake configuration quoting kasp_db path

...this was found when running tests-extra in a loop,
having a hashtag in server path

6 years agocatalog: more code comments
Libor Peltan [Wed, 1 Jul 2020 17:35:47 +0000 (19:35 +0200)] 
catalog: more code comments

6 years agocatalog: fix parallel access to cat->txn->cur_val etc
Libor Peltan [Wed, 1 Jul 2020 17:14:37 +0000 (19:14 +0200)] 
catalog: fix parallel access to cat->txn->cur_val etc

6 years agocatalog: use short-term RW transactions
Libor Peltan [Tue, 30 Jun 2020 08:27:29 +0000 (10:27 +0200)] 
catalog: use short-term RW transactions

6 years agokcatalogprint: improve output
Daniel Salzman [Sat, 27 Jun 2020 20:23:51 +0000 (22:23 +0200)] 
kcatalogprint: improve output

6 years agoutils: tiny code unification
Daniel Salzman [Fri, 26 Jun 2020 11:47:44 +0000 (13:47 +0200)] 
utils: tiny code unification

6 years agocatalog: unify API names
Daniel Salzman [Sat, 27 Jun 2020 20:33:53 +0000 (22:33 +0200)] 
catalog: unify API names

6 years agocatalog: only allow normal queries to catalog zone over TCP
Libor Peltan [Fri, 5 Jun 2020 13:04:15 +0000 (15:04 +0200)] 
catalog: only allow normal queries to catalog zone over TCP

6 years agocatalog: check catalog zone version
Libor Peltan [Tue, 14 Apr 2020 16:46:28 +0000 (18:46 +0200)] 
catalog: check catalog zone version

6 years agocatalog: only take PTRs from 'zones' subtree
Libor Peltan [Tue, 14 Apr 2020 16:01:27 +0000 (18:01 +0200)] 
catalog: only take PTRs from 'zones' subtree

6 years agocatalog: added kcatalogprint utility
Libor Peltan [Fri, 3 Apr 2020 16:45:51 +0000 (18:45 +0200)] 
catalog: added kcatalogprint utility

6 years agocatalog zones implemented
Libor Peltan [Wed, 1 Apr 2020 16:57:52 +0000 (18:57 +0200)] 
catalog zones implemented

6 years agoMerge branch 'xdp_gun_popen_fix' into 'master'
Daniel Salzman [Mon, 13 Jul 2020 11:39:36 +0000 (13:39 +0200)] 
Merge branch 'xdp_gun_popen_fix' into 'master'

Xdp gun popen fix

See merge request knot/knot-dns!1149

6 years agoxdp-gun: import popenve from contrib to remove libcap-ng dependency for all utilities
Daniel Salzman [Mon, 13 Jul 2020 10:46:23 +0000 (12:46 +0200)] 
xdp-gun: import popenve from contrib to remove libcap-ng dependency for all utilities

6 years agoRevert "xdp-gun: routing to loopback iface"
Libor Peltan [Wed, 1 Jul 2020 15:29:37 +0000 (17:29 +0200)] 
Revert "xdp-gun: routing to loopback iface"

This reverts commit 2d92925b29535633d0f4825f1a02cb3a54b3b84e.

6 years agoxdp-gun: summarize answers' rcodes
Libor Peltan [Wed, 1 Jul 2020 15:29:25 +0000 (17:29 +0200)] 
xdp-gun: summarize answers' rcodes

6 years agoxdp-gun: routing to loopback iface
Libor Peltan [Wed, 1 Jul 2020 09:47:19 +0000 (11:47 +0200)] 
xdp-gun: routing to loopback iface

6 years agoxdp-gun: change internal exit statuses of child process, add comments
David Vašek [Tue, 30 Jun 2020 12:22:29 +0000 (14:22 +0200)] 
xdp-gun: change internal exit statuses of child process, add comments

6 years agoxdp-gun: mimick the popen() function a little more closely
David Vašek [Fri, 26 Jun 2020 12:47:55 +0000 (14:47 +0200)] 
xdp-gun: mimick the popen() function a little more closely

6 years agoxdp-gun: drop capabilities from subprocess ip
Libor Peltan [Thu, 11 Jun 2020 14:34:54 +0000 (16:34 +0200)] 
xdp-gun: drop capabilities from subprocess ip