From aedac3a94ffc0d4563964a591b5ed35a72857a23 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 1 Sep 2014 15:44:38 +0000 Subject: config files for tests --- src/transport/perf_http_peer1.conf | 59 ++++++++++++++++++++++++++++++++ src/transport/perf_http_peer2.conf | 63 ++++++++++++++++++++++++++++++++++ src/transport/perf_https_peer1.conf | 59 ++++++++++++++++++++++++++++++++ src/transport/perf_https_peer2.conf | 63 ++++++++++++++++++++++++++++++++++ src/transport/perf_udp_peer1.conf | 65 +++++++++++++++++++++++++++++++++++ src/transport/perf_udp_peer2.conf | 68 +++++++++++++++++++++++++++++++++++++ 6 files changed, 377 insertions(+) create mode 100644 src/transport/perf_http_peer1.conf create mode 100644 src/transport/perf_http_peer2.conf create mode 100644 src/transport/perf_https_peer1.conf create mode 100644 src/transport/perf_https_peer2.conf create mode 100644 src/transport/perf_udp_peer1.conf create mode 100644 src/transport/perf_udp_peer2.conf (limited to 'src') diff --git a/src/transport/perf_http_peer1.conf b/src/transport/perf_http_peer1.conf new file mode 100644 index 000000000..b62be1ba1 --- /dev/null +++ b/src/transport/perf_http_peer1.conf @@ -0,0 +1,59 @@ +@INLINE@ template_cfg_peer1.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p1/ + +[transport] +PORT = 12001 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock +PLUGINS = http_client + +[transport-http_client] + +[nat] +# Disable IPv6 support +DISABLEV6 = YES +# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) +RETURN_LOCAL_ADDRESSES = NO + + +[arm] +PORT = 12005 +DEFAULTSERVICES = transport hostlist +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock + +[statistics] +PORT = 12004 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock + +[resolver] +PORT = 12003 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock + +[peerinfo] +PORT = 12002 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock + +[hostlist] +OPTIONS = -b +SERVERS = http://localhost:9080/ + +[ats] +# Network specific inbound/outbound quotas +UNSPECIFIED_QUOTA_IN = unlimited +UNSPECIFIED_QUOTA_OUT = unlimited +# LOOPBACK +LOOPBACK_QUOTA_IN = unlimited +LOOPBACK_QUOTA_OUT = unlimited +# LAN +LAN_QUOTA_IN = unlimited +LAN_QUOTA_OUT = unlimited +# WAN +WAN_QUOTA_IN = unlimited +WAN_QUOTA_OUT = unlimited +# WLAN +WLAN_QUOTA_IN = unlimited +WLAN_QUOTA_OUT = unlimited +# BLUETOOTH +BLUETOOTH_QUOTA_IN = unlimited +BLUETOOTH_QUOTA_OUT = unlimited +# ATS options diff --git a/src/transport/perf_http_peer2.conf b/src/transport/perf_http_peer2.conf new file mode 100644 index 000000000..8ae6970f6 --- /dev/null +++ b/src/transport/perf_http_peer2.conf @@ -0,0 +1,63 @@ +@INLINE@ template_cfg_peer2.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p2/ + +[transport] +PORT = 12010 +PLUGINS = http_server +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock + +[transport-http_server] +PORT = 12090 +USE_IPv6 = YES + +[nat] +# Disable IPv6 support +DISABLEV6 = YES +# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) +RETURN_LOCAL_ADDRESSES = NO + +[arm] +PORT = 12014 +DEFAULTSERVICES = transport hostlist +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock + +[statistics] +PORT = 12013 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock + +[resolver] +PORT = 12012 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock + +[peerinfo] +PORT = 12011 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock + +[hostlist] +HTTPPORT = 9080 +OPTIONS = -p +BINDTOIPV4 = YES +BINDTOIP = 127.0.0.1 + +[ats] +# Network specific inbound/outbound quotas +UNSPECIFIED_QUOTA_IN = unlimited +UNSPECIFIED_QUOTA_OUT = unlimited +# LOOPBACK +LOOPBACK_QUOTA_IN = unlimited +LOOPBACK_QUOTA_OUT = unlimited +# LAN +LAN_QUOTA_IN = unlimited +LAN_QUOTA_OUT = unlimited +# WAN +WAN_QUOTA_IN = unlimited +WAN_QUOTA_OUT = unlimited +# WLAN +WLAN_QUOTA_IN = unlimited +WLAN_QUOTA_OUT = unlimited +# BLUETOOTH +BLUETOOTH_QUOTA_IN = unlimited +BLUETOOTH_QUOTA_OUT = unlimited +# ATS options + diff --git a/src/transport/perf_https_peer1.conf b/src/transport/perf_https_peer1.conf new file mode 100644 index 000000000..6a2de711c --- /dev/null +++ b/src/transport/perf_https_peer1.conf @@ -0,0 +1,59 @@ +@INLINE@ template_cfg_peer1.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p1/ + +[transport] +PORT = 12001 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock +PLUGINS = https_client + +[transport-https_client] + +[nat] +# Disable IPv6 support +DISABLEV6 = YES +# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) +RETURN_LOCAL_ADDRESSES = NO + + +[arm] +PORT = 12005 +DEFAULTSERVICES = transport hostlist +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock + +[statistics] +PORT = 12004 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock + +[resolver] +PORT = 12003 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock + +[peerinfo] +PORT = 12002 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock + +[hostlist] +OPTIONS = -b +SERVERS = http://localhost:9080/ + +[ats] +# Network specific inbound/outbound quotas +UNSPECIFIED_QUOTA_IN = unlimited +UNSPECIFIED_QUOTA_OUT = unlimited +# LOOPBACK +LOOPBACK_QUOTA_IN = unlimited +LOOPBACK_QUOTA_OUT = unlimited +# LAN +LAN_QUOTA_IN = unlimited +LAN_QUOTA_OUT = unlimited +# WAN +WAN_QUOTA_IN = unlimited +WAN_QUOTA_OUT = unlimited +# WLAN +WLAN_QUOTA_IN = unlimited +WLAN_QUOTA_OUT = unlimited +# BLUETOOTH +BLUETOOTH_QUOTA_IN = unlimited +BLUETOOTH_QUOTA_OUT = unlimited +# ATS options diff --git a/src/transport/perf_https_peer2.conf b/src/transport/perf_https_peer2.conf new file mode 100644 index 000000000..8a613b794 --- /dev/null +++ b/src/transport/perf_https_peer2.conf @@ -0,0 +1,63 @@ +@INLINE@ template_cfg_peer2.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p2/ + +[transport] +PORT = 12010 +PLUGINS = https_server +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock + +[transport-https_server] +PORT = 12090 +USE_IPv6 = YES + +[nat] +# Disable IPv6 support +DISABLEV6 = YES +# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) +RETURN_LOCAL_ADDRESSES = NO + +[arm] +PORT = 12014 +DEFAULTSERVICES = transport hostlist +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock + +[statistics] +PORT = 12013 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock + +[resolver] +PORT = 12012 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock + +[peerinfo] +PORT = 12011 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock + +[hostlist] +HTTPPORT = 9080 +OPTIONS = -p +BINDTOIPV4 = YES +BINDTOIP = 127.0.0.1 + +[ats] +# Network specific inbound/outbound quotas +UNSPECIFIED_QUOTA_IN = unlimited +UNSPECIFIED_QUOTA_OUT = unlimited +# LOOPBACK +LOOPBACK_QUOTA_IN = unlimited +LOOPBACK_QUOTA_OUT = unlimited +# LAN +LAN_QUOTA_IN = unlimited +LAN_QUOTA_OUT = unlimited +# WAN +WAN_QUOTA_IN = unlimited +WAN_QUOTA_OUT = unlimited +# WLAN +WLAN_QUOTA_IN = unlimited +WLAN_QUOTA_OUT = unlimited +# BLUETOOTH +BLUETOOTH_QUOTA_IN = unlimited +BLUETOOTH_QUOTA_OUT = unlimited +# ATS options + diff --git a/src/transport/perf_udp_peer1.conf b/src/transport/perf_udp_peer1.conf new file mode 100644 index 000000000..89822048f --- /dev/null +++ b/src/transport/perf_udp_peer1.conf @@ -0,0 +1,65 @@ +@INLINE@ template_cfg_peer1.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p1/ + +[transport] +PORT = 12001 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock +PLUGINS = udp + +[transport-udp] +# Use PORT = 0 to autodetect a port available +PORT = 12015 +BROADCAST = NO +BROADCAST_RECEIVE = NO +BROADCAST_INTERVAL = 30 s +MAX_BPS = 1000000000 + +[nat] +# Disable IPv6 support +DISABLEV6 = YES +# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) +RETURN_LOCAL_ADDRESSES = NO + + +[arm] +PORT = 12005 +DEFAULTSERVICES = transport hostlist +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock + +[statistics] +PORT = 12004 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock + +[resolver] +PORT = 12003 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock + +[peerinfo] +PORT = 12002 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock + +[hostlist] +OPTIONS = -b +SERVERS = http://localhost:9080/ + +[ats] +# Network specific inbound/outbound quotas +UNSPECIFIED_QUOTA_IN = unlimited +UNSPECIFIED_QUOTA_OUT = unlimited +# LOOPBACK +LOOPBACK_QUOTA_IN = unlimited +LOOPBACK_QUOTA_OUT = unlimited +# LAN +LAN_QUOTA_IN = unlimited +LAN_QUOTA_OUT = unlimited +# WAN +WAN_QUOTA_IN = unlimited +WAN_QUOTA_OUT = unlimited +# WLAN +WLAN_QUOTA_IN = unlimited +WLAN_QUOTA_OUT = unlimited +# BLUETOOTH +BLUETOOTH_QUOTA_IN = unlimited +BLUETOOTH_QUOTA_OUT = unlimited +# ATS options diff --git a/src/transport/perf_udp_peer2.conf b/src/transport/perf_udp_peer2.conf new file mode 100644 index 000000000..e8b065ead --- /dev/null +++ b/src/transport/perf_udp_peer2.conf @@ -0,0 +1,68 @@ +@INLINE@ template_cfg_peer2.conf +[PATHS] +GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p2/ + +[transport] +PORT = 12010 +PLUGINS = udp +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock + + +[transport-udp] +# Use PORT = 0 to autodetect a port available +PORT = 12115 +BROADCAST = NO +BROADCAST_RECEIVE = NO +BROADCAST_INTERVAL = 30 s +MAX_BPS = 1000000000 + +[nat] +# Disable IPv6 support +DISABLEV6 = YES +# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) +RETURN_LOCAL_ADDRESSES = NO + +[arm] +PORT = 12014 +DEFAULTSERVICES = transport hostlist +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock + +[statistics] +PORT = 12013 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock + +[resolver] +PORT = 12012 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock + +[peerinfo] +PORT = 12011 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock + +[hostlist] +HTTPPORT = 9080 +OPTIONS = -p +BINDTOIPV4 = YES +BINDTOIP = 127.0.0.1 + +[ats] +# Network specific inbound/outbound quotas +UNSPECIFIED_QUOTA_IN = unlimited +UNSPECIFIED_QUOTA_OUT = unlimited +# LOOPBACK +LOOPBACK_QUOTA_IN = unlimited +LOOPBACK_QUOTA_OUT = unlimited +# LAN +LAN_QUOTA_IN = unlimited +LAN_QUOTA_OUT = unlimited +# WAN +WAN_QUOTA_IN = unlimited +WAN_QUOTA_OUT = unlimited +# WLAN +WLAN_QUOTA_IN = unlimited +WLAN_QUOTA_OUT = unlimited +# BLUETOOTH +BLUETOOTH_QUOTA_IN = unlimited +BLUETOOTH_QUOTA_OUT = unlimited +# ATS options + -- cgit v1.2.3