From 20529268519852b226a629af74bf3ddb4b070490 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Sep 2011 20:37:14 +0000 Subject: [PATCH] LRN: use bindto instead of use-localaddr --- src/dht/test_dht_api_peer1.conf | 1 + src/dht/test_dht_multipeer_data.conf | 3 ++- src/dht/test_dht_twopeer_data.conf | 3 ++- src/dht/test_dhtlog_data.conf | 1 + src/dv/test_transport_dv_data.conf | 8 ++------ 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/dht/test_dht_api_peer1.conf b/src/dht/test_dht_api_peer1.conf index fc08be8c4..ae0d2ff49 100644 --- a/src/dht/test_dht_api_peer1.conf +++ b/src/dht/test_dht_api_peer1.conf @@ -40,6 +40,7 @@ DEBUG = NO [transport-tcp] TIMEOUT = 300000 PORT = 12368 +BINDTO = 127.0.0.1 [TESTING] WEAKRANDOM = YES diff --git a/src/dht/test_dht_multipeer_data.conf b/src/dht/test_dht_multipeer_data.conf index 9aae4a258..e792aa6e3 100644 --- a/src/dht/test_dht_multipeer_data.conf +++ b/src/dht/test_dht_multipeer_data.conf @@ -71,6 +71,7 @@ DEBUG = NO [transport-tcp] TIMEOUT = 300000 PORT = 12368 +BINDTO = 127.0.0.1 [DHT_TESTING] MYSQL_LOGGING_EXTENDED = NO @@ -104,7 +105,7 @@ BEHIND_NAT = NO ALLOW_NAT = NO INTERNAL_ADDRESS = 127.0.0.1 EXTERNAL_ADDRESS = 127.0.0.1 -USE_LOCALADDR = YES +USE_LOCALADDR = NO [dns] AUTOSTART = NO diff --git a/src/dht/test_dht_twopeer_data.conf b/src/dht/test_dht_twopeer_data.conf index 49465ffef..7733f6405 100644 --- a/src/dht/test_dht_twopeer_data.conf +++ b/src/dht/test_dht_twopeer_data.conf @@ -38,6 +38,7 @@ DEBUG = NO [transport-tcp] TIMEOUT = 300000 PORT = 12368 +BINDTO = 127.0.0.1 [TESTING] WEAKRANDOM = YES @@ -54,7 +55,7 @@ BEHIND_NAT = NO ALLOW_NAT = NO INTERNAL_ADDRESS = 127.0.0.1 EXTERNAL_ADDRESS = 127.0.0.1 -USE_LOCALADDR = YES +USE_LOCALADDR = NO [dns] AUTOSTART = NO diff --git a/src/dht/test_dhtlog_data.conf b/src/dht/test_dhtlog_data.conf index cc3fbf72d..22fb6ed46 100644 --- a/src/dht/test_dhtlog_data.conf +++ b/src/dht/test_dhtlog_data.conf @@ -24,6 +24,7 @@ DEBUG = NO [transport-tcp] TIMEOUT = 300000 PORT = 12368 +BINDTO = 127.0.0.1 [TESTING] WEAKRANDOM = YES diff --git a/src/dv/test_transport_dv_data.conf b/src/dv/test_transport_dv_data.conf index 156fff03a..5eb2b6c1c 100644 --- a/src/dv/test_transport_dv_data.conf +++ b/src/dv/test_transport_dv_data.conf @@ -11,12 +11,7 @@ PORT = 2565 PLUGINS = tcp dv BLACKLIST_FILE = $SERVICEHOME/blacklist BINARY = gnunet-service-transport -# FIXME: this should do nothing, why does LRN say it is needed? -USE_LOCALADDR = YES - -[nat] -# FIXME: probably a 'bindto' setting would be better? -USE_LOCALADDR = YES +USE_LOCALADDR = NO [arm] PORT = 2566 @@ -27,6 +22,7 @@ PORT = 2567 [transport-tcp] PORT = 2568 +BINDTO = 127.0.0.1 [transport-udp] PORT = 2568 -- 2.25.1