]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
added threshold-update file. Made a comment about dpa in the ChangLog -
authorMiek Gieben <miekg@NLnetLabs.nl>
Sun, 11 Dec 2005 10:55:09 +0000 (10:55 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Sun, 11 Dec 2005 10:55:09 +0000 (10:55 +0000)
as it is a neat tool :)

Moved dpa* to ldns-dpa* to conform to the "standards" we set for the
examples directory.

Changelog
examples/Makefile.in
examples/ldns-threshold-update.c [new file with mode: 0644]

index 9d0f34346c31ed94cbdfeea2de89c4c900ce549d..2a11fdfa1cb255f2826966bf3e46cf4723330a56 100644 (file)
--- 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
 
index e69fe4912ce7783ee081cd5cffb7289011aabcf6..06021b197abcf2ae5ce9ee0b6eb058763795615b 100644 (file)
@@ -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 (file)
index 0000000..4199712
--- /dev/null
@@ -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 <ldns/dns.h>