summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-11-28 23:17:14 +0000
committerChristian Grothoff <christian@grothoff.org>2010-11-28 23:17:14 +0000
commit294a4c7bf269bf5a5f165e511c1f07cdb32d2cc8 (patch)
treedb6dd166acc90d21aa7d6f109410ebe20e2e320d /contrib
parent3d9249277dfe61dce18bfc639f597e18daee0dbf (diff)
new vision for misc options
Diffstat (limited to 'contrib')
-rw-r--r--contrib/defaults.conf32
1 files changed, 22 insertions, 10 deletions
diff --git a/contrib/defaults.conf b/contrib/defaults.conf
index b29a79361..af9b8f818 100644
--- a/contrib/defaults.conf
+++ b/contrib/defaults.conf
@@ -18,31 +18,39 @@ HOME = $SERVICEHOME
[transport-tcp]
# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
PORT = 2086
+ADVERTISED_PORT = 2086
-# Should we use ICMP-based NAT traversal to try connect to NATed peers?
-ALLOW_NAT = YES
-
-# Are we behind NAT and should use ICMP-based NAT traversal?
+# Are we behind NAT?
BEHIND_NAT = YES
-# IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY;
-# normal interface IP address for non-NATed peers;
-# likely auto-detected (via interface list) if not specified (!)
-# INTERNAL_ADDRESS =
+# Is the NAT hole-punched?
+#NEW: PUNCHED_NAT = NO
# External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!)
# normal interface IP address for non-NATed peers;
# possibly auto-detected (using UPnP) if possible if not specified
# EXTERNAL_ADDRESS =
+# Should we use ICMP-based NAT traversal to try connect to NATed peers
+# or, if we are behind NAT, to allow connections to us?
+ALLOW_NAT = YES
+#NEW: ENABLE_ICMP_CLIENT = YES
+#NEW: ENABLE_ICMP_SERVER = YES
+
+# Are we allowed to try UPnP/PMP?
+ENABLE_UPNP = YES
+
+# IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY;
+# normal interface IP address for non-NATed peers;
+# likely auto-detected (via interface list) if not specified (!)
+# INTERNAL_ADDRESS =
+
# Only bind to a specific IP address; if both are given, this should be idential to INTERNAL_ADDRESS
# (but use different: this one restricts our bind!)
# BINDTO =
TIMEOUT = 300000
-# Are we allowed to try UPnP/PMP?
-ENABLE_UPNP = YES
# Disable IPv6 support
# DISABLEV6 =
# ACCEPT_FROM =
@@ -270,7 +278,11 @@ CONFIG = $DEFAULTCONFIG
BINARY = gnunet-service-fs
ACCEPT_FROM = 127.0.0.1;
ACCEPT_FROM6 = ::1;
+
ACTIVEMIGRATION = YES
+# NEW: CONTENT_CACHING = YES
+# NEW: CONTENT_PUSHING = YES
+
UNIXPATH = /tmp/gnunet-service-fs.sock
# DISABLE_SOCKET_FORWARDING = NO
# DEBUG = YES