]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
9 years agomodules/http: graphs, prometheus metrics, websocks
Marek Vavrusa [Wed, 8 Jun 2016 07:04:21 +0000 (00:04 -0700)] 
modules/http: graphs, prometheus metrics, websocks

* http embeds modified lua-http server code that
  reuses single cqueue for all h2 client sockets,
  this is also because the API in upstream is unstable
* http embeds rickshaw for real-time graphs over
  websockets, it displays latency heatmap by default
  and can show several other metrics
* http shows a world map with pinned recently contacted
  authoritatives, where diameter represents number
  of queries sent and colour its average RTT, so
  you can see where the queries are going
* http now exports several endpoints and websockets:
  /stats for statistics in JSON, and /metrics for
  metrics in Prometheus text format

9 years agomodules/daf: initial commit
Marek Vavrusa [Wed, 1 Jun 2016 07:08:20 +0000 (00:08 -0700)] 
modules/daf: initial commit

9 years agomodules/http: doc, auto-tls, cert renewal, ...
Marek Vavrusa [Wed, 1 Jun 2016 07:08:00 +0000 (00:08 -0700)] 
modules/http: doc, auto-tls, cert renewal, ...

added documentation, many fixes in the H2 fallback
code and H2 stream handling, TLS is enabled by
default using ephemeral key and certificate that
is automatically renewed, but custom certificates
are also supported

this also allows other modules to place code
snippets on the webpage

9 years agomodules/http: stream stats and outbound name freq
Marek Vavrusa [Fri, 27 May 2016 07:34:23 +0000 (00:34 -0700)] 
modules/http: stream stats and outbound name freq

9 years agomodules/http: realtime stats over websockets
Marek Vavrusa [Thu, 26 May 2016 00:15:16 +0000 (17:15 -0700)] 
modules/http: realtime stats over websockets

9 years agodaemon/bindings: event.reschedule(ev, timeout)
Marek Vavrusa [Thu, 26 May 2016 00:14:52 +0000 (17:14 -0700)] 
daemon/bindings: event.reschedule(ev, timeout)

this allows for efficient variable-interval
running events, so that the timer doesn't have
to be closed and recreated for each iteration

9 years agomodules/http: initial commit
Marek Vavrusa [Mon, 23 May 2016 01:07:48 +0000 (18:07 -0700)] 
modules/http: initial commit

9 years agoMerge branch 'prefix-sbindir-changes' into 'master'
Marek Vavrusa [Tue, 5 Jul 2016 07:45:39 +0000 (09:45 +0200)] 
Merge branch 'prefix-sbindir-changes' into 'master'

Daemons should be in sbin, make destination variables overridable

According to FHS the 'Non-essential system binaries, e.g., daemons for various network-services.' should be installed in /usr/sbin

Also changed `:=` to `?=` to allow variable override without patching `config.mk`.

See merge request !32

9 years agolib/cache: fixed incorrect ranking in some places
Marek Vavrusa [Fri, 1 Jul 2016 17:47:11 +0000 (10:47 -0700)] 
lib/cache: fixed incorrect ranking in some places

fixed incorrect tagging in rrmap where secure rank would overflow

found by @gdemidov

9 years agoFix bin to sbin in scripts
Ondřej Surý [Thu, 30 Jun 2016 08:50:14 +0000 (10:50 +0200)] 
Fix bin to sbin in scripts

9 years agoDaemons should be in sbin, make destination variables overridable
Ondřej Surý [Thu, 30 Jun 2016 08:40:41 +0000 (10:40 +0200)] 
Daemons should be in sbin, make destination variables overridable

9 years agoscripts: updated apparmor file
Marek Vavrusa [Wed, 29 Jun 2016 03:56:19 +0000 (20:56 -0700)] 
scripts: updated apparmor file

9 years agoMerge branch 'clean-tests' into 'master'
Marek Vavrusa [Wed, 22 Jun 2016 18:26:45 +0000 (20:26 +0200)] 
Merge branch 'clean-tests' into 'master'

build: clean tests/mock_cmodule.o

See merge request !30

9 years agobuild: clean tests/mock_cmodule.o
Jan Vcelak [Wed, 22 Jun 2016 09:35:28 +0000 (11:35 +0200)] 
build: clean tests/mock_cmodule.o

9 years agodaemon: fixed memleak on exit
Marek Vavrusa [Tue, 21 Jun 2016 17:18:32 +0000 (10:18 -0700)] 
daemon: fixed memleak on exit

fixes #77

9 years agolib/pktcache: stricter using TTL for pktcache
Marek Vavrusa [Tue, 21 Jun 2016 07:02:07 +0000 (00:02 -0700)] 
lib/pktcache: stricter using TTL for pktcache

* SOA MINTTL always preferred for negative answers
* only SOA used for negative answers

refs #75

9 years agolib/iterate: drop minimisation when getting REFUSED
Marek Vavrusa [Fri, 17 Jun 2016 05:39:28 +0000 (22:39 -0700)] 
lib/iterate: drop minimisation when getting REFUSED

this is required to avoid REFUSED loops if the origin doesn't handle
minimisation well

9 years agoMerge branch 'rrcache_fix'
Marek Vavrusa [Thu, 16 Jun 2016 17:35:47 +0000 (10:35 -0700)] 
Merge branch 'rrcache_fix'

9 years agolayer/rrcache: fix ANSWER section processing
Grigorii Demidov [Tue, 31 May 2016 12:57:29 +0000 (14:57 +0200)] 
layer/rrcache: fix ANSWER section processing

9 years agobuild: bumped version to 1.1.0
Marek Vavrusa [Thu, 16 Jun 2016 17:19:04 +0000 (10:19 -0700)] 
build: bumped version to 1.1.0

9 years agodaemon: fix serialization of empty nested tables
Marek Vavrusa [Fri, 27 May 2016 07:33:54 +0000 (00:33 -0700)] 
daemon: fix serialization of empty nested tables

9 years agomodules/predict: fixed a typo
Marek Vavrusa [Wed, 8 Jun 2016 07:20:57 +0000 (00:20 -0700)] 
modules/predict: fixed a typo

9 years agodaemon/worker: fix outbound TCP queries
Marek Vavrusa [Thu, 16 Jun 2016 17:12:51 +0000 (10:12 -0700)] 
daemon/worker: fix outbound TCP queries

previously the buffer for TCP pkt reassembly was
not correctly cleared and fragmented answers
were rejected

9 years agolib/utils: fixed full subnet mask length calc
Marek Vavrusa [Thu, 16 Jun 2016 17:11:54 +0000 (10:11 -0700)] 
lib/utils: fixed full subnet mask length calc

previously, if no subnet was given (127.0.0.0),
it was treated as 127.0.0.0/0. now it is treated
as full address length, e.g. 127.0.0.0/32

9 years agodaemon,lib: cleanup
Marek Vavrusa [Thu, 16 Jun 2016 17:10:17 +0000 (10:10 -0700)] 
daemon,lib: cleanup

9 years agomodules/predict: fixup
Marek Vavrusa [Tue, 31 May 2016 18:01:29 +0000 (11:01 -0700)] 
modules/predict: fixup

9 years agoservice: remove obsolete dependencies
Jan Vcelak [Tue, 31 May 2016 09:04:52 +0000 (11:04 +0200)] 
service: remove obsolete dependencies

After=network.target is still needed because we don't have IP_FREEBIND.

9 years agoMerge branch 'rel_cleanup' into 'master' v1.0.0
Grigorii Demidov [Mon, 30 May 2016 16:22:25 +0000 (18:22 +0200)] 
Merge branch 'rel_cleanup' into 'master'

Release cleanup

Write a comment or drag your files here...

See merge request !28

9 years agosynced deckard
Grigorii Demidov [Mon, 30 May 2016 16:13:50 +0000 (18:13 +0200)] 
synced deckard

9 years agolib/resolve: cleanup
Grigorii Demidov [Mon, 30 May 2016 16:06:48 +0000 (18:06 +0200)] 
lib/resolve: cleanup

9 years agolib: sync before clearing, cleanup
Marek Vavrusa [Sun, 29 May 2016 20:27:57 +0000 (13:27 -0700)] 
lib: sync before clearing, cleanup

9 years agodaemon/io: freed handle could be touched in libuv
Marek Vavrusa [Sun, 29 May 2016 20:27:19 +0000 (13:27 -0700)] 
daemon/io: freed handle could be touched in libuv

the daemon wrongly freed handle that returned 0,
as in "no more data". this socket is going to be
closed, but it still could be touched by libuv
so it must be freed wit uv_close() handler

9 years agodaemon/bindings: check if cache is open
Marek Vavrusa [Fri, 27 May 2016 21:49:45 +0000 (14:49 -0700)] 
daemon/bindings: check if cache is open

9 years agolib/cache: fixed reinsert of invalidated record
Marek Vavrusa [Fri, 27 May 2016 21:06:11 +0000 (14:06 -0700)] 
lib/cache: fixed reinsert of invalidated record

when opening an empty database, an invalidated key
value was written resulting in possible corruption
of the cache

9 years agopre-release cleanup
Marek Vavrusa [Fri, 27 May 2016 06:14:36 +0000 (23:14 -0700)] 
pre-release cleanup

9 years agodaemon: fixed socket mempool cleanup on exit
Marek Vavrusa [Fri, 27 May 2016 05:52:39 +0000 (22:52 -0700)] 
daemon: fixed socket mempool cleanup on exit

fixes #73 small leak in cleaning up per-socket
mempool on daemon exit

9 years agobuild: unbroken Go build checks
Marek Vavrusa [Fri, 27 May 2016 05:34:44 +0000 (22:34 -0700)] 
build: unbroken Go build checks

9 years agolib/resolve: added synchronous cache option
Marek Vavrusa [Fri, 27 May 2016 05:00:40 +0000 (22:00 -0700)] 
lib/resolve: added synchronous cache option

9 years agoMerge branch 'test_cache_fix' into 'master'
Marek Vavrusa [Fri, 27 May 2016 04:19:20 +0000 (06:19 +0200)] 
Merge branch 'test_cache_fix' into 'master'

tests/test_cache: fix broken test

See merge request !27

9 years agotests/test_cache: fix broken test
Grigorii Demidov [Wed, 25 May 2016 11:32:21 +0000 (13:32 +0200)] 
tests/test_cache: fix broken test

9 years agoMerge branch 'cname_fix' into 'master'
Marek Vavrusa [Wed, 25 May 2016 04:53:48 +0000 (06:53 +0200)] 
Merge branch 'cname_fix' into 'master'

layer/iterate: CNAME chain unrolling improvement

Write a comment or drag your files here...

See merge request !26

9 years agolayer/iterate: CNAME chain unrolling improvement
Grigorii Demidov [Mon, 23 May 2016 09:46:17 +0000 (11:46 +0200)] 
layer/iterate: CNAME chain unrolling improvement

9 years agodaemon: support event.socket(fd, cb) for I/O events
Marek Vavrusa [Mon, 23 May 2016 00:56:50 +0000 (17:56 -0700)] 
daemon: support event.socket(fd, cb) for I/O events

this allows embedding other event loops or just
asynchronous events triggered by socket activity.
this is required for things like cooperative
HTTP server, monitoring endpoint or remote
configuration daemon/controller

9 years agolib/resolve: never read rcode if answer not exists
Marek Vavrusa [Sun, 22 May 2016 03:59:59 +0000 (20:59 -0700)] 
lib/resolve: never read rcode if answer not exists

9 years agoworker: fixed corruption when follower timeouts, early free
Marek Vavrusa [Sun, 22 May 2016 03:58:11 +0000 (20:58 -0700)] 
worker: fixed corruption when follower timeouts, early free

* when enqueued task terminated earlier than leader
  task because of timeout, it wasn't dequeued from
  the waitlist immediately, but it didn't have any
  outstanding outbound queries. when leader task
  terminated, it removed this task and updated its
  outbound query, which didn't exist. this triggered
  a 16B write in undefined location
* fixed timeout timer being scheduled for closing
  without holding reference to parent task

9 years agolib: cache api v2, removed dep on libknot db.h
Marek Vavrusa [Sun, 15 May 2016 21:14:53 +0000 (14:14 -0700)] 
lib: cache api v2, removed dep on libknot db.h

this change introduces new API for cache backends,
that is a subset of knot_db_api_t from libknot
with several cache-specific operations

major changes are:
* merged 'cachectl' module into 'cache' as it is
  99% default-on and it simplifies things
* not transaction oriented, transactions may be
  reused and cached for higher performance
* scatter/gather API, this is important for
  latency and performance of non-local backends
  like Redis
* faster and reliable cache clearing
* cache-specific operations (prefix scan, ...) in
  the API not hacked in
* simpler code for both backends and caller

9 years agocontrib/lmdb: imported LMDB 0.9.18, built-in
Marek Vavrusa [Sun, 15 May 2016 21:08:45 +0000 (14:08 -0700)] 
contrib/lmdb: imported LMDB 0.9.18, built-in

by default, build system attempts to use LMDB
from the system. however if it's not found or
the version is too old, it uses the built-in
snapshot in contrib

9 years agoMerge branch 'refs' into 'master'
Marek Vavrusa [Wed, 18 May 2016 03:56:57 +0000 (05:56 +0200)] 
Merge branch 'refs' into 'master'

lib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones

See merge request !24

9 years agoMerge branch 'dups' into 'master'
Marek Vavrusa [Wed, 18 May 2016 03:50:17 +0000 (05:50 +0200)] 
Merge branch 'dups' into 'master'

layer/iterate, layer/pktcache: fix duplicate records in replies

See merge request !25

9 years agolayer/iterate, layer/pktcache: fix dupplicate records in replies
Grigorii Demidov [Tue, 17 May 2016 08:45:11 +0000 (10:45 +0200)] 
layer/iterate, layer/pktcache: fix dupplicate records in replies

9 years agolib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones
Grigorii Demidov [Tue, 17 May 2016 07:53:47 +0000 (09:53 +0200)] 
lib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones

9 years agobuild: more checks for travis builds
Marek Vavrusa [Sat, 14 May 2016 22:32:38 +0000 (15:32 -0700)] 
build: more checks for travis builds

9 years agodaemon/worker: deduplicate inbound queries
Marek Vavrusa [Wed, 11 May 2016 07:40:35 +0000 (00:40 -0700)] 
daemon/worker: deduplicate inbound queries

many clients do frequent retransmits of the query
to avoid network losses and get better service,
but then fail to work properly when a resolver
answers SERVFAIL to some of them because of the
time limit and some of them NOERROR.
it's also a good idea to avoid wasting time
tracking pending tasks to solve the same thing.

9 years agoAllow Go modules on more architectures
Ondřej Surý [Thu, 12 May 2016 13:27:44 +0000 (15:27 +0200)] 
Allow Go modules on more architectures

9 years agodaemon: do not modify task for outgoing queries
Marek Vavrusa [Wed, 11 May 2016 00:45:12 +0000 (17:45 -0700)] 
daemon: do not modify task for outgoing queries

if the upstream TCP query timeouted or the connection
was severed, it would dissociate the handle from
original query, so the query would be solved
but the requestor wouldn't see the answer unless
he requeried

9 years agodaemon: fix statistics for outgoing TCPs
Marek Vavrusa [Wed, 11 May 2016 00:14:10 +0000 (17:14 -0700)] 
daemon: fix statistics for outgoing TCPs

9 years agodaemon: renamed is_subreq -> outgoing
Marek Vavrusa [Wed, 11 May 2016 00:11:41 +0000 (17:11 -0700)] 
daemon: renamed is_subreq -> outgoing

9 years agoMerge branch 'ref_serv' into 'master'
Marek Vavrusa [Fri, 6 May 2016 06:44:02 +0000 (08:44 +0200)] 
Merge branch 'ref_serv' into 'master'

Additional processing for REFUSED & SERVFAIL rcodes

See merge request !22

9 years agolib: cleanup servfail soft-fails
Marek Vavrusa [Fri, 6 May 2016 06:40:28 +0000 (23:40 -0700)] 
lib: cleanup servfail soft-fails

* simplified soft-fail per-ns limit to per-query
  limit, each query gets 4 tries at resolving
* instead of locking at single servfailing NS,
  penalise it and run reelection, this may or
  may not try other servers but avoids pathologic
  case when single NS is servfailing while others
  are good but never probed
* added new nsrep update mode (addition)

9 years agolib/resolve,layer/iterate: processing for REFUSED & SERVFAIL rcodes
Grigorii Demidov [Tue, 3 May 2016 09:10:23 +0000 (11:10 +0200)] 
lib/resolve,layer/iterate: processing for REFUSED & SERVFAIL rcodes

9 years agotests/tests.mk: fails if deckard/contrib/libswrap/obj directory already exists
Grigorii Demidov [Thu, 5 May 2016 08:15:27 +0000 (10:15 +0200)] 
tests/tests.mk: fails if deckard/contrib/libswrap/obj directory already exists

9 years agotests/deckard: sync to master
Grigorii Demidov [Tue, 3 May 2016 11:35:34 +0000 (13:35 +0200)] 
tests/deckard: sync to master

9 years agoMerge branch 'tcp-ooo'
Marek Vavrusa [Wed, 4 May 2016 00:46:56 +0000 (17:46 -0700)] 
Merge branch 'tcp-ooo'

9 years agolib/validate: fixed memory bug
Marek Vavrusa [Wed, 4 May 2016 00:17:53 +0000 (17:17 -0700)] 
lib/validate: fixed memory bug

this code used memory pool of source packet instead
of the answer, this could result in invalidated
memory read if the memory occupied by source
packet was rewritten

9 years agodaemon: out-of-order processing for TCP
Marek Vavrusa [Tue, 3 May 2016 06:56:20 +0000 (23:56 -0700)] 
daemon: out-of-order processing for TCP

* daemon now processes messages over TCP stream
out-of-order and concurrently
* support for TCP_DEFER_ACCEPT
* support for TCP Fast-Open
* there are now deadlines for TCP for idle/slow
streams (to prevent slowloris; pruning)
* there is now per-request limit on timeouts
(each request is allowed 4 timeouts before bailing)
* faster request closing, unified retry/timeout timers
* rare race condition in timer closing fixed

9 years agodaemon: mode(strict|normal|permissive)
Marek Vavrusa [Mon, 18 Apr 2016 03:34:31 +0000 (20:34 -0700)] 
daemon: mode(strict|normal|permissive)

the daemon has now three modes of strictness
checking from strict to permissive.
it reflects the tradeoff between resolving the
query in as few steps as possible and security
for insecure zones

9 years agopolicy: warn when NYI action
Marek Vavrusa [Mon, 18 Apr 2016 02:13:02 +0000 (19:13 -0700)] 
policy: warn when NYI action

9 years agoengine: clear bad scorers from RTT every 5 minutes
Marek Vavrusa [Mon, 18 Apr 2016 00:32:17 +0000 (17:32 -0700)] 
engine: clear bad scorers from RTT every 5 minutes

an internal timer walks RTT timer periodically and
clears entries with bad results every 5 minutes.
this means that a timeouted entry penalty is
capped to that interval, making sure that the
bad reputation doesn't last forever

9 years agoengine: throttle outbound queries only when busy
Marek Vavrusa [Mon, 18 Apr 2016 00:29:41 +0000 (17:29 -0700)] 
engine: throttle outbound queries only when busy

resolver will always attempt to contact upstreams
known to be bad if it's not busy.
this fixes a problem on low-volume resolvers
where a short connection outage could make
resolvers deny resolving queries even after the
connection is restored

9 years agobuild: no fortify when address sanitizer
Marek Vavrusa [Fri, 15 Apr 2016 16:35:31 +0000 (09:35 -0700)] 
build: no fortify when address sanitizer

9 years agoupdated deckard
Marek Vavrusa [Fri, 15 Apr 2016 07:28:58 +0000 (00:28 -0700)] 
updated deckard

9 years agoRevert "lib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones"
Marek Vavrusa [Fri, 15 Apr 2016 07:20:56 +0000 (00:20 -0700)] 
Revert "lib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones"

This reverts commit f9ffeca9cc7382b8ed24217bfab1d0f34a51bd7a.

9 years agolib/iterate: QUERY_PERMISSIVE mode
Marek Vavrusa [Fri, 15 Apr 2016 07:03:13 +0000 (00:03 -0700)] 
lib/iterate: QUERY_PERMISSIVE mode

in permissive mode, resolver is free to use
(but not cache) non-mandatory glue records even
if they're not resolvable. this is great as a
workaround for broken child-side zones, but
not great for security of, well, insecure
delegations. it's off by default.

9 years agotests: cache test fixed
Grigorii Demidov [Thu, 14 Apr 2016 12:08:01 +0000 (14:08 +0200)] 
tests: cache test fixed

9 years agoremove asprintf warnings
Daniel Kahn Gillmor [Sun, 3 Apr 2016 05:43:34 +0000 (02:43 -0300)] 
remove asprintf warnings

9 years agoadded surmised C indentation rules for emacs users
Daniel Kahn Gillmor [Sun, 3 Apr 2016 03:10:41 +0000 (00:10 -0300)] 
added surmised C indentation rules for emacs users

9 years agofix comment
Daniel Kahn Gillmor [Sun, 3 Apr 2016 01:02:26 +0000 (22:02 -0300)] 
fix comment

9 years agotests: updated deckard
Marek Vavrusa [Thu, 14 Apr 2016 05:28:55 +0000 (22:28 -0700)] 
tests: updated deckard

9 years agolayer/rrcache: record cache miss avoided for wcard answers
Grigorii Demidov [Mon, 4 Apr 2016 12:16:10 +0000 (14:16 +0200)] 
layer/rrcache: record cache miss avoided for wcard answers

9 years agolib/cache: flags field was added to cache entry header
Grigorii Demidov [Fri, 1 Apr 2016 11:24:24 +0000 (13:24 +0200)] 
lib/cache: flags field was added to cache entry header

9 years agodnssec: wildcard answer proof
Grigorii Demidov [Thu, 31 Mar 2016 16:41:08 +0000 (18:41 +0200)] 
dnssec: wildcard answer proof

9 years agolib/layer: CNAME chain construction improvement
Grigorii Demidov [Tue, 15 Mar 2016 14:47:49 +0000 (15:47 +0100)] 
lib/layer: CNAME chain construction improvement

9 years agolib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones
Grigorii Demidov [Mon, 14 Mar 2016 11:12:21 +0000 (12:12 +0100)] 
lib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones

9 years agodnssec/nsec: lookup for rset type withinin nsec3 type bitmap; minor bug fixed
Grigorii Demidov [Fri, 11 Mar 2016 11:49:20 +0000 (12:49 +0100)] 
dnssec/nsec: lookup for rset type withinin nsec3 type bitmap; minor bug fixed

9 years agodoc: fixes, added `second` and `min` aliases
Marek Vavrusa [Thu, 7 Apr 2016 16:43:45 +0000 (09:43 -0700)] 
doc: fixes, added `second` and `min` aliases

9 years agoMerge branch 'PaulosV-PaulosV-patch-1-readme-docker'
Marek Vavrusa [Wed, 6 Apr 2016 17:27:35 +0000 (10:27 -0700)] 
Merge branch 'PaulosV-PaulosV-patch-1-readme-docker'

9 years agoMerge branch 'PaulosV-patch-1-readme-docker' of https://github.com/PaulosV/knot-resol...
Marek Vavrusa [Wed, 6 Apr 2016 17:27:27 +0000 (10:27 -0700)] 
Merge branch 'PaulosV-patch-1-readme-docker' of https://github.com/PaulosV/knot-resolver into PaulosV-PaulosV-patch-1-readme-docker

9 years agoMerge branch 'thozza-daemon-doc-typo'
Marek Vavrusa [Wed, 6 Apr 2016 17:26:09 +0000 (10:26 -0700)] 
Merge branch 'thozza-daemon-doc-typo'

9 years agoMerge branch 'daemon-doc-typo' of https://github.com/thozza/knot-resolver into thozza...
Marek Vavrusa [Wed, 6 Apr 2016 17:25:58 +0000 (10:25 -0700)] 
Merge branch 'daemon-doc-typo' of https://github.com/thozza/knot-resolver into thozza-daemon-doc-typo

9 years agoMerge branch 'rfc5011-clearing'
Marek Vavrusa [Wed, 6 Apr 2016 04:55:27 +0000 (21:55 -0700)] 
Merge branch 'rfc5011-clearing'

9 years agotrust_anchors: added custom timers, limit history
Marek Vavrusa [Tue, 5 Apr 2016 22:18:20 +0000 (15:18 -0700)] 
trust_anchors: added custom timers, limit history

new trust anchors variables:
* trust_anchors.hold_down_time = 30 * day
* trust_anchors.refresh_time = nil
* trust_anchors.keep_removed = 0

these could be used to control how often should
root trust anchors be checked and how many removed
keys should be kept in log (0 by default)

9 years agoFixed typo in daemon documentation
Tomas Hozza [Mon, 4 Apr 2016 14:03:48 +0000 (16:03 +0200)] 
Fixed typo in daemon documentation

Signed-off-by: Tomas Hozza <thozza@redhat.com>
9 years agodoc: update
Marek Vavrusa [Tue, 29 Mar 2016 21:59:52 +0000 (14:59 -0700)] 
doc: update

9 years agoAdd fix missing -m in the install command
Ondřej Surý [Tue, 29 Mar 2016 09:57:30 +0000 (11:57 +0200)] 
Add fix missing -m in the install command

9 years agoCreate mandir first before install manpage
Ondřej Surý [Tue, 29 Mar 2016 09:56:36 +0000 (11:56 +0200)] 
Create mandir first before install manpage

9 years agoMerge branch '1.0.0'
Marek Vavrusa [Tue, 29 Mar 2016 05:09:34 +0000 (22:09 -0700)] 
Merge branch '1.0.0'

9 years agoMerge branch 'supervisor'
Marek Vavrusa [Tue, 29 Mar 2016 05:09:29 +0000 (22:09 -0700)] 
Merge branch 'supervisor'

9 years agoversion bump, added kresd(8) man, updated doc
Marek Vavrusa [Tue, 29 Mar 2016 05:09:03 +0000 (22:09 -0700)] 
version bump, added kresd(8) man, updated doc

9 years agodaemon: systemd socket activation
Marek Vavrusa [Tue, 29 Mar 2016 01:35:41 +0000 (18:35 -0700)] 
daemon: systemd socket activation

addition to previous generic socket activation

fixes #11

9 years agodaemon: support running in supervised mode (--fd=X)
Marek Vavrusa [Mon, 28 Mar 2016 23:08:24 +0000 (16:08 -0700)] 
daemon: support running in supervised mode (--fd=X)

daemon can accept existing fds on command line,
thus supporting process managers like circus or
upstart. a tiny supervisor script is attached