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.in66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in
new file mode 100644
index 000000000..213e8f5f0
--- /dev/null
+++ b/src/transport/transport.conf.in
@@ -0,0 +1,66 @@
1[transport]
2AUTOSTART = YES
3@UNIXONLY@ PORT = 2091
4HOSTNAME = localhost
5HOME = $SERVICEHOME
6CONFIG = $DEFAULTCONFIG
7BINARY = gnunet-service-transport
8#PREFIX = valgrind
9NEIGHBOUR_LIMIT = 50
10ACCEPT_FROM = 127.0.0.1;
11ACCEPT_FROM6 = ::1;
12PLUGINS = tcp
13UNIXPATH = /tmp/gnunet-service-transport.sock
14BLACKLIST_FILE = $SERVICEHOME/blacklist
15UNIX_MATCH_UID = YES
16UNIX_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
28[transport-tcp]
29# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
30PORT = 2086
31ADVERTISED_PORT = 2086
32
33# Maximum number of open TCP connections allowed
34MAX_CONNECTIONS = 128
35
36TIMEOUT = 5 s
37# ACCEPT_FROM =
38# ACCEPT_FROM6 =
39# REJECT_FROM =
40# REJECT_FROM6 =
41# BINDTO =
42MAX_CONNECTIONS = 128
43
44[transport-udp]
45PORT = 2086
46BROADCAST = YES
47BROADCAST_INTERVAL = 30000
48MAX_BPS = 1000000
49
50[transport-http]
51PORT = 1080
52MAX_CONNECTIONS = 128
53
54[transport-https]
55PORT = 4433
56CRYPTO_INIT = NORMAL
57KEY_FILE = https.key
58CERT_FILE = https.cert
59MAX_CONNECTIONS = 128
60
61[transport-wlan]
62# Name of the interface in monitor mode (typically monX)
63INTERFACE = mon0
64# Real hardware, no testing
65TESTMODE = 0
66