aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gns.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gns.conf.in')
-rw-r--r--src/gns/gns.conf.in61
1 files changed, 55 insertions, 6 deletions
diff --git a/src/gns/gns.conf.in b/src/gns/gns.conf.in
index 80fb8c8..a6075f3 100644
--- a/src/gns/gns.conf.in
+++ b/src/gns/gns.conf.in
@@ -2,23 +2,72 @@
AUTOSTART = YES
HOSTNAME = localhost
HOME = $SERVICEHOME
-CONFIG = $DEFAULTCONFIG
BINARY = gnunet-service-gns
UNIXPATH = /tmp/gnunet-service-gns.sock
+@UNIXONLY@PORT = 2102
+
+# Where to store the key for the Master zone
ZONEKEY = $SERVICEHOME/gns/zonekey.zkey
+
+# Where to store the key for the Private zone
+PRIVATE_ZONEKEY = $SERVICEHOME/gns/zonekey_priv.zkey
+
+# Where to store the key for the Shorten zone
+SHORTEN_ZONEKEY = $SERVICEHOME/gns/zonekey_short.zkey
+
+# Should we hijack DNS queries using the Linux firewall?
+# (this only works on GNU/Linux systems)
HIJACK_DNS = NO
+
+# Automatically import PKEYs we learn into the shorten zone?
AUTO_IMPORT_PKEY = YES
+
+# When we automatically import PKEYs into shorten zone, require confirmation
+# before they become active? (Not useful right now as the GUI to confirm
+# doesn't exist)
AUTO_IMPORT_CONFIRMATION_REQ = NO
+
+# How many queries is GADS allowed to perform in the background at the same time?
MAX_PARALLEL_BACKGROUND_QUERIES = 25
-DEFAULT_LOOKUP_TIMEOUT = 10
-RECORD_PUT_INTERVAL = 60
-ZONE_PUT_INTERVAL = 900
+
+# When do queries fail with timeout?
+DEFAULT_LOOKUP_TIMEOUT = 10 s
+
+# How frequently do we try to publish our full zone?
+ZONE_PUBLISH_TIME_WINDOW = 4 h
+
+# PREFIX = valgrind --leak-check=full --track-origins=yes
+
+[gns-proxy]
+BINARY = gnunet-gns-proxy
+AUTOSTART = NO
+
+# Where is the certificate for the GNS proxy stored?
+PROXY_CACERT = $SERVICEHOME/gns/gnsCAcert.pem
+PROXY_UNIXPATH = /tmp/gnunet-gns-proxy.sock
+
[fcfsd]
+# Name of the fcfs binary (for ARM)
+BINARY = gnunet-gns-fcfsd
+AUTOSTART = NO
+
+# On what port does the FCFS daemon listen for HTTP clients?
HTTPPORT = 18080
+
+# Where is the zone key for the FCFS zone stored?
ZONEKEY = $SERVICEHOME/fcfsd/zonekey.zkey
+
+# For ARM, not very useful. FIXME: Dead option?
HOSTNAME = localhost
+
+# FIXME: Dead option?
HOME = $SERVICEHOME
-CONFIG = $DEFAULTCONFIG
-BINARY = gnunet-gns-fcfsd
+
+[dns2gns]
+BINARY = gnunet-dns2gns
+AUTOSTART = NO
+
+# -d: DNS resolver to use, -s: suffix to use, -f: fcfs suffix to use
+OPTIONS = -d 8.8.8.8