]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
7 years agofix two nitpicks from clang-scan
Vladimír Čunát [Mon, 29 Jan 2018 07:38:33 +0000 (08:38 +0100)] 
fix two nitpicks from clang-scan

- utils.c: overflowing size_t is basically impossible, but well...
- stats.c: NULL would probably not cause a problem with zero length passed

7 years agoMerge !454: daemon/worker: fix regression from e7c5c102d0eb8
Vladimír Čunát [Mon, 29 Jan 2018 07:26:34 +0000 (08:26 +0100)] 
Merge !454: daemon/worker: fix regression from e7c5c102d0eb8

7 years agodaemon/worker: cleanup errors; missed packet source
Grigorii Demidov [Mon, 22 Jan 2018 12:42:29 +0000 (13:42 +0100)] 
daemon/worker: cleanup errors; missed packet source

7 years agoMerge branch 'policy_polish' into 'master'
Petr Špaček [Thu, 25 Jan 2018 16:43:51 +0000 (17:43 +0100)] 
Merge branch 'policy_polish' into 'master'

policy: polish policy module up

See merge request knot/knot-resolver!462

7 years agoCI: test doc build
Petr Špaček [Thu, 25 Jan 2018 12:53:17 +0000 (13:53 +0100)] 
CI: test doc build

7 years agodoc: fix Sphinx warnings
Petr Špaček [Thu, 25 Jan 2018 13:12:13 +0000 (14:12 +0100)] 
doc: fix Sphinx warnings

7 years agopolicy: polish policy module documentation
Petr Špaček [Thu, 25 Jan 2018 12:50:22 +0000 (13:50 +0100)] 
policy: polish policy module documentation

7 years agopolicy: fix generated SOA RR so it can be cached
Petr Špaček [Thu, 25 Jan 2018 11:46:53 +0000 (12:46 +0100)] 
policy: fix generated SOA RR so it can be cached

RFC 6303 section 3 explains that

   The SOA RR is needed to support negative caching [RFC2308] of name
   error responses and to point clients to the primary master for DNS
   dynamic updates.

Now SOA RR owner name matches query name so it can be cached.
Using zone name as owner would be more difficult so it is left for
further optimizations.

I've verified that nsupdate correctly determines that master name
does not exist and stops update process.

7 years agopolicy: add explanatory TXT record to zones blocked by default
Petr Špaček [Thu, 25 Jan 2018 11:26:50 +0000 (12:26 +0100)] 
policy: add explanatory TXT record to zones blocked by default

7 years agopolicy: refactor policy and view modules
Petr Špaček [Thu, 25 Jan 2018 09:14:28 +0000 (10:14 +0100)] 
policy: refactor policy and view modules

I've removed couple layers of indirection to make it easier to follow.
This should make it easier to extend the policy module.

7 years agoMerge branch 'respdiff-debug' into 'master'
Petr Špaček [Thu, 25 Jan 2018 15:45:45 +0000 (16:45 +0100)] 
Merge branch 'respdiff-debug' into 'master'

CI: store respdiff database for debuging purposes

See merge request knot/knot-resolver!443

7 years agoCI: store respdiff database for debuging purposes
Petr Špaček [Mon, 15 Jan 2018 11:46:14 +0000 (12:46 +0100)] 
CI: store respdiff database for debuging purposes

7 years agoMerge branch 'dockerfile' into 'master'
Petr Špaček [Thu, 25 Jan 2018 14:38:15 +0000 (15:38 +0100)] 
Merge branch 'dockerfile' into 'master'

Dockefile: fix TLS server in demo container

See merge request knot/knot-resolver!463

7 years agoDockefile: fix TLS server in demo container
Petr Špaček [Thu, 25 Jan 2018 14:29:25 +0000 (15:29 +0100)] 
Dockefile: fix TLS server in demo container

Related: #297

7 years agoMerge branch 'dockerfile' into 'master'
Petr Špaček [Wed, 24 Jan 2018 16:18:52 +0000 (17:18 +0100)] 
Merge branch 'dockerfile' into 'master'

Docker: fix Dockerfile for demo container

Closes #297

See merge request knot/knot-resolver!461

7 years agoDocker: fix Dockerfile for demo container
Petr Špaček [Wed, 24 Jan 2018 16:09:07 +0000 (17:09 +0100)] 
Docker: fix Dockerfile for demo container

libstdc++ was missing in the Alpine image.
At the same time, I've enabled DNSSEC validation, DNS-over-TLS, HTTP interface
and added explanatory message.

7 years agoMerge !439: Use common convention for paths and user name
Vladimír Čunát [Wed, 24 Jan 2018 11:03:16 +0000 (12:03 +0100)] 
Merge !439: Use common convention for paths and user name

7 years agouse common convention for configuration path and user name
Tomas Krizek [Fri, 12 Jan 2018 09:29:53 +0000 (10:29 +0100)] 
use common convention for configuration path and user name

7 years agoMerge !405: Support for tracing query execution logs
Vladimír Čunát [Tue, 23 Jan 2018 18:47:16 +0000 (19:47 +0100)] 
Merge !405: Support for tracing query execution logs

7 years agohttp module: rename after 2702e0416994
Vladimír Čunát [Tue, 23 Jan 2018 18:29:43 +0000 (19:29 +0100)] 
http module: rename after 2702e0416994

7 years agonitpicks from review of !405: query-trace
Vladimír Čunát [Tue, 23 Jan 2018 18:07:35 +0000 (19:07 +0100)] 
nitpicks from review of !405: query-trace

The deckard change was probably unintentional, so I reverted that.
The only real mistake I found was `sizeof(128)`, though the effect was
just unnecessary reallocations.

On the whole I really like it.  Verbose logging might get slightly
slower, due to increased amount of string allocation and copying,
but it does seem worth it, at least until we can prove otherwise.
I didn't look much into http module changes, etc.

7 years agoMerge branch 'master'
Vladimír Čunát [Tue, 23 Jan 2018 18:36:49 +0000 (19:36 +0100)] 
Merge branch 'master'

7 years agoMerge branch 'fix-sphinx-rtd-theme' into 'master'
Tomas Krizek [Tue, 23 Jan 2018 18:32:44 +0000 (19:32 +0100)] 
Merge branch 'fix-sphinx-rtd-theme' into 'master'

doc: fix generating sphinx doc using older packages

See merge request knot/knot-resolver!460

7 years agodoc: fix generating sphinx doc using older packages
Tomas Krizek [Tue, 23 Jan 2018 14:57:51 +0000 (15:57 +0100)] 
doc: fix generating sphinx doc using older packages

7 years agoMerge !459: 1.5.3 fixes + nitpicks
Vladimír Čunát [Tue, 23 Jan 2018 15:42:50 +0000 (16:42 +0100)] 
Merge !459: 1.5.3 fixes + nitpicks

7 years agoCI: ignore the clang -rdynamic problems, for now
Vladimír Čunát [Tue, 23 Jan 2018 15:34:55 +0000 (16:34 +0100)] 
CI: ignore the clang -rdynamic problems, for now

7 years agonitpicks
Vladimír Čunát [Tue, 23 Jan 2018 14:55:52 +0000 (15:55 +0100)] 
nitpicks

7 years agoMerge tag 'v1.5.3'
Vladimír Čunát [Tue, 23 Jan 2018 15:05:17 +0000 (16:05 +0100)] 
Merge tag 'v1.5.3'

7 years agoMerge branch 'keyfile-arg' into 'master'
Petr Špaček [Tue, 23 Jan 2018 15:03:39 +0000 (16:03 +0100)] 
Merge branch 'keyfile-arg' into 'master'

Split CLI for managed and unmanaged trust anchor modes

Closes #145 and #168

See merge request knot/knot-resolver!358

7 years agodocs: update link to IANA web with DNSSEC root TA
Petr Špaček [Tue, 23 Jan 2018 14:20:01 +0000 (15:20 +0100)] 
docs: update link to IANA web with DNSSEC root TA

7 years agoTA bootstrap: print obtained values
Petr Špaček [Tue, 23 Jan 2018 12:27:00 +0000 (13:27 +0100)] 
TA bootstrap: print obtained values

7 years agoconfig-test: refactor config test framework, add keyfile tests
Vítězslav Kříž [Mon, 11 Dec 2017 14:11:46 +0000 (15:11 +0100)] 
config-test: refactor config test framework, add keyfile tests

Config tests now have ability to run daemon with different arguments and
to check exit code.

7 years agodaemon: remove globals, split main into functions
Vítězslav Kříž [Tue, 24 Oct 2017 12:25:10 +0000 (14:25 +0200)] 
daemon: remove globals, split main into functions

7 years agokeyfile: added tests
Vítězslav Kříž [Tue, 17 Oct 2017 12:03:57 +0000 (14:03 +0200)] 
keyfile: added tests

7 years agokeyfile argument distiguish managed and unmanaged mode
Vitezslav Kriz [Mon, 14 Aug 2017 07:25:42 +0000 (09:25 +0200)] 
keyfile argument distiguish managed and unmanaged mode

Arguments --keyfile, -k for managed mode
and
--keyfile-ro, -K for unmanaged (readonly) mode.

Automatic setting based on the file permission is removed because it was
confusing and could easily lead to state where automatic update does not
happen because of unexpected file permissions.

Check if folder is writeable was moved into Lua code.

Default unmanaged keyfile path can be specified at compile
time with option KEYFILE_DEFAULT. This default
configuration can be disabled in configuration file with
trust_anchors.keyfile_default = nil.

7 years agorelease 1.5.3 v1.5.3
Vladimír Čunát [Tue, 23 Jan 2018 13:16:23 +0000 (14:16 +0100)] 
release 1.5.3

7 years agotest_cache: disable test_materialize
Vladimír Čunát [Tue, 23 Jan 2018 13:34:42 +0000 (14:34 +0100)] 
test_cache: disable test_materialize

I'm not sure why the preceding commits broke it.

7 years agomake: fix Fedora problems with symbols
Vladimír Čunát [Tue, 23 Jan 2018 12:55:45 +0000 (13:55 +0100)] 
make: fix Fedora problems with symbols

7 years agomake: CFLAGS cleanup
Vladimír Čunát [Tue, 23 Jan 2018 12:51:04 +0000 (13:51 +0100)] 
make: CFLAGS cleanup

Readability, and don't -I embedded lmdb if not using it.

7 years agomake: use -fvisibility=hidden by default
Vladimír Čunát [Tue, 23 Jan 2018 12:36:17 +0000 (13:36 +0100)] 
make: use -fvisibility=hidden by default

Symbols not marked by KR_EXPORT shouldn't be visible outside
the same output binary (e.g. sbin/kresd or lib/kdns_modules/hints.so)
Also mark `engine_hint_root_file`.

7 years agoMerge branch 'draft-huston-kskroll-sentinel' into 'master'
Petr Špaček [Tue, 23 Jan 2018 08:53:30 +0000 (09:53 +0100)] 
Merge branch 'draft-huston-kskroll-sentinel' into 'master'

Implement draft-ietf-dnsop-kskroll-sentinel-00

Closes #266

See merge request knot/knot-resolver!382

7 years agoImplement draft-ietf-dnsop-kskroll-sentinel-00
Petr Špaček [Mon, 22 Jan 2018 15:03:57 +0000 (16:03 +0100)] 
Implement draft-ietf-dnsop-kskroll-sentinel-00

It is enabled by default.

7 years agoAdd Lua interface for kr_pkt_clear_payload().
Petr Špaček [Mon, 22 Jan 2018 14:50:16 +0000 (15:50 +0100)] 
Add Lua interface for kr_pkt_clear_payload().

7 years agoMerge branch 'policy_default' into 'master'
Petr Špaček [Tue, 23 Jan 2018 08:44:16 +0000 (09:44 +0100)] 
Merge branch 'policy_default' into 'master'

policy: load policy module by default

See merge request knot/knot-resolver!457

7 years agopolicy: load policy module by default
Petr Špaček [Mon, 22 Jan 2018 20:31:34 +0000 (21:31 +0100)] 
policy: load policy module by default

RFC 6761 mandates functionality implemented by policy module, so it is
now loaded by default. Users with special needs can still unload the
module.

7 years agoMerge !456: lib: make map_contains recongize null value
Vladimír Čunát [Mon, 22 Jan 2018 15:17:41 +0000 (16:17 +0100)] 
Merge !456: lib: make map_contains recongize null value

7 years agolib map: comment around the change in parent commit
Vladimír Čunát [Mon, 22 Jan 2018 14:58:24 +0000 (15:58 +0100)] 
lib map: comment around the change in parent commit

7 years agolib: make map_contains recongize null value
anb [Fri, 12 Jan 2018 19:08:57 +0000 (19:08 +0000)] 
lib: make map_contains recongize null value

Without changing the interface, map_contains is able to tell whether
the item exist in map or not.

7 years agoMerge !455: Fixup Dockerfile and NEWS
Vladimír Čunát [Mon, 22 Jan 2018 13:39:06 +0000 (14:39 +0100)] 
Merge !455: Fixup Dockerfile and NEWS

7 years agoNEWS: fix typo in year
Vladimír Čunát [Mon, 22 Jan 2018 13:30:43 +0000 (14:30 +0100)] 
NEWS: fix typo in year

7 years agoDockerfile: fixup build after libknot update
Vladimír Čunát [Mon, 22 Jan 2018 13:29:03 +0000 (14:29 +0100)] 
Dockerfile: fixup build after libknot update

7 years agoMerge !453: merge tag 'v1.5.2', bringing security fixes
Vladimír Čunát [Mon, 22 Jan 2018 12:42:01 +0000 (13:42 +0100)] 
Merge !453: merge tag 'v1.5.2', bringing security fixes

7 years agoMerge tag 'v1.5.2', bringing security fixes
Vladimír Čunát [Mon, 22 Jan 2018 12:30:29 +0000 (13:30 +0100)] 
Merge tag 'v1.5.2', bringing security fixes

7 years agosecurity release 1.5.2 v1.5.2
Vladimír Čunát [Mon, 22 Jan 2018 10:45:44 +0000 (11:45 +0100)] 
security release 1.5.2

7 years agovalidator nitpick: remove a useless dead store
Vladimír Čunát [Mon, 15 Jan 2018 17:08:47 +0000 (18:08 +0100)] 
validator nitpick: remove a useless dead store

Discovered by clang scan.

7 years agovalidator: fix NSEC* + delegation -> NXDOMAIN
Vladimír Čunát [Fri, 5 Jan 2018 09:15:43 +0000 (10:15 +0100)] 
validator: fix NSEC* + delegation -> NXDOMAIN

7 years agovalidator: fix NSEC* -> NODATA
Vladimír Čunát [Fri, 12 Jan 2018 15:15:08 +0000 (16:15 +0100)] 
validator: fix NSEC* -> NODATA

7 years agoMerge branch 'misc-fix' into 'master'
Petr Špaček [Mon, 22 Jan 2018 09:25:46 +0000 (10:25 +0100)] 
Merge branch 'misc-fix' into 'master'

daemon/worker: worker_process_tcp: cleanup

See merge request knot/knot-resolver!452

7 years agodaemon/worker: worker_process_tcp: cleanup; there are no need in special processing...
Grigorii Demidov [Mon, 22 Jan 2018 09:16:42 +0000 (10:16 +0100)] 
daemon/worker: worker_process_tcp: cleanup; there are no need in special processing for qr_task_step return code

7 years agoMerge branch 'cdn-mozilla' into 'master'
Petr Špaček [Fri, 19 Jan 2018 10:07:50 +0000 (11:07 +0100)] 
Merge branch 'cdn-mozilla' into 'master'

layer/iterate: forwarding; repeat query to upstream if SERVFAIL\REFUSE has been received

See merge request knot/knot-resolver!451

7 years agolayer/iterate: forwarding; repeat query to upstream if SERVFAIL\REFUSE has been received
Grigorii Demidov [Wed, 17 Jan 2018 12:50:23 +0000 (13:50 +0100)] 
layer/iterate: forwarding; repeat query to upstream if SERVFAIL\REFUSE has been received

7 years agoMerge branch 'dockerfile-add-flake8' into 'master'
Petr Špaček [Fri, 19 Jan 2018 09:18:44 +0000 (10:18 +0100)] 
Merge branch 'dockerfile-add-flake8' into 'master'

ci: add flake8 to Dockerfile

See merge request knot/knot-resolver!449

7 years agoci: docker - add flake8, remove infer
Tomas Krizek [Thu, 18 Jan 2018 16:16:58 +0000 (17:16 +0100)] 
ci: docker - add flake8, remove infer

We do not use Infer after all (see MR !435) so it does not make sense to
have it in the image.

7 years agoMerge branch 'assert-cleanup' into 'master'
Petr Špaček [Fri, 19 Jan 2018 09:03:48 +0000 (10:03 +0100)] 
Merge branch 'assert-cleanup' into 'master'

daemon/worker: clean up some unnecessary asserts

See merge request knot/knot-resolver!450

7 years agodaemon/worker: clean up some unnecessary asserts
Grigorii Demidov [Fri, 19 Jan 2018 08:26:00 +0000 (09:26 +0100)] 
daemon/worker: clean up some unnecessary asserts

7 years agoMerge branch 'tls_polish' into 'master'
Petr Špaček [Thu, 18 Jan 2018 15:40:12 +0000 (16:40 +0100)] 
Merge branch 'tls_polish' into 'master'

TLS polish

See merge request knot/knot-resolver!447

7 years agoTLS: make GnuTLS priorities compatible with CentOS 7 and Debian 9
Petr Špaček [Thu, 18 Jan 2018 15:22:56 +0000 (16:22 +0100)] 
TLS: make GnuTLS priorities compatible with CentOS 7 and Debian 9

gnutls-3.3.26-9.el7.x86_64 and libgnutls30-3.5.8-5+deb9u3 do not support
@SYSTEM keyword and CentOS 7 has problem with -VERS-DTLS-ALL.

We do not configure DTLS sockets so it should be harmless to delete
the DTLS keyword.

@SYSTEM is replaced by NORMAL, oh well.

fixup! TLS client: enforce minimal TLS version and no compression

7 years agoTLS client: enforce minimal TLS version and no compression
Petr Špaček [Thu, 18 Jan 2018 14:47:15 +0000 (15:47 +0100)] 
TLS client: enforce minimal TLS version and no compression

Same change as in a625a0ea1ce03b0707fd421633f21c0aacb786da but for
client.

7 years agoTLS server: enforce minimal TLS version and no compression
Petr Špaček [Thu, 18 Jan 2018 13:12:45 +0000 (14:12 +0100)] 
TLS server: enforce minimal TLS version and no compression

Server side now enforces security requirements from
draft-ietf-dprive-dtls-and-tls-profiles-11 section 9

7 years agoTLS: use constants for GnuTLS return codes
Petr Špaček [Thu, 18 Jan 2018 13:11:26 +0000 (14:11 +0100)] 
TLS: use constants for GnuTLS return codes

GnuTLS manual for some functions do not declare that error return code
must be negative, so we should use constants to avoid potential
problems.

7 years agoTLS client: fix certificate loading from file
Petr Špaček [Thu, 18 Jan 2018 13:11:16 +0000 (14:11 +0100)] 
TLS client: fix certificate loading from file

gnutls_certificate_set_x509_trust_file could theoretically return 0
to indicate nothing was read, so we need to check for this as well.

7 years agoMerge !448: daemon: tls forwarding; fix IO error processing
Vladimír Čunát [Thu, 18 Jan 2018 15:24:13 +0000 (16:24 +0100)] 
Merge !448: daemon: tls forwarding; fix IO error processing

7 years agodaemon: tls forwarding; fix erroneus task processing when io errors occur
Grigorii Demidov [Thu, 18 Jan 2018 14:37:30 +0000 (15:37 +0100)] 
daemon: tls forwarding; fix erroneus task processing when io errors occur

7 years agoMerge branch 'tmpfiles-create-cache' into 'master'
Tomas Krizek [Thu, 18 Jan 2018 14:08:29 +0000 (15:08 +0100)] 
Merge branch 'tmpfiles-create-cache' into 'master'

tmpfiles: create cache and use proper tmpfiles name

See merge request knot/knot-resolver!440

7 years agotmpfiles: create cache and use proper tmpfiles name
Tomas Krizek [Fri, 12 Jan 2018 09:32:42 +0000 (10:32 +0100)] 
tmpfiles: create cache and use proper tmpfiles name

7 years agoMerge branch 'tls_tests' into 'master'
Petr Špaček [Thu, 18 Jan 2018 12:48:06 +0000 (13:48 +0100)] 
Merge branch 'tls_tests' into 'master'

policy TLS_FORWARD: add checks and documentation

See merge request knot/knot-resolver!445

7 years agopolicy TLS_FORWARDING: rename pin to pin_sha256
Petr Špaček [Thu, 18 Jan 2018 12:39:24 +0000 (13:39 +0100)] 
policy TLS_FORWARDING: rename pin to pin_sha256

The pin parameter contains SHA-256 encoded using Base64, but this is not
the only option. Explicit name allows us to add alternative formats
later on, and is consistent with GnuTLS naming.

7 years agopolicy TLS_FORWARD: documentation improvements
Tomas Krizek [Thu, 18 Jan 2018 11:19:55 +0000 (12:19 +0100)] 
policy TLS_FORWARD: documentation improvements

7 years agopolicy TLS_FORWARD: add documentation
Petr Špaček [Wed, 17 Jan 2018 18:08:53 +0000 (19:08 +0100)] 
policy TLS_FORWARD: add documentation

7 years agopolicy TLS_FORWARD: unify logging format
Petr Špaček [Wed, 17 Jan 2018 13:58:57 +0000 (14:58 +0100)] 
policy TLS_FORWARD: unify logging format

7 years agopolicy TLS_FORWARD: fix error reporting from net.tls_client()
Petr Špaček [Wed, 17 Jan 2018 13:37:16 +0000 (14:37 +0100)] 
policy TLS_FORWARD: fix error reporting from net.tls_client()

7 years agopolicy TLS_FORWARD: check parameters from user
Petr Špaček [Fri, 12 Jan 2018 15:57:03 +0000 (16:57 +0100)] 
policy TLS_FORWARD: check parameters from user

Policy handling was split into smaller functions to allow easier
checking. The code needs further refactoring, it seems that
net_tls_client is just a thin wrapper around tls_client_params_set in C,
which is unnecessary and error prone.

7 years agopolicy TLS_FORWARD: improve error reporting for invalid parameters
Petr Špaček [Fri, 12 Jan 2018 13:59:59 +0000 (14:59 +0100)] 
policy TLS_FORWARD: improve error reporting for invalid parameters

7 years agotests: add config tests for TLS_FORWARD
Petr Špaček [Fri, 12 Jan 2018 13:37:51 +0000 (14:37 +0100)] 
tests: add config tests for TLS_FORWARD

Apparently some corner cases are not handled properly.
We need to fix these in follow-up patches.

7 years agoMerge branch 'cleanup-errors' into 'master'
Petr Špaček [Thu, 18 Jan 2018 11:28:27 +0000 (12:28 +0100)] 
Merge branch 'cleanup-errors' into 'master'

fix some errors found by static analyzer

See merge request knot/knot-resolver!446

7 years agoCI: tweak scan-build configuration
Petr Špaček [Thu, 18 Jan 2018 09:43:54 +0000 (10:43 +0100)] 
CI: tweak scan-build configuration

Clang right now does not support cleanup attribute which is causing
false positives, so the check is now disabled.
https://bugs.llvm.org/show_bug.cgi?id=3888

At the same time I've enabled all other checkers to see what happens. We
need to go though them and disable them one-by-one if necessary.

7 years agodaemon/main: refactored keyfile initialization from main()
Marek Vavruša [Thu, 18 Jan 2018 00:55:52 +0000 (16:55 -0800)] 
daemon/main: refactored keyfile initialization from main()

this helps avoid false positive leaks caused by combination of
cleanup functions and goto

refs #291

7 years agolib/dnssec: variable declaration close to intended to avoid dead stores
Marek Vavruša [Thu, 18 Jan 2018 00:57:49 +0000 (16:57 -0800)] 
lib/dnssec: variable declaration close to intended to avoid dead stores

7 years agodaemon/worker: fixed missing return value check
Marek Vavruša [Thu, 18 Jan 2018 00:57:00 +0000 (16:57 -0800)] 
daemon/worker: fixed missing return value check

7 years agodaemon/engine: fixed missing ret
Marek Vavruša [Thu, 18 Jan 2018 00:54:55 +0000 (16:54 -0800)] 
daemon/engine: fixed missing ret

7 years agodaemon: fixed potential leak - cleanup not being called on longjmp
Marek Vavruša [Thu, 18 Jan 2018 00:39:37 +0000 (16:39 -0800)] 
daemon: fixed potential leak - cleanup not being called on longjmp

attribute cleanup (auto_free) gets called when variable goes out of
scope, not on longjmp (in lua_error), so the variable never gets freed

7 years agoMerge branch 'dockerfile-add-static-analysis-tools' into 'master'
Petr Špaček [Wed, 17 Jan 2018 16:08:49 +0000 (17:08 +0100)] 
Merge branch 'dockerfile-add-static-analysis-tools' into 'master'

Dockerfile: add static analysis tools

See merge request knot/knot-resolver!444

7 years agoDockerfile: add static analysis tools
Tomas Krizek [Tue, 16 Jan 2018 16:25:51 +0000 (17:25 +0100)] 
Dockerfile: add static analysis tools

7 years agoMerge branch 'tls-hs-timeout' into 'master'
Petr Špaček [Fri, 12 Jan 2018 13:36:04 +0000 (14:36 +0100)] 
Merge branch 'tls-hs-timeout' into 'master'

daemon: TLS-handshake timeout timer was not properly activated; fix

See merge request knot/knot-resolver!441

7 years agodaemon: TLS-handshake timeout timer was not properly activated; fix
Grigorii Demidov [Fri, 12 Jan 2018 12:54:37 +0000 (13:54 +0100)] 
daemon: TLS-handshake timeout timer was not properly activated; fix

7 years agoMerge branch 'stricter-ci-build' into 'master'
Petr Špaček [Fri, 12 Jan 2018 10:24:22 +0000 (11:24 +0100)] 
Merge branch 'stricter-ci-build' into 'master'

ci: add -Werror to CFLAGS, added clang build target

See merge request knot/knot-resolver!432

7 years agolint: enabled several readability linters and fixed issues
Marek Vavruša [Fri, 12 Jan 2018 07:11:08 +0000 (23:11 -0800)] 
lint: enabled several readability linters and fixed issues

this checks things such as inconsistent declarations and definitions

7 years agodaemon: fixed garbage read when getsockname fails
Marek Vavruša [Fri, 12 Jan 2018 06:37:20 +0000 (22:37 -0800)] 
daemon: fixed garbage read when getsockname fails

7 years agolib: fixed possible null pointers passed to nonnull arguments
Marek Vavruša [Fri, 12 Jan 2018 06:29:24 +0000 (22:29 -0800)] 
lib: fixed possible null pointers passed to nonnull arguments

7 years agodaemon: fixed minor linter problems
Marek Vavruša [Fri, 12 Jan 2018 06:15:16 +0000 (22:15 -0800)] 
daemon: fixed minor linter problems