Commit graph

1168 commits

Author SHA1 Message Date
Daniel Salzman
1464b18288 kzonecheck: consider zone file name with origin auto-detection
Partially revert 38f65806dd
2025-05-30 13:16:37 +02:00
Daniel Salzman
38f65806dd kzonecheck: use SOA owner from zone file as origin if not specified 2025-05-12 16:33:49 +02:00
Jan Hák
0e152ae5cf sem-checks: add new DNSSEC algorithms 5 and 6 - RFC-9558, RFC-9563 2025-05-05 11:02:58 +02:00
Libor Peltan
2e5a20ab24 semantic-check: allow missing glue if NS is at other delegation...
...not only below
2025-04-30 14:06:18 +02:00
Daniel Salzman
b3cdb3431a tests: relicense to GPL-2.0-or-later 2025-03-24 09:53:50 +01:00
Libor Peltan
c7e0d925e1 dnssec: moved last_signed_serial from kaspDB to timers...
...to gain performance with many zones signing at once
2025-03-17 08:31:29 +01:00
Daniel Salzman
57c978bbea zonefile: refactor zcreator_step() arguments 2025-03-16 20:48:45 +01:00
Daniel Salzman
44120c0b00 zonefile: remove unused zcreator_t.master item 2025-03-16 20:48:45 +01:00
Libor Peltan
f8472acb5f implemented zonefile-skip option 2025-03-12 08:43:36 +01:00
Libor Peltan
daf9f6d0f5 implemented SOA serial shift for backup-signer op 2025-02-08 13:57:56 +01:00
Libor Peltan
c69d77607f bugfix/serial modulo: detect uint32 overflow 2025-01-21 12:34:57 +01:00
David Vašek
aacd827f71 tests/atomic: lower the iteration counts with spinlock-emulated atomics 2024-12-12 20:21:50 +01:00
Jan Hák
e53c99d3cb tests: fix usage of new atomic in code -- test_atomic.c 2024-12-11 17:36:20 +01:00
Daniel Salzman
3efd85c935 tests: don't build tests for atomic and spinlock if disabled daemon
As the tests depend on dthreads and liburcu.

fixes #946
2024-12-07 16:45:37 +01:00
Daniel Salzman
c811d6c0c0 tests: stabilize modules/test_rrl 2024-10-11 07:39:44 +02:00
Jan Hák
6055b7c9f6 acl: add protocol option to the configuration 2024-09-27 12:41:36 +02:00
Jan Hák
aaff152cfd yparser: add support for link-local IPv6 addresses 2024-09-16 12:46:46 +02:00
Jan Doskočil
fad9ce9f34 yparser: new time unit specifiers
w = week
M = month
y = year
2024-08-24 15:17:53 +02:00
Daniel Salzman
05f48507ea rrl: add R (rrl_query()) and W (rrl_update()) support 2024-08-19 16:01:09 +02:00
Jan Doskočil
b3e2a5916f
tests: longer lasting RRSIGs to prevent test breakage by expiration 2024-08-19 13:42:24 +02:00
Jan Doskočil
dc9fe7869d
test_journal: correct potential for truncation in snprintf
fmt string is "i%d" - theoretically if the argument was eg INT_MIN this
could've been 13 chars long, which is why gcc threw a warning
2024-08-16 11:09:30 +02:00
Daniel Salzman
9b42ca0904 rrl: update KRU 2024-08-12 08:01:55 +02:00
Daniel Salzman
934914bf38 module: add protocol processing callback 2024-08-12 08:01:47 +02:00
Daniel Salzman
3187da5791 tests/confdb: fix UBSAN 'applying non-zero offset 1 to null pointer' 2024-07-25 14:25:15 +02:00
Jan Hák
cbae4db7c4 libdnssec: move sample keys from tests to libdnssec 2024-07-19 13:19:19 +02:00
Jan Hák
632d672800 keymgr: add keystore-test command 2024-07-19 13:18:56 +02:00
Libor Peltan
36aff680e4 Merge branch 'NSEC_nonauth_err_code' into 'master'
superfluous NSEC handling

See merge request knot/knot-dns!1686
2024-07-19 09:55:15 +02:00
Libor Peltan
3e4831f8a7 xdp-tcp: ignore SYN+ACK pkts in knotd (only for kxdpgun) 2024-07-11 18:30:29 +02:00
Jan Doskočil
24288b60a6
dnssec: superfluous NSEC semantic test case 2024-07-11 16:46:56 +02:00
Daniel Salzman
af767a6d24 libzscanner: add WALLET rrtype 2024-07-11 12:01:35 +02:00
Daniel Salzman
2e52cfd3b3 libzscanner: add support for 'dohpath' and 'ohttp' SVCB parameters 2024-07-11 09:21:46 +02:00
David Vašek
8e1a5a3e46 contrib/files: return an error code from remove_path() 2024-06-14 15:30:35 +02:00
David Vašek
9b0725be7b contrib/files: in remove_path(), allow remove of directory contents only 2024-06-14 15:30:35 +02:00
Daniel Salzman
7f6692bab5 yparser: fix empty list parsing 2024-05-16 16:57:54 +02:00
Daniel Salzman
12456aede5 tests: extend test set for yparser 2024-05-16 16:57:54 +02:00
David Vašek
80e28bccda tests/atomic: silence false positive Coverity warning (missing lock) 2024-05-06 14:34:51 +02:00
David Vašek
3f2f89ade1 tests/atomic: workaround for a GCC optimization bug on i386
With -O1 and higher, the test of atomic_exchange_explicit() doesn't work right for 64-bit variables
on i386 (and possibly other 32-bit architectures). It seems that atomic_exchange_explicit() doesn't
exchange 64-bit values properly when it's used in a loop and GCC compiler optimization is turned
on. As a workaround, we are testing ATOMIC_XCHG on a pointer size of the given architecture.

It isn't sure yet, if atomic_exchange_explicit() is safe for 64-bit variables with GCC on i386 when
not used in a loop. Therefore, ATOMIC_XCHG should not be used on general 64-bit variables until
this GCC bug is solved.

Clang and gcc -O0 don't seem to be affected by this issue.
2024-05-06 14:34:51 +02:00
David Vašek
b323b0c5d9 tests/atomic: finish the thread early once an invalid value occurs 2024-05-06 14:34:51 +02:00
David Vašek
c994bbe175 contrib/atomic: add an atomic exchange macro 2024-04-30 14:18:43 +02:00
Libor Peltan
dcd77f181c xdp-tcp: send RSTs on all open conns when shutdown 2024-04-22 08:34:11 +02:00
Daniel Salzman
1e9fbcb8d1 conf: add control.backlog configuration option 2024-04-19 14:21:21 +02:00
Libor Peltan
172ac861c1 xdp-tcp: simplify knot_tcp_recv() 2024-04-11 15:43:04 +02:00
Daniel Salzman
f6c1a557d7 conf: add options for XDP preferred busy polling 2024-04-04 10:05:39 +02:00
Daniel Salzman
7d4b53a231 conf: add xdp.ring-size configuration option 2024-04-03 21:40:57 +02:00
Daniel Salzman
b2cba0a723 semchecks: extend SOA presence checks 2024-03-27 08:40:33 +01:00
Lukáš Ondráček
1a868b999e rrl: minor fixes 2024-03-25 15:02:55 +01:00
Daniel Salzman
d57ee54806 tests/rrl: mute missing snprintf() check (Coverity) 2024-03-25 08:08:01 +01:00
Daniel Salzman
c9f8e6cef7 tests/rrl: make the test run faster 2024-03-22 13:54:34 +01:00
Daniel Salzman
bbfa417351 mod-rrl: code cleanup 2024-03-22 13:54:34 +01:00
Lukáš Ondráček
8c42f4fe40 rrl: clean mostly comments 2024-03-22 13:54:34 +01:00