]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Fri, 6 Aug 2021 11:25:43 +0000 (13:25 +0200)]
mod-rrl: add qname to log messages
Daniel Salzman [Mon, 9 Aug 2021 06:05:03 +0000 (08:05 +0200)]
Revert "zscanner: set unspecified TTL in compliance with RFC-1035"
This reverts commit
5849fad7148127e806097da69d6d54018c6c3b8e .
fixes #751
Libor Peltan [Thu, 5 Aug 2021 08:55:57 +0000 (10:55 +0200)]
bugfix/dnssec: sign NSECs correctly
previously, adding RRSIG to the signed node confused
iteration over RRSets, leading to duplicit RRSIGs
of some NSEC(3)s
Jakub Ružička [Wed, 4 Aug 2021 14:33:17 +0000 (16:33 +0200)]
rpm: use autosetup macro to apply patches
%autosetup macro takes care of applying patches without the need
for redundant %patch lines and their management.
Libor Peltan [Wed, 4 Aug 2021 12:21:25 +0000 (14:21 +0200)]
keymgr: default timers for in case missing in bind format
Libor Peltan [Tue, 3 Aug 2021 20:07:19 +0000 (22:07 +0200)]
test/journal: enable 64k (and other weird) page size
Jan Hak [Wed, 4 Aug 2021 09:53:29 +0000 (11:53 +0200)]
kdig: don't show section names when +noall option is set
fixes #749
Jakub Ružička [Mon, 2 Aug 2021 13:35:18 +0000 (15:35 +0200)]
rpm: enable XDP on ARM
Also enable XDP by default and only disable on distros where not
supported. This should be a better default going forward as XDP
implementation matures.
closes !1335 !1337
Jan Hak [Fri, 30 Jul 2021 14:49:52 +0000 (16:49 +0200)]
ucw lists: fix overlapping structures causing a problems at arm architectures
Daniel Salzman [Wed, 4 Aug 2021 08:55:53 +0000 (10:55 +0200)]
kxdpgun: use proper printf formatters to mute warnings on minor platforms
Daniel Salzman [Mon, 2 Aug 2021 07:51:54 +0000 (09:51 +0200)]
python: add long_description_content_type to setup.py
Daniel Salzman [Sun, 1 Aug 2021 18:22:20 +0000 (20:22 +0200)]
Bump version 3.1.0
Daniel Salzman [Wed, 28 Jul 2021 06:26:46 +0000 (08:26 +0200)]
NEWS: add version 3.1.0
Jan Hak [Tue, 27 Jul 2021 14:48:21 +0000 (16:48 +0200)]
python: brief description of the Python API in README.md
Daniel Salzman [Fri, 30 Jul 2021 14:30:44 +0000 (14:30 +0000)]
Merge branch 'test_ksk_rollovers' into 'master'
tests: added more uncluttered KSK rollover test...
See merge request knot/knot-dns!1334
Libor Peltan [Fri, 30 Jul 2021 14:11:39 +0000 (16:11 +0200)]
tests: added more uncluttered KSK rollover test...
...also checking DS-TTL delay after submission
Daniel Salzman [Thu, 29 Jul 2021 20:14:41 +0000 (22:14 +0200)]
doc: extend shared-ksk limitations
Daniel Salzman [Thu, 29 Jul 2021 17:07:30 +0000 (19:07 +0200)]
doc: extend 'xdp.tcp' reference
Daniel Salzman [Wed, 28 Jul 2021 07:02:56 +0000 (09:02 +0200)]
doc: update introduction
Daniel Salzman [Tue, 27 Jul 2021 19:10:38 +0000 (19:10 +0000)]
Merge branch 'apkg-nix' into 'master'
distro/nix: add
See merge request knot/knot-dns!1333
Daniel Salzman [Tue, 27 Jul 2021 18:15:14 +0000 (20:15 +0200)]
distro: add config directory to distribution extras
Vladimír Čunát [Mon, 21 Jun 2021 15:59:28 +0000 (17:59 +0200)]
distro/nix: add
The generated default.nix exactly corresponds to what's on
https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/dns/knot-dns/default.nix
(except for tiny differences directly due to 3.0.8 vs. 3.1.0)
Daniel Salzman [Tue, 27 Jul 2021 14:28:10 +0000 (14:28 +0000)]
Merge branch 'fix_journal_rootzone' into 'master'
two journal bugfixes
See merge request knot/knot-dns!1332
Libor Peltan [Tue, 27 Jul 2021 11:52:27 +0000 (13:52 +0200)]
journal: preserve occupation computation when purging zone while writing it
David Vašek [Mon, 26 Jul 2021 20:25:52 +0000 (22:25 +0200)]
doc/reference: update the catalog-role description
Daniel Salzman [Tue, 27 Jul 2021 08:46:51 +0000 (08:46 +0000)]
Merge branch 'catz_doc_examp' into 'master'
doc/catalog: examples of config
See merge request knot/knot-dns!1321
Libor Peltan [Mon, 26 Jul 2021 18:22:01 +0000 (20:22 +0200)]
journal: bugfix: avoid deleting zero-byte prefix...
...when deleting rootzone-related records
because it also deletes global metadata
Daniel Salzman [Mon, 26 Jul 2021 14:19:42 +0000 (16:19 +0200)]
doc: add migration from 3.0.x to 3.1.x
David Vašek [Mon, 19 Jul 2021 08:15:41 +0000 (10:15 +0200)]
doc/operation: update the web link to the DER format specs, fix a critical typo
Update the web link to ITU-T X.690 Recommendation (DER key format),
the previous standard revision has been superseded. Fix a critical typo.
Daniel Salzman [Tue, 20 Jul 2021 10:15:53 +0000 (12:15 +0200)]
NEWS: synchronize with 3.0 and 2.9 branches
Daniel Salzman [Fri, 23 Jul 2021 15:12:46 +0000 (15:12 +0000)]
Merge branch 'arm-xdp' into 'master'
rpm: disable XDP on ARM
See merge request knot/knot-dns!1331
Jakub Ružička [Thu, 22 Jul 2021 12:17:57 +0000 (14:17 +0200)]
rpm: disable XDP on ARM
This is a temporary solution until issues with XDP on ARM are resolved.
Daniel Salzman [Thu, 22 Jul 2021 13:28:24 +0000 (15:28 +0200)]
conf: add adaptive lmdb readers setting based on current configuration
Daniel Salzman [Mon, 19 Jul 2021 19:36:56 +0000 (21:36 +0200)]
conf: fix TCP processing detection, refactoring
Jan Hak [Mon, 19 Jul 2021 12:06:33 +0000 (14:06 +0200)]
systemd: simplify sd_notify calls
Daniel Salzman [Mon, 19 Jul 2021 11:23:49 +0000 (13:23 +0200)]
server: reduce the worker_pool_status() overhead in the case of many zones
Daniel Salzman [Sun, 18 Jul 2021 19:03:56 +0000 (21:03 +0200)]
server: fix typo in a log message
Daniel Salzman [Sun, 18 Jul 2021 17:02:54 +0000 (19:02 +0200)]
tests-extra: remove broken and unused zone_sign.sh
David Vašek [Sat, 17 Jul 2021 20:37:50 +0000 (22:37 +0200)]
doc: update the web links to Feitian ePass 2003 and Trustway Proteccio NetHSM HSM's
David Vašek [Sat, 17 Jul 2021 20:00:18 +0000 (22:00 +0200)]
doc: update the web link to Ultra Electronics CIS Keyper Plus HSM
Daniel Salzman [Sat, 17 Jul 2021 17:14:31 +0000 (19:14 +0200)]
Replace UNUSED with _unused_
Daniel Salzman [Fri, 16 Jul 2021 16:23:58 +0000 (18:23 +0200)]
configure: update to autoconf 2.69/2.71
Daniel Salzman [Thu, 15 Jul 2021 18:23:18 +0000 (20:23 +0200)]
xdp: remove KNOT_XDP_LISTEN_PORT_MASK from enum to mute pedantic warning
Daniel Salzman [Wed, 30 Jun 2021 13:22:57 +0000 (15:22 +0200)]
mod-geoip: add explicit DNSSEC configuration
Daniel Salzman [Thu, 15 Jul 2021 13:46:32 +0000 (13:46 +0000)]
Merge branch 'xdp_mss' into 'master'
xdp: use same MSS like without xdp
See merge request knot/knot-dns!1330
Libor Peltan [Thu, 15 Jul 2021 13:38:04 +0000 (15:38 +0200)]
xdp: use same MSS like without xdp
Libor Peltan [Thu, 15 Jul 2021 13:17:14 +0000 (13:17 +0000)]
Merge branch 'restricted_mss' into 'master'
Restrict Ethernet TCP MSS to 1220 octects on Linux
Closes #468
See merge request knot/knot-dns!1328
Daniel Salzman [Thu, 15 Jul 2021 10:46:03 +0000 (10:46 +0000)]
Merge branch 'fix_sharedksk_damaged' into 'master'
Fix sharedksk damaged
See merge request knot/knot-dns!1329
Libor Peltan [Thu, 15 Jul 2021 10:31:59 +0000 (12:31 +0200)]
doc/sharedKSK: discourage changing policy ID
Libor Peltan [Thu, 15 Jul 2021 10:27:17 +0000 (12:27 +0200)]
dnssec/sharedKSK: fix creating new KSK if policylast is dangling
Daniel Salzman [Tue, 13 Jul 2021 17:03:06 +0000 (19:03 +0200)]
distro/rpm: add 'V=1' to 'make check' to print failed tests result
Jan Hak [Fri, 19 Mar 2021 12:47:22 +0000 (13:47 +0100)]
net: restrict Ethernet TCP MSS to 1220 octects on Linux
It doesn't work on BSDs. Maybe because of the socket is not yet connected.
Daniel Salzman [Wed, 14 Jul 2021 12:29:13 +0000 (14:29 +0200)]
configure: fix AC_SEARCH_LIBS usage if the result is cached with value 'none required'
Daniel Salzman [Wed, 14 Jul 2021 12:50:57 +0000 (14:50 +0200)]
distro/deb: drop also 'knot_tcp_*' symbols if XDP not available
Daniel Salzman [Wed, 14 Jul 2021 08:45:41 +0000 (10:45 +0200)]
tests-extra: fix notify/timers instability by disabling notify
Daniel Salzman [Wed, 14 Jul 2021 10:57:04 +0000 (10:57 +0000)]
Merge branch 'catalog_gen_groups' into 'master'
Catalog generation with groups
See merge request knot/knot-dns!1324
Daniel Salzman [Wed, 14 Jul 2021 10:44:12 +0000 (12:44 +0200)]
tests-extra/server: unify variable names
Libor Peltan [Thu, 8 Jul 2021 11:16:55 +0000 (13:16 +0200)]
bugfix: don't leak when zone dump fails
Libor Peltan [Fri, 2 Jul 2021 17:02:22 +0000 (19:02 +0200)]
catalog: implemented generating with conf groups
Daniel Salzman [Tue, 13 Jul 2021 11:39:59 +0000 (11:39 +0000)]
Merge branch 'xdp_tcp_mem' into 'master'
XDP-TCP: dont use structures if their allocation fails
See merge request knot/knot-dns!1327
Libor Peltan [Tue, 13 Jul 2021 11:34:12 +0000 (13:34 +0200)]
XDP-TCP: dont use structures if their allocation fails
Daniel Salzman [Tue, 13 Jul 2021 11:14:49 +0000 (13:14 +0200)]
kxdpgun: increase string buffer sizes to avoid theoretical overflow
Daniel Salzman [Tue, 13 Jul 2021 11:03:33 +0000 (13:03 +0200)]
tests/digets: mute unused variable warning if NDEBUG
Daniel Salzman [Tue, 13 Jul 2021 09:29:39 +0000 (09:29 +0000)]
Merge branch 'fix_subm_ttl_override' into 'master'
dnssec: bugfix: dont retire key too soon after submission...
See merge request knot/knot-dns!1326
Libor Peltan [Tue, 13 Jul 2021 08:39:21 +0000 (10:39 +0200)]
dnssec: bugfix: dont retire key too soon after submission...
KSK remove is planned upon submission based on DS TTL
this overrided the planned remove with retire
Daniel Salzman [Tue, 13 Jul 2021 07:30:30 +0000 (09:30 +0200)]
Increase libzscanner and libknot SOVERSION
David Vašek [Mon, 12 Jul 2021 13:08:09 +0000 (15:08 +0200)]
ctl: in txn related commands, don't treat "no active transaction" as errors in all-zone operations
David Vašek [Mon, 12 Jul 2021 13:04:46 +0000 (15:04 +0200)]
doc/knotc: fix a typesetting issue
Daniel Salzman [Mon, 12 Jul 2021 19:02:48 +0000 (19:02 +0000)]
Merge branch 'zone_backup_improvements' into 'master'
backup improvements -- modified backup format (BACKUP_FORMAT_2), label file, improved backup locking, etc.
See merge request knot/knot-dns!1325
Libor Peltan [Mon, 12 Jul 2021 13:07:01 +0000 (15:07 +0200)]
test/backup: check error codes in knot logfiles
David Vašek [Sat, 10 Jul 2021 05:25:11 +0000 (07:25 +0200)]
backup: return KNOT_ENOTSUP when trying to restore from possible future backup format version
Returning KNOT_ENOTSUP makes more sense than returning KNOT_EMALF in such situations.
David Vašek [Fri, 9 Jul 2021 15:16:18 +0000 (17:16 +0200)]
backup: use data item identifier "server_identity" in the label file
David Vašek [Wed, 7 Jul 2021 18:26:18 +0000 (20:26 +0200)]
tests-extra: zone/backup_multi -- remove the test
The test no longer works, as concurrent backups aren't possible in
Knot any more.
David Vašek [Fri, 18 Jun 2021 12:26:59 +0000 (14:26 +0200)]
tests-extra: zone/backup -- make the test more stable in case of repeated server starts
In case of repated server starts (enforced by occupied IP ports), an AXFR may happen
before the testing actually starts. Lower refresh value allows another AXFR of already
expired zone before the test time outs.
David Vašek [Wed, 7 Jul 2021 21:04:07 +0000 (23:04 +0200)]
tests/backup: test (im)possibility of backup/restore in situations
David Vašek [Thu, 1 Jul 2021 06:22:51 +0000 (08:22 +0200)]
zone-backup: make zonefile backup a separate function
David Vašek [Wed, 30 Jun 2021 18:46:54 +0000 (20:46 +0200)]
backup: rename backup_label.{c,h} to more apt backup_dir.{c,h}
David Vašek [Wed, 30 Jun 2021 16:13:34 +0000 (18:13 +0200)]
backup: make the backup directory creation/verification part of the backup labelling code
David Vašek [Tue, 29 Jun 2021 16:34:44 +0000 (18:34 +0200)]
backup: move the lock file and label file related code to independent module
Some changes to the function interfaces.
David Vašek [Fri, 18 Jun 2021 18:11:52 +0000 (20:11 +0200)]
backup: print the full network identity in the label file
David Vašek [Tue, 15 Jun 2021 09:35:58 +0000 (11:35 +0200)]
backup: modify format of the label file, its name and the name of the lock file
David Vašek [Fri, 11 Jun 2021 16:52:23 +0000 (18:52 +0200)]
doc/operation: online backup in the blocking mode -- improvement
David Vašek [Thu, 10 Jun 2021 18:16:52 +0000 (20:16 +0200)]
ctl/backup: a proper error logging/reporting in global catalog zone backup
David Vašek [Fri, 12 Feb 2021 12:07:32 +0000 (13:07 +0100)]
ctl/backup: when the zone is busy, report the error in a standard way (and to knotc too)
Also, make the warning message more correct.
David Vašek [Mon, 7 Jun 2021 19:07:47 +0000 (21:07 +0200)]
backup: when a backup becomes faulty, don't continue with it
David Vašek [Mon, 7 Jun 2021 13:41:52 +0000 (15:41 +0200)]
backup: zone-restore doesn't need a lock file
David Vašek [Sun, 6 Jun 2021 12:57:35 +0000 (14:57 +0200)]
backup: display zone count in the label file
It's enough to count planned backup events. Counting finished zones isn't necessary.
David Vašek [Sun, 6 Jun 2021 08:23:14 +0000 (10:23 +0200)]
libknot/error: a more universal error string -- "parameter conflict"
The new string can be used in other situations better in the future.
The original string hasn't appeared in a release yet.
David Vašek [Sun, 6 Jun 2021 08:16:32 +0000 (10:16 +0200)]
backup: a more correct check for backup_dir existence in zone-restore
It's a little bit more code and one additional stat() call, but it's more resilient to
future changes in the code. From user's point of view the functionality is the same.
David Vašek [Sun, 6 Jun 2021 09:22:05 +0000 (11:22 +0200)]
libknot/error: add a new error code -- KNOT_ENOTDIR
It fixes error reporting from syscalls and functions such as make_dir().
David Vašek [Mon, 7 Jun 2021 08:02:34 +0000 (10:02 +0200)]
contrib/files: return KNOT_EEXIST from make_dir()
Return KNOT_EEXIST from make_dir() when the target already exists, but it isn't a directory.
The previous error code could be misleading and it hadn't been defined in the first place.
David Vašek [Fri, 4 Jun 2021 19:43:56 +0000 (21:43 +0200)]
backup: updated backup format (BACKUP_FORMAT_2)
Functional changes:
1. Zone files are stored in a dedicated directory.
2. Zone files use the zones' default file names in the backup,
not the file names defined in the configuration as before. This
change eleminates file name conflicts which were possible with the
original backup design.
David Vašek [Fri, 4 Jun 2021 19:43:18 +0000 (21:43 +0200)]
backup: get the backup format version to be used by restore
Iff there isn't a label file and the force flag is set, use the original backup
format for restore.
Otherwise report a backup without a label file as malformed.
If there is an empty label file, the label file doesn't start with a label file
header, the label file doesn't include a backup format description, or the backup
format code isn't known, consider it a malformed backup and don't restore from it,
even if the force flag has been set.
David Vašek [Tue, 1 Jun 2021 14:23:05 +0000 (16:23 +0200)]
backup: add backup format versioning
David Vašek [Wed, 2 Jun 2021 14:15:44 +0000 (16:15 +0200)]
zone backup: source code style improvement
Sort the #include statements alphabetically and remove a duplicity.
Break up a too long macro line.
David Vašek [Wed, 19 May 2021 14:25:02 +0000 (16:25 +0200)]
backup: make the recent code a little more compact
David Vašek [Wed, 19 May 2021 14:14:59 +0000 (16:14 +0200)]
backup: label successful backups only, keep the lock file in failed ones
The label file is a warrant that the backup has benn successfully completed
and can be safely used for a restore.
David Vašek [Wed, 19 May 2021 13:00:55 +0000 (15:00 +0200)]
backup: if the backup label can't be created, propagate the error up and to the client
David Vašek [Mon, 10 May 2021 21:04:21 +0000 (23:04 +0200)]
backup: add an "-f" parameter for zone-restore
The "-f" parameter for zone-restore allows restore from older backups
which have been created without a backup label file.
David Vašek [Fri, 30 Apr 2021 17:33:17 +0000 (19:33 +0200)]
backup: create a backup label and check for its existence
The label file identifies the backup an prevents another backup to be made
to an already existing backup. Existence of a label file is necessary for a restore,
which helps to prevent a frequent user error and to avoid a number of failures
which would be triggered by it.
In addition to that, every label file contains a brief description
of the backup and its parameters. A list of zones that the backup contains
isn't included so far.