aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-02 17:07:20 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-02 17:07:20 +0000
commit19a49ce74a0b987b865e2ef15561e5fa71405029 (patch)
tree43b434be121ae958895dadec25fe922ebac7b0d7 /src/dns
parent7abe8a4171588af22d4e64dade3956a15fcec6fd (diff)
downloadgnunet-19a49ce74a0b987b865e2ef15561e5fa71405029.tar.gz
gnunet-19a49ce74a0b987b865e2ef15561e5fa71405029.zip
-notes on the state of the world
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/gnunet-service-dns_new.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dns/gnunet-service-dns_new.c b/src/dns/gnunet-service-dns_new.c
index 5ae56873c..ae57d9088 100644
--- a/src/dns/gnunet-service-dns_new.c
+++ b/src/dns/gnunet-service-dns_new.c
@@ -22,6 +22,20 @@
22 * @file dns/gnunet-service-dns_new.c 22 * @file dns/gnunet-service-dns_new.c
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25// current thoughts:
26// - for full compatibility to DNS and to avoid going insane here parsing/generating DNS packets,
27// how about literally attaching the "original" DNS packet (request/response) to the IPC traffic?
28// that way, clients can literally do arbitrary modifications and we are done with that issue here.
29// All we'd do in here is add the IP/UDP headers and be DONE with it.
30// => minor modifications to API and IPC protocol
31// => minor modifications to our data structures
32// => major gains in terms of simplicity here and what can (at least theoretically) be done with the service
33// => can test much more quickly
34// => but: need to really write a good libgnunetdnsparse to avoid making MANY clients really complicated
35// (not the worst of worlds either, other than deferring this mess some...)
36// -> also positive: can be tested independently of the rest of the mess
37
38
25#include "platform.h" 39#include "platform.h"
26#include "gnunet_util_lib.h" 40#include "gnunet_util_lib.h"
27#include "gnunet_constants.h" 41#include "gnunet_constants.h"