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.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in
index 95e3f9944..7b5413bbe 100644
--- a/src/transport/transport.conf.in
+++ b/src/transport/transport.conf.in
@@ -38,7 +38,17 @@ TESTING_IGNORE_KEYS = ACCEPT_FROM;
38[transport-tcp] 38[transport-tcp]
39# Use 0 to ONLY advertise as a peer behind NAT (no port binding) 39# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
40PORT = 2086 40PORT = 2086
41
42# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
41ADVERTISED_PORT = 2086 43ADVERTISED_PORT = 2086
44
45# If we have a manually punched NAT, what is the external IP and port?
46# Can use DNS names for DynDNS-based detection of external IP.
47# Can use IPv6 addresses ([fefc::]:PORT).
48# Use "AUTO" for the hostname to automatically detect external IP.
49# Do not set if NAT is not manually punched.
50# HOLE_EXTERNAL = AUTO:2086
51
42TESTING_IGNORE_KEYS = ACCEPT_FROM; 52TESTING_IGNORE_KEYS = ACCEPT_FROM;
43 53
44# Maximum number of open TCP connections allowed 54# Maximum number of open TCP connections allowed
@@ -55,6 +65,9 @@ MAX_CONNECTIONS = 128
55# Enable TCP stealth? 65# Enable TCP stealth?
56TCP_STEALTH = NO 66TCP_STEALTH = NO
57 67
68# Configuration for manually punched holes in NAT.
69# HOLE_EXTERNAL = auto:2086
70
58[transport-udp] 71[transport-udp]
59# Use PORT = 0 to autodetect a port available 72# Use PORT = 0 to autodetect a port available
60PORT = 2086 73PORT = 2086
@@ -69,6 +82,14 @@ BROADCAST_INTERVAL = 30 s
69MAX_BPS = 1000000 82MAX_BPS = 1000000
70TESTING_IGNORE_KEYS = ACCEPT_FROM; 83TESTING_IGNORE_KEYS = ACCEPT_FROM;
71 84
85# If we have a manually punched NAT, what is the external IP and port?
86# Can use DNS names for DynDNS-based detection of external IP.
87# Can use IPv6 addresses ([fefc::]:PORT).
88# Use "AUTO" for the hostname to automatically detect external IP.
89# Do not set if NAT is not manually punched.
90# HOLE_EXTERNAL = AUTO:2086
91
92
72[transport-http_client] 93[transport-http_client]
73MAX_CONNECTIONS = 128 94MAX_CONNECTIONS = 128
74TESTING_IGNORE_KEYS = ACCEPT_FROM; 95TESTING_IGNORE_KEYS = ACCEPT_FROM;
@@ -92,13 +113,27 @@ TESTING_IGNORE_KEYS = ACCEPT_FROM;
92[transport-http_server] 113[transport-http_server]
93#EXTERNAL_HOSTNAME = <your hostname/path> 114#EXTERNAL_HOSTNAME = <your hostname/path>
94PORT = 1080 115PORT = 1080
116
117# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
95ADVERTISED_PORT = 1080 118ADVERTISED_PORT = 1080
119
120# If we have a manually punched NAT, what is the external IP and port?
121# Can use DNS names for DynDNS-based detection of external IP.
122# Can use IPv6 addresses ([fefc::]:PORT).
123# Use "AUTO" for the hostname to automatically detect external IP.
124# Do not set if NAT is not manually punched.
125# HOLE_EXTERNAL = AUTO:2086
126
127
96MAX_CONNECTIONS = 128 128MAX_CONNECTIONS = 128
97TESTING_IGNORE_KEYS = ACCEPT_FROM; 129TESTING_IGNORE_KEYS = ACCEPT_FROM;
98 130
99# Enable TCP stealth? 131# Enable TCP stealth?
100TCP_STEALTH = NO 132TCP_STEALTH = NO
101 133
134# Configuration for manually punched holes in NAT.
135# HOLE_EXTERNAL = auto:2086
136
102[transport-https_client] 137[transport-https_client]
103MAX_CONNECTIONS = 128 138MAX_CONNECTIONS = 128
104TESTING_IGNORE_KEYS = ACCEPT_FROM; 139TESTING_IGNORE_KEYS = ACCEPT_FROM;
@@ -130,7 +165,17 @@ TESTING_IGNORE_KEYS = ACCEPT_FROM;
130# Does the external hostname use the same port? 165# Does the external hostname use the same port?
131# EXTERNAL_HOSTNAME_USE_PORT = YES 166# EXTERNAL_HOSTNAME_USE_PORT = YES
132PORT = 4433 167PORT = 4433
168
169# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
133ADVERTISED_PORT = 4433 170ADVERTISED_PORT = 4433
171
172# If we have a manually punched NAT, what is the external IP and port?
173# Can use DNS names for DynDNS-based detection of external IP.
174# Can use IPv6 addresses ([fefc::]:PORT).
175# Use "AUTO" for the hostname to automatically detect external IP.
176# Do not set if NAT is not manually punched.
177# HOLE_EXTERNAL = AUTO:2086
178
134CRYPTO_INIT = NORMAL 179CRYPTO_INIT = NORMAL
135KEY_FILE = $GNUNET_DATA_HOME/transport/https.key 180KEY_FILE = $GNUNET_DATA_HOME/transport/https.key
136CERT_FILE = $GNUNET_DATA_HOME/transport/https.cert 181CERT_FILE = $GNUNET_DATA_HOME/transport/https.cert
@@ -140,6 +185,10 @@ TESTING_IGNORE_KEYS = ACCEPT_FROM;
140# Enable TCP stealth? 185# Enable TCP stealth?
141TCP_STEALTH = NO 186TCP_STEALTH = NO
142 187
188# Configuration for manually punched holes in NAT.
189# HOLE_EXTERNAL = auto:2086
190
191
143[transport-wlan] 192[transport-wlan]
144# Name of the interface in monitor mode (typically monX) 193# Name of the interface in monitor mode (typically monX)
145INTERFACE = mon0 194INTERFACE = mon0