summaryrefslogtreecommitdiff
path: root/src/transport/transport.conf.in
blob: 7b5413bbe6cf5f3f44bfe98d467ed5b0fadaeee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
[transport]
AUTOSTART = @AUTOSTART@
@JAVAPORT@PORT = 2091
HOSTNAME = localhost
BINARY = gnunet-service-transport
# PREFIX = valgrind
NEIGHBOUR_LIMIT = 50
ACCEPT_FROM = 127.0.0.1;
ACCEPT_FROM6 = ::1;
PLUGINS = tcp udp
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock
BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist
UNIX_MATCH_UID = NO
UNIX_MATCH_GID = YES
# DISABLE_SOCKET_FORWARDING = NO
# USERNAME =
# MAXBUF =
# TIMEOUT =
# DISABLEV6 =
# BINDTO =
# REJECT_FROM =
# REJECT_FROM6 =
# PREFIX = valgrind --leak-check=full

# Configuration settings related to traffic manipulation for testing purposes
# Distance
# MANIPULATE_DISTANCE_IN = 1
# MANIPULATE_DISTANCE_OUT = 1
# Delay; WARNING: to large values may lead to peers not connecting!
# MANIPULATE_DELAY_IN = 1 ms
# MANIPULATE_DELAY_OUT = 1 ms


[transport-unix]
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-transport-plugin-unix.sock
TESTING_IGNORE_KEYS = ACCEPT_FROM;

[transport-tcp]
# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
PORT = 2086

# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
ADVERTISED_PORT = 2086

# If we have a manually punched NAT, what is the external IP and port?
# Can use DNS names for DynDNS-based detection of external IP.
# Can use IPv6 addresses ([fefc::]:PORT).
# Use "AUTO" for the hostname to automatically detect external IP.
# Do not set if NAT is not manually punched.
# HOLE_EXTERNAL = AUTO:2086

TESTING_IGNORE_KEYS = ACCEPT_FROM;

# Maximum number of open TCP connections allowed
MAX_CONNECTIONS = 128

TIMEOUT = 5 s
# ACCEPT_FROM =
# ACCEPT_FROM6 =
# REJECT_FROM =
# REJECT_FROM6 =
# BINDTO =
MAX_CONNECTIONS = 128

# Enable TCP stealth?
TCP_STEALTH = NO

# Configuration for manually punched holes in NAT.
# HOLE_EXTERNAL = auto:2086

[transport-udp]
# Use PORT = 0 to autodetect a port available
PORT = 2086
BROADCAST = YES
BROADCAST_RECEIVE = YES
BROADCAST_INTERVAL = 30 s

# This limits UDP to 1MB/s for SENDING. Higher values are advised
# for benchmarking or well-connected systems.  Note that this quota
# applies IN ADDITION to the system-wide transport-wide WAN/LAN
# quotas.
MAX_BPS = 1000000
TESTING_IGNORE_KEYS = ACCEPT_FROM;

# If we have a manually punched NAT, what is the external IP and port?
# Can use DNS names for DynDNS-based detection of external IP.
# Can use IPv6 addresses ([fefc::]:PORT).
# Use "AUTO" for the hostname to automatically detect external IP.
# Do not set if NAT is not manually punched.
# HOLE_EXTERNAL = AUTO:2086


[transport-http_client]
MAX_CONNECTIONS = 128
TESTING_IGNORE_KEYS = ACCEPT_FROM;
# Hostname or IP of proxy server
# PROXY =

# User name for proxy server
# PROXY_USERNAME =
# User password for proxy server
# PROXY_PASSWORD =

# Type of proxy server,
# Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME
# Default: HTTP
# PROXY_TYPE = HTTP

# Enable tunneling proxy request instead of having proxy server evaluate it
# Experimental, default: NO
# PROXY_HTTP_TUNNELING = NO

[transport-http_server]
#EXTERNAL_HOSTNAME = <your hostname/path>
PORT = 1080

# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
ADVERTISED_PORT = 1080

# If we have a manually punched NAT, what is the external IP and port?
# Can use DNS names for DynDNS-based detection of external IP.
# Can use IPv6 addresses ([fefc::]:PORT).
# Use "AUTO" for the hostname to automatically detect external IP.
# Do not set if NAT is not manually punched.
# HOLE_EXTERNAL = AUTO:2086


MAX_CONNECTIONS = 128
TESTING_IGNORE_KEYS = ACCEPT_FROM;

# Enable TCP stealth?
TCP_STEALTH = NO

# Configuration for manually punched holes in NAT.
# HOLE_EXTERNAL = auto:2086

[transport-https_client]
MAX_CONNECTIONS = 128
TESTING_IGNORE_KEYS = ACCEPT_FROM;
# Hostname or IP of proxy server
# PROXY =

# User name for proxy server
# PROXY_USERNAME =
# User password for proxy server
# PROXY_PASSWORD =

# Type of proxy server,
# Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME
# Default: HTTP
# PROXY_TYPE = HTTP

# Enable tunneling proxy request instead of having proxy server evaluate it
# Experimental, default: NO
# PROXY_HTTP_TUNNELING = NO



[transport-https_server]
# EXTERNAL_HOSTNAME = <your hostname/path>
# EXTERNAL_HOSTNAME_ONLY = YES
# If you have a valid SSL certificate for your external hostname tell,
# clients to verify it
# VERIFY_EXTERNAL_HOSTNAME = YES
# Does the external hostname use the same port?
# EXTERNAL_HOSTNAME_USE_PORT = YES
PORT = 4433

# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
ADVERTISED_PORT = 4433

# If we have a manually punched NAT, what is the external IP and port?
# Can use DNS names for DynDNS-based detection of external IP.
# Can use IPv6 addresses ([fefc::]:PORT).
# Use "AUTO" for the hostname to automatically detect external IP.
# Do not set if NAT is not manually punched.
# HOLE_EXTERNAL = AUTO:2086

CRYPTO_INIT = NORMAL
KEY_FILE = $GNUNET_DATA_HOME/transport/https.key
CERT_FILE = $GNUNET_DATA_HOME/transport/https.cert
MAX_CONNECTIONS = 128
TESTING_IGNORE_KEYS = ACCEPT_FROM;

# Enable TCP stealth?
TCP_STEALTH = NO

# Configuration for manually punched holes in NAT.
# HOLE_EXTERNAL = auto:2086


[transport-wlan]
# Name of the interface in monitor mode (typically monX)
INTERFACE = mon0
# Real hardware, no testing
TESTMODE = 0
TESTING_IGNORE_KEYS = ACCEPT_FROM;

[transport-bluetooth]
# Name of the interface (typically hciX)
INTERFACE = hci0
# Real hardware, no testing
TESTMODE = 0
TESTING_IGNORE_KEYS = ACCEPT_FROM;