]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
4 years agoxdp-tcp: simplify code
Libor Peltan [Thu, 4 Nov 2021 12:35:28 +0000 (13:35 +0100)] 
xdp-tcp: simplify code

4 years agoxdp-tcp: simplified code moving conn from syn_table
Libor Peltan [Thu, 4 Nov 2021 12:32:06 +0000 (13:32 +0100)] 
xdp-tcp: simplified code moving conn from syn_table

4 years agoxdp-tcp: simplify code around freeing conn
Libor Peltan [Thu, 4 Nov 2021 11:10:57 +0000 (12:10 +0100)] 
xdp-tcp: simplify code around freeing conn

4 years agoxdp-tcp: bugfix: dont remove connection if wrong SEQ sent
Libor Peltan [Thu, 4 Nov 2021 10:48:34 +0000 (11:48 +0100)] 
xdp-tcp: bugfix: dont remove connection if wrong SEQ sent

4 years agoxdp-tcp: remove conn from table immediately, free later
Libor Peltan [Thu, 4 Nov 2021 10:47:39 +0000 (11:47 +0100)] 
xdp-tcp: remove conn from table immediately, free later

4 years agoxdp-tcp: respond invalid SYN or RST with challenge ACK
Libor Peltan [Wed, 13 Oct 2021 07:48:17 +0000 (09:48 +0200)] 
xdp-tcp: respond invalid SYN or RST with challenge ACK

4 years agoxdp-tcp: allow configuring separate SYN table
Libor Peltan [Fri, 8 Oct 2021 09:52:46 +0000 (11:52 +0200)] 
xdp-tcp: allow configuring separate SYN table

4 years agoxdp-tcp: fix errors in SYN-table manipulation
Libor Peltan [Fri, 8 Oct 2021 09:14:42 +0000 (11:14 +0200)] 
xdp-tcp: fix errors in SYN-table manipulation

4 years agoxdp-tcp: response RST shall have seqno according to packet...
Libor Peltan [Fri, 8 Oct 2021 07:30:51 +0000 (09:30 +0200)] 
xdp-tcp: response RST shall have seqno according to packet...

...not the connection

4 years agomodules: enable measuring RTT for xdp-tcp
Libor Peltan [Tue, 21 Sep 2021 14:41:44 +0000 (16:41 +0200)] 
modules: enable measuring RTT for xdp-tcp

4 years agoxdp-tcp: better handling of TCP window options
Libor Peltan [Tue, 21 Sep 2021 08:01:42 +0000 (10:01 +0200)] 
xdp-tcp: better handling of TCP window options

4 years agoxdp-tcp: tiny code improvement
Libor Peltan [Tue, 21 Sep 2021 06:50:52 +0000 (08:50 +0200)] 
xdp-tcp: tiny code improvement

4 years agoxdp-tcp: honor foreign TCP window size
Libor Peltan [Mon, 20 Sep 2021 16:50:24 +0000 (18:50 +0200)] 
xdp-tcp: honor foreign TCP window size

4 years agoxdp-tcp: major refactoring + store outgoing buffers
Libor Peltan [Fri, 10 Sep 2021 14:56:33 +0000 (16:56 +0200)] 
xdp-tcp: major refactoring + store outgoing buffers

- both unsent and unacked buffers of outgoing payload stored
- no longer uses dynarray
- multiple in-buffers per relay
- packets are only sent in knot_tcp_send()

4 years agoxdp-tcp: bugfix: incomming RST has no ackno
Libor Peltan [Mon, 20 Sep 2021 15:55:31 +0000 (17:55 +0200)] 
xdp-tcp: bugfix: incomming RST has no ackno

4 years agoxdp-tcp: bugfix: better handling of different conn-closing states
Libor Peltan [Wed, 8 Sep 2021 15:22:25 +0000 (17:22 +0200)] 
xdp-tcp: bugfix: better handling of different conn-closing states

4 years agobackup: in restore, scrape the old journal only when restoring the zonefile
David Vašek [Tue, 15 Mar 2022 15:47:16 +0000 (16:47 +0100)] 
backup: in restore, scrape the old journal only when restoring the zonefile

4 years agodistro: get rid of knot.tmpfile
Daniel Salzman [Sun, 20 Feb 2022 20:21:41 +0000 (21:21 +0100)] 
distro: get rid of knot.tmpfile

4 years agodistro: harden systemd service
Daniel Salzman [Sun, 20 Feb 2022 20:17:09 +0000 (21:17 +0100)] 
distro: harden systemd service

4 years agodistro: move CentOS 7 to el-7 template
Daniel Salzman [Sun, 20 Feb 2022 19:55:08 +0000 (20:55 +0100)] 
distro: move CentOS 7 to el-7 template

4 years agoconfigure: upgrade from AC_PROG_CC_C99 to AC_PROG_CC
Daniel Salzman [Sun, 20 Feb 2022 19:38:02 +0000 (20:38 +0100)] 
configure: upgrade from AC_PROG_CC_C99 to AC_PROG_CC

4 years agoci: replace centos with rocky
Daniel Salzman [Mon, 14 Mar 2022 17:00:16 +0000 (18:00 +0100)] 
ci: replace centos with rocky

4 years agotests: harden refresh_limits test on slow env
Libor Peltan [Fri, 11 Mar 2022 12:40:43 +0000 (13:40 +0100)] 
tests: harden refresh_limits test on slow env

4 years agotests-extra: improve format of the environment.log
Daniel Salzman [Fri, 11 Mar 2022 11:31:34 +0000 (12:31 +0100)] 
tests-extra: improve format of the environment.log

4 years agoMerge branch 'kdig_xfr_stat' into 'master'
Daniel Salzman [Fri, 11 Mar 2022 09:00:08 +0000 (10:00 +0100)] 
Merge branch 'kdig_xfr_stat' into 'master'

kdig/xfr: print stats even if failed...

See merge request knot/knot-dns!1440

4 years agoMerge branch 'load_journal_simply' into 'master'
Daniel Salzman [Fri, 11 Mar 2022 08:55:35 +0000 (09:55 +0100)] 
Merge branch 'load_journal_simply' into 'master'

load: apply journal on zonefile whenever possible...

See merge request knot/knot-dns!1441

4 years agocontrib/net: enable resetting TCP conn with RST
Libor Peltan [Thu, 10 Mar 2022 16:40:06 +0000 (17:40 +0100)] 
contrib/net: enable resetting TCP conn with RST

4 years agokdig/xfr: print stats even if failed...
Libor Peltan [Thu, 10 Mar 2022 16:39:32 +0000 (17:39 +0100)] 
kdig/xfr: print stats even if failed...

...this helps debugging when multi-message
XFR fails after already receiving some

4 years agocatalog: bugfix: set zone flag early in zone_t
Libor Peltan [Thu, 10 Mar 2022 10:49:42 +0000 (11:49 +0100)] 
catalog: bugfix: set zone flag early in zone_t

4 years agoload: apply journal on zonefile whenever possible...
Libor Peltan [Wed, 9 Mar 2022 11:57:44 +0000 (12:57 +0100)] 
load: apply journal on zonefile whenever possible...

this commit removes an optimization that with
no-cold start and zonefile evidently modified
it skips loading from journal whatsoever

it could have some marginal side-effects and is
no longer maintainable

4 years agocatalog: loading member based on catalogDB, check if its catalog still exists
Libor Peltan [Tue, 8 Mar 2022 16:15:46 +0000 (17:15 +0100)] 
catalog: loading member based on catalogDB, check if its catalog still exists

4 years agoconf: fix conf_zone_get() return value if missing catalog template
Daniel Salzman [Mon, 7 Mar 2022 13:27:49 +0000 (14:27 +0100)] 
conf: fix conf_zone_get() return value if missing catalog template

4 years agoMerge branch 'validate_incept_future' into 'master'
Daniel Salzman [Tue, 8 Mar 2022 14:17:35 +0000 (15:17 +0100)] 
Merge branch 'validate_incept_future' into 'master'

dnssec/verify: check possible RRSIG future inception

See merge request knot/knot-dns!1439

4 years agodnssec/verify: check possible RRSIG future inception
Libor Peltan [Tue, 8 Mar 2022 13:48:54 +0000 (14:48 +0100)] 
dnssec/verify: check possible RRSIG future inception

4 years agoMerge branch 'ds_query_remold' into 'master'
Daniel Salzman [Mon, 7 Mar 2022 12:42:52 +0000 (13:42 +0100)] 
Merge branch 'ds_query_remold' into 'master'

DS query check removed old DS

See merge request knot/knot-dns!1432

4 years agoCDS/CDNSKEY: in case of alg roll, don't double-ds
Libor Peltan [Tue, 22 Feb 2022 12:08:10 +0000 (13:08 +0100)] 
CDS/CDNSKEY: in case of alg roll, don't double-ds

4 years agoDS check: in case of alg roll, verify that old DS disappeared
Libor Peltan [Tue, 22 Feb 2022 10:26:55 +0000 (11:26 +0100)] 
DS check: in case of alg roll, verify that old DS disappeared

4 years agotests: improve test key_rollovers
Libor Peltan [Mon, 21 Feb 2022 18:01:12 +0000 (19:01 +0100)] 
tests: improve test key_rollovers

4 years agodnssec/rollovers: refactoring: better detect keys to be rolled out
Libor Peltan [Mon, 21 Feb 2022 18:01:00 +0000 (19:01 +0100)] 
dnssec/rollovers: refactoring: better detect keys to be rolled out

4 years agoDS query: refactoring, don't need private keyset
Libor Peltan [Mon, 21 Feb 2022 13:12:29 +0000 (14:12 +0100)] 
DS query: refactoring, don't need private keyset

4 years agoMerge branch 'distrotests-rocky8' into 'master'
Daniel Salzman [Mon, 7 Mar 2022 12:00:55 +0000 (13:00 +0100)] 
Merge branch 'distrotests-rocky8' into 'master'

distro/tests: use rocky8 instead of centos8

See merge request knot/knot-dns!1438

4 years agoci: add some doc comments for distotest job
Tomas Krizek [Mon, 7 Mar 2022 09:34:50 +0000 (10:34 +0100)] 
ci: add some doc comments for distotest job

4 years agodistro/tests: use rocky8 instead of centos8
Tomas Krizek [Mon, 7 Mar 2022 09:33:55 +0000 (10:33 +0100)] 
distro/tests: use rocky8 instead of centos8

4 years agodistro/tests: add Rocky support
Tomas Krizek [Mon, 7 Mar 2022 09:32:31 +0000 (10:32 +0100)] 
distro/tests: add Rocky support

4 years agoMerge branch 'rrsig_timestamps_64bit' into 'master'
Daniel Salzman [Fri, 4 Mar 2022 13:42:14 +0000 (14:42 +0100)] 
Merge branch 'rrsig_timestamps_64bit' into 'master'

RRSIG: allow timestamps past year 2106

See merge request knot/knot-dns!1427

4 years agotests-extra/load: add zone signed in the far future
Daniel Salzman [Fri, 4 Mar 2022 13:32:43 +0000 (14:32 +0100)] 
tests-extra/load: add zone signed in the far future

4 years agozscanner: parsing timestamps up to year 2225 (was 2105)
Libor Peltan [Thu, 3 Mar 2022 13:49:47 +0000 (14:49 +0100)] 
zscanner: parsing timestamps up to year 2225 (was 2105)

4 years agodump: allow rrsig timestamps past year 2106 in txt format...
Libor Peltan [Fri, 28 Jan 2022 16:58:00 +0000 (17:58 +0100)] 
dump: allow rrsig timestamps past year 2106 in txt format...

...and optimized not to obtain time(NULL) on every
dumped rdata in the cases of zone file, kdig and kjournalprint

4 years agodnssec: calculate rrsig expiration in 64bit timers
Libor Peltan [Fri, 28 Jan 2022 16:56:14 +0000 (17:56 +0100)] 
dnssec: calculate rrsig expiration in 64bit timers

4 years agoknot-time: enable converting RRSIG 32-bit timestamp to real 64-bit time...
Libor Peltan [Fri, 28 Jan 2022 16:12:59 +0000 (17:12 +0100)] 
knot-time: enable converting RRSIG 32-bit timestamp to real 64-bit time...

...according to what is 64-bit 'now'

4 years agodnssec: allow signing past year 2106
Libor Peltan [Fri, 28 Jan 2022 14:15:00 +0000 (15:15 +0100)] 
dnssec: allow signing past year 2106

4 years agoctl: fix listing current zones
Daniel Salzman [Thu, 3 Mar 2022 12:04:30 +0000 (13:04 +0100)] 
ctl: fix listing current zones

4 years agoMerge branch 'zone-status-catalog' into 'master'
Libor Peltan [Thu, 3 Mar 2022 11:34:39 +0000 (12:34 +0100)] 
Merge branch 'zone-status-catalog' into 'master'

Add catalog zone info to zone-status

See merge request knot/knot-dns!1437

4 years agotests/catalog: enable check in call.out's how zone-status logs catalog
Libor Peltan [Wed, 2 Mar 2022 20:25:24 +0000 (21:25 +0100)] 
tests/catalog: enable check in call.out's how zone-status logs catalog

4 years agoknotc: Prints catalog zone info durig the zone-status command
Jan Hák [Tue, 1 Mar 2022 10:21:42 +0000 (11:21 +0100)] 
knotc: Prints catalog zone info durig the zone-status command

4 years agotests: improve one test stability
Libor Peltan [Tue, 1 Mar 2022 11:27:12 +0000 (12:27 +0100)] 
tests: improve one test stability

4 years agoMerge branch 'can_expire' into 'master'
Daniel Salzman [Tue, 1 Mar 2022 09:13:28 +0000 (10:13 +0100)] 
Merge branch 'can_expire' into 'master'

simplify code

See merge request knot/knot-dns!1436

4 years agosimplify code
Libor Peltan [Tue, 1 Mar 2022 08:36:02 +0000 (09:36 +0100)] 
simplify code

4 years agodoc: add and update refresh/retry/expire min/max zone options
Daniel Salzman [Mon, 28 Feb 2022 15:14:36 +0000 (16:14 +0100)] 
doc: add and update refresh/retry/expire min/max zone options

4 years agokeymgr: print better error if insufficient permissions when importing SKR
Daniel Salzman [Mon, 28 Feb 2022 14:42:01 +0000 (15:42 +0100)] 
keymgr: print better error if insufficient permissions when importing SKR

4 years agoMerge branch 'refresh_limits' into 'master'
Daniel Salzman [Mon, 28 Feb 2022 10:16:42 +0000 (11:16 +0100)] 
Merge branch 'refresh_limits' into 'master'

Refresh limits

Closes #785

See merge request knot/knot-dns!1435

4 years agoctl: mute Coverity
Daniel Salzman [Mon, 28 Feb 2022 07:07:55 +0000 (08:07 +0100)] 
ctl: mute Coverity

4 years agorefresh: don't impose limits on expire when EDNS expire takes effect
Libor Peltan [Fri, 25 Feb 2022 16:23:29 +0000 (17:23 +0100)] 
refresh: don't impose limits on expire when EDNS expire takes effect

4 years agorefresh: configurable min/max for refresh/retry/expire
Libor Peltan [Fri, 25 Feb 2022 15:55:06 +0000 (16:55 +0100)] 
refresh: configurable min/max for refresh/retry/expire

4 years agoMerge branch 'edns_expire_addenda' into 'master'
Daniel Salzman [Thu, 24 Feb 2022 16:22:01 +0000 (17:22 +0100)] 
Merge branch 'edns_expire_addenda' into 'master'

RFC 7314 (EDNS Expire) implementation

See merge request knot/knot-dns!1433

4 years agotests-extra: use zone-xfr-freeze/thaw in zone/expire
Daniel Salzman [Thu, 24 Feb 2022 15:08:02 +0000 (16:08 +0100)] 
tests-extra: use zone-xfr-freeze/thaw in zone/expire

4 years agorefresh: unify log messages
Daniel Salzman [Thu, 24 Feb 2022 15:36:19 +0000 (16:36 +0100)] 
refresh: unify log messages

4 years agoquery: extend query_edns_data_init()
Daniel Salzman [Wed, 23 Feb 2022 15:59:41 +0000 (16:59 +0100)] 
query: extend query_edns_data_init()

4 years agorefresh: improve EDNS Expire (RFC 7314, section 4, second paragraph)
David Vašek [Mon, 17 Jan 2022 16:52:26 +0000 (17:52 +0100)] 
refresh: improve EDNS Expire (RFC 7314, section 4, second paragraph)

4 years agoquery: further query_edns_data_init() cleanup and simplification
David Vašek [Wed, 12 Jan 2022 10:39:40 +0000 (11:39 +0100)] 
query: further query_edns_data_init() cleanup and simplification

4 years agoquery: simplify the interface of query_edns_data_init()
David Vašek [Wed, 12 Jan 2022 10:30:02 +0000 (11:30 +0100)] 
query: simplify the interface of query_edns_data_init()

The parameter "zone" hasn't been needed since:
https://gitlab.nic.cz/knot/knot-dns/-/commit/459a1d30bda7531d19cb9eb0e35de308899815af
(conf: remove request-edns-option option)

4 years agotests: backup stdout and stderr of previous runs
Libor Peltan [Mon, 20 Dec 2021 18:20:51 +0000 (19:20 +0100)] 
tests: backup stdout and stderr of previous runs

4 years agotests: fixed port usage detection...
Libor Peltan [Mon, 20 Dec 2021 18:20:12 +0000 (19:20 +0100)] 
tests: fixed port usage detection...

...to omit connections established TO the port in question

4 years agoimplemented EDNS Expire RFC7314
Libor Peltan [Fri, 17 Dec 2021 14:13:17 +0000 (15:13 +0100)] 
implemented EDNS Expire RFC7314

4 years agotimers: refactoring: store expire timestamp instead of last refresh
Libor Peltan [Fri, 17 Dec 2021 09:22:44 +0000 (10:22 +0100)] 
timers: refactoring: store expire timestamp instead of last refresh

4 years agoMerge branch 'knotc-autocomplete-cat' into 'master'
Daniel Salzman [Thu, 24 Feb 2022 15:38:38 +0000 (16:38 +0100)] 
Merge branch 'knotc-autocomplete-cat' into 'master'

Knotc extended completion

See merge request knot/knot-dns!1431

4 years agoman/knsupdate: update interactive prompt in the example
Daniel Salzman [Thu, 24 Feb 2022 08:04:23 +0000 (09:04 +0100)] 
man/knsupdate: update interactive prompt in the example

4 years agoknsupdate: fix missing section names in the show output
Daniel Salzman [Thu, 24 Feb 2022 08:02:59 +0000 (09:02 +0100)] 
knsupdate: fix missing section names in the show output

4 years agoMerge branch 'catalog_dup_cold_start' into 'master'
Daniel Salzman [Wed, 23 Feb 2022 11:15:36 +0000 (12:15 +0100)] 
Merge branch 'catalog_dup_cold_start' into 'master'

catalog: ignore (not fail) duplicate additions...

Closes #786

See merge request knot/knot-dns!1434

4 years agocatalog: ignore (not fail) duplicate additions...
Libor Peltan [Wed, 23 Feb 2022 10:40:41 +0000 (11:40 +0100)] 
catalog: ignore (not fail) duplicate additions...

...as they might happen while cold start when duplicate
members had been added successively and ignored

4 years agotests/confio: extend tests for conf_io_list()
Daniel Salzman [Tue, 22 Feb 2022 15:49:44 +0000 (16:49 +0100)] 
tests/confio: extend tests for conf_io_list()

4 years agoknotc: fix possible configuration ambiguity in the interactive mode
Daniel Salzman [Tue, 22 Feb 2022 12:23:16 +0000 (13:23 +0100)] 
knotc: fix possible configuration ambiguity in the interactive mode

4 years agoknotc: complete also item separators '.', '[', ']'
Daniel Salzman [Tue, 22 Feb 2022 11:28:53 +0000 (12:28 +0100)] 
knotc: complete also item separators '.', '[', ']'

4 years agoknotc: don't complete duplicate zone names and item options
Daniel Salzman [Tue, 22 Feb 2022 08:40:40 +0000 (09:40 +0100)] 
knotc: don't complete duplicate zone names and item options

4 years agoknotc: add option item completion for conf-set and ID completion for e.g. zone.domain...
Daniel Salzman [Fri, 18 Feb 2022 16:00:05 +0000 (16:00 +0000)] 
knotc: add option item completion for conf-set and ID completion for e.g. zone.domain <TAB>

Refactoring, fixed ID completion, and value completion only if active TXN

4 years agoknotc: add config item value completion
Daniel Salzman [Thu, 17 Feb 2022 08:49:16 +0000 (09:49 +0100)] 
knotc: add config item value completion

4 years agoknotc: merge similar code for completion
Daniel Salzman [Thu, 17 Feb 2022 08:31:05 +0000 (09:31 +0100)] 
knotc: merge similar code for completion

4 years agoctl: extend conf-list with ID listing and getting runtime zone list
Daniel Salzman [Wed, 16 Feb 2022 15:42:33 +0000 (16:42 +0100)] 
ctl: extend conf-list with ID listing and getting runtime zone list

4 years agoci: remove no longer supported Debian 9
Daniel Salzman [Mon, 31 Jan 2022 09:32:40 +0000 (10:32 +0100)] 
ci: remove no longer supported Debian 9

4 years agoMerge branch 'test_catalog_ds_push' into 'master'
Daniel Salzman [Tue, 15 Feb 2022 07:27:20 +0000 (08:27 +0100)] 
Merge branch 'test_catalog_ds_push' into 'master'

tests: fixed catalog/kill after DS push is postponed by prop-delay

See merge request knot/knot-dns!1430

4 years agotests: fixed catalog/kill after DS push is postponed by prop-delay
Libor Peltan [Mon, 14 Feb 2022 19:43:35 +0000 (20:43 +0100)] 
tests: fixed catalog/kill after DS push is postponed by prop-delay

4 years agoMerge branch 'ds_check_delay' into 'master'
Daniel Salzman [Tue, 8 Feb 2022 07:38:10 +0000 (08:38 +0100)] 
Merge branch 'ds_check_delay' into 'master'

Ds check delay

See merge request knot/knot-dns!1429

4 years agodnssec: plan ds-push only if configured
Daniel Salzman [Mon, 7 Feb 2022 20:18:28 +0000 (21:18 +0100)] 
dnssec: plan ds-push only if configured

4 years agoconf: add or remove CONF_IO_FRLD_ZONES in policy and submission where appropriate
Daniel Salzman [Mon, 7 Feb 2022 19:43:49 +0000 (20:43 +0100)] 
conf: add or remove CONF_IO_FRLD_ZONES in policy and submission where appropriate

4 years agodnssec: wait for propagation-delay before DS push
Libor Peltan [Mon, 7 Feb 2022 18:34:58 +0000 (19:34 +0100)] 
dnssec: wait for propagation-delay before DS push

4 years agodnssec/DS-check: allow delay post-active after KSK submission
Libor Peltan [Mon, 7 Feb 2022 18:25:36 +0000 (19:25 +0100)] 
dnssec/DS-check: allow delay post-active after KSK submission

4 years agolibdnssec: merge DNSSEC-related constants from libknot
Daniel Salzman [Fri, 4 Feb 2022 14:45:26 +0000 (15:45 +0100)] 
libdnssec: merge DNSSEC-related constants from libknot

4 years agozone: log remote error as info instead of debug
Daniel Salzman [Mon, 7 Feb 2022 11:21:57 +0000 (12:21 +0100)] 
zone: log remote error as info instead of debug

4 years agodbus: add signal for failed DNSSEC validation
Daniel Salzman [Mon, 7 Feb 2022 07:54:35 +0000 (08:54 +0100)] 
dbus: add signal for failed DNSSEC validation

4 years agoMerge branch 'knsupdate-libedit' into 'master'
Daniel Salzman [Fri, 4 Feb 2022 10:30:26 +0000 (11:30 +0100)] 
Merge branch 'knsupdate-libedit' into 'master'

Knsupdate with libedit

See merge request knot/knot-dns!1428