diff options
Diffstat (limited to 'src/transport/transport.conf.in')
-rw-r--r-- | src/transport/transport.conf.in | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in index 2c99af000..c6b207ad7 100644 --- a/src/transport/transport.conf.in +++ b/src/transport/transport.conf.in | |||
@@ -1,5 +1,5 @@ | |||
1 | [transport] | 1 | [transport] |
2 | AUTOSTART = @AUTOSTART@ | 2 | START_ON_DEMAND = @START_ON_DEMAND@ |
3 | @JAVAPORT@PORT = 2091 | 3 | @JAVAPORT@PORT = 2091 |
4 | HOSTNAME = localhost | 4 | HOSTNAME = localhost |
5 | BINARY = gnunet-service-transport | 5 | BINARY = gnunet-service-transport |
@@ -9,7 +9,8 @@ BINARY = gnunet-service-transport | |||
9 | NEIGHBOUR_LIMIT = 50 | 9 | NEIGHBOUR_LIMIT = 50 |
10 | ACCEPT_FROM = 127.0.0.1; | 10 | ACCEPT_FROM = 127.0.0.1; |
11 | ACCEPT_FROM6 = ::1; | 11 | ACCEPT_FROM6 = ::1; |
12 | PLUGINS = tcp udp | 12 | # TCP is the only transport plugin known to work "reliably" |
13 | PLUGINS = tcp | ||
13 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock | 14 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport.sock |
14 | BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist | 15 | BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist |
15 | UNIX_MATCH_UID = NO | 16 | UNIX_MATCH_UID = NO |
@@ -68,6 +69,38 @@ MAX_CONNECTIONS = 128 | |||
68 | TCP_STEALTH = NO | 69 | TCP_STEALTH = NO |
69 | 70 | ||
70 | 71 | ||
72 | |||
73 | [transport-xt] | ||
74 | # Use 0 to ONLY advertise as a peer behind NAT (no port binding) | ||
75 | PORT = 2087 | ||
76 | |||
77 | # Obsolete option, to be replaced by HOLE_EXTERNAL (soon) | ||
78 | ADVERTISED_PORT = 2087 | ||
79 | |||
80 | # If we have a manually punched NAT, what is the external IP and port? | ||
81 | # Can use DNS names for DynDNS-based detection of external IP. | ||
82 | # Can use IPv6 addresses ([fefc::]:PORT). | ||
83 | # Use "AUTO" for the hostname to automatically detect external IP. | ||
84 | # Do not set if NAT is not manually punched. | ||
85 | # HOLE_EXTERNAL = AUTO:2087 | ||
86 | |||
87 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
88 | |||
89 | # Maximum number of open TCP connections allowed | ||
90 | MAX_CONNECTIONS = 128 | ||
91 | |||
92 | TIMEOUT = 5 s | ||
93 | # ACCEPT_FROM = | ||
94 | # ACCEPT_FROM6 = | ||
95 | # REJECT_FROM = | ||
96 | # REJECT_FROM6 = | ||
97 | # BINDTO = | ||
98 | MAX_CONNECTIONS = 128 | ||
99 | |||
100 | # Enable TCP stealth? | ||
101 | TCP_STEALTH = NO | ||
102 | |||
103 | |||
71 | [transport-udp] | 104 | [transport-udp] |
72 | # Use PORT = 0 to autodetect a port available | 105 | # Use PORT = 0 to autodetect a port available |
73 | PORT = 2086 | 106 | PORT = 2086 |
@@ -90,6 +123,11 @@ TESTING_IGNORE_KEYS = ACCEPT_FROM; | |||
90 | # HOLE_EXTERNAL = AUTO:2086 | 123 | # HOLE_EXTERNAL = AUTO:2086 |
91 | 124 | ||
92 | 125 | ||
126 | [transport-xu] | ||
127 | # Use PORT = 0 to autodetect a port available | ||
128 | PORT = 2087 | ||
129 | |||
130 | |||
93 | [transport-http_client] | 131 | [transport-http_client] |
94 | MAX_CONNECTIONS = 128 | 132 | MAX_CONNECTIONS = 128 |
95 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | 133 | TESTING_IGNORE_KEYS = ACCEPT_FROM; |