moving from abstract unix domain socket paths to normal unix domain socket paths...
[oweals/gnunet.git] / src / gns / gns.conf.in
index 422efdbb7c9b004c1dd6fc1eee39e0381428b2a2..53da718f5605ad98e87d9a59e0d35b43dcad10b8 100644 (file)
@@ -2,16 +2,60 @@
 AUTOSTART = YES
 HOSTNAME = localhost
 HOME = $SERVICEHOME
-CONFIG = $DEFAULTCONFIG
 BINARY = gnunet-service-gns
-UNIXPATH = /tmp/gnunet-service-gns.sock
-ZONEKEY = /tmp/zonekey
-TRUSTED = bob:/tmp/bobkey
-HIJACK_DNS = YES
-OPTIONS = -L INFO
-
-# Access to this service can compromise all DNS queries in this
-# system.  Thus access should be restricted to the same UID.
-# (see https://gnunet.org/gnunet-access-control-model)
-UNIX_MATCH_UID = YES
+UNIXPATH = $SERVICEHOME/gnunet-service-gns.sock
+@UNIXONLY@PORT = 2102
+
+ZONE_DIR = $SERVICEHOME/gns/
+
+# Do we require users that want to access GNS to run this process 
+# (usually not a good idea)
+UNIX_MATCH_UID = NO
+
+# Do we require users that want to access GNS to be in the 'gnunet' group?
 UNIX_MATCH_GID = YES
+
+# How many queries is GADS allowed to perform in the background at the same time?
+MAX_PARALLEL_BACKGROUND_QUERIES = 25
+
+# 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 = $SERVICEHOME/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
+
+
+[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