-fix uninit and fix leak
[oweals/gnunet.git] / src / gns / gns.conf.in
index e865efd21f5d326fbe9b576f42132b2163e21d34..f336e6a4148741ad0bfa49dc78b4c6c8c39568c2 100644 (file)
@@ -6,6 +6,8 @@ BINARY = gnunet-service-gns
 UNIXPATH = /tmp/gnunet-service-gns.sock
 @UNIXONLY@PORT = 2102
 
+ZONE_DIR = $SERVICEHOME/gns/
+
 # Where to store the key for the Master zone
 ZONEKEY = $SERVICEHOME/gns/zonekey.zkey
 
@@ -22,6 +24,13 @@ HIJACK_DNS = NO
 # Automatically import PKEYs we learn into the shorten zone?
 AUTO_IMPORT_PKEY = YES
 
+# 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
+
 # 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)
@@ -39,11 +48,19 @@ 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
 
@@ -56,6 +73,10 @@ HOSTNAME = localhost
 # FIXME: Dead option?
 HOME = $SERVICEHOME
 
-# Name of the fcfs binary (for ARM)
-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