-Merge branch 'master' of ssh://gnunet.org/gnunet into gsoc2018/rest_api
[oweals/gnunet.git] / src / transport / transport.conf.in
1 [transport]
2 START_ON_DEMAND = @START_ON_DEMAND@
3 @JAVAPORT@PORT = 2091
4 HOSTNAME = localhost
5 BINARY = gnunet-service-transport
6 # PREFIX = valgrind
7
8 # Maximum number of neighbours PER PLUGIN (not in total).
9 NEIGHBOUR_LIMIT = 50
10 ACCEPT_FROM = 127.0.0.1;
11 ACCEPT_FROM6 = ::1;
12 PLUGINS = tcp udp
13 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock
14 BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist
15 UNIX_MATCH_UID = NO
16 UNIX_MATCH_GID = YES
17 # DISABLE_SOCKET_FORWARDING = NO
18 # USERNAME =
19 # MAXBUF =
20 # TIMEOUT =
21 # DISABLEV6 =
22 # BINDTO =
23 # REJECT_FROM =
24 # REJECT_FROM6 =
25 # PREFIX = valgrind --leak-check=full
26
27 # Configuration settings related to traffic manipulation for testing purposes
28 # Distance
29 # MANIPULATE_DISTANCE_IN = 1
30 # MANIPULATE_DISTANCE_OUT = 1
31 # Delay; WARNING: to large values may lead to peers not connecting!
32 # MANIPULATE_DELAY_IN = 1 ms
33 # MANIPULATE_DELAY_OUT = 1 ms
34
35
36 [transport-unix]
37 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-transport-plugin-unix.sock
38 TESTING_IGNORE_KEYS = ACCEPT_FROM;
39
40 [transport-tcp]
41 # Use 0 to ONLY advertise as a peer behind NAT (no port binding)
42 PORT = 2086
43
44 # Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
45 ADVERTISED_PORT = 2086
46
47 # If we have a manually punched NAT, what is the external IP and port?
48 # Can use DNS names for DynDNS-based detection of external IP.
49 # Can use IPv6 addresses ([fefc::]:PORT).
50 # Use "AUTO" for the hostname to automatically detect external IP.
51 # Do not set if NAT is not manually punched.
52 # HOLE_EXTERNAL = AUTO:2086
53
54 TESTING_IGNORE_KEYS = ACCEPT_FROM;
55
56 # Maximum number of open TCP connections allowed
57 MAX_CONNECTIONS = 128
58
59 TIMEOUT = 5 s
60 # ACCEPT_FROM =
61 # ACCEPT_FROM6 =
62 # REJECT_FROM =
63 # REJECT_FROM6 =
64 # BINDTO =
65 MAX_CONNECTIONS = 128
66
67 # Enable TCP stealth?
68 TCP_STEALTH = NO
69
70
71
72 [transport-xt]
73 # Use 0 to ONLY advertise as a peer behind NAT (no port binding)
74 PORT = 2087
75
76 # Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
77 ADVERTISED_PORT = 2087
78
79 # If we have a manually punched NAT, what is the external IP and port?
80 # Can use DNS names for DynDNS-based detection of external IP.
81 # Can use IPv6 addresses ([fefc::]:PORT).
82 # Use "AUTO" for the hostname to automatically detect external IP.
83 # Do not set if NAT is not manually punched.
84 # HOLE_EXTERNAL = AUTO:2087
85
86 TESTING_IGNORE_KEYS = ACCEPT_FROM;
87
88 # Maximum number of open TCP connections allowed
89 MAX_CONNECTIONS = 128
90
91 TIMEOUT = 5 s
92 # ACCEPT_FROM =
93 # ACCEPT_FROM6 =
94 # REJECT_FROM =
95 # REJECT_FROM6 =
96 # BINDTO =
97 MAX_CONNECTIONS = 128
98
99 # Enable TCP stealth?
100 TCP_STEALTH = NO
101
102
103 [transport-udp]
104 # Use PORT = 0 to autodetect a port available
105 PORT = 2086
106 BROADCAST = YES
107 BROADCAST_RECEIVE = YES
108 BROADCAST_INTERVAL = 30 s
109
110 # This limits UDP to 1MB/s for SENDING. Higher values are advised
111 # for benchmarking or well-connected systems.  Note that this quota
112 # applies IN ADDITION to the system-wide transport-wide WAN/LAN
113 # quotas.
114 MAX_BPS = 1000000
115 TESTING_IGNORE_KEYS = ACCEPT_FROM;
116
117 # If we have a manually punched NAT, what is the external IP and port?
118 # Can use DNS names for DynDNS-based detection of external IP.
119 # Can use IPv6 addresses ([fefc::]:PORT).
120 # Use "AUTO" for the hostname to automatically detect external IP.
121 # Do not set if NAT is not manually punched.
122 # HOLE_EXTERNAL = AUTO:2086
123
124
125 [transport-xu]
126 # Use PORT = 0 to autodetect a port available
127 PORT = 2087
128
129
130 [transport-http_client]
131 MAX_CONNECTIONS = 128
132 TESTING_IGNORE_KEYS = ACCEPT_FROM;
133 # Hostname or IP of proxy server
134 # PROXY =
135
136 # User name for proxy server
137 # PROXY_USERNAME =
138 # User password for proxy server
139 # PROXY_PASSWORD =
140
141 # Type of proxy server,
142 # Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME
143 # Default: HTTP
144 # PROXY_TYPE = HTTP
145
146 # Enable tunneling proxy request instead of having proxy server evaluate it
147 # Experimental, default: NO
148 # PROXY_HTTP_TUNNELING = NO
149
150
151 [transport-http_server]
152 #EXTERNAL_HOSTNAME = <your hostname/path>
153 PORT = 1080
154
155 # Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
156 ADVERTISED_PORT = 1080
157
158 # If we have a manually punched NAT, what is the external IP and port?
159 # Can use DNS names for DynDNS-based detection of external IP.
160 # Can use IPv6 addresses ([fefc::]:PORT).
161 # Use "AUTO" for the hostname to automatically detect external IP.
162 # Do not set if NAT is not manually punched.
163 # HOLE_EXTERNAL = AUTO:1080
164
165 MAX_CONNECTIONS = 128
166 TESTING_IGNORE_KEYS = ACCEPT_FROM;
167
168 # Enable TCP stealth?
169 TCP_STEALTH = NO
170
171
172 [transport-https_client]
173 MAX_CONNECTIONS = 128
174 TESTING_IGNORE_KEYS = ACCEPT_FROM;
175 # Hostname or IP of proxy server
176 # PROXY =
177
178 # User name for proxy server
179 # PROXY_USERNAME =
180 # User password for proxy server
181 # PROXY_PASSWORD =
182
183 # Type of proxy server,
184 # Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME
185 # Default: HTTP
186 # PROXY_TYPE = HTTP
187
188 # Enable tunneling proxy request instead of having proxy server evaluate it
189 # Experimental, default: NO
190 # PROXY_HTTP_TUNNELING = NO
191
192
193 [transport-https_server]
194 # EXTERNAL_HOSTNAME = <your hostname/path>
195 # EXTERNAL_HOSTNAME_ONLY = YES
196 # If you have a valid SSL certificate for your external hostname tell,
197 # clients to verify it
198 # VERIFY_EXTERNAL_HOSTNAME = YES
199 # Does the external hostname use the same port?
200 # EXTERNAL_HOSTNAME_USE_PORT = YES
201 PORT = 4433
202
203 # Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
204 ADVERTISED_PORT = 4433
205
206 # If we have a manually punched NAT, what is the external IP and port?
207 # Can use DNS names for DynDNS-based detection of external IP.
208 # Can use IPv6 addresses ([fefc::]:PORT).
209 # Use "AUTO" for the hostname to automatically detect external IP.
210 # Do not set if NAT is not manually punched.
211 # HOLE_EXTERNAL = AUTO:4433
212
213 CRYPTO_INIT = NORMAL
214 KEY_FILE = $GNUNET_DATA_HOME/transport/https.key
215 CERT_FILE = $GNUNET_DATA_HOME/transport/https.cert
216 MAX_CONNECTIONS = 128
217 TESTING_IGNORE_KEYS = ACCEPT_FROM;
218
219 # Enable TCP stealth?
220 TCP_STEALTH = NO
221
222
223 [transport-wlan]
224 # Name of the interface in monitor mode (typically monX)
225 INTERFACE = mon0
226 # Real hardware, no testing
227 TESTMODE = 0
228 TESTING_IGNORE_KEYS = ACCEPT_FROM;
229
230
231 [transport-bluetooth]
232 # Name of the interface (typically hciX)
233 INTERFACE = hci0
234 # Real hardware, no testing
235 TESTMODE = 0
236 TESTING_IGNORE_KEYS = ACCEPT_FROM;