]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Ondřej Surý [Wed, 11 Jan 2017 15:50:07 +0000 (16:50 +0100)]
Revert back to luajit v2.0.4
Ondřej Surý [Wed, 11 Jan 2017 15:34:18 +0000 (16:34 +0100)]
Merge branch 'shasum-sha256sum' into 'master'
Use sha256sum as alternative to shasum
See merge request !122
Ondřej Surý [Wed, 11 Jan 2017 15:33:15 +0000 (16:33 +0100)]
Use sha256sum as alternative to shasum
Ondřej Surý [Wed, 11 Jan 2017 15:10:32 +0000 (16:10 +0100)]
Merge branch 'travis-gcc-linux' into 'master'
Use gcc on linux
See merge request !121
Ondřej Surý [Wed, 11 Jan 2017 15:08:57 +0000 (16:08 +0100)]
Use gcc on linux
Ondřej Surý [Wed, 11 Jan 2017 14:41:32 +0000 (15:41 +0100)]
Merge branch 'bootstrap-gnutls-fix' into 'master'
Actually exit 1 the bootstrap script on a failure
See merge request !119
Ondřej Surý [Wed, 11 Jan 2017 14:41:08 +0000 (15:41 +0100)]
Actually exit 1 the bootstrap script on a failure
Ondřej Surý [Wed, 11 Jan 2017 14:37:48 +0000 (15:37 +0100)]
Merge branch 'bootstrap-gnutls-fix' into 'master'
scripts/bootstrap-depends.sh: GnuTLS needs --with-included-unistring
See merge request !118
Ondřej Surý [Wed, 11 Jan 2017 14:37:15 +0000 (15:37 +0100)]
scripts/bootstrap-depends.sh: GnuTLS needs --with-included-unistring
Ondřej Surý [Wed, 11 Jan 2017 14:32:10 +0000 (15:32 +0100)]
Merge branch 'travis-dont-set-global-cflags' into 'master'
Don't set CFLAGS globally, just for Knot Resolver build
See merge request !117
Ondřej Surý [Wed, 11 Jan 2017 14:31:42 +0000 (15:31 +0100)]
Remove .revision on bootstrap failure to force re-bootstrapping next time the build is run
Ondřej Surý [Wed, 11 Jan 2017 14:28:32 +0000 (15:28 +0100)]
Don't set CFLAGS globally, just for Knot Resolver build
Ondřej Surý [Wed, 11 Jan 2017 14:24:48 +0000 (15:24 +0100)]
Merge branch 'bootstrap-depends-update' into 'master'
Update bootstrap library versions
See merge request !116
Ondřej Surý [Wed, 11 Jan 2017 14:12:45 +0000 (15:12 +0100)]
Update bootstrap library versions
Ondřej Surý [Wed, 11 Jan 2017 13:10:16 +0000 (14:10 +0100)]
Merge branch 'vld-refactoring' into 'master'
layer/validate: refactoring
See merge request !96
Grigorii Demidov [Wed, 11 Jan 2017 10:29:04 +0000 (11:29 +0100)]
layer/validate: DS processing was fixed
Grigorii Demidov [Tue, 10 Jan 2017 14:14:16 +0000 (15:14 +0100)]
lib/resolve: some bugfixes for zonecut checking
Grigorii Demidov [Tue, 10 Jan 2017 10:05:15 +0000 (11:05 +0100)]
lib/resolve: zonecut check has been refactored
Grigorii Demidov [Fri, 6 Jan 2017 08:56:57 +0000 (09:56 +0100)]
layer/iterate: change the order of records in the answer when CNAME refers to the record that we already have
Grigorii Demidov [Thu, 5 Jan 2017 18:10:00 +0000 (19:10 +0100)]
layer/iterate: cname chain processing has been fixed
Vladimír Čunát [Thu, 29 Dec 2016 10:19:11 +0000 (11:19 +0100)]
ranked_rr_array*: reorder fields to save memory
On standard 64-bit: 24 -> 16 bytes per element.
Vladimír Čunát [Thu, 29 Dec 2016 10:09:34 +0000 (11:09 +0100)]
uid fields: remove forgotten field, add comments
Grigorii Demidov [Mon, 26 Dec 2016 17:26:53 +0000 (18:26 +0100)]
rrcache: NS glue processing has been fixed
Grigorii Demidov [Fri, 23 Dec 2016 08:28:29 +0000 (09:28 +0100)]
layer/iterate: use 'old' bechavior in STRICT mode when updating cut
Grigorii Demidov [Thu, 22 Dec 2016 19:47:04 +0000 (20:47 +0100)]
layer/iterate: authority section processing was fixed
Vladimír Čunát [Thu, 22 Dec 2016 09:50:25 +0000 (10:50 +0100)]
remove unused variables and a function (clang warnings)
Grigorii Demidov [Thu, 22 Dec 2016 08:13:14 +0000 (09:13 +0100)]
layer/rrcache: nitpick
Grigorii Demidov [Wed, 21 Dec 2016 09:19:38 +0000 (10:19 +0100)]
layer/iterate: authority processing fixed
Vladimír Čunát [Tue, 20 Dec 2016 10:26:13 +0000 (11:26 +0100)]
kr_*_print: don't include them in release builds
Grigorii Demidov [Wed, 14 Dec 2016 11:58:29 +0000 (12:58 +0100)]
layer/validate: refactoring
Ondřej Surý [Wed, 11 Jan 2017 10:46:55 +0000 (11:46 +0100)]
Merge branch 'tcp-leaks' into 'master'
TCP: free buffer when cancelling connection
Closes #76
See merge request !114
Vladimír Čunát [Mon, 9 Jan 2017 16:19:23 +0000 (17:19 +0100)]
TCP: free buffer when cancelling connection
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/76
Vladimír Čunát [Mon, 9 Jan 2017 16:26:23 +0000 (17:26 +0100)]
add comments around TCP buffering
Ondřej Surý [Fri, 6 Jan 2017 12:36:34 +0000 (13:36 +0100)]
Merge branch 'chaos' into 'master'
iterate: answer NOTIMPL to other classes than IN
See merge request !110
Ondřej Surý [Fri, 6 Jan 2017 10:24:14 +0000 (11:24 +0100)]
Merge branch 'generate-rsa-with-older-gnutls' into 'master'
Generate RSA certificates with GnuTLS < 3.5.0
See merge request !113
Ondřej Surý [Fri, 6 Jan 2017 10:23:18 +0000 (11:23 +0100)]
Generate RSA certificates with GnuTLS < 3.5.0
Ondřej Surý [Fri, 6 Jan 2017 10:01:42 +0000 (11:01 +0100)]
Merge branch 'ephemeral-tls-2' into 'master'
Create and use ephemeral TLS credentials if none are explicitly configured
See merge request !112
Ondřej Surý [Fri, 6 Jan 2017 09:55:24 +0000 (10:55 +0100)]
Kill if (0) { construct
Ondřej Surý [Fri, 6 Jan 2017 09:54:55 +0000 (10:54 +0100)]
Fix log level when printing ephemeral certificates
Daniel Kahn Gillmor [Sun, 13 Nov 2016 00:09:28 +0000 (09:09 +0900)]
Auto-regenerate ephemeral certificate on hostname change
Daniel Kahn Gillmor [Sat, 12 Nov 2016 23:27:48 +0000 (08:27 +0900)]
Auto-renew ephemeral X.509 certificate.
If the ephemeral X.509 certificate is due for renewal in less than a
week, regenerate it automatically.
Daniel Kahn Gillmor [Sat, 12 Nov 2016 23:09:25 +0000 (08:09 +0900)]
Use ephemeral X.509 credentials if none are configured
If kresd is configured to listen using TLS, but it has no credentials,
it should fall back to generating ephemeral credentials and using
them.
It stores the ephemerally-generated secret key in the same directory
as the cache, using the name "ephemeral_key.pem". If the cache
persists, then the key will too, even if the daemon dies. This means
that any set of daemons that share a cache will also share an
ephemeral secret key.
The ephemeral X.509 certificate that corresponds to the key will be
automatically generated (self-signed), will have a lifetime of about
90 days (matching Let's Encrypt policy). The ephemeral cert is
never written to disk; it is always dynamically-generated by kresd.
This should make it very easy to get DNS-over-TLS working in
opportunistic mode.
Daniel Kahn Gillmor [Sat, 12 Nov 2016 21:22:08 +0000 (06:22 +0900)]
Record expiration date of our certificate.
This can be useful for scheduling checks in the future, for logging
when we're using an expired cert, requesting a new cert, refreshing an
ephemeral cert, etc.
Vladimír Čunát [Tue, 3 Jan 2017 16:44:01 +0000 (17:44 +0100)]
Merge branch 'hints-empty-crash' into 'master'
hints: don't crash if no file got loaded
See merge request !111
Vladimír Čunát [Tue, 3 Jan 2017 16:24:40 +0000 (17:24 +0100)]
hints: don't crash if no file got loaded
https://forum.turris.cz/t/quick-way-to-crash-kresd-knot-resolver/2470
Vladimír Čunát [Tue, 3 Jan 2017 09:02:44 +0000 (10:02 +0100)]
iterate: answer NOTIMPL to other classes than IN
At least until we implement them properly.
Vladimír Čunát [Wed, 28 Dec 2016 09:55:06 +0000 (10:55 +0100)]
Merge !109: layer/iterate: glue processing has been fixed
There was (always) a bug in the "normal mode", which complicated
difficult cases like zive.cz in default setting.
Grigorii Demidov [Tue, 27 Dec 2016 09:44:08 +0000 (10:44 +0100)]
layer/iterate: glue processing has been fixed
Ondřej Surý [Mon, 26 Dec 2016 10:22:33 +0000 (11:22 +0100)]
Merge branch 'verbose-launch-scrit' into 'master'
Make the build verbose when launching test instance
See merge request !108
Ondřej Surý [Mon, 26 Dec 2016 10:22:06 +0000 (11:22 +0100)]
Make the build verbose when launching test instance
Ondřej Surý [Thu, 22 Dec 2016 12:16:10 +0000 (13:16 +0100)]
Merge branch 'test-script' into 'master'
Add script to launch separate testing instance
See merge request !107
Ondřej Surý [Thu, 22 Dec 2016 12:02:40 +0000 (13:02 +0100)]
Add script to launch separate testing instance
Vladimír Čunát [Thu, 22 Dec 2016 09:46:09 +0000 (10:46 +0100)]
Merge !106: uint: typedef globally but not more than once
Before C11, repeating a typedef is forbidden, if taken strictly, and
some compiler versions even reject it. On the other hand lru.h was
missing it, which wasn't noticed due to glibc's <sys/types.h> defining it.
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/114.
Vladimír Čunát [Thu, 22 Dec 2016 09:23:20 +0000 (10:23 +0100)]
uint: typedef globally but not more than once
Before C11, repeating a typedef is forbidden, if taken strictly, and
some compiler versions even reject it. On the other hand lru.h was
missing it, which wasn't noticed due to glibc's <sys/types.h> defining it.
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/114.
Vladimír Čunát [Thu, 22 Dec 2016 08:40:15 +0000 (09:40 +0100)]
Merge !105: modules/http: fix mixed up argument error in websocket code
The problem was missed in !102
d6f79261 . Submitted as:
https://github.com/CZ-NIC/knot-resolver/pull/38
Andreas Rammhold [Wed, 21 Dec 2016 15:16:58 +0000 (16:16 +0100)]
mdoules/http: fixed mixed up argument error in websocket code
lua-http decided to swap arguments some time ago:
https://github.com/daurnimator/lua-http/commit/
507396bb960b4f9d2b666ae7fd1ea441e9cccd2f
Vladimír Čunát [Mon, 19 Dec 2016 13:20:54 +0000 (14:20 +0100)]
Merge !100: allow generating most cdefs for lua
See mainly
06b0d3d4 ; the rest focuses on removing bashisms.
Vladimír Čunát [Mon, 19 Dec 2016 13:18:07 +0000 (14:18 +0100)]
Merge !103: add information about non-validating nature of FORWARD policy
Ondřej Surý [Mon, 19 Dec 2016 12:34:32 +0000 (13:34 +0100)]
Add information about non-validating nature of FORWARD policy
Vladimír Čunát [Mon, 19 Dec 2016 11:21:29 +0000 (12:21 +0100)]
Use printf instead of echo in scripts/gen-root-hints.sh to avoid echo with parameters.
Ondřej Surý [Mon, 19 Dec 2016 12:38:10 +0000 (13:38 +0100)]
Merge branch 'update-gitignore' into 'master'
Add tests/test_lru to .gitignore
See merge request !104
Ondřej Surý [Mon, 19 Dec 2016 12:37:41 +0000 (13:37 +0100)]
Add tests/test_lru to .gitignore
Vladimír Čunát [Mon, 19 Dec 2016 11:11:33 +0000 (12:11 +0100)]
gen-cdefs.sh: quote the output from gdb and read
Just in case.
Ondřej Surý [Mon, 19 Dec 2016 10:38:33 +0000 (11:38 +0100)]
Commit newly generated kres-gen.lua
Ondřej Surý [Mon, 19 Dec 2016 10:36:08 +0000 (11:36 +0100)]
Improve semicoma at the end of structs formatting
Ondřej Surý [Mon, 19 Dec 2016 10:26:43 +0000 (11:26 +0100)]
Various improvements how we use gdb and sed in gen-cdefs.sh (requires GNU sed)
Ondřej Surý [Mon, 19 Dec 2016 09:36:26 +0000 (10:36 +0100)]
Remove bashisms from script/gen-cdefs.sh
Vladimír Čunát [Thu, 15 Dec 2016 15:42:24 +0000 (16:42 +0100)]
allow generating most cdefs for lua
Motivation: maintaining these by hand in kres.lua is tricky, as just
inserting or reordering the structures can do anything and isn't
detected in general. For example, `rr_array_t::at` has always
"missed a star".
A couple libknot structure fields have apparently changed name since
the old definitions were written; in most cases I renamed them in *.lua.
The file daemon/lua/kres-gen.lua will be regenerated only if explicitly
deleted. That requires building with debug symbols and gdb on $PATH.
Ondřej Surý [Mon, 19 Dec 2016 09:10:26 +0000 (10:10 +0100)]
Merge branch 'remove-bashisms' into 'master'
Remove bashism in gen-root-hints.sh script
See merge request !101
Ondřej Surý [Mon, 19 Dec 2016 09:09:52 +0000 (10:09 +0100)]
Merge branch 'lua-http-0.1' into 'master'
Lua http 0.1
Update module/http to use lua-http 0.1
See merge request !102
Ondřej Surý [Mon, 19 Dec 2016 09:08:45 +0000 (10:08 +0100)]
Specify lua-http (>= 0.1) in documentations
daurnimator [Mon, 19 Dec 2016 04:51:05 +0000 (15:51 +1100)]
rename lua-http imports to start with 'http_'
daurnimator [Mon, 19 Dec 2016 04:49:08 +0000 (15:49 +1100)]
Actually close http servers on deinit
daurnimator [Mon, 19 Dec 2016 04:44:16 +0000 (15:44 +1100)]
Use coroutine friendly pcall
daurnimator [Mon, 19 Dec 2016 04:43:51 +0000 (15:43 +1100)]
Update to be compatible with lua-http 0.1 release
daurnimator [Mon, 19 Dec 2016 04:34:38 +0000 (15:34 +1100)]
Use newer lua-http derived ephemeralcert generation
Ondřej Surý [Mon, 19 Dec 2016 08:24:09 +0000 (09:24 +0100)]
Remove bashism in gen-root-hints.sh script
Vladimír Čunát [Wed, 14 Dec 2016 13:48:33 +0000 (14:48 +0100)]
Merge !97: use SOVERSION when compiling to unfail the tests
Vladimír Čunát [Wed, 14 Dec 2016 13:47:14 +0000 (14:47 +0100)]
platform.mk: nitpick comment
Vladimír Čunát [Wed, 14 Dec 2016 13:26:23 +0000 (14:26 +0100)]
Merge !99: lru_create: cast on a better place
... fixing a warning. The addresses are the same,
but it wasn't completely correct.
Vladimír Čunát [Wed, 14 Dec 2016 13:20:07 +0000 (14:20 +0100)]
lru_create: cast on a better place
... fixing a warning. The addresses are the same,
but it wasn't completely correct.
Ondřej Surý [Wed, 14 Dec 2016 12:44:50 +0000 (13:44 +0100)]
Merge branch '1.2.0-dev' into 'master'
Move the version to 1.2.0-dev
Just marking this as 1.2.0-dev
See merge request !98
Ondřej Surý [Wed, 14 Dec 2016 12:43:06 +0000 (13:43 +0100)]
Move the version to 1.2.0-dev
Ondřej Surý [Mon, 12 Dec 2016 15:25:53 +0000 (16:25 +0100)]
Use SOVERSION when compiling to unfail the tests
Grigorii Demidov [Wed, 14 Dec 2016 08:56:23 +0000 (09:56 +0100)]
Merge branch 'rrcache-fix' into 'master'
layer/rrcache: ds cache rank was fixed
See merge request !95
Grigorii Demidov [Wed, 14 Dec 2016 08:50:17 +0000 (09:50 +0100)]
layer/rrcache: ds cache rank was fixed
Ondřej Surý [Tue, 13 Dec 2016 12:51:38 +0000 (13:51 +0100)]
Merge branch 'news' into 'master'
news: mention the most important stuff since 1.1.1
In future I hope we'll be adding these items at once with the features.
See merge request !94
Vladimír Čunát [Tue, 13 Dec 2016 12:21:39 +0000 (13:21 +0100)]
news: mention the most important stuff since 1.1.1
In future I hope we'll be adding these items at once with the features.
Vladimír Čunát [Tue, 13 Dec 2016 12:02:26 +0000 (13:02 +0100)]
Merge !88: support +cd
Vladimír Čunát [Tue, 13 Dec 2016 12:00:13 +0000 (13:00 +0100)]
nitpicks in comments
Vladimír Čunát [Mon, 12 Dec 2016 11:59:11 +0000 (12:59 +0100)]
Merge !93: fixup the previous merge
Vladimír Čunát [Mon, 12 Dec 2016 11:57:37 +0000 (12:57 +0100)]
fixup the previous merge
Vladimír Čunát [Mon, 12 Dec 2016 11:48:18 +0000 (12:48 +0100)]
Merge branch 'master' into cd_processing
and fixup with DEBUG -> VERBOSE renames.
Vladimír Čunát [Mon, 12 Dec 2016 11:44:10 +0000 (12:44 +0100)]
Merge !92: Change NDEBUG to verbose logging
As requested in !90, I have renamed all *_debug_* and *DEBUG* to verbose
(where it made sense), and renamed NLOGDEBUG to NOVERBOSELOG.
The logic is simple - most usually we want to have verbose logging
compiled in and `assert()` not compiled in (`-DNDEBUG`).
Vladimír Čunát [Mon, 12 Dec 2016 10:50:36 +0000 (11:50 +0100)]
rename: kr_verbose_do_log -> kr_verbose_status
Now that we renamed "debug" to "verbose", the old name didn't seem very
suitable anymore; this new identifier haven't got to master yet.
Ondřej Surý [Mon, 12 Dec 2016 10:17:52 +0000 (11:17 +0100)]
Split NDEBUG to NDEBUG (asserts) and NOVERBOSELOG (verbose logging); rename all related symbols to use VERBOSE instead of DEBUG
Vladimír Čunát [Fri, 9 Dec 2016 17:15:42 +0000 (18:15 +0100)]
Merge !91: layer/validate: additional processing for cached insecure data
Grigorii Demidov [Fri, 9 Dec 2016 13:17:58 +0000 (14:17 +0100)]
layer/iterate: cname chain processing with +cd was fixed
Grigorii Demidov [Thu, 8 Dec 2016 17:19:09 +0000 (18:19 +0100)]
layer/validate: additional processing for cached insecure data
Vladimír Čunát [Wed, 7 Dec 2016 12:53:43 +0000 (13:53 +0100)]
--verbose: warn when having no effect
... but don't raise any kind of error.
The lua function `verbose()` behaved reasonably already.
It doesn't warn, but docs for the function do mention `NLOGDEBUG`.