NAT is reading the [nat] section to figure out if to use ipv6 :-(
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 26 Sep 2011 14:11:11 +0000 (14:11 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 26 Sep 2011 14:11:11 +0000 (14:11 +0000)
src/transport/test_transport_api_http_peer1.conf
src/transport/test_transport_api_http_peer2.conf

index 09a45e5e9668c5b6cbddca5bcdf5bdae5b271900..5525bc5ab71d69ba3b3f605ee46592a3da4a69a6 100644 (file)
@@ -3,14 +3,20 @@
 SERVICEHOME = /tmp/test-transport/api-http-p1/
 DEFAULTCONFIG = test_transport_api_http_peer1.conf
 
+[nat]
+DISABLEV6 = NO
+
 [transport-http]
 PORT = 12080
-DEBUG = NO
-USE_IPv6 = YES
+USE_IPv6 = NO
 USE_IPv4 = YES
+DISABLEV6 = NO
+#BINDTO = 127.0.0.1
+#BINDTO6 = ::1
 
 [arm]
 PORT = 12085
+DEFAULTSERVICES = transport
 UNIXPATH = /tmp/gnunet-p1-service-arm.sock
 
 [statistics]
@@ -26,8 +32,11 @@ PORT = 12082
 UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock
 
 [transport]
+DEBUG = YES
 PORT = 12081
 PLUGINS = http
+#BINARY = .libs/gnunet-service-transport
 UNIXPATH = /tmp/gnunet-p1-service-transport.sock
-
+#PREFIX = valgrind --leak-check=full
+#PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
 
index 6b94370b5bdd41397c7a1dd811e813e455ddd64a..39c2639c2da452261097deba3096df02105d8aa3 100644 (file)
@@ -3,13 +3,19 @@
 SERVICEHOME = /tmp/test-transport/api-http-p2/
 DEFAULTCONFIG = test_transport_api_http_peer2.conf
 
+[nat]
+DISABLEV6 = NO
+
 [transport-http]
 PORT = 12090
 USE_IPv6 = YES
 USE_IPv4 = YES
+DISABLEV6 = NO
+BINDTO = 127.0.0.1
 
 [arm]
 PORT = 12095
+DEFAULTSERVICES = transport
 UNIXPATH = /tmp/gnunet-p2-service-arm.sock
 
 [statistics]
@@ -25,8 +31,8 @@ PORT = 12092
 UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
 
 [transport]
+DEBUG = YES
 PORT = 12091
 PLUGINS = http
 UNIXPATH = /tmp/gnunet-p2-service-transport.sock
-
-
+#PREFIX = valgrind --leak-check=full