diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-26 14:11:11 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-26 14:11:11 +0000 |
commit | bc7af64f95c314bb67dc6ee69d466065edd811d5 (patch) | |
tree | 4882c1bf1761f5457b1f9cdcccd3d618f0bc68ed /src/transport | |
parent | db7a7ef28e42cb253d5be3bde6ee580215f89f0a (diff) | |
download | gnunet-bc7af64f95c314bb67dc6ee69d466065edd811d5.tar.gz gnunet-bc7af64f95c314bb67dc6ee69d466065edd811d5.zip |
NAT is reading the [nat] section to figure out if to use ipv6 :-(
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/test_transport_api_http_peer1.conf | 15 | ||||
-rw-r--r-- | src/transport/test_transport_api_http_peer2.conf | 10 |
2 files changed, 20 insertions, 5 deletions
diff --git a/src/transport/test_transport_api_http_peer1.conf b/src/transport/test_transport_api_http_peer1.conf index 09a45e5e9..5525bc5ab 100644 --- a/src/transport/test_transport_api_http_peer1.conf +++ b/src/transport/test_transport_api_http_peer1.conf | |||
@@ -3,14 +3,20 @@ | |||
3 | SERVICEHOME = /tmp/test-transport/api-http-p1/ | 3 | SERVICEHOME = /tmp/test-transport/api-http-p1/ |
4 | DEFAULTCONFIG = test_transport_api_http_peer1.conf | 4 | DEFAULTCONFIG = test_transport_api_http_peer1.conf |
5 | 5 | ||
6 | [nat] | ||
7 | DISABLEV6 = NO | ||
8 | |||
6 | [transport-http] | 9 | [transport-http] |
7 | PORT = 12080 | 10 | PORT = 12080 |
8 | DEBUG = NO | 11 | USE_IPv6 = NO |
9 | USE_IPv6 = YES | ||
10 | USE_IPv4 = YES | 12 | USE_IPv4 = YES |
13 | DISABLEV6 = NO | ||
14 | #BINDTO = 127.0.0.1 | ||
15 | #BINDTO6 = ::1 | ||
11 | 16 | ||
12 | [arm] | 17 | [arm] |
13 | PORT = 12085 | 18 | PORT = 12085 |
19 | DEFAULTSERVICES = transport | ||
14 | UNIXPATH = /tmp/gnunet-p1-service-arm.sock | 20 | UNIXPATH = /tmp/gnunet-p1-service-arm.sock |
15 | 21 | ||
16 | [statistics] | 22 | [statistics] |
@@ -26,8 +32,11 @@ PORT = 12082 | |||
26 | UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock | 32 | UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock |
27 | 33 | ||
28 | [transport] | 34 | [transport] |
35 | DEBUG = YES | ||
29 | PORT = 12081 | 36 | PORT = 12081 |
30 | PLUGINS = http | 37 | PLUGINS = http |
38 | #BINARY = .libs/gnunet-service-transport | ||
31 | UNIXPATH = /tmp/gnunet-p1-service-transport.sock | 39 | UNIXPATH = /tmp/gnunet-p1-service-transport.sock |
32 | 40 | #PREFIX = valgrind --leak-check=full | |
41 | #PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args | ||
33 | 42 | ||
diff --git a/src/transport/test_transport_api_http_peer2.conf b/src/transport/test_transport_api_http_peer2.conf index 6b94370b5..39c2639c2 100644 --- a/src/transport/test_transport_api_http_peer2.conf +++ b/src/transport/test_transport_api_http_peer2.conf | |||
@@ -3,13 +3,19 @@ | |||
3 | SERVICEHOME = /tmp/test-transport/api-http-p2/ | 3 | SERVICEHOME = /tmp/test-transport/api-http-p2/ |
4 | DEFAULTCONFIG = test_transport_api_http_peer2.conf | 4 | DEFAULTCONFIG = test_transport_api_http_peer2.conf |
5 | 5 | ||
6 | [nat] | ||
7 | DISABLEV6 = NO | ||
8 | |||
6 | [transport-http] | 9 | [transport-http] |
7 | PORT = 12090 | 10 | PORT = 12090 |
8 | USE_IPv6 = YES | 11 | USE_IPv6 = YES |
9 | USE_IPv4 = YES | 12 | USE_IPv4 = YES |
13 | DISABLEV6 = NO | ||
14 | BINDTO = 127.0.0.1 | ||
10 | 15 | ||
11 | [arm] | 16 | [arm] |
12 | PORT = 12095 | 17 | PORT = 12095 |
18 | DEFAULTSERVICES = transport | ||
13 | UNIXPATH = /tmp/gnunet-p2-service-arm.sock | 19 | UNIXPATH = /tmp/gnunet-p2-service-arm.sock |
14 | 20 | ||
15 | [statistics] | 21 | [statistics] |
@@ -25,8 +31,8 @@ PORT = 12092 | |||
25 | UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock | 31 | UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock |
26 | 32 | ||
27 | [transport] | 33 | [transport] |
34 | DEBUG = YES | ||
28 | PORT = 12091 | 35 | PORT = 12091 |
29 | PLUGINS = http | 36 | PLUGINS = http |
30 | UNIXPATH = /tmp/gnunet-p2-service-transport.sock | 37 | UNIXPATH = /tmp/gnunet-p2-service-transport.sock |
31 | 38 | #PREFIX = valgrind --leak-check=full | |
32 | |||