From: Miek Gieben Date: Sun, 11 Dec 2005 10:55:09 +0000 (+0000) Subject: added threshold-update file. Made a comment about dpa in the ChangLog - X-Git-Tag: release-1.1.0~537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52a7951d7f465f4bd4a1cbcc4e645735f13db555;p=thirdparty%2Fldns.git added threshold-update file. Made a comment about dpa in the ChangLog - as it is a neat tool :) Moved dpa* to ldns-dpa* to conform to the "standards" we set for the examples directory. --- diff --git a/Changelog b/Changelog index 9d0f3434..2a11fdfa 100644 --- a/Changelog +++ b/Changelog @@ -15,6 +15,10 @@ December??? 2005: 1.0.1: ldns-team * Implement a crude RTT check, it now distinguishes between reacheable and unreacheable. + Examples: + * ldns-dpa was added to the examples - this is Dns Packet + Analyzer tool. + Code: * All networking code was moved to net.c diff --git a/examples/Makefile.in b/examples/Makefile.in index e69fe491..06021b19 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -31,7 +31,7 @@ SOURCES = ldns-read-zone.c \ ldns-version.c \ ldns-rrsig.c \ ldns-walk.c \ - dpa.c + ldns-dpa.c PROGRAMS=$(SOURCES:.c=) @@ -70,7 +70,7 @@ ldns-rrsig: ldns-rrsig.o ldns-walk: ldns-walk.o $(LINK) -o $@ $+ -dpa: dpa.o +ldns-dpa: ldns-dpa.o $(LINK) -o $@ $+ ## implicit rule diff --git a/examples/ldns-threshold-update.c b/examples/ldns-threshold-update.c new file mode 100644 index 00000000..4199712a --- /dev/null +++ b/examples/ldns-threshold-update.c @@ -0,0 +1,22 @@ +/* + * ldns-threshold update + * + * Periodicly look at the defined secure entry point(s) and look + * for changes in the keyset. If the changes are valid (i.e. + * threshold signed) update the keyset on the system. + * + * The keys are kept in the file /etc/resolvkeys.conf + * + * This program acts as daemon, detaches, writes pid, etc. + * + * In the future we may need some mechanism to notify the + * users - maybe something like D-Bus could do the trick. + * For now, just lurk in the back ground + * + * (c) NLnet Labs, 2005 + * + * See the file LICENSE for the license + */ + +#include "config.h" +#include