]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
10 years agolib: removed synchronous api code
Marek Vavruša [Thu, 17 Sep 2015 11:50:36 +0000 (13:50 +0200)] 
lib: removed synchronous api code

the reason is that it's not actively used since we moved to binary
testing, and it depends on libknot internal api that has changed
also removed several unused libknot internal headers

10 years agotests: cleanup
Marek Vavruša [Thu, 17 Sep 2015 11:35:44 +0000 (13:35 +0200)] 
tests: cleanup

10 years agolib: dnssec enabled by default
Marek Vavruša [Thu, 17 Sep 2015 11:35:27 +0000 (13:35 +0200)] 
lib: dnssec enabled by default

10 years agolib/dnssec: handle islands of trust correctly
Marek Vavruša [Thu, 17 Sep 2015 11:35:00 +0000 (13:35 +0200)] 
lib/dnssec: handle islands of trust correctly

previously, only root TA was considered

10 years agotests: added NSEC3 name error response checks
Karel Slany [Wed, 16 Sep 2015 16:42:12 +0000 (18:42 +0200)] 
tests: added NSEC3 name error response checks

10 years agolayer/validate: Fixed error in NSEC3 name error response check.
Karel Slany [Wed, 16 Sep 2015 15:52:52 +0000 (17:52 +0200)] 
layer/validate: Fixed error in NSEC3 name error response check.

Function determining whether a NSEC3 record covers a name was wrong. The
case when the owner and next hashed name was wrapping over zero was
wrongly interpreted.

10 years agotests: added NSEC name error response checks
Karel Slany [Tue, 15 Sep 2015 16:49:23 +0000 (18:49 +0200)] 
tests: added NSEC name error response checks

10 years agotests: added support for stub-addr entries with local addresses in rpl
Karel Slany [Tue, 15 Sep 2015 16:47:10 +0000 (18:47 +0200)] 
tests: added support for stub-addr entries with local addresses in rpl

10 years agotests: removed failing test
Karel Slany [Tue, 15 Sep 2015 16:22:04 +0000 (18:22 +0200)] 
tests: removed failing test

The test is failing because of address mangling performed by test
environment.

10 years agotests: do not remap addresses already in local range
Marek Vavruša [Tue, 15 Sep 2015 16:00:41 +0000 (18:00 +0200)] 
tests: do not remap addresses already in local range

10 years agotests: use bigger edns0 payload (fixes some tests causing causing TC)
Marek Vavruša [Tue, 15 Sep 2015 15:49:45 +0000 (17:49 +0200)] 
tests: use bigger edns0 payload (fixes some tests causing causing TC)

10 years agotests: enable verbose logging
Marek Vavruša [Tue, 15 Sep 2015 15:42:35 +0000 (17:42 +0200)] 
tests: enable verbose logging

10 years agodaemon: '-v' turns verbose log, debug messages built in by default
Marek Vavruša [Tue, 15 Sep 2015 14:37:19 +0000 (16:37 +0200)] 
daemon: '-v' turns verbose log, debug messages built in by default

previously, debug messages were optional with -DWITH_DEBUG
now the debug messages are built in (unless compiled with -DNDEBUG), but
disabled by default

verbose output can be enabled by '-v' or '--verbose' CLI option
or interactively by 'verbose(true|false)' (or in config)

10 years agoMerge branch 'cache-rrsig-wip' of gitlab.labs.nic.cz:knot/resolver into cache-rrsig-wip
Karel Slany [Mon, 14 Sep 2015 15:14:38 +0000 (17:14 +0200)] 
Merge branch 'cache-rrsig-wip' of gitlab.labs.nic.cz:knot/resolver into cache-rrsig-wip

10 years agotests: cleanup, VERBOSE mode (if set in env vars)
Marek Vavruša [Mon, 14 Sep 2015 14:55:30 +0000 (16:55 +0200)] 
tests: cleanup, VERBOSE mode (if set in env vars)

10 years agotests: unit tests don't require preloaded libs
Marek Vavruša [Mon, 14 Sep 2015 13:25:21 +0000 (15:25 +0200)] 
tests: unit tests don't require preloaded libs

10 years agotests: MX query for serve authoritative for two zones
Karel Slany [Thu, 10 Sep 2015 14:35:24 +0000 (16:35 +0200)] 
tests: MX query for serve authoritative for two zones

Query for A or AAAA cannot be currently validated because the test
server mangles all A and AAAA records.

10 years agotests: converted a simple DNSSEC test for new conditions
Karel Slany [Wed, 9 Sep 2015 16:00:13 +0000 (18:00 +0200)] 
tests: converted a simple DNSSEC test for new conditions

10 years agotests: added support for val-override-date in rpl files
Karel Slany [Wed, 9 Sep 2015 15:53:26 +0000 (17:53 +0200)] 
tests: added support for val-override-date in rpl files

Also fixed TIME_PASSES ELAPSE which ignored the overridden time.

10 years agotests: Fixed disappearing DO bit in queries in DNSSEC tests.
Karel Slany [Mon, 7 Sep 2015 16:46:57 +0000 (18:46 +0200)] 
tests: Fixed disappearing DO bit in queries in DNSSEC tests.

10 years agotests: trust anchors from rpl files are used for server configuration
Karel Slany [Fri, 21 Aug 2015 10:20:41 +0000 (12:20 +0200)] 
tests: trust anchors from rpl files are used for server configuration

10 years agolayer/validate: trust anchors are loaded from the configuration file
Karel Slany [Fri, 21 Aug 2015 10:18:59 +0000 (12:18 +0200)] 
layer/validate: trust anchors are loaded from the configuration file

The hard-wired root trust anchor was removed.

10 years agolayer/validate: trust anchor string can also contain TTL value
Karel Slany [Fri, 21 Aug 2015 10:06:42 +0000 (12:06 +0200)] 
layer/validate: trust anchor string can also contain TTL value

10 years agolayer/validate: trust anchors can be added via lua interface
Karel Slany [Thu, 20 Aug 2015 15:09:07 +0000 (17:09 +0200)] 
layer/validate: trust anchors can be added via lua interface

10 years agolayer/validate: fixed wrong TA RRSet format when converting to text
Karel Slany [Thu, 20 Aug 2015 15:07:42 +0000 (17:07 +0200)] 
layer/validate: fixed wrong TA RRSet format when converting to text

10 years agobuild: DNSSEC validator layer needs json
Karel Slany [Thu, 20 Aug 2015 13:07:23 +0000 (15:07 +0200)] 
build: DNSSEC validator layer needs json

10 years agolayer/validate: trust anchors can be listed in interactive mode
Karel Slany [Thu, 20 Aug 2015 13:02:01 +0000 (15:02 +0200)] 
layer/validate: trust anchors can be listed in interactive mode

11 years agolayer/validate: preliminary code enabling trust anchor configuration
Karel Slany [Wed, 19 Aug 2015 16:27:32 +0000 (18:27 +0200)] 
layer/validate: preliminary code enabling trust anchor configuration

11 years agoMerge branch 'master' into cache-rrsig-wip
Karel Slany [Wed, 19 Aug 2015 08:58:37 +0000 (10:58 +0200)] 
Merge branch 'master' into cache-rrsig-wip

11 years agolib: module properties were ignored for embedded modules
Karel Slany [Wed, 19 Aug 2015 08:55:08 +0000 (10:55 +0200)] 
lib: module properties were ignored for embedded modules

11 years agolayer/validate: NSEC3 wildcard answer response check is enabled
Karel Slany [Tue, 18 Aug 2015 11:43:43 +0000 (13:43 +0200)] 
layer/validate: NSEC3 wildcard answer response check is enabled

11 years agolayer/validate: minor code changes
Karel Slany [Tue, 18 Aug 2015 11:34:08 +0000 (13:34 +0200)] 
layer/validate: minor code changes

11 years agolayer/validate: added missing CNAME check in NSEC3 no data response code
Karel Slany [Tue, 18 Aug 2015 11:29:48 +0000 (13:29 +0200)] 
layer/validate: added missing CNAME check in NSEC3 no data response code

11 years agotests: fixed compilation error
Karel Slany [Tue, 18 Aug 2015 09:52:23 +0000 (11:52 +0200)] 
tests: fixed compilation error

11 years agolayer/validate: NSEC3wild card answer response
Karel Slany [Mon, 17 Aug 2015 17:18:36 +0000 (19:18 +0200)] 
layer/validate: NSEC3wild card answer response

11 years agolayer/validate: NSEC3 wildcard no data response check
Karel Slany [Mon, 17 Aug 2015 16:20:34 +0000 (18:20 +0200)] 
layer/validate: NSEC3 wildcard no data response check

11 years agolayer/validate: disabled validation of truncated messages
Karel Slany [Mon, 17 Aug 2015 13:58:39 +0000 (15:58 +0200)] 
layer/validate: disabled validation of truncated messages

11 years agoMerge branch 'master' into cache-rrsig-wip
Karel Slany [Mon, 17 Aug 2015 09:11:42 +0000 (11:11 +0200)] 
Merge branch 'master' into cache-rrsig-wip

11 years agolayer/validate: NSEC3 no data response check
Karel Slany [Fri, 14 Aug 2015 11:36:05 +0000 (13:36 +0200)] 
layer/validate: NSEC3 no data response check

11 years agolib: fixed AD=1 bit never set
Marek Vavruša [Thu, 13 Aug 2015 17:37:16 +0000 (19:37 +0200)] 
lib: fixed AD=1 bit never set

11 years agolib: fixed bad merge (failed to copy TA with root hints)
Marek Vavruša [Thu, 13 Aug 2015 17:32:19 +0000 (19:32 +0200)] 
lib: fixed bad merge (failed to copy TA with root hints)

11 years agofixed debug build
Marek Vavruša [Thu, 13 Aug 2015 17:30:38 +0000 (19:30 +0200)] 
fixed debug build

11 years agofixed build
Marek Vavruša [Thu, 13 Aug 2015 17:02:46 +0000 (19:02 +0200)] 
fixed build

11 years agolayer/validate: fixed error when checking RRSIGs
Karel Slany [Thu, 13 Aug 2015 13:27:14 +0000 (15:27 +0200)] 
layer/validate: fixed error when checking RRSIGs

Original TTL has not been set.

11 years agolayer/validate: added NSEC3 name error response check
Karel Slany [Thu, 13 Aug 2015 08:18:57 +0000 (10:18 +0200)] 
layer/validate: added NSEC3 name error response check

11 years agolayer/validate: fixed possible bug in NSEC checking code
Karel Slany [Wed, 12 Aug 2015 20:23:08 +0000 (22:23 +0200)] 
layer/validate: fixed possible bug in NSEC checking code

11 years agolayer/validate: implemented basic NSEC3 closest encloser proof
Karel Slany [Wed, 12 Aug 2015 20:21:33 +0000 (22:21 +0200)] 
layer/validate: implemented basic NSEC3 closest encloser proof

11 years agolayer/validate: added missing empty NSEC3 module
Karel Slany [Wed, 12 Aug 2015 07:38:24 +0000 (09:38 +0200)] 
layer/validate: added missing empty NSEC3 module

11 years agotests: updated with 'policy' modules, tweaks
Marek Vavruša [Tue, 11 Aug 2015 16:40:14 +0000 (18:40 +0200)] 
tests: updated with 'policy' modules, tweaks

11 years agobuild: no parallel tests
Marek Vavruša [Tue, 11 Aug 2015 16:37:06 +0000 (18:37 +0200)] 
build: no parallel tests

11 years agoMerge branch 'tests_raw_query'
Marek Vavruša [Tue, 11 Aug 2015 15:54:02 +0000 (17:54 +0200)] 
Merge branch 'tests_raw_query'

11 years agoMerge branch 'policy'
Marek Vavruša [Tue, 11 Aug 2015 15:33:12 +0000 (17:33 +0200)] 
Merge branch 'policy'

11 years agomodules/policy: added support for a subset of RPZ
Marek Vavruša [Tue, 11 Aug 2015 11:57:10 +0000 (13:57 +0200)] 
modules/policy: added support for a subset of RPZ

the module can enforce RPZ from zone file, later a LMDB binary database
is going to come to solve following:
- updating zones on the fly
- instant startup (although it loads 1M blocklist in a fraction of
second)
- no extra memory usage between multiple processes
the compatibility notes are in the documentation

11 years agomodules: 'view' that implements views and ACLs
Marek Vavruša [Mon, 10 Aug 2015 15:07:12 +0000 (17:07 +0200)] 
modules: 'view' that implements views and ACLs

module can identify clients based on their source address or used TSIG
key

11 years agolib: added query source information to request (optional)
Marek Vavruša [Mon, 10 Aug 2015 15:06:18 +0000 (17:06 +0200)] 
lib: added query source information to request (optional)

the requestor can provide information identifying the query originator
here (address and TSIG key), both fields are optional
update Lua FFI bindings

11 years agodaemon/lua: packet gets :tc([val]) for TC bit
Marek Vavruša [Mon, 10 Aug 2015 12:56:16 +0000 (14:56 +0200)] 
daemon/lua: packet gets :tc([val]) for TC bit

11 years agodaemon/io: zero-initialize TCP handles
Marek Vavruša [Mon, 10 Aug 2015 12:55:48 +0000 (14:55 +0200)] 
daemon/io: zero-initialize TCP handles

11 years agomodules/block -> modules/policy
Marek Vavruša [Mon, 10 Aug 2015 12:55:15 +0000 (14:55 +0200)] 
modules/block -> modules/policy

11 years agolayer/validate: added function searching for RR type in packet
Karel Slany [Fri, 7 Aug 2015 09:16:02 +0000 (11:16 +0200)] 
layer/validate: added function searching for RR type in packet

11 years agolayer/validate: moved NSEC wildcard response check to nsec.c
Karel Slany [Fri, 7 Aug 2015 09:00:36 +0000 (11:00 +0200)] 
layer/validate: moved NSEC wildcard response check to nsec.c

11 years agotests: added console assertions to config file template
Marek Vavruša [Thu, 6 Aug 2015 17:57:32 +0000 (19:57 +0200)] 
tests: added console assertions to config file template

11 years agotests: added block module to tests
Marek Vavruša [Thu, 6 Aug 2015 17:10:46 +0000 (19:10 +0200)] 
tests: added block module to tests

11 years agotests: renamed config_template -> kresd.j2
Marek Vavruša [Thu, 6 Aug 2015 17:08:38 +0000 (19:08 +0200)] 
tests: renamed config_template -> kresd.j2

11 years agodaemon: fixed forgotten disabled minimization
Marek Vavruša [Thu, 6 Aug 2015 16:51:56 +0000 (18:51 +0200)] 
daemon: fixed forgotten disabled minimization

11 years agobuild: fixed check running before modules are installed
Marek Vavruša [Thu, 6 Aug 2015 16:57:33 +0000 (18:57 +0200)] 
build: fixed check running before modules are installed

11 years agotests: simple test for synchronous resolution API
Marek Vavruša [Thu, 6 Aug 2015 16:52:15 +0000 (18:52 +0200)] 
tests: simple test for synchronous resolution API

11 years agobuild: added 'daemon' coverage tracking
Marek Vavruša [Thu, 6 Aug 2015 16:51:35 +0000 (18:51 +0200)] 
build: added 'daemon' coverage tracking

11 years agolayer/validate: added some NSEC-related checks
Karel Slany [Thu, 6 Aug 2015 16:54:25 +0000 (18:54 +0200)] 
layer/validate: added some NSEC-related checks

11 years agobuild: fix gcov integration tests
Marek Vavruša [Thu, 6 Aug 2015 15:24:27 +0000 (17:24 +0200)] 
build: fix gcov integration tests

fixes killing the server with SIGKILL causing abortiong,
added SIGTERM handler and ignored retcode from uv_run()

11 years agobuild: added jinja2 to Travis build
Marek Vavruša [Thu, 6 Aug 2015 12:47:08 +0000 (14:47 +0200)] 
build: added jinja2 to Travis build

11 years agotests: jinja2 is used for config generation
Grigorii Demidov [Thu, 6 Aug 2015 11:20:09 +0000 (13:20 +0200)] 
tests: jinja2 is used for config generation

11 years agotests: config sections in tests/testdata/*.rpl contains only key:value pairs
Grigorii Demidov [Thu, 6 Aug 2015 08:27:56 +0000 (10:27 +0200)] 
tests: config sections in tests/testdata/*.rpl contains only key:value pairs

11 years agotests: debug print was removed
Grigorii Demidov [Thu, 6 Aug 2015 07:38:38 +0000 (09:38 +0200)] 
tests: debug print was removed

11 years agotests/validate: added NSEC NXDOMAIN response test
Karel Slany [Wed, 5 Aug 2015 16:05:41 +0000 (18:05 +0200)] 
tests/validate: added NSEC NXDOMAIN response test

11 years agolayer/validate: NSEC authenticated denial of existence check
Karel Slany [Wed, 5 Aug 2015 16:02:46 +0000 (18:02 +0200)] 
layer/validate: NSEC authenticated denial of existence check

11 years agolater/validate: fixed mistake when detecting wildcard expansion
Karel Slany [Wed, 5 Aug 2015 15:51:50 +0000 (17:51 +0200)] 
later/validate: fixed mistake when detecting wildcard expansion

11 years agotests: removed pointless timeout
Marek Vavruša [Wed, 5 Aug 2015 15:46:22 +0000 (17:46 +0200)] 
tests: removed pointless timeout

11 years agoMerge branch 'master' into tests_raw_query
Marek Vavruša [Wed, 5 Aug 2015 15:44:15 +0000 (17:44 +0200)] 
Merge branch 'master' into tests_raw_query

11 years agotests: allow test driver response failure
Marek Vavruša [Wed, 5 Aug 2015 15:28:11 +0000 (17:28 +0200)] 
tests: allow test driver response failure

11 years agotests/integration: removed buggy wait, cleanup
Marek Vavruša [Wed, 5 Aug 2015 15:24:35 +0000 (17:24 +0200)] 
tests/integration: removed buggy wait, cleanup

- the test driver now waits for daemon to accept TCP
- workaround cwrap bug, Python prebinds to daemon sockets to create files
- tested daemon runs in the testdir
- test driver doesn’t kill all kresd processes

11 years agotest/scenario: fixed buggy query sending code
Marek Vavruša [Wed, 5 Aug 2015 15:22:34 +0000 (17:22 +0200)] 
test/scenario: fixed buggy query sending code

- no need to bind to client socket
- relying on short timeouts is bad
- no check for send buffers overflow

11 years agotests/integration: fixed libfaketime on Darwin
Marek Vavruša [Wed, 5 Aug 2015 15:20:24 +0000 (17:20 +0200)] 
tests/integration: fixed libfaketime on Darwin

11 years agotests: decreased timeout
Grigorii Demidov [Wed, 5 Aug 2015 13:23:05 +0000 (15:23 +0200)] 
tests: decreased timeout

11 years agotests: set SO_REUSEADDR for client socket
Grigorii Demidov [Wed, 5 Aug 2015 13:16:57 +0000 (15:16 +0200)] 
tests: set SO_REUSEADDR for client socket

11 years agotests: increased subprocess timeout
Grigorii Demidov [Wed, 5 Aug 2015 12:57:09 +0000 (14:57 +0200)] 
tests: increased subprocess timeout

11 years agotests: run testserver at allocation
Grigorii Demidov [Wed, 5 Aug 2015 12:45:37 +0000 (14:45 +0200)] 
tests: run testserver at allocation

11 years agobuild: clean travis cache from installed binaries
Marek Vavruša [Wed, 5 Aug 2015 12:36:36 +0000 (14:36 +0200)] 
build: clean travis cache from installed binaries

this is a workaround, as we don't support `make uninstall` yet

11 years agobuild: install modules before checking
Marek Vavruša [Wed, 5 Aug 2015 12:27:00 +0000 (14:27 +0200)] 
build: install modules before checking

11 years agodaemon/engine: fixed Lua 5.2 compatibility
Marek Vavruša [Tue, 21 Jul 2015 12:41:57 +0000 (14:41 +0200)] 
daemon/engine: fixed Lua 5.2 compatibility

11 years agotests: unified test script
Grigorii Demidov [Wed, 5 Aug 2015 12:12:30 +0000 (14:12 +0200)] 
tests: unified test script

11 years agolayer/validate: signature checking moved to separate compilation unit
Karel Slany [Tue, 4 Aug 2015 13:57:22 +0000 (15:57 +0200)] 
layer/validate: signature checking moved to separate compilation unit

11 years agotests: do not inherit CFLAGS for libfaketime
Marek Vavruša [Tue, 4 Aug 2015 12:56:41 +0000 (14:56 +0200)] 
tests: do not inherit CFLAGS for libfaketime

11 years agoscripts: added cwrap socket_wrapper for Travis build
Marek Vavruša [Tue, 4 Aug 2015 12:51:58 +0000 (14:51 +0200)] 
scripts: added cwrap socket_wrapper for Travis build

11 years agolib/zonecut: filter private addresses from internet
Marek Vavruša [Tue, 4 Aug 2015 12:45:32 +0000 (14:45 +0200)] 
lib/zonecut: filter private addresses from internet

zonecut should be able to hold these for testing reasons (like private
root or zone cut), but it should filter out data from the internet
a new flag: QUERY_ALLOW_LOCAL allows for being more permissive, and
letting name server query local or private address ranges

11 years agobuild: do not require Python libraries now
Marek Vavruša [Tue, 4 Aug 2015 12:31:54 +0000 (14:31 +0200)] 
build: do not require Python libraries now

11 years agolayer/validate: moved some code into separate modules
Karel Slany [Tue, 4 Aug 2015 12:19:45 +0000 (14:19 +0200)] 
layer/validate: moved some code into separate modules

11 years agotests: fixed qname minimisation tests
Marek Vavruša [Tue, 4 Aug 2015 12:17:59 +0000 (14:17 +0200)] 
tests: fixed qname minimisation tests

11 years agodaemon/engine: added option() for setting context options
Marek Vavruša [Tue, 4 Aug 2015 12:17:45 +0000 (14:17 +0200)] 
daemon/engine: added option() for setting context options

this is not documented atm as it is going to change for a module with
declarative interface and less cryptic names

11 years agotest: cleanup of old files
Marek Vavruša [Tue, 4 Aug 2015 11:40:50 +0000 (13:40 +0200)] 
test: cleanup of old files

11 years agotests: added README.rst, libfaketime as a git submodule, fixed depends
Marek Vavruša [Tue, 4 Aug 2015 11:38:08 +0000 (13:38 +0200)] 
tests: added README.rst, libfaketime as a git submodule, fixed depends