Add missing include
[oweals/gnunet.git] / src / transport / transport.conf.in
index e49235d8de9d8c4f5c2e3d592607c4efe617777e..fd8b5dbbbe3d40e36bd818547d25cb429b8f9044 100644 (file)
@@ -3,7 +3,6 @@ AUTOSTART = YES
 @UNIXONLY@ PORT = 2091
 HOSTNAME = localhost
 HOME = $SERVICEHOME
-CONFIG = $DEFAULTCONFIG
 BINARY = gnunet-service-transport
 #PREFIX = valgrind
 NEIGHBOUR_LIMIT = 50
@@ -12,8 +11,7 @@ ACCEPT_FROM6 = ::1;
 PLUGINS = tcp udp
 UNIXPATH = /tmp/gnunet-service-transport.sock
 BLACKLIST_FILE = $SERVICEHOME/blacklist
-# This could possibly be relaxed
-UNIX_MATCH_UID = YES
+UNIX_MATCH_UID = NO
 UNIX_MATCH_GID = YES
 # DISABLE_SOCKET_FORWARDING = NO
 # USERNAME = 
@@ -25,6 +23,15 @@ UNIX_MATCH_GID = YES
 # REJECT_FROM6 =
 # PREFIX = valgrind --leak-check=full
 
+# Configuration settings related to traffic manipulation for testing purposes
+# Distance
+# MANIPULATE_DISTANCE_IN = 1
+# MANIPULATE_DISTANCE_OUT = 1 
+# Delay; WARNING: to large values may lead to peers not connecting!
+# MANIPULATE_DELAY_IN = 1 ms
+# MANIPULATE_DELAY_OUT = 1 ms
+  
+
 [transport-unix]
 PORT = 22086
 TESTING_IGNORE_KEYS = ACCEPT_FROM;
@@ -47,6 +54,7 @@ TIMEOUT = 5 s
 MAX_CONNECTIONS = 128
 
 [transport-udp]
+# Use PORT = 0 to autodetect a port available
 PORT = 2086
 BROADCAST = YES
 BROADCAST_INTERVAL = 30 s
@@ -58,7 +66,9 @@ MAX_CONNECTIONS = 128
 TESTING_IGNORE_KEYS = ACCEPT_FROM;
 
 [transport-http_server]
+#EXTERNAL_HOSTNAME = <your hostname/path>
 PORT = 1080
+ADVERTISED_PORT = 1080
 MAX_CONNECTIONS = 128
 TESTING_IGNORE_KEYS = ACCEPT_FROM;
 
@@ -67,10 +77,18 @@ MAX_CONNECTIONS = 128
 TESTING_IGNORE_KEYS = ACCEPT_FROM;
 
 [transport-https_server]
+# EXTERNAL_HOSTNAME = <your hostname/path>
+# EXTERNAL_HOSTNAME_ONLY = YES
+# If you have a valid SSL certificate for your external hostname tell, 
+# clients to verify it  
+# VERIFY_EXTERNAL_HOSTNAME = YES
+# Does the external hostname use the same port?
+# EXTERNAL_HOSTNAME_USE_PORT = YES
 PORT = 4433
+ADVERTISED_PORT = 4433
 CRYPTO_INIT = NORMAL
-KEY_FILE = https.key
-CERT_FILE = https.cert
+KEY_FILE = $SERVICEHOME/https.key
+CERT_FILE = $SERVICEHOME/https.cert
 MAX_CONNECTIONS = 128
 TESTING_IGNORE_KEYS = ACCEPT_FROM;
 
@@ -80,3 +98,10 @@ INTERFACE = mon0
 # Real hardware, no testing
 TESTMODE = 0
 TESTING_IGNORE_KEYS = ACCEPT_FROM;
+
+[transport-bluetooth]
+# Name of the interface (typically hciX)
+INTERFACE = hci0
+# Real hardware, no testing
+TESTMODE = 0
+TESTING_IGNORE_KEYS = ACCEPT_FROM;