aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/Makefile.am34
-rw-r--r--src/transport/test_quota_compliance.c61
-rw-r--r--src/transport/test_quota_compliance_http_asymmetric_peer1.conf34
-rw-r--r--src/transport/test_quota_compliance_http_asymmetric_peer2.conf34
-rw-r--r--src/transport/test_quota_compliance_https_asymmetric_peer1.conf36
-rw-r--r--src/transport/test_quota_compliance_https_asymmetric_peer2.conf36
-rw-r--r--src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf32
-rw-r--r--src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf32
-rw-r--r--src/transport/test_quota_compliance_udp_asymmetric_peer1.conf30
-rw-r--r--src/transport/test_quota_compliance_udp_asymmetric_peer2.conf31
-rw-r--r--src/transport/test_quota_compliance_unix_asymmetric_peer1.conf28
-rw-r--r--src/transport/test_quota_compliance_unix_asymmetric_peer2.conf29
-rw-r--r--src/transport/test_transport_api_reliability_tcp_peer2.conf2
13 files changed, 384 insertions, 35 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 193c70a19..c156d483f 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -12,7 +12,7 @@ if HAVE_MHD
12 HTTP_REL_TEST = test_transport_api_reliability_http 12 HTTP_REL_TEST = test_transport_api_reliability_http
13 HTTP_NAT_REL_TEST = test_transport_api_reliability_http_nat 13 HTTP_NAT_REL_TEST = test_transport_api_reliability_http_nat
14 HTTP_QUOTA_TEST = test_quota_compliance_http \ 14 HTTP_QUOTA_TEST = test_quota_compliance_http \
15 test_quota_compliance_http_asymmetric_recv_constant 15 test_quota_compliance_http_asymmetric
16 HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la 16 HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
17 HTTPS_API_TEST = test_transport_api_https 17 HTTPS_API_TEST = test_transport_api_https
18 HTTPS_NAT_API_TEST = test_transport_api_https_nat 18 HTTPS_NAT_API_TEST = test_transport_api_https_nat
@@ -20,7 +20,7 @@ if HAVE_MHD
20 HTTPS_REL_TEST = test_transport_api_reliability_https 20 HTTPS_REL_TEST = test_transport_api_reliability_https
21 HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat 21 HTTPS_NAT_REL_TEST = test_transport_api_reliability_https_nat
22 HTTPS_QUOTA_TEST = test_quota_compliance_https \ 22 HTTPS_QUOTA_TEST = test_quota_compliance_https \
23 test_quota_compliance_https_asymmetric_recv_constant 23 test_quota_compliance_https_asymmetric
24endif 24endif
25 25
26if USE_COVERAGE 26if USE_COVERAGE
@@ -52,7 +52,7 @@ UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
52UNIX_PLUGIN_TEST = test_transport_api_unix 52UNIX_PLUGIN_TEST = test_transport_api_unix
53UNIX_REL_TEST = test_transport_api_unreliability_unix 53UNIX_REL_TEST = test_transport_api_unreliability_unix
54UNIX_QUOTA_TEST = test_quota_compliance_unix \ 54UNIX_QUOTA_TEST = test_quota_compliance_unix \
55 test_quota_compliance_unix_asymmetric_recv_constant 55 test_quota_compliance_unix_asymmetric
56endif 56endif
57 57
58noinst_PROGRAMS = \ 58noinst_PROGRAMS = \
@@ -279,9 +279,9 @@ check_PROGRAMS = \
279 $(HTTPS_REL_TEST) \ 279 $(HTTPS_REL_TEST) \
280 $(HTTPS_NAT_REL_TEST) \ 280 $(HTTPS_NAT_REL_TEST) \
281 test_quota_compliance_tcp \ 281 test_quota_compliance_tcp \
282 test_quota_compliance_tcp_asymmetric_recv_constant \ 282 test_quota_compliance_tcp_asymmetric \
283 test_quota_compliance_udp \ 283 test_quota_compliance_udp \
284 test_quota_compliance_udp_asymmetric_recv_constant \ 284 test_quota_compliance_udp_asymmetric \
285 $(UNIX_QUOTA_TEST) \ 285 $(UNIX_QUOTA_TEST) \
286 $(HTTP_QUOTA_TEST) \ 286 $(HTTP_QUOTA_TEST) \
287 $(HTTPS_QUOTA_TEST) \ 287 $(HTTPS_QUOTA_TEST) \
@@ -318,9 +318,9 @@ TESTS = \
318 $(HTTPS_REL_TEST) \ 318 $(HTTPS_REL_TEST) \
319 $(HTTPS_NAT_REL_TEST) \ 319 $(HTTPS_NAT_REL_TEST) \
320 test_quota_compliance_tcp \ 320 test_quota_compliance_tcp \
321 test_quota_compliance_tcp_asymmetric_recv_constant \ 321 test_quota_compliance_tcp_asymmetric \
322 test_quota_compliance_udp \ 322 test_quota_compliance_udp \
323 test_quota_compliance_udp_asymmetric_recv_constant \ 323 test_quota_compliance_udp_asymmetric \
324 $(UNIX_QUOTA_TEST) \ 324 $(UNIX_QUOTA_TEST) \
325 $(HTTP_QUOTA_TEST) \ 325 $(HTTP_QUOTA_TEST) \
326 $(HTTPS_QUOTA_TEST) \ 326 $(HTTPS_QUOTA_TEST) \
@@ -580,9 +580,9 @@ test_quota_compliance_tcp_LDADD = \
580 $(top_builddir)/src/util/libgnunetutil.la \ 580 $(top_builddir)/src/util/libgnunetutil.la \
581 $(top_builddir)/src/transport/libgnunettransporttesting.la 581 $(top_builddir)/src/transport/libgnunettransporttesting.la
582 582
583test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \ 583test_quota_compliance_tcp_asymmetric_SOURCES = \
584 test_quota_compliance.c 584 test_quota_compliance.c
585test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \ 585test_quota_compliance_tcp_asymmetric_LDADD = \
586 $(top_builddir)/src/transport/libgnunettransport.la \ 586 $(top_builddir)/src/transport/libgnunettransport.la \
587 $(top_builddir)/src/hello/libgnunethello.la \ 587 $(top_builddir)/src/hello/libgnunethello.la \
588 $(top_builddir)/src/util/libgnunetutil.la \ 588 $(top_builddir)/src/util/libgnunetutil.la \
@@ -602,9 +602,9 @@ test_quota_compliance_http_LDADD = \
602 $(top_builddir)/src/util/libgnunetutil.la \ 602 $(top_builddir)/src/util/libgnunetutil.la \
603 $(top_builddir)/src/transport/libgnunettransporttesting.la 603 $(top_builddir)/src/transport/libgnunettransporttesting.la
604 604
605 test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \ 605 test_quota_compliance_http_asymmetric_SOURCES = \
606 test_quota_compliance.c 606 test_quota_compliance.c
607test_quota_compliance_http_asymmetric_recv_constant_LDADD = \ 607test_quota_compliance_http_asymmetric_LDADD = \
608 $(top_builddir)/src/transport/libgnunettransport.la \ 608 $(top_builddir)/src/transport/libgnunettransport.la \
609 $(top_builddir)/src/hello/libgnunethello.la \ 609 $(top_builddir)/src/hello/libgnunethello.la \
610 $(top_builddir)/src/util/libgnunetutil.la \ 610 $(top_builddir)/src/util/libgnunetutil.la \
@@ -624,9 +624,9 @@ test_quota_compliance_https_LDADD = \
624 $(top_builddir)/src/util/libgnunetutil.la \ 624 $(top_builddir)/src/util/libgnunetutil.la \
625 $(top_builddir)/src/transport/libgnunettransporttesting.la 625 $(top_builddir)/src/transport/libgnunettransporttesting.la
626 626
627 test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \ 627 test_quota_compliance_https_asymmetric_SOURCES = \
628 test_quota_compliance.c 628 test_quota_compliance.c
629test_quota_compliance_https_asymmetric_recv_constant_LDADD = \ 629test_quota_compliance_https_asymmetric_LDADD = \
630 $(top_builddir)/src/transport/libgnunettransport.la \ 630 $(top_builddir)/src/transport/libgnunettransport.la \
631 $(top_builddir)/src/hello/libgnunethello.la \ 631 $(top_builddir)/src/hello/libgnunethello.la \
632 $(top_builddir)/src/util/libgnunetutil.la \ 632 $(top_builddir)/src/util/libgnunetutil.la \
@@ -646,9 +646,9 @@ test_quota_compliance_udp_LDADD = \
646 $(top_builddir)/src/util/libgnunetutil.la \ 646 $(top_builddir)/src/util/libgnunetutil.la \
647 $(top_builddir)/src/transport/libgnunettransporttesting.la 647 $(top_builddir)/src/transport/libgnunettransporttesting.la
648 648
649test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \ 649test_quota_compliance_udp_asymmetric_SOURCES = \
650 test_quota_compliance.c 650 test_quota_compliance.c
651test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \ 651test_quota_compliance_udp_asymmetric_LDADD = \
652 $(top_builddir)/src/transport/libgnunettransport.la \ 652 $(top_builddir)/src/transport/libgnunettransport.la \
653 $(top_builddir)/src/hello/libgnunethello.la \ 653 $(top_builddir)/src/hello/libgnunethello.la \
654 $(top_builddir)/src/util/libgnunetutil.la \ 654 $(top_builddir)/src/util/libgnunetutil.la \
@@ -662,9 +662,9 @@ test_quota_compliance_unix_LDADD = \
662 $(top_builddir)/src/util/libgnunetutil.la \ 662 $(top_builddir)/src/util/libgnunetutil.la \
663 $(top_builddir)/src/transport/libgnunettransporttesting.la 663 $(top_builddir)/src/transport/libgnunettransporttesting.la
664 664
665test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \ 665test_quota_compliance_unix_asymmetric_SOURCES = \
666 test_quota_compliance.c 666 test_quota_compliance.c
667test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \ 667test_quota_compliance_unix_asymmetric_LDADD = \
668 $(top_builddir)/src/transport/libgnunettransport.la \ 668 $(top_builddir)/src/transport/libgnunettransport.la \
669 $(top_builddir)/src/hello/libgnunethello.la \ 669 $(top_builddir)/src/hello/libgnunethello.la \
670 $(top_builddir)/src/util/libgnunetutil.la \ 670 $(top_builddir)/src/util/libgnunetutil.la \
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index d8e5c3f44..3422ef2fd 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -21,7 +21,7 @@
21 * @file transport/test_quota_compliance.c 21 * @file transport/test_quota_compliance.c
22 * @brief base test case for transport implementations 22 * @brief base test case for transport implementations
23 * 23 *
24 * This test case tests quota compliance both on core and transport level 24 * This test case tests quota compliance both on transport level
25 */ 25 */
26#include "platform.h" 26#include "platform.h"
27#include "gnunet_common.h" 27#include "gnunet_common.h"
@@ -282,19 +282,6 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
282 } 282 }
283#endif 283#endif
284 n++; 284 n++;
285 if (0 == (n % (TOTAL_MSGS / 100)))
286 {
287 fprintf (stderr, ".");
288 if (die_task != GNUNET_SCHEDULER_NO_TASK)
289 GNUNET_SCHEDULER_cancel (die_task);
290 die_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL);
291 }
292 if (n == TOTAL_MSGS)
293 {
294 ok = 0;
295 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "\nAll messages received\n");
296 end ();
297 }
298} 285}
299 286
300 287
@@ -409,6 +396,27 @@ sendtask ()
409 NULL); 396 NULL);
410} 397}
411 398
399
400static void
401measure (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
402{
403 static int counter;
404 measure_task = GNUNET_SCHEDULER_NO_TASK;
405
406 counter++;
407 if ((DURATION.rel_value / 1000) < counter )
408 {
409 fprintf (stderr, ".\n");
410 GNUNET_SCHEDULER_add_now (&end, NULL);
411 }
412 else
413 {
414 fprintf (stderr, ".");
415 measure_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &measure, NULL);
416 }
417}
418
419
412static void 420static void
413testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls) 421testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls)
414{ 422{
@@ -421,7 +429,7 @@ testing_connect_cb (struct PeerContext *p1, struct PeerContext *p2, void *cls)
421 cc = NULL; 429 cc = NULL;
422 test_connected = GNUNET_YES; 430 test_connected = GNUNET_YES;
423 431
424 measure_task = GNUNET_SCHEDULER_add_delayed (DURATION, &end, NULL); 432 measure_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &measure, NULL);
425 GNUNET_SCHEDULER_add_now (&sendtask, NULL); 433 GNUNET_SCHEDULER_add_now (&sendtask, NULL);
426 434
427} 435}
@@ -516,7 +524,26 @@ static void
516run (void *cls, char *const *args, const char *cfgfile, 524run (void *cls, char *const *args, const char *cfgfile,
517 const struct GNUNET_CONFIGURATION_Handle *cfg) 525 const struct GNUNET_CONFIGURATION_Handle *cfg)
518{ 526{
519 run_measurement (10000, 10000, 10000, 10000); 527 unsigned long long p1_quota_in = 10000;
528 unsigned long long p1_quota_out = 10000;
529 unsigned long long p2_quota_in = 10000;
530 unsigned long long p2_quota_out = 10000;
531
532 if (NULL != strstr (test_name,"asymmetric"))
533 {
534 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
535 "Running asymmetric test with sending peer unlimited, receiving peer (in/out): %llu/%llu b/s \n",
536 p2_quota_in, p2_quota_out);
537 p1_quota_out = 1024 * 1024 * 1024;
538 p1_quota_in = 1024 * 1024 * 1024;
539 }
540 else
541 {
542 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
543 "Running symmetric test with (in/out) %llu/%llu b/s \n",
544 p2_quota_in, p2_quota_out);
545 }
546 run_measurement (p1_quota_in, p1_quota_out, p2_quota_in, p2_quota_out);
520} 547}
521 548
522static int 549static int
@@ -596,7 +623,7 @@ main (int argc, char *argv[])
596 623
597 if (GNUNET_YES == GNUNET_DISK_file_test (gen_cfg_p2)) 624 if (GNUNET_YES == GNUNET_DISK_file_test (gen_cfg_p2))
598 { 625 {
599 //GNUNET_DISK_directory_remove (gen_cfg_p2); 626 GNUNET_DISK_directory_remove (gen_cfg_p2);
600 GNUNET_free (gen_cfg_p2); 627 GNUNET_free (gen_cfg_p2);
601 } 628 }
602 629
diff --git a/src/transport/test_quota_compliance_http_asymmetric_peer1.conf b/src/transport/test_quota_compliance_http_asymmetric_peer1.conf
new file mode 100644
index 000000000..872a75365
--- /dev/null
+++ b/src/transport/test_quota_compliance_http_asymmetric_peer1.conf
@@ -0,0 +1,34 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer1
4DEFAULTCONFIG = test_quota_compliance_http_peer1.conf
5
6[transport-http]
7PORT = 4010
8DEBUG = NO
9USE_IPv4 = YES
10USE_IPv6 = NO
11BINDTO4 = 127.0.0.1
12
13[arm]
14PORT = 4015
15UNIXPATH = /tmp/test_quota_compliance_http_arm_peer1.sock
16
17[statistics]
18PORT = 4014
19UNIXPATH = /tmp/test_quota_compliance_http_statistics_peer1.sock
20
21[resolver]
22PORT = 4013
23UNIXPATH = /tmp/test_quota_compliance_http_resolver_peer1.sock
24
25[peerinfo]
26PORT = 4012
27UNIXPATH = /tmp/test_quota_compliance_http_peerinfo_peer1.sock
28
29[transport]
30PORT = 4011
31PLUGINS = http
32UNIXPATH = /tmp/test_quota_compliance_http_transport_peer1.sock
33
34
diff --git a/src/transport/test_quota_compliance_http_asymmetric_peer2.conf b/src/transport/test_quota_compliance_http_asymmetric_peer2.conf
new file mode 100644
index 000000000..256dc61eb
--- /dev/null
+++ b/src/transport/test_quota_compliance_http_asymmetric_peer2.conf
@@ -0,0 +1,34 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer2
4DEFAULTCONFIG = test_quota_compliance_http_peer2.conf
5
6[transport-http]
7PORT = 3010
8DEBUG = NO
9USE_IPv4 = YES
10USE_IPv6 = NO
11BINDTO4 = 127.0.0.1
12
13[arm]
14PORT = 3015
15UNIXPATH = /tmp/test_quota_compliance_http_arm_peer2.sock
16
17[statistics]
18PORT = 3014
19UNIXPATH = /tmp/test_quota_compliance_http_statistics_peer2.sock
20
21[resolver]
22PORT = 3013
23UNIXPATH = /tmp/test_quota_compliance_http_resolver_peer2.sock
24
25[peerinfo]
26PORT = 3012
27UNIXPATH = /tmp/test_quota_compliance_http_peerinfo_peer2.sock
28
29[transport]
30PORT = 3011
31PLUGINS = http
32UNIXPATH = /tmp/test_quota_compliance_http_transport_peer2.sock
33
34
diff --git a/src/transport/test_quota_compliance_https_asymmetric_peer1.conf b/src/transport/test_quota_compliance_https_asymmetric_peer1.conf
new file mode 100644
index 000000000..47f93096c
--- /dev/null
+++ b/src/transport/test_quota_compliance_https_asymmetric_peer1.conf
@@ -0,0 +1,36 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer1/
4DEFAULTCONFIG = test_quota_compliance_https_peer1.conf
5
6[transport-https]
7PORT = 4001
8CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL
9KEY_FILE = https_key_quota_p1.key
10CERT_FILE = https_cert_quota_p1.crt
11USE_IPv4 = YES
12USE_IPv6 = NO
13BINDTO4 = 127.0.0.1
14
15[arm]
16PORT = 4006
17UNIXPATH = /tmp/test_quota_compliance_https_arm_peer1.sock
18
19[statistics]
20PORT = 4005
21UNIXPATH = /tmp/test_quota_compliance_https_statistics_peer1.sock
22
23[resolver]
24PORT = 4004
25UNIXPATH = /tmp/test_quota_compliance_https_resolver_peer1.sock
26
27[peerinfo]
28PORT = 4003
29UNIXPATH = /tmp/test_quota_compliance_https_peerinfo_peer1.sock
30
31[transport]
32PORT = 4002
33PLUGINS = https
34UNIXPATH = /tmp/test_quota_compliance_https_transport_peer1.sock
35
36
diff --git a/src/transport/test_quota_compliance_https_asymmetric_peer2.conf b/src/transport/test_quota_compliance_https_asymmetric_peer2.conf
new file mode 100644
index 000000000..79bf0331f
--- /dev/null
+++ b/src/transport/test_quota_compliance_https_asymmetric_peer2.conf
@@ -0,0 +1,36 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer2
4DEFAULTCONFIG = test_quota_compliance_https_peer2.conf
5
6[transport-https]
7PORT = 3001
8CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL
9KEY_FILE = https_key_quota_p2.key
10CERT_FILE = https_cert_qutoa_p2.crt
11USE_IPv4 = YES
12USE_IPv6 = NO
13BINDTO4 = 127.0.0.1
14
15[arm]
16PORT = 3006
17UNIXPATH = /tmp/test_quota_compliance_https_arm_peer2.sock
18
19[statistics]
20PORT = 3005
21UNIXPATH = /tmp/test_quota_compliance_https_statistics_peer2.sock
22
23[resolver]
24PORT = 3004
25UNIXPATH = /tmp/test_quota_compliance_https_resolver_peer2.sock
26
27[peerinfo]
28PORT = 3003
29UNIXPATH = /tmp/test_quota_compliance_https_peerinfo_peer2.sock
30
31[transport]
32PORT = 3002
33PLUGINS = https
34UNIXPATH = /tmp/https_transport_peer2.sock
35
36
diff --git a/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf b/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf
new file mode 100644
index 000000000..ff63514b1
--- /dev/null
+++ b/src/transport/test_quota_compliance_tcp_asymmetric_peer1.conf
@@ -0,0 +1,32 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3SERVICEHOME = /tmp/test-transport/quota-tcp-p1/
4DEFAULTCONFIG = test_quota_compliance_tcp_peer1.conf
5
6[transport-tcp]
7PORT = 4094
8
9[transport-udp]
10PORT = 4094
11
12[arm]
13PORT = 4087
14UNIXPATH = /tmp/test_quota_compliance_tcp_arm_peer1.sock
15
16[statistics]
17PORT = 4088
18UNIXPATH = /tmp/test_quota_compliance_tcp_statistics_peer1.sock
19
20[resolver]
21PORT = 4089
22UNIXPATH = /tmp/test_quota_compliance_tcp_resolver_peer1.sock
23
24[peerinfo]
25PORT = 4090
26UNIXPATH = /tmp/test_quota_compliance_tcp_peerinfo_peer1.sock
27
28[transport]
29PORT = 4091
30UNIXPATH = /tmp/test_quota_compliance_tcp_transport_peer1.sock
31
32
diff --git a/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf b/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf
new file mode 100644
index 000000000..608c49a07
--- /dev/null
+++ b/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf
@@ -0,0 +1,32 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer2
4DEFAULTCONFIG = test_quota_compliance_tcp_peer2.conf
5
6[transport-tcp]
7PORT = 3094
8
9[transport-udp]
10PORT = 3094
11
12[arm]
13PORT = 3087
14UNIXPATH = /tmp/test_quota_compliance_tcp_arm_peer2.sock
15
16[statistics]
17PORT = 3088
18UNIXPATH = /tmp/test_quota_compliance_tcp_statistics_peer2.sock
19
20[resolver]
21PORT = 3089
22UNIXPATH = /tmp/test_quota_compliance_tcp_resolver_peer2.sock
23
24[peerinfo]
25PORT = 3090
26UNIXPATH = /tmp/test_quota_compliance_tcp_peerinfo_peer2.sock
27
28[transport]
29PORT = 3091
30UNIXPATH = /tmp/test_quota_compliance_tcp_transport_peer2.sock
31
32
diff --git a/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf b/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf
new file mode 100644
index 000000000..4848b065e
--- /dev/null
+++ b/src/transport/test_quota_compliance_udp_asymmetric_peer1.conf
@@ -0,0 +1,30 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer1/
4DEFAULTCONFIG = test_quota_compliance_udp_peer1.conf
5
6[transport-udp]
7PORT = 4368
8MAX_BPS = 50000000
9
10[arm]
11PORT = 4087
12UNIXPATH = /tmp/test_quota_compliance_udp_arm_peer1.sock
13
14[statistics]
15PORT = 4088
16UNIXPATH = /tmp/test_quota_compliance_udp_statistics_peer1.sock
17
18[resolver]
19PORT = 4089
20UNIXPATH = /tmp/test_quota_compliance_udp_resolver_peer1.sock
21
22[peerinfo]
23PORT = 4090
24UNIXPATH = /tmp/test_quota_compliance_udp_peerinfo_peer1.sock
25
26[transport]
27PORT = 4091
28PLUGINS = udp
29UNIXPATH = /tmp/test_quota_compliance_udp_transport_peer1.sock
30
diff --git a/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf b/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf
new file mode 100644
index 000000000..4b58c934f
--- /dev/null
+++ b/src/transport/test_quota_compliance_udp_asymmetric_peer2.conf
@@ -0,0 +1,31 @@
1@INLINE@ template_cfg_peer2.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer2
4DEFAULTCONFIG = test_quota_compliance_udp_peer2.conf
5
6[transport-udp]
7PORT = 3368
8MAX_BPS = 50000000
9
10[arm]
11PORT = 3087
12UNIXPATH = /tmp/test_quota_compliance_udp_arm_peer2.sock
13
14[statistics]
15PORT = 3088
16UNIXPATH = /tmp/test_quota_compliance_udp_statistics_peer2.sock
17
18[resolver]
19PORT = 3089
20UNIXPATH = /tmp/test_quota_compliance_udp_resolver_peer2.sock
21
22[peerinfo]
23PORT = 3090
24UNIXPATH = /tmp/test_quota_compliance_udp_peerinfo_peer2.sock
25
26[transport]
27PORT = 3091
28PLUGINS = udp
29UNIXPATH = /tmp/test_quota_compliance_udp_transport_peer2.sock
30
31
diff --git a/src/transport/test_quota_compliance_unix_asymmetric_peer1.conf b/src/transport/test_quota_compliance_unix_asymmetric_peer1.conf
new file mode 100644
index 000000000..f562d4c1a
--- /dev/null
+++ b/src/transport/test_quota_compliance_unix_asymmetric_peer1.conf
@@ -0,0 +1,28 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer1/
4DEFAULTCONFIG = test_quota_compliance_unix_peer1.conf
5
6[arm]
7PORT = 4087
8UNIXPATH = /tmp/test_quota_compliance_unix_arm_peer1.sock
9
10[statistics]
11PORT = 4088
12UNIXPATH = /tmp/test_quota_compliance_unix_statistics_peer1.sock
13
14[resolver]
15PORT = 4089
16UNIXPATH = /tmp/test_quota_compliance_unix_resolver_peer1.sock
17
18[peerinfo]
19PORT = 4090
20UNIXPATH = /tmp/test_quota_compliance_unix_peerinfo_peer1.sock
21
22[transport]
23PORT = 4091
24PLUGINS = unix
25UNIXPATH = /tmp/test_quota_compliance_unix_transport_peer1.sock
26
27
28
diff --git a/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf b/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf
new file mode 100644
index 000000000..b444cb48c
--- /dev/null
+++ b/src/transport/test_quota_compliance_unix_asymmetric_peer2.conf
@@ -0,0 +1,29 @@
1@INLINE@ template_cfg_peer1.conf
2[PATHS]
3SERVICEHOME = /tmp/test_quota_compliance_peer2
4DEFAULTCONFIG = test_quota_compliance_unix_peer2.conf
5
6[arm]
7PORT = 3087
8UNIXPATH = /tmp/test_quota_compliance_unix_arm_peer2.sock
9
10[statistics]
11PORT = 3088
12UNIXPATH = /tmp/test_quota_compliance_unix_statistics_peer2.sock
13
14[resolver]
15PORT = 3089
16UNIXPATH = /tmp/test_quota_compliance_unix_resolver_peer2.sock
17
18[peerinfo]
19PORT = 3090
20UNIXPATH = /tmp/test_quota_compliance_unix_peerinfo_peer2.sock
21
22[transport]
23PORT = 3091
24PLUGINS = unix
25UNIXPATH = /tmp/test_quota_compliance_unix_transport_peer2.sock
26
27[transport-unix]
28PORT = 3368
29
diff --git a/src/transport/test_transport_api_reliability_tcp_peer2.conf b/src/transport/test_transport_api_reliability_tcp_peer2.conf
index 8324a5d4b..506aad2dc 100644
--- a/src/transport/test_transport_api_reliability_tcp_peer2.conf
+++ b/src/transport/test_transport_api_reliability_tcp_peer2.conf
@@ -8,7 +8,7 @@ TOTAL_QUOTA_OUT = 1073741824
8TOTAL_QUOTA_IN = 1073741824 8TOTAL_QUOTA_IN = 1073741824
9 9
10[transport-tcp] 10[transport-tcp]
11PORT = 12016 11PORT = 12015
12TIMEOUT = 5000 12TIMEOUT = 5000
13 13
14[arm] 14[arm]