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