]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
8 years agotests-fuzz: add new stdio-wrapped knotd
Daniel Salzman [Sun, 4 Mar 2018 20:46:24 +0000 (21:46 +0100)] 
tests-fuzz: add new stdio-wrapped knotd

8 years agoudp: change _udp_deinit() return type to void
Daniel Salzman [Wed, 7 Mar 2018 10:40:47 +0000 (11:40 +0100)] 
udp: change _udp_deinit() return type to void

8 years agoMerge branch 'purge_orphan' into 'master'
Daniel Salzman [Mon, 5 Mar 2018 12:00:28 +0000 (13:00 +0100)] 
Merge branch 'purge_orphan' into 'master'

Purge orphaned zones with knotc

See merge request knot/knot-dns!885

8 years agoctl: added option to purge orphaned zones
Mark Karpilovskij [Thu, 22 Feb 2018 09:36:05 +0000 (10:36 +0100)] 
ctl: added option to purge orphaned zones

8 years agoconf: mute 'failed to activate modules' if no template is configured
Daniel Salzman [Mon, 5 Mar 2018 11:37:10 +0000 (12:37 +0100)] 
conf: mute 'failed to activate modules' if no template is configured

8 years agoMerge branch 'nsec_minimal_ttl_change' into 'master'
Daniel Salzman [Sat, 3 Mar 2018 10:34:12 +0000 (11:34 +0100)] 
Merge branch 'nsec_minimal_ttl_change' into 'master'

Nsec minimal ttl change

See merge request knot/knot-dns!886

8 years agodnssec: bugfix: care about TTL when comparing NSECs
Libor Peltan [Fri, 2 Mar 2018 15:09:35 +0000 (16:09 +0100)] 
dnssec: bugfix: care about TTL when comparing NSECs

8 years agodnssec: re-create NSEC chain when SOA minimal TTL changes
Libor Peltan [Fri, 2 Mar 2018 14:11:36 +0000 (15:11 +0100)] 
dnssec: re-create NSEC chain when SOA minimal TTL changes

8 years agotests: unified dnssec key rollover tests
Libor Peltan [Fri, 2 Mar 2018 16:06:04 +0000 (17:06 +0100)] 
tests: unified dnssec key rollover tests

8 years agotests-fuzz: replace asserts with regular checks to mute warnings
Daniel Salzman [Fri, 2 Mar 2018 13:39:03 +0000 (14:39 +0100)] 
tests-fuzz: replace asserts with regular checks to mute warnings

8 years agotests-fuzz: add AFL detection to fuzz_packet and fuzz_zscanner
Daniel Salzman [Fri, 2 Mar 2018 08:00:31 +0000 (09:00 +0100)] 
tests-fuzz: add AFL detection to fuzz_packet and fuzz_zscanner

8 years agokaspdb: fix failing key deletion and delete all relevant data
Mark Karpilovskij [Fri, 2 Mar 2018 14:19:32 +0000 (15:19 +0100)] 
kaspdb: fix failing key deletion and delete all relevant data

8 years agotests-fuzz: update and rename submodules
Daniel Salzman [Thu, 1 Mar 2018 22:31:57 +0000 (23:31 +0100)] 
tests-fuzz: update and rename submodules

8 years agoconfigure: simplify sanitizer and fuzzer detections
Daniel Salzman [Thu, 1 Mar 2018 09:21:01 +0000 (10:21 +0100)] 
configure: simplify sanitizer and fuzzer detections

8 years agotests: added normal algorithm rollover to csk_rollovers test
Libor Peltan [Fri, 2 Mar 2018 08:23:34 +0000 (09:23 +0100)] 
tests: added normal algorithm rollover to csk_rollovers test

8 years agoDockerfile: update distro, ports, and dependencies
Daniel Salzman [Fri, 2 Mar 2018 07:50:04 +0000 (08:50 +0100)] 
Dockerfile: update distro, ports, and dependencies

Thanks to Andrew Latham!

8 years agodoc: fix typo
Daniel Salzman [Fri, 2 Mar 2018 07:41:48 +0000 (08:41 +0100)] 
doc: fix typo

8 years agoknotd: replace abort() with exit(EXIT_FAILURE) to suppress core dumping
Daniel Salzman [Wed, 28 Feb 2018 09:25:01 +0000 (10:25 +0100)] 
knotd: replace abort() with exit(EXIT_FAILURE) to suppress core dumping

8 years agotests-extra: add module detection to onlinesign_rollovers
Daniel Salzman [Tue, 27 Feb 2018 18:07:58 +0000 (19:07 +0100)] 
tests-extra: add module detection to onlinesign_rollovers

8 years agoudp,tcp: remove extra knot_pkt_free due to memory pool flush
Daniel Salzman [Tue, 27 Feb 2018 17:55:19 +0000 (18:55 +0100)] 
udp,tcp: remove extra knot_pkt_free due to memory pool flush

8 years agotcp: don't continue if getpeername failed
Daniel Salzman [Tue, 27 Feb 2018 17:07:08 +0000 (18:07 +0100)] 
tcp: don't continue if getpeername failed

8 years agoserver: another unification
Daniel Salzman [Tue, 27 Feb 2018 13:49:27 +0000 (14:49 +0100)] 
server: another unification

8 years agoserver: unify code + coding style
Daniel Salzman [Tue, 27 Feb 2018 12:02:58 +0000 (13:02 +0100)] 
server: unify code + coding style

8 years agoMerge branch 'dkg/knot-dns-doc-cleanup'
Daniel Salzman [Mon, 26 Feb 2018 16:01:30 +0000 (17:01 +0100)] 
Merge branch 'dkg/knot-dns-doc-cleanup'

8 years agoFix minor spelling nit-picks
Daniel Kahn Gillmor [Fri, 23 Feb 2018 19:42:51 +0000 (11:42 -0800)] 
Fix minor spelling nit-picks

These were found by the "codespell" tool.

8 years agopykeymgr: change "endianess" argument to "endianness"
Daniel Kahn Gillmor [Fri, 23 Feb 2018 19:41:29 +0000 (11:41 -0800)] 
pykeymgr: change "endianess" argument to "endianness"

This fixes a simple spelling mistake.

Changing the name of an optional parameter is potentially dicey, but
in python3, int.to_bytes calls this parameter "byteorder" so i doubt
that anyone is using the misspelled "endianess" anywhere outside of
pykeymgr anyway.

8 years agoProvide direntry, description, and category for makeinfo
Daniel Kahn Gillmor [Fri, 23 Feb 2018 05:44:50 +0000 (21:44 -0800)] 
Provide direntry, description, and category for makeinfo

info documents generally like to have a category and a directory entry
available for system-wide indexing.  I can't find anyone who uses a
category other than Miscellaneous for the category, sadly, but
apparently info will be happier with a dummy category like
Miscellaneous than with no category at all.

8 years agofix spelling errors in manpages
Daniel Kahn Gillmor [Fri, 23 Feb 2018 05:37:55 +0000 (21:37 -0800)] 
fix spelling errors in manpages

8 years agoconf: don't fail if MODULE_DIR doesn't exist + improve permission check
Daniel Salzman [Mon, 26 Feb 2018 13:51:37 +0000 (14:51 +0100)] 
conf: don't fail if MODULE_DIR doesn't exist + improve permission check

8 years agoMerge branch 'sphinx-fix-build' into 'master'
Daniel Salzman [Mon, 26 Feb 2018 15:13:59 +0000 (16:13 +0100)] 
Merge branch 'sphinx-fix-build' into 'master'

doc: fix sphinx build

See merge request knot/knot-dns!882

8 years agodoc: fix sphinx build
Tomas Krizek [Mon, 26 Feb 2018 14:39:49 +0000 (15:39 +0100)] 
doc: fix sphinx build

8 years agojournal: fixed: Metadata deleted when scraping . zone.
Libor Peltan [Fri, 23 Feb 2018 15:11:04 +0000 (16:11 +0100)] 
journal: fixed: Metadata deleted when scraping . zone.

8 years agodoc: add theme_html to distribution package
Daniel Salzman [Fri, 23 Feb 2018 11:51:58 +0000 (12:51 +0100)] 
doc: add theme_html to distribution package

8 years agoMerge branch 'docker-update-debian-stable' into 'master'
Daniel Salzman [Thu, 22 Feb 2018 09:46:17 +0000 (10:46 +0100)] 
Merge branch 'docker-update-debian-stable' into 'master'

ci: docker - add osc (CLI for OBS)

See merge request knot/knot-dns!878

8 years agoci: dockerfile - add osc (CLI for OBS)
Tomas Krizek [Thu, 22 Feb 2018 09:09:53 +0000 (10:09 +0100)] 
ci: dockerfile - add osc (CLI for OBS)

8 years agoman: suppress echoing of the commands
Daniel Salzman [Sun, 11 Feb 2018 14:09:32 +0000 (15:09 +0100)] 
man: suppress echoing of the commands

8 years agoman: improve compatibility with OpenBSD
Daniel Salzman [Sun, 11 Feb 2018 14:05:54 +0000 (15:05 +0100)] 
man: improve compatibility with OpenBSD

8 years agoconfigure: improve compatibility with OpenBSD
Daniel Salzman [Sat, 10 Feb 2018 23:16:32 +0000 (00:16 +0100)] 
configure: improve compatibility with OpenBSD

8 years agoconfigure: remove obsolete checks
Daniel Salzman [Sat, 10 Feb 2018 22:19:20 +0000 (23:19 +0100)] 
configure: remove obsolete checks

8 years agoconfigure: add --disable-modules option
Daniel Salzman [Sat, 10 Feb 2018 21:52:35 +0000 (22:52 +0100)] 
configure: add --disable-modules option

8 years agotests/contrib: fixed time printing unit test
Mark Karpilovskij [Thu, 8 Feb 2018 16:27:38 +0000 (17:27 +0100)] 
tests/contrib: fixed time printing unit test

8 years agoMerge branch 'edns_opt_stats' into 'master'
Daniel Salzman [Thu, 8 Feb 2018 14:17:29 +0000 (15:17 +0100)] 
Merge branch 'edns_opt_stats' into 'master'

EDNS optimizations

See merge request knot/knot-dns!871

8 years agolibknot: replace knot_edns_default_padding_size with knot_pkt_default_padding_size
Daniel Salzman [Thu, 8 Feb 2018 14:02:49 +0000 (15:02 +0100)] 
libknot: replace knot_edns_default_padding_size with knot_pkt_default_padding_size

8 years agolibknot/edns: unify option length data type to uint16_t
Daniel Salzman [Thu, 8 Feb 2018 13:28:24 +0000 (14:28 +0100)] 
libknot/edns: unify option length data type to uint16_t

8 years agolibknot/edns: added caching of pointers to known options in OPT RR, refactoring
Mark Karpilovskij [Fri, 5 Jan 2018 15:48:01 +0000 (16:48 +0100)] 
libknot/edns: added caching of pointers to known options in OPT RR, refactoring

8 years agolibknot/opt: remove useless operations
Daniel Salzman [Thu, 1 Feb 2018 10:52:52 +0000 (11:52 +0100)] 
libknot/opt: remove useless operations

8 years agotests-extra: move right alignment in the output by 2 characters
Daniel Salzman [Wed, 7 Feb 2018 10:27:22 +0000 (11:27 +0100)] 
tests-extra: move right alignment in the output by 2 characters

8 years agoknot: fix parent DS check
Daniel Salzman [Tue, 6 Feb 2018 15:36:28 +0000 (16:36 +0100)] 
knot: fix parent DS check

8 years agozone: fix possible use after free (Coverity)
Daniel Salzman [Mon, 5 Feb 2018 13:17:33 +0000 (14:17 +0100)] 
zone: fix possible use after free (Coverity)

8 years agoknot: simplify rcu_call wrapper
Daniel Salzman [Mon, 5 Feb 2018 10:36:46 +0000 (11:36 +0100)] 
knot: simplify rcu_call wrapper

8 years agoknot: don't sanitize input pointer in zone_contents_deep_free
Daniel Salzman [Mon, 5 Feb 2018 10:14:00 +0000 (11:14 +0100)] 
knot: don't sanitize input pointer in zone_contents_deep_free

8 years agoknot: don't sanitize input pointer in zone_contents_free
Daniel Salzman [Mon, 5 Feb 2018 10:05:26 +0000 (11:05 +0100)] 
knot: don't sanitize input pointer in zone_contents_free

8 years agoknot: don't sanitize input pointer in node_free
Daniel Salzman [Mon, 5 Feb 2018 09:56:27 +0000 (10:56 +0100)] 
knot: don't sanitize input pointer in node_free

8 years agolibknot/rrset: don't sanitize input pointer in knot_rrset_free
Daniel Salzman [Mon, 5 Feb 2018 09:08:42 +0000 (10:08 +0100)] 
libknot/rrset: don't sanitize input pointer in knot_rrset_free

8 years agolibknot/dname: don't sanitize input pointer in knot_dname_free
Daniel Salzman [Mon, 5 Feb 2018 08:57:38 +0000 (09:57 +0100)] 
libknot/dname: don't sanitize input pointer in knot_dname_free

8 years agoMerge branch 'knotc_notify' into 'master'
Daniel Salzman [Mon, 5 Feb 2018 12:42:17 +0000 (13:42 +0100)] 
Merge branch 'knotc_notify' into 'master'

ctl: added knotc zone-notify command to send notify manually

See merge request knot/knot-dns!877

8 years agoctl: added knotc zone-notify command to send notify manually
Libor Peltan [Fri, 2 Feb 2018 12:46:29 +0000 (13:46 +0100)] 
ctl: added knotc zone-notify command to send notify manually

8 years agolibknot/error: avoid abs(INT_MIN) as the output is still negative
Daniel Salzman [Sun, 4 Feb 2018 19:22:33 +0000 (20:22 +0100)] 
libknot/error: avoid abs(INT_MIN) as the output is still negative

8 years agokdig: warn if no hostname is used with +tls-ca
Mark Karpilovskij [Fri, 2 Feb 2018 13:38:23 +0000 (14:38 +0100)] 
kdig: warn if no hostname is used with +tls-ca

8 years agozone-update: add heap memory trim to the asynchronous destructor
Daniel Salzman [Fri, 2 Feb 2018 12:53:10 +0000 (13:53 +0100)] 
zone-update: add heap memory trim to the asynchronous destructor

8 years agokdig: use @server as hostname for TLS with +tls-ca
Mark Karpilovskij [Thu, 1 Feb 2018 13:45:54 +0000 (14:45 +0100)] 
kdig: use @server as hostname for TLS with +tls-ca

8 years agokdig: deinit gnutls session before new init
Mark Karpilovskij [Thu, 1 Feb 2018 15:07:31 +0000 (16:07 +0100)] 
kdig: deinit gnutls session before new init

8 years agoMerge branch 'onlinesign_evo2' into 'master'
Daniel Salzman [Fri, 2 Feb 2018 09:51:46 +0000 (10:51 +0100)] 
Merge branch 'onlinesign_evo2' into 'master'

onlinesign: evolution

Closes #558

See merge request knot/knot-dns!870

8 years agoonlinesign: fixed publishing only that DNSKEYs which should be
Libor Peltan [Wed, 17 Jan 2018 16:42:57 +0000 (17:42 +0100)] 
onlinesign: fixed publishing only that DNSKEYs which should be

8 years agokeymgr: fixed segfault if set addtopolicy=...
Libor Peltan [Wed, 17 Jan 2018 16:42:28 +0000 (17:42 +0100)] 
keymgr: fixed segfault if set addtopolicy=...

8 years agotests: added test for onlinesign with rollovers
Libor Peltan [Wed, 17 Jan 2018 16:41:48 +0000 (17:41 +0100)] 
tests: added test for onlinesign with rollovers

8 years agoonlinesign: fixed minor resourceleak
Libor Peltan [Wed, 17 Jan 2018 13:53:20 +0000 (14:53 +0100)] 
onlinesign: fixed minor resourceleak

8 years agodoc: updated onlinesign section to current limitations
Libor Peltan [Sat, 13 Jan 2018 11:25:25 +0000 (12:25 +0100)] 
doc: updated onlinesign section to current limitations

8 years agoonlinesign: automatic key rollover (incl ksk submission)
Libor Peltan [Fri, 12 Jan 2018 17:45:00 +0000 (18:45 +0100)] 
onlinesign: automatic key rollover (incl ksk submission)

8 years agoparentDSquery: separated from event handler
Libor Peltan [Fri, 12 Jan 2018 16:34:57 +0000 (17:34 +0100)] 
parentDSquery: separated from event handler

8 years agodnssec: refactoring: moved parent addrs to ctx->policy
Libor Peltan [Fri, 12 Jan 2018 16:20:24 +0000 (17:20 +0100)] 
dnssec: refactoring: moved parent addrs to ctx->policy

8 years agoparentDSquery: simplified interfaces
Libor Peltan [Fri, 12 Jan 2018 15:16:47 +0000 (16:16 +0100)] 
parentDSquery: simplified interfaces

8 years agoonlinesign: CDNSKEY and CDS synthetize
Libor Peltan [Fri, 12 Jan 2018 14:03:50 +0000 (15:03 +0100)] 
onlinesign: CDNSKEY and CDS synthetize

8 years agoonlinesign: fix NSEC owner if delegation - dont descend out of zone
Libor Peltan [Fri, 5 Jan 2018 16:24:37 +0000 (17:24 +0100)] 
onlinesign: fix NSEC owner if delegation - dont descend out of zone

8 years agoonlinesign: sign only authoritative parts of answer
Libor Peltan [Fri, 5 Jan 2018 15:41:08 +0000 (16:41 +0100)] 
onlinesign: sign only authoritative parts of answer

NSEC is always signed
if AA flag is missing, we expect it is a delegation and skip signing NS etc
glues are signed iff they come from non-NOTAUTH nodes

8 years agozone: don't check if signed zone for each query
Daniel Salzman [Wed, 31 Jan 2018 13:16:11 +0000 (14:16 +0100)] 
zone: don't check if signed zone for each query

8 years agoMake simple getter/setter-like functions static inline
Daniel Salzman [Wed, 31 Jan 2018 11:30:10 +0000 (12:30 +0100)] 
Make simple getter/setter-like functions static inline

8 years agomod-stats: added counters for EDNS option codes
Mark Karpilovskij [Thu, 21 Dec 2017 17:13:26 +0000 (18:13 +0100)] 
mod-stats: added counters for EDNS option codes

8 years agoconfio: unify return codes from conf_get if invalid ID
Daniel Salzman [Mon, 29 Jan 2018 10:05:34 +0000 (11:05 +0100)] 
confio: unify return codes from conf_get if invalid ID

8 years agopkt: remove useless pointer sanitization in knot_pkt_free
Daniel Salzman [Sat, 27 Jan 2018 14:07:44 +0000 (15:07 +0100)] 
pkt: remove useless pointer sanitization in knot_pkt_free

8 years agonsec: tiny code cleanup
Daniel Salzman [Fri, 26 Jan 2018 10:58:25 +0000 (11:58 +0100)] 
nsec: tiny code cleanup

8 years agoMerge branch 'axfr_force_multi' into 'master'
Daniel Salzman [Fri, 26 Jan 2018 12:34:38 +0000 (13:34 +0100)] 
Merge branch 'axfr_force_multi' into 'master'

axfr: fix force_axfr for multi-master setup

See merge request knot/knot-dns!874

8 years agorefresh: fix possible memory leak (Coverity)
Daniel Salzman [Fri, 26 Jan 2018 10:02:39 +0000 (11:02 +0100)] 
refresh: fix possible memory leak (Coverity)

8 years agotests: improve some tests (Coverity)
Daniel Salzman [Fri, 26 Jan 2018 10:00:43 +0000 (11:00 +0100)] 
tests: improve some tests (Coverity)

8 years agojournal: fix possible memory leaks (Coverity)
Daniel Salzman [Fri, 26 Jan 2018 09:55:42 +0000 (10:55 +0100)] 
journal: fix possible memory leaks (Coverity)

8 years agotests/dname: fix possible NULL dereference
Daniel Salzman [Fri, 26 Jan 2018 09:24:35 +0000 (10:24 +0100)] 
tests/dname: fix possible NULL dereference

8 years agolibknot/compr: simplify label comparison
Daniel Salzman [Thu, 25 Jan 2018 15:03:30 +0000 (16:03 +0100)] 
libknot/compr: simplify label comparison

8 years agolibknot/dname: code cleanup
Daniel Salzman [Thu, 25 Jan 2018 14:03:44 +0000 (15:03 +0100)] 
libknot/dname: code cleanup

8 years agolibknot/dname: revise letter-case comparison
Daniel Salzman [Wed, 24 Jan 2018 11:08:57 +0000 (12:08 +0100)] 
libknot/dname: revise letter-case comparison

8 years agolibknot/dname: optimize knot_dname_lf
Daniel Salzman [Tue, 23 Jan 2018 13:31:27 +0000 (14:31 +0100)] 
libknot/dname: optimize knot_dname_lf

8 years agomod-onlinesign: skip upper-case letter byte in the minimal proof
Jan Včelák [Wed, 24 Jan 2018 16:01:36 +0000 (17:01 +0100)] 
mod-onlinesign: skip upper-case letter byte in the minimal proof

An upper-case letter byte would break the minimal proof after lower casing
if there is no room for another label in the dname.

8 years agolibknot/pkt: make simple functions static inline
Daniel Salzman [Tue, 23 Jan 2018 09:58:12 +0000 (10:58 +0100)] 
libknot/pkt: make simple functions static inline

8 years agolibknot/pkt/wire: make simple functions static inline
Daniel Salzman [Tue, 23 Jan 2018 09:20:14 +0000 (10:20 +0100)] 
libknot/pkt/wire: make simple functions static inline

8 years agolibknot/opt: make simple functions static inline
Daniel Salzman [Tue, 23 Jan 2018 08:42:40 +0000 (09:42 +0100)] 
libknot/opt: make simple functions static inline

8 years agoknotc: use stdout as a default for configuration export
Daniel Salzman [Sun, 21 Jan 2018 21:19:48 +0000 (22:19 +0100)] 
knotc: use stdout as a default for configuration export

8 years agolibknot/rrtype: improve unreliable parameters check
Daniel Salzman [Sun, 21 Jan 2018 20:03:10 +0000 (21:03 +0100)] 
libknot/rrtype: improve unreliable parameters check

8 years agolibknot/endian: remove obsolete beNNtoh support for glibc < 2.9
Mark Karpilovskij [Fri, 19 Jan 2018 14:50:48 +0000 (15:50 +0100)] 
libknot/endian: remove obsolete beNNtoh support for glibc < 2.9

8 years agolibknot/rrtype: remove unused and simplify
Daniel Salzman [Sat, 20 Jan 2018 20:29:27 +0000 (21:29 +0100)] 
libknot/rrtype: remove unused and simplify

8 years agolibknot: move wire.h from contrib to libknot
Mark Karpilovskij [Fri, 19 Jan 2018 13:14:05 +0000 (14:14 +0100)] 
libknot: move wire.h from contrib to libknot

8 years agolibknot: moved endian.h from contrib to libknot
Mark Karpilovskij [Fri, 19 Jan 2018 12:26:10 +0000 (13:26 +0100)] 
libknot: moved endian.h from contrib to libknot