aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/perf_http_peer1.conf59
-rw-r--r--src/transport/perf_http_peer2.conf63
-rw-r--r--src/transport/perf_https_peer1.conf59
-rw-r--r--src/transport/perf_https_peer2.conf63
-rw-r--r--src/transport/perf_udp_peer1.conf65
-rw-r--r--src/transport/perf_udp_peer2.conf68
6 files changed, 377 insertions, 0 deletions
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 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p1/
4
5[transport]
6PORT = 12001
7UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
8PLUGINS = http_client
9
10[transport-http_client]
11
12[nat]
13# Disable IPv6 support
14DISABLEV6 = YES
15# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
16RETURN_LOCAL_ADDRESSES = NO
17
18
19[arm]
20PORT = 12005
21DEFAULTSERVICES = transport hostlist
22UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock
23
24[statistics]
25PORT = 12004
26UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock
27
28[resolver]
29PORT = 12003
30UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock
31
32[peerinfo]
33PORT = 12002
34UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock
35
36[hostlist]
37OPTIONS = -b
38SERVERS = http://localhost:9080/
39
40[ats]
41# Network specific inbound/outbound quotas
42UNSPECIFIED_QUOTA_IN = unlimited
43UNSPECIFIED_QUOTA_OUT = unlimited
44# LOOPBACK
45LOOPBACK_QUOTA_IN = unlimited
46LOOPBACK_QUOTA_OUT = unlimited
47# LAN
48LAN_QUOTA_IN = unlimited
49LAN_QUOTA_OUT = unlimited
50# WAN
51WAN_QUOTA_IN = unlimited
52WAN_QUOTA_OUT = unlimited
53# WLAN
54WLAN_QUOTA_IN = unlimited
55WLAN_QUOTA_OUT = unlimited
56# BLUETOOTH
57BLUETOOTH_QUOTA_IN = unlimited
58BLUETOOTH_QUOTA_OUT = unlimited
59# 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 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p2/
4
5[transport]
6PORT = 12010
7PLUGINS = http_server
8UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock
9
10[transport-http_server]
11PORT = 12090
12USE_IPv6 = YES
13
14[nat]
15# Disable IPv6 support
16DISABLEV6 = YES
17# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
18RETURN_LOCAL_ADDRESSES = NO
19
20[arm]
21PORT = 12014
22DEFAULTSERVICES = transport hostlist
23UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock
24
25[statistics]
26PORT = 12013
27UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock
28
29[resolver]
30PORT = 12012
31UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock
32
33[peerinfo]
34PORT = 12011
35UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock
36
37[hostlist]
38HTTPPORT = 9080
39OPTIONS = -p
40BINDTOIPV4 = YES
41BINDTOIP = 127.0.0.1
42
43[ats]
44# Network specific inbound/outbound quotas
45UNSPECIFIED_QUOTA_IN = unlimited
46UNSPECIFIED_QUOTA_OUT = unlimited
47# LOOPBACK
48LOOPBACK_QUOTA_IN = unlimited
49LOOPBACK_QUOTA_OUT = unlimited
50# LAN
51LAN_QUOTA_IN = unlimited
52LAN_QUOTA_OUT = unlimited
53# WAN
54WAN_QUOTA_IN = unlimited
55WAN_QUOTA_OUT = unlimited
56# WLAN
57WLAN_QUOTA_IN = unlimited
58WLAN_QUOTA_OUT = unlimited
59# BLUETOOTH
60BLUETOOTH_QUOTA_IN = unlimited
61BLUETOOTH_QUOTA_OUT = unlimited
62# ATS options
63
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 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p1/
4
5[transport]
6PORT = 12001
7UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
8PLUGINS = https_client
9
10[transport-https_client]
11
12[nat]
13# Disable IPv6 support
14DISABLEV6 = YES
15# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
16RETURN_LOCAL_ADDRESSES = NO
17
18
19[arm]
20PORT = 12005
21DEFAULTSERVICES = transport hostlist
22UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock
23
24[statistics]
25PORT = 12004
26UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock
27
28[resolver]
29PORT = 12003
30UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock
31
32[peerinfo]
33PORT = 12002
34UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock
35
36[hostlist]
37OPTIONS = -b
38SERVERS = http://localhost:9080/
39
40[ats]
41# Network specific inbound/outbound quotas
42UNSPECIFIED_QUOTA_IN = unlimited
43UNSPECIFIED_QUOTA_OUT = unlimited
44# LOOPBACK
45LOOPBACK_QUOTA_IN = unlimited
46LOOPBACK_QUOTA_OUT = unlimited
47# LAN
48LAN_QUOTA_IN = unlimited
49LAN_QUOTA_OUT = unlimited
50# WAN
51WAN_QUOTA_IN = unlimited
52WAN_QUOTA_OUT = unlimited
53# WLAN
54WLAN_QUOTA_IN = unlimited
55WLAN_QUOTA_OUT = unlimited
56# BLUETOOTH
57BLUETOOTH_QUOTA_IN = unlimited
58BLUETOOTH_QUOTA_OUT = unlimited
59# 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 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p2/
4
5[transport]
6PORT = 12010
7PLUGINS = https_server
8UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock
9
10[transport-https_server]
11PORT = 12090
12USE_IPv6 = YES
13
14[nat]
15# Disable IPv6 support
16DISABLEV6 = YES
17# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
18RETURN_LOCAL_ADDRESSES = NO
19
20[arm]
21PORT = 12014
22DEFAULTSERVICES = transport hostlist
23UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock
24
25[statistics]
26PORT = 12013
27UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock
28
29[resolver]
30PORT = 12012
31UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock
32
33[peerinfo]
34PORT = 12011
35UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock
36
37[hostlist]
38HTTPPORT = 9080
39OPTIONS = -p
40BINDTOIPV4 = YES
41BINDTOIP = 127.0.0.1
42
43[ats]
44# Network specific inbound/outbound quotas
45UNSPECIFIED_QUOTA_IN = unlimited
46UNSPECIFIED_QUOTA_OUT = unlimited
47# LOOPBACK
48LOOPBACK_QUOTA_IN = unlimited
49LOOPBACK_QUOTA_OUT = unlimited
50# LAN
51LAN_QUOTA_IN = unlimited
52LAN_QUOTA_OUT = unlimited
53# WAN
54WAN_QUOTA_IN = unlimited
55WAN_QUOTA_OUT = unlimited
56# WLAN
57WLAN_QUOTA_IN = unlimited
58WLAN_QUOTA_OUT = unlimited
59# BLUETOOTH
60BLUETOOTH_QUOTA_IN = unlimited
61BLUETOOTH_QUOTA_OUT = unlimited
62# ATS options
63
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 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p1/
4
5[transport]
6PORT = 12001
7UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
8PLUGINS = udp
9
10[transport-udp]
11# Use PORT = 0 to autodetect a port available
12PORT = 12015
13BROADCAST = NO
14BROADCAST_RECEIVE = NO
15BROADCAST_INTERVAL = 30 s
16MAX_BPS = 1000000000
17
18[nat]
19# Disable IPv6 support
20DISABLEV6 = YES
21# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
22RETURN_LOCAL_ADDRESSES = NO
23
24
25[arm]
26PORT = 12005
27DEFAULTSERVICES = transport hostlist
28UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock
29
30[statistics]
31PORT = 12004
32UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock
33
34[resolver]
35PORT = 12003
36UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock
37
38[peerinfo]
39PORT = 12002
40UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock
41
42[hostlist]
43OPTIONS = -b
44SERVERS = http://localhost:9080/
45
46[ats]
47# Network specific inbound/outbound quotas
48UNSPECIFIED_QUOTA_IN = unlimited
49UNSPECIFIED_QUOTA_OUT = unlimited
50# LOOPBACK
51LOOPBACK_QUOTA_IN = unlimited
52LOOPBACK_QUOTA_OUT = unlimited
53# LAN
54LAN_QUOTA_IN = unlimited
55LAN_QUOTA_OUT = unlimited
56# WAN
57WAN_QUOTA_IN = unlimited
58WAN_QUOTA_OUT = unlimited
59# WLAN
60WLAN_QUOTA_IN = unlimited
61WLAN_QUOTA_OUT = unlimited
62# BLUETOOTH
63BLUETOOTH_QUOTA_IN = unlimited
64BLUETOOTH_QUOTA_OUT = unlimited
65# 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 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p2/
4
5[transport]
6PORT = 12010
7PLUGINS = udp
8UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock
9
10
11[transport-udp]
12# Use PORT = 0 to autodetect a port available
13PORT = 12115
14BROADCAST = NO
15BROADCAST_RECEIVE = NO
16BROADCAST_INTERVAL = 30 s
17MAX_BPS = 1000000000
18
19[nat]
20# Disable IPv6 support
21DISABLEV6 = YES
22# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
23RETURN_LOCAL_ADDRESSES = NO
24
25[arm]
26PORT = 12014
27DEFAULTSERVICES = transport hostlist
28UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock
29
30[statistics]
31PORT = 12013
32UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock
33
34[resolver]
35PORT = 12012
36UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock
37
38[peerinfo]
39PORT = 12011
40UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock
41
42[hostlist]
43HTTPPORT = 9080
44OPTIONS = -p
45BINDTOIPV4 = YES
46BINDTOIP = 127.0.0.1
47
48[ats]
49# Network specific inbound/outbound quotas
50UNSPECIFIED_QUOTA_IN = unlimited
51UNSPECIFIED_QUOTA_OUT = unlimited
52# LOOPBACK
53LOOPBACK_QUOTA_IN = unlimited
54LOOPBACK_QUOTA_OUT = unlimited
55# LAN
56LAN_QUOTA_IN = unlimited
57LAN_QUOTA_OUT = unlimited
58# WAN
59WAN_QUOTA_IN = unlimited
60WAN_QUOTA_OUT = unlimited
61# WLAN
62WLAN_QUOTA_IN = unlimited
63WLAN_QUOTA_OUT = unlimited
64# BLUETOOTH
65BLUETOOTH_QUOTA_IN = unlimited
66BLUETOOTH_QUOTA_OUT = unlimited
67# ATS options
68