aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport.conf.in')
-rw-r--r--src/transport/transport.conf.in42
1 files changed, 40 insertions, 2 deletions
diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in
index 2c99af000..c6b207ad7 100644
--- a/src/transport/transport.conf.in
+++ b/src/transport/transport.conf.in
@@ -1,5 +1,5 @@
1[transport] 1[transport]
2AUTOSTART = @AUTOSTART@ 2START_ON_DEMAND = @START_ON_DEMAND@
3@JAVAPORT@PORT = 2091 3@JAVAPORT@PORT = 2091
4HOSTNAME = localhost 4HOSTNAME = localhost
5BINARY = gnunet-service-transport 5BINARY = gnunet-service-transport
@@ -9,7 +9,8 @@ BINARY = gnunet-service-transport
9NEIGHBOUR_LIMIT = 50 9NEIGHBOUR_LIMIT = 50
10ACCEPT_FROM = 127.0.0.1; 10ACCEPT_FROM = 127.0.0.1;
11ACCEPT_FROM6 = ::1; 11ACCEPT_FROM6 = ::1;
12PLUGINS = tcp udp 12# TCP is the only transport plugin known to work "reliably"
13PLUGINS = tcp
13UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock 14UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock
14BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist 15BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist
15UNIX_MATCH_UID = NO 16UNIX_MATCH_UID = NO
@@ -68,6 +69,38 @@ MAX_CONNECTIONS = 128
68TCP_STEALTH = NO 69TCP_STEALTH = NO
69 70
70 71
72
73[transport-xt]
74# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
75PORT = 2087
76
77# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
78ADVERTISED_PORT = 2087
79
80# If we have a manually punched NAT, what is the external IP and port?
81# Can use DNS names for DynDNS-based detection of external IP.
82# Can use IPv6 addresses ([fefc::]:PORT).
83# Use "AUTO" for the hostname to automatically detect external IP.
84# Do not set if NAT is not manually punched.
85# HOLE_EXTERNAL = AUTO:2087
86
87TESTING_IGNORE_KEYS = ACCEPT_FROM;
88
89# Maximum number of open TCP connections allowed
90MAX_CONNECTIONS = 128
91
92TIMEOUT = 5 s
93# ACCEPT_FROM =
94# ACCEPT_FROM6 =
95# REJECT_FROM =
96# REJECT_FROM6 =
97# BINDTO =
98MAX_CONNECTIONS = 128
99
100# Enable TCP stealth?
101TCP_STEALTH = NO
102
103
71[transport-udp] 104[transport-udp]
72# Use PORT = 0 to autodetect a port available 105# Use PORT = 0 to autodetect a port available
73PORT = 2086 106PORT = 2086
@@ -90,6 +123,11 @@ TESTING_IGNORE_KEYS = ACCEPT_FROM;
90# HOLE_EXTERNAL = AUTO:2086 123# HOLE_EXTERNAL = AUTO:2086
91 124
92 125
126[transport-xu]
127# Use PORT = 0 to autodetect a port available
128PORT = 2087
129
130
93[transport-http_client] 131[transport-http_client]
94MAX_CONNECTIONS = 128 132MAX_CONNECTIONS = 128
95TESTING_IGNORE_KEYS = ACCEPT_FROM; 133TESTING_IGNORE_KEYS = ACCEPT_FROM;