build xt
[oweals/gnunet.git] / src / transport / transport.conf.in
1 [transport]
2 AUTOSTART = @AUTOSTART@
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-http_client]
126 MAX_CONNECTIONS = 128
127 TESTING_IGNORE_KEYS = ACCEPT_FROM;
128 # Hostname or IP of proxy server
129 # PROXY =
130
131 # User name for proxy server
132 # PROXY_USERNAME =
133 # User password for proxy server
134 # PROXY_PASSWORD =
135
136 # Type of proxy server,
137 # Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME
138 # Default: HTTP
139 # PROXY_TYPE = HTTP
140
141 # Enable tunneling proxy request instead of having proxy server evaluate it
142 # Experimental, default: NO
143 # PROXY_HTTP_TUNNELING = NO
144
145
146 [transport-http_server]
147 #EXTERNAL_HOSTNAME = <your hostname/path>
148 PORT = 1080
149
150 # Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
151 ADVERTISED_PORT = 1080
152
153 # If we have a manually punched NAT, what is the external IP and port?
154 # Can use DNS names for DynDNS-based detection of external IP.
155 # Can use IPv6 addresses ([fefc::]:PORT).
156 # Use "AUTO" for the hostname to automatically detect external IP.
157 # Do not set if NAT is not manually punched.
158 # HOLE_EXTERNAL = AUTO:1080
159
160 MAX_CONNECTIONS = 128
161 TESTING_IGNORE_KEYS = ACCEPT_FROM;
162
163 # Enable TCP stealth?
164 TCP_STEALTH = NO
165
166
167 [transport-https_client]
168 MAX_CONNECTIONS = 128
169 TESTING_IGNORE_KEYS = ACCEPT_FROM;
170 # Hostname or IP of proxy server
171 # PROXY =
172
173 # User name for proxy server
174 # PROXY_USERNAME =
175 # User password for proxy server
176 # PROXY_PASSWORD =
177
178 # Type of proxy server,
179 # Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME
180 # Default: HTTP
181 # PROXY_TYPE = HTTP
182
183 # Enable tunneling proxy request instead of having proxy server evaluate it
184 # Experimental, default: NO
185 # PROXY_HTTP_TUNNELING = NO
186
187
188 [transport-https_server]
189 # EXTERNAL_HOSTNAME = <your hostname/path>
190 # EXTERNAL_HOSTNAME_ONLY = YES
191 # If you have a valid SSL certificate for your external hostname tell,
192 # clients to verify it
193 # VERIFY_EXTERNAL_HOSTNAME = YES
194 # Does the external hostname use the same port?
195 # EXTERNAL_HOSTNAME_USE_PORT = YES
196 PORT = 4433
197
198 # Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
199 ADVERTISED_PORT = 4433
200
201 # If we have a manually punched NAT, what is the external IP and port?
202 # Can use DNS names for DynDNS-based detection of external IP.
203 # Can use IPv6 addresses ([fefc::]:PORT).
204 # Use "AUTO" for the hostname to automatically detect external IP.
205 # Do not set if NAT is not manually punched.
206 # HOLE_EXTERNAL = AUTO:4433
207
208 CRYPTO_INIT = NORMAL
209 KEY_FILE = $GNUNET_DATA_HOME/transport/https.key
210 CERT_FILE = $GNUNET_DATA_HOME/transport/https.cert
211 MAX_CONNECTIONS = 128
212 TESTING_IGNORE_KEYS = ACCEPT_FROM;
213
214 # Enable TCP stealth?
215 TCP_STEALTH = NO
216
217
218 [transport-wlan]
219 # Name of the interface in monitor mode (typically monX)
220 INTERFACE = mon0
221 # Real hardware, no testing
222 TESTMODE = 0
223 TESTING_IGNORE_KEYS = ACCEPT_FROM;
224
225
226 [transport-bluetooth]
227 # Name of the interface (typically hciX)
228 INTERFACE = hci0
229 # Real hardware, no testing
230 TESTMODE = 0
231 TESTING_IGNORE_KEYS = ACCEPT_FROM;