diff options
Diffstat (limited to 'src')
144 files changed, 206 insertions, 1280 deletions
diff --git a/src/arm/arm.conf.in b/src/arm/arm.conf.in index 83582659a..53731586b 100644 --- a/src/arm/arm.conf.in +++ b/src/arm/arm.conf.in | |||
@@ -1,11 +1,13 @@ | |||
1 | |||
2 | [arm] | 1 | [arm] |
3 | @UNIXONLY@ PORT = 2087 | 2 | @UNIXONLY@ PORT = 2087 |
4 | HOSTNAME = localhost | 3 | HOSTNAME = localhost |
5 | BINARY = gnunet-service-arm | 4 | BINARY = gnunet-service-arm |
6 | ACCEPT_FROM = 127.0.0.1; | 5 | ACCEPT_FROM = 127.0.0.1; |
7 | ACCEPT_FROM6 = ::1; | 6 | ACCEPT_FROM6 = ::1; |
7 | |||
8 | |||
8 | DEFAULTSERVICES = topology hostlist dht nse cadet fs revocation | 9 | DEFAULTSERVICES = topology hostlist dht nse cadet fs revocation |
10 | |||
9 | # Special case, uses user runtime dir even for per-system service. | 11 | # Special case, uses user runtime dir even for per-system service. |
10 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-arm.sock | 12 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-arm.sock |
11 | UNIX_MATCH_UID = YES | 13 | UNIX_MATCH_UID = YES |
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index 1249fe003..c6259c273 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c | |||
@@ -163,7 +163,7 @@ struct ServiceList | |||
163 | * to start it)? #GNUNET_NO if the service is started only upon 'accept' on a | 163 | * to start it)? #GNUNET_NO if the service is started only upon 'accept' on a |
164 | * listen socket or possibly explicitly by a client changing the value. | 164 | * listen socket or possibly explicitly by a client changing the value. |
165 | */ | 165 | */ |
166 | int is_default; | 166 | int force_start; |
167 | 167 | ||
168 | /** | 168 | /** |
169 | * Should we use pipes to signal this process? (YES for Java binaries and if we | 169 | * Should we use pipes to signal this process? (YES for Java binaries and if we |
@@ -669,7 +669,7 @@ create_listen_socket (struct sockaddr *sa, socklen_t addr_len, | |||
669 | #ifdef LINUX | 669 | #ifdef LINUX |
670 | /* Permission settings are not required when abstract sockets are used */ | 670 | /* Permission settings are not required when abstract sockets are used */ |
671 | && ('\0' != ((const struct sockaddr_un *)sa)->sun_path[0]) | 671 | && ('\0' != ((const struct sockaddr_un *)sa)->sun_path[0]) |
672 | #endif | 672 | #endif |
673 | ) | 673 | ) |
674 | { | 674 | { |
675 | match_uid = | 675 | match_uid = |
@@ -735,7 +735,8 @@ free_service (struct ServiceList *sl) | |||
735 | * #GNUNET_SYSERR to close it (signal serious error) | 735 | * #GNUNET_SYSERR to close it (signal serious error) |
736 | */ | 736 | */ |
737 | static void | 737 | static void |
738 | handle_start (void *cls, struct GNUNET_SERVER_Client *client, | 738 | handle_start (void *cls, |
739 | struct GNUNET_SERVER_Client *client, | ||
739 | const struct GNUNET_MessageHeader *message) | 740 | const struct GNUNET_MessageHeader *message) |
740 | { | 741 | { |
741 | const char *servicename; | 742 | const char *servicename; |
@@ -770,7 +771,7 @@ handle_start (void *cls, struct GNUNET_SERVER_Client *client, | |||
770 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 771 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
771 | return; | 772 | return; |
772 | } | 773 | } |
773 | sl->is_default = GNUNET_YES; | 774 | sl->force_start = GNUNET_YES; |
774 | if (NULL != sl->proc) | 775 | if (NULL != sl->proc) |
775 | { | 776 | { |
776 | signal_result (client, servicename, request_id, | 777 | signal_result (client, servicename, request_id, |
@@ -790,9 +791,11 @@ handle_start (void *cls, struct GNUNET_SERVER_Client *client, | |||
790 | * @param tc task context | 791 | * @param tc task context |
791 | */ | 792 | */ |
792 | static void | 793 | static void |
793 | trigger_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 794 | trigger_shutdown (void *cls, |
795 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
794 | { | 796 | { |
795 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Triggering shutdown\n"); | 797 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
798 | "Triggering shutdown\n"); | ||
796 | GNUNET_SCHEDULER_shutdown (); | 799 | GNUNET_SCHEDULER_shutdown (); |
797 | } | 800 | } |
798 | 801 | ||
@@ -807,7 +810,8 @@ trigger_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
807 | * #GNUNET_SYSERR to close it (signal serious error) | 810 | * #GNUNET_SYSERR to close it (signal serious error) |
808 | */ | 811 | */ |
809 | static void | 812 | static void |
810 | handle_stop (void *cls, struct GNUNET_SERVER_Client *client, | 813 | handle_stop (void *cls, |
814 | struct GNUNET_SERVER_Client *client, | ||
811 | const struct GNUNET_MessageHeader *message) | 815 | const struct GNUNET_MessageHeader *message) |
812 | { | 816 | { |
813 | struct ServiceList *sl; | 817 | struct ServiceList *sl; |
@@ -846,7 +850,7 @@ handle_stop (void *cls, struct GNUNET_SERVER_Client *client, | |||
846 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 850 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
847 | return; | 851 | return; |
848 | } | 852 | } |
849 | sl->is_default = GNUNET_NO; | 853 | sl->force_start = GNUNET_NO; |
850 | if (GNUNET_YES == in_shutdown) | 854 | if (GNUNET_YES == in_shutdown) |
851 | { | 855 | { |
852 | /* shutdown in progress */ | 856 | /* shutdown in progress */ |
@@ -1002,7 +1006,8 @@ list_count (struct ServiceList *running_head) | |||
1002 | * @param tc context | 1006 | * @param tc context |
1003 | */ | 1007 | */ |
1004 | static void | 1008 | static void |
1005 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 1009 | shutdown_task (void *cls, |
1010 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
1006 | { | 1011 | { |
1007 | struct ServiceList *pos; | 1012 | struct ServiceList *pos; |
1008 | struct ServiceList *nxt; | 1013 | struct ServiceList *nxt; |
@@ -1093,11 +1098,12 @@ delayed_restart_task (void *cls, | |||
1093 | if (0 == GNUNET_TIME_absolute_get_remaining (sl->restart_at).rel_value_us) | 1098 | if (0 == GNUNET_TIME_absolute_get_remaining (sl->restart_at).rel_value_us) |
1094 | { | 1099 | { |
1095 | /* restart is now allowed */ | 1100 | /* restart is now allowed */ |
1096 | if (sl->is_default) | 1101 | if (sl->force_start) |
1097 | { | 1102 | { |
1098 | /* process should run by default, start immediately */ | 1103 | /* process should run by default, start immediately */ |
1099 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1104 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1100 | _("Restarting service `%s'.\n"), sl->name); | 1105 | _("Restarting service `%s'.\n"), |
1106 | sl->name); | ||
1101 | start_process (sl, NULL, 0); | 1107 | start_process (sl, NULL, 0); |
1102 | } | 1108 | } |
1103 | else | 1109 | else |
@@ -1377,9 +1383,18 @@ setup_service (void *cls, const char *section) | |||
1377 | #endif | 1383 | #endif |
1378 | GNUNET_CONTAINER_DLL_insert (running_head, running_tail, sl); | 1384 | GNUNET_CONTAINER_DLL_insert (running_head, running_tail, sl); |
1379 | 1385 | ||
1380 | if (GNUNET_YES != | 1386 | if (GNUNET_YES == |
1381 | GNUNET_CONFIGURATION_get_value_yesno (cfg, section, "AUTOSTART")) | 1387 | GNUNET_CONFIGURATION_get_value_yesno (cfg, section, "FORCESTART")) |
1388 | { | ||
1389 | sl->force_start = GNUNET_YES; | ||
1382 | return; | 1390 | return; |
1391 | } | ||
1392 | else | ||
1393 | { | ||
1394 | if (GNUNET_YES != | ||
1395 | GNUNET_CONFIGURATION_get_value_yesno (cfg, section, "AUTOSTART")) | ||
1396 | return; | ||
1397 | } | ||
1383 | if (0 >= (ret = GNUNET_SERVICE_get_server_addresses (section, cfg, | 1398 | if (0 >= (ret = GNUNET_SERVICE_get_server_addresses (section, cfg, |
1384 | &addrs, &addr_lens))) | 1399 | &addrs, &addr_lens))) |
1385 | return; | 1400 | return; |
@@ -1451,8 +1466,6 @@ run (void *cls, struct GNUNET_SERVER_Handle *serv, | |||
1451 | sizeof (struct GNUNET_ARM_Message)}, | 1466 | sizeof (struct GNUNET_ARM_Message)}, |
1452 | {NULL, NULL, 0, 0} | 1467 | {NULL, NULL, 0, 0} |
1453 | }; | 1468 | }; |
1454 | char *defaultservices; | ||
1455 | const char *pos; | ||
1456 | struct ServiceList *sl; | 1469 | struct ServiceList *sl; |
1457 | 1470 | ||
1458 | cfg = c; | 1471 | cfg = c; |
@@ -1490,45 +1503,17 @@ run (void *cls, struct GNUNET_SERVER_Handle *serv, | |||
1490 | GNUNET_CONFIGURATION_iterate_sections (cfg, &setup_service, NULL); | 1503 | GNUNET_CONFIGURATION_iterate_sections (cfg, &setup_service, NULL); |
1491 | 1504 | ||
1492 | /* start default services... */ | 1505 | /* start default services... */ |
1493 | if (GNUNET_OK == | 1506 | for (sl = running_head; NULL != sl; sl = sl->next) |
1494 | GNUNET_CONFIGURATION_get_value_string (cfg, | 1507 | if (GNUNET_YES == sl->force_start) |
1495 | "ARM", | 1508 | start_process (sl, NULL, 0); |
1496 | "DEFAULTSERVICES", | 1509 | notifier |
1497 | &defaultservices)) | 1510 | = GNUNET_SERVER_notification_context_create (server, |
1498 | { | 1511 | MAX_NOTIFY_QUEUE); |
1499 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1512 | GNUNET_SERVER_connect_notify (server, |
1500 | _("Starting default services `%s'\n"), | 1513 | &handle_client_connecting, NULL); |
1501 | defaultservices); | ||
1502 | if (0 < strlen (defaultservices)) | ||
1503 | { | ||
1504 | for (pos = strtok (defaultservices, " "); NULL != pos; | ||
1505 | pos = strtok (NULL, " ")) | ||
1506 | { | ||
1507 | sl = find_service (pos); | ||
1508 | if (NULL == sl) | ||
1509 | { | ||
1510 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
1511 | _("Default service `%s' not configured correctly!\n"), | ||
1512 | pos); | ||
1513 | continue; | ||
1514 | } | ||
1515 | sl->is_default = GNUNET_YES; | ||
1516 | start_process (sl, NULL, 0); | ||
1517 | } | ||
1518 | } | ||
1519 | GNUNET_free (defaultservices); | ||
1520 | } | ||
1521 | else | ||
1522 | { | ||
1523 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1524 | _("No default services configured, GNUnet will not really start right now.\n")); | ||
1525 | } | ||
1526 | |||
1527 | notifier = | ||
1528 | GNUNET_SERVER_notification_context_create (server, MAX_NOTIFY_QUEUE); | ||
1529 | GNUNET_SERVER_connect_notify (server, handle_client_connecting, NULL); | ||
1530 | /* process client requests */ | 1514 | /* process client requests */ |
1531 | GNUNET_SERVER_add_handlers (server, handlers); | 1515 | GNUNET_SERVER_add_handlers (server, |
1516 | handlers); | ||
1532 | } | 1517 | } |
1533 | 1518 | ||
1534 | 1519 | ||
diff --git a/src/arm/test_arm_api_data.conf b/src/arm/test_arm_api_data.conf index d8354477e..3ae5271a1 100644 --- a/src/arm/test_arm_api_data.conf +++ b/src/arm/test_arm_api_data.conf | |||
@@ -3,7 +3,6 @@ GNUNET_TEST_HOME = /tmp/test-gnunetd-arm/ | |||
3 | 3 | ||
4 | [arm] | 4 | [arm] |
5 | PORT = 23354 | 5 | PORT = 23354 |
6 | DEFAULTSERVICES = | ||
7 | BINARY = gnunet-service-arm | 6 | BINARY = gnunet-service-arm |
8 | OPTIONS = -L ERROR | 7 | OPTIONS = -L ERROR |
9 | #PREFIX = valgrind --tool=memcheck --leak-check=yes | 8 | #PREFIX = valgrind --tool=memcheck --leak-check=yes |
@@ -22,6 +21,7 @@ ACCEPT_FROM6 = ::1; | |||
22 | 21 | ||
23 | [fs] | 22 | [fs] |
24 | AUTOSTART = NO | 23 | AUTOSTART = NO |
24 | FORCESTART = NO | ||
25 | 25 | ||
26 | [datastore] | 26 | [datastore] |
27 | AUTOSTART = NO | 27 | AUTOSTART = NO |
@@ -46,5 +46,20 @@ AUTOSTART = NO | |||
46 | 46 | ||
47 | [nse] | 47 | [nse] |
48 | AUTOSTART = NO | 48 | AUTOSTART = NO |
49 | FORCESTART = NO | ||
49 | 50 | ||
51 | [hostlist] | ||
52 | AUTOSTART = NO | ||
53 | FORCESTART = NO | ||
54 | |||
55 | [dht] | ||
56 | AUTOSTART = NO | ||
57 | FORCESTART = NO | ||
50 | 58 | ||
59 | [cadet] | ||
60 | AUTOSTART = NO | ||
61 | FORCESTART = NO | ||
62 | |||
63 | [revocation] | ||
64 | AUTOSTART = NO | ||
65 | FORCESTART = NO | ||
diff --git a/src/arm/test_gnunet_service_arm.c b/src/arm/test_gnunet_service_arm.c index 5c08293a4..77b6f36dd 100644 --- a/src/arm/test_gnunet_service_arm.c +++ b/src/arm/test_gnunet_service_arm.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2009 Christian Grothoff (and other contributing authors) | 3 | (C) 2009, 2014 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -40,14 +40,16 @@ | |||
40 | 40 | ||
41 | static int ret = 1; | 41 | static int ret = 1; |
42 | 42 | ||
43 | static int resolved_ok = 0; | 43 | static int resolved_ok; |
44 | 44 | ||
45 | static int asked_for_a_list = 0; | 45 | static int asked_for_a_list; |
46 | 46 | ||
47 | static struct GNUNET_ARM_Handle *arm; | 47 | static struct GNUNET_ARM_Handle *arm; |
48 | 48 | ||
49 | |||
49 | static void | 50 | static void |
50 | trigger_disconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 51 | trigger_disconnect (void *cls, |
52 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
51 | { | 53 | { |
52 | GNUNET_ARM_disconnect_and_free (arm); | 54 | GNUNET_ARM_disconnect_and_free (arm); |
53 | arm = NULL; | 55 | arm = NULL; |
@@ -71,40 +73,52 @@ arm_stop_cb (void *cls, | |||
71 | static void | 73 | static void |
72 | service_list (void *cls, | 74 | service_list (void *cls, |
73 | enum GNUNET_ARM_RequestStatus rs, | 75 | enum GNUNET_ARM_RequestStatus rs, |
74 | unsigned int count, const char *const*list) | 76 | unsigned int count, |
77 | const char *const*list) | ||
75 | { | 78 | { |
79 | unsigned int i; | ||
80 | |||
76 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 81 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
77 | "%u services are are currently running\n", | 82 | "%u services are are currently running\n", |
78 | count); | 83 | count); |
79 | if (GNUNET_ARM_REQUEST_SENT_OK != rs) | 84 | if (GNUNET_ARM_REQUEST_SENT_OK != rs) |
80 | goto stop_arm; | 85 | goto stop_arm; |
81 | if (1 == count) | 86 | for (i=0;i<count;i++) |
82 | { | 87 | { |
83 | GNUNET_break (0 == strcasecmp (list[0], "resolver (gnunet-service-resolver)")); | 88 | if (0 == strcasecmp (list[i], |
84 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got service list, now stopping arm\n"); | 89 | "resolver (gnunet-service-resolver)")); |
85 | ret = 0; | 90 | { |
91 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
92 | "Got service list, now stopping arm\n"); | ||
93 | ret = 0; | ||
94 | } | ||
86 | } | 95 | } |
87 | 96 | ||
88 | stop_arm: | 97 | stop_arm: |
89 | GNUNET_ARM_request_service_stop (arm, "arm", TIMEOUT, arm_stop_cb, NULL); | 98 | GNUNET_ARM_request_service_stop (arm, "arm", TIMEOUT, |
99 | &arm_stop_cb, NULL); | ||
90 | } | 100 | } |
91 | 101 | ||
92 | 102 | ||
93 | static void | 103 | static void |
94 | hostNameResolveCB (void *cls, const struct sockaddr *addr, socklen_t addrlen) | 104 | hostNameResolveCB (void *cls, |
105 | const struct sockaddr *addr, | ||
106 | socklen_t addrlen) | ||
95 | { | 107 | { |
96 | if ((ret == 0) || (ret == 4) || (resolved_ok == 1)) | 108 | if ((ret == 0) || (ret == 4) || (resolved_ok == 1)) |
97 | return; | 109 | return; |
98 | if (NULL == addr) | 110 | if (NULL == addr) |
99 | { | 111 | { |
100 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Name not resolved!\n"); | 112 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
113 | "Name not resolved!\n"); | ||
101 | ret = 3; | 114 | ret = 3; |
102 | GNUNET_ARM_request_service_stop (arm, "arm", TIMEOUT, arm_stop_cb, NULL); | 115 | GNUNET_ARM_request_service_stop (arm, "arm", TIMEOUT, |
116 | &arm_stop_cb, NULL); | ||
103 | } | 117 | } |
104 | else if (asked_for_a_list == 0) | 118 | else if (asked_for_a_list == 0) |
105 | { | 119 | { |
106 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 120 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
107 | "Resolved hostname, now checking the service list\n"); | 121 | "Resolved hostname, now checking the service list\n"); |
108 | GNUNET_ARM_request_service_list (arm, TIMEOUT, service_list, NULL); | 122 | GNUNET_ARM_request_service_list (arm, TIMEOUT, service_list, NULL); |
109 | asked_for_a_list = 1; | 123 | asked_for_a_list = 1; |
110 | resolved_ok = 1; | 124 | resolved_ok = 1; |
@@ -121,21 +135,26 @@ arm_start_cb (void *cls, | |||
121 | GNUNET_break (status == GNUNET_ARM_REQUEST_SENT_OK); | 135 | GNUNET_break (status == GNUNET_ARM_REQUEST_SENT_OK); |
122 | GNUNET_break (result == GNUNET_ARM_RESULT_STARTING); | 136 | GNUNET_break (result == GNUNET_ARM_RESULT_STARTING); |
123 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 137 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
124 | "Trying to resolve our own hostname!\n"); | 138 | "Trying to resolve our own hostname!\n"); |
125 | /* connect to the resolver service */ | 139 | /* connect to the resolver service */ |
126 | if (NULL == GNUNET_RESOLVER_hostname_resolve ( | 140 | if (NULL == |
127 | AF_UNSPEC, TIMEOUT, &hostNameResolveCB, NULL)) | 141 | GNUNET_RESOLVER_hostname_resolve (AF_UNSPEC, TIMEOUT, |
142 | &hostNameResolveCB, NULL)) | ||
128 | { | 143 | { |
129 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 144 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
130 | "Unable initiate connection to resolver service\n"); | 145 | "Unable initiate connection to resolver service\n"); |
131 | ret = 2; | 146 | ret = 2; |
132 | GNUNET_ARM_request_service_stop (arm, "arm", TIMEOUT, arm_stop_cb, NULL); | 147 | GNUNET_ARM_request_service_stop (arm, |
148 | "arm", TIMEOUT, | ||
149 | &arm_stop_cb, NULL); | ||
133 | } | 150 | } |
134 | } | 151 | } |
135 | 152 | ||
136 | 153 | ||
137 | static void | 154 | static void |
138 | run (void *cls, char *const *args, const char *cfgfile, | 155 | run (void *cls, |
156 | char *const *args, | ||
157 | const char *cfgfile, | ||
139 | const struct GNUNET_CONFIGURATION_Handle *c) | 158 | const struct GNUNET_CONFIGURATION_Handle *c) |
140 | { | 159 | { |
141 | char *armconfig; | 160 | char *armconfig; |
@@ -144,10 +163,10 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
144 | { | 163 | { |
145 | if (GNUNET_OK != | 164 | if (GNUNET_OK != |
146 | GNUNET_CONFIGURATION_get_value_filename (c, "arm", "CONFIG", | 165 | GNUNET_CONFIGURATION_get_value_filename (c, "arm", "CONFIG", |
147 | &armconfig)) | 166 | &armconfig)) |
148 | { | 167 | { |
149 | GNUNET_CONFIGURATION_set_value_string ((struct GNUNET_CONFIGURATION_Handle | 168 | GNUNET_CONFIGURATION_set_value_string ((struct GNUNET_CONFIGURATION_Handle *) c, |
150 | *) c, "arm", "CONFIG", | 169 | "arm", "CONFIG", |
151 | cfgfile); | 170 | cfgfile); |
152 | } | 171 | } |
153 | else | 172 | else |
@@ -155,7 +174,9 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
155 | } | 174 | } |
156 | arm = GNUNET_ARM_connect (c, NULL, NULL); | 175 | arm = GNUNET_ARM_connect (c, NULL, NULL); |
157 | GNUNET_ARM_request_service_start (arm, "arm", | 176 | GNUNET_ARM_request_service_start (arm, "arm", |
158 | GNUNET_OS_INHERIT_STD_OUT_AND_ERR, START_TIMEOUT, arm_start_cb, NULL); | 177 | GNUNET_OS_INHERIT_STD_OUT_AND_ERR, |
178 | START_TIMEOUT, | ||
179 | &arm_start_cb, NULL); | ||
159 | } | 180 | } |
160 | 181 | ||
161 | 182 | ||
@@ -173,27 +194,29 @@ main (int argc, char *av[]) | |||
173 | char hostname[GNUNET_OS_get_hostname_max_length () + 1]; | 194 | char hostname[GNUNET_OS_get_hostname_max_length () + 1]; |
174 | 195 | ||
175 | if (0 != gethostname (hostname, sizeof (hostname) - 1)) | 196 | if (0 != gethostname (hostname, sizeof (hostname) - 1)) |
176 | { | 197 | { |
177 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 198 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |
178 | "gethostname"); | 199 | "gethostname"); |
179 | FPRINTF (stderr, | 200 | FPRINTF (stderr, |
180 | "%s", "Failed to determine my own hostname, testcase not run.\n"); | 201 | "%s", |
181 | return 0; | 202 | "Failed to determine my own hostname, testcase not run.\n"); |
182 | } | 203 | return 0; |
204 | } | ||
183 | if (NULL == gethostbyname (hostname)) | 205 | if (NULL == gethostbyname (hostname)) |
184 | { | 206 | { |
185 | FPRINTF (stderr, | 207 | FPRINTF (stderr, |
186 | "Failed to resolve my hostname `%s', testcase not run.\n", | 208 | "Failed to resolve my hostname `%s', testcase not run.\n", |
187 | hostname); | 209 | hostname); |
188 | return 0; | 210 | return 0; |
189 | } | 211 | } |
190 | GNUNET_log_setup ("test-gnunet-service-arm", | 212 | GNUNET_log_setup ("test-gnunet-service-arm", |
191 | "WARNING", | 213 | "WARNING", |
192 | NULL); | 214 | NULL); |
193 | GNUNET_break (GNUNET_OK == | 215 | GNUNET_break (GNUNET_OK == |
194 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, | 216 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, |
195 | argv, "test-gnunet-service-arm", | 217 | argv, "test-gnunet-service-arm", |
196 | "nohelp", options, &run, NULL)); | 218 | "nohelp", options, |
219 | &run, NULL)); | ||
197 | return ret; | 220 | return ret; |
198 | } | 221 | } |
199 | 222 | ||
diff --git a/src/ats/test_ats_api.conf b/src/ats/test_ats_api.conf index fa5ce5423..eb1c303be 100644 --- a/src/ats/test_ats_api.conf +++ b/src/ats/test_ats_api.conf | |||
@@ -3,7 +3,6 @@ GNUNET_TEST_HOME = /tmp/test-ats-api-scheduling/ | |||
3 | 3 | ||
4 | [arm] | 4 | [arm] |
5 | PORT = 12001 | 5 | PORT = 12001 |
6 | DEFAULTSERVICES = | ||
7 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-ats-scheduling-arm.sock | 6 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-ats-scheduling-arm.sock |
8 | 7 | ||
9 | [ats] | 8 | [ats] |
@@ -41,7 +40,7 @@ WLAN_QUOTA_OUT = 512 | |||
41 | # ATS extended options | 40 | # ATS extended options |
42 | DUMP_MLP = NO | 41 | DUMP_MLP = NO |
43 | DUMP_SOLUTION = NO | 42 | DUMP_SOLUTION = NO |
44 | DUMP_OVERWRITE = NO | 43 | DUMP_OVERWRITE = NO |
45 | DUMP_MIN_PEERS = 0 | 44 | DUMP_MIN_PEERS = 0 |
46 | DUMP_MIN_ADDRS = 0 | 45 | DUMP_MIN_ADDRS = 0 |
47 | DUMP_OVERWRITE = NO | 46 | DUMP_OVERWRITE = NO |
diff --git a/src/ats/test_ats_mlp.conf b/src/ats/test_ats_mlp.conf index 79efd7903..e8862d95d 100644 --- a/src/ats/test_ats_mlp.conf +++ b/src/ats/test_ats_mlp.conf | |||
@@ -3,7 +3,6 @@ GNUNET_TEST_HOME = /tmp/test-ats-api-scheduling/ | |||
3 | 3 | ||
4 | [arm] | 4 | [arm] |
5 | PORT = 12001 | 5 | PORT = 12001 |
6 | DEFAULTSERVICES = ats | ||
7 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-ats-scheduling-arm.sock | 6 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-ats-scheduling-arm.sock |
8 | 7 | ||
9 | [ats] | 8 | [ats] |
@@ -43,7 +42,7 @@ ATS_EXEC_INTERVAL = 30000 | |||
43 | 42 | ||
44 | # MLP defaults | 43 | # MLP defaults |
45 | # MLP_MAX_DURATION = 3 s | 44 | # MLP_MAX_DURATION = 3 s |
46 | # MLP_MAX_ITERATIONS = 1024 | 45 | # MLP_MAX_ITERATIONS = 1024 |
47 | # MLP_COEFFICIENT_D = 1.0 | 46 | # MLP_COEFFICIENT_D = 1.0 |
48 | # MLP_COEFFICIENT_U = 1.0 | 47 | # MLP_COEFFICIENT_U = 1.0 |
49 | # MLP_COEFFICIENT_R = 1.0 | 48 | # MLP_COEFFICIENT_R = 1.0 |
@@ -53,7 +52,7 @@ ATS_EXEC_INTERVAL = 30000 | |||
53 | # MLP Debugging settings | 52 | # MLP Debugging settings |
54 | DUMP_MLP = NO | 53 | DUMP_MLP = NO |
55 | DUMP_SOLUTION = NO | 54 | DUMP_SOLUTION = NO |
56 | DUMP_OVERWRITE = NO | 55 | DUMP_OVERWRITE = NO |
57 | DUMP_MIN_PEERS = 0 | 56 | DUMP_MIN_PEERS = 0 |
58 | DUMP_MIN_ADDRS = 0 | 57 | DUMP_MIN_ADDRS = 0 |
59 | DUMP_OVERWRITE = NO | 58 | DUMP_OVERWRITE = NO |
diff --git a/src/ats/test_ats_solver_default.conf b/src/ats/test_ats_solver_default.conf index fb3a7889f..6b73d048e 100644 --- a/src/ats/test_ats_solver_default.conf +++ b/src/ats/test_ats_solver_default.conf | |||
@@ -1,6 +1,5 @@ | |||
1 | [arm] | 1 | [arm] |
2 | PORT = 12001 | 2 | PORT = 12001 |
3 | DEFAULTSERVICES = ats | ||
4 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-ats-scheduling-arm.sock | 3 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-ats-scheduling-arm.sock |
5 | 4 | ||
6 | [transport] | 5 | [transport] |
diff --git a/src/cadet/cadet.conf.in b/src/cadet/cadet.conf.in index 458f11908..be5ad8bcc 100644 --- a/src/cadet/cadet.conf.in +++ b/src/cadet/cadet.conf.in | |||
@@ -1,4 +1,5 @@ | |||
1 | [cadet] | 1 | [cadet] |
2 | FORCESTART = YES | ||
2 | AUTOSTART = @AUTOSTART@ | 3 | AUTOSTART = @AUTOSTART@ |
3 | @JAVAPORT@PORT = 2096 | 4 | @JAVAPORT@PORT = 2096 |
4 | HOSTNAME = localhost | 5 | HOSTNAME = localhost |
@@ -17,4 +18,4 @@ MAX_TUNNELS = 1000 | |||
17 | MAX_CONNECTIONS = 1000 | 18 | MAX_CONNECTIONS = 1000 |
18 | MAX_MSGS_QUEUE = 10000 | 19 | MAX_MSGS_QUEUE = 10000 |
19 | MAX_PEERS = 1000 | 20 | MAX_PEERS = 1000 |
20 | REKEY_PERIOD = 12 h \ No newline at end of file | 21 | REKEY_PERIOD = 12 h |
diff --git a/src/cadet/test_cadet.conf b/src/cadet/test_cadet.conf index 5489888d1..ff9fb4c5b 100644 --- a/src/cadet/test_cadet.conf +++ b/src/cadet/test_cadet.conf | |||
@@ -58,7 +58,6 @@ AUTOSTART = YES | |||
58 | USE_EPHEMERAL_KEYS = NO | 58 | USE_EPHEMERAL_KEYS = NO |
59 | 59 | ||
60 | [arm] | 60 | [arm] |
61 | DEFAULTSERVICES = core transport dht cadet statistics | ||
62 | PORT = 12366 | 61 | PORT = 12366 |
63 | 62 | ||
64 | [transport-udp] | 63 | [transport-udp] |
diff --git a/src/consensus/test_consensus.conf b/src/consensus/test_consensus.conf index 714422879..67935e69a 100644 --- a/src/consensus/test_consensus.conf +++ b/src/consensus/test_consensus.conf | |||
@@ -1,37 +1,21 @@ | |||
1 | [consensus] | 1 | [consensus] |
2 | AUTOSTART = YES | ||
3 | PORT = 2110 | ||
4 | HOSTNAME = localhost | ||
5 | BINARY = gnunet-service-consensus | ||
6 | #PREFIX = gdbserver :12345 | 2 | #PREFIX = gdbserver :12345 |
7 | #PREFIX = valgrind | 3 | #PREFIX = valgrind |
8 | ACCEPT_FROM = 127.0.0.1; | ||
9 | ACCEPT_FROM6 = ::1; | ||
10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-consensus.sock | ||
11 | UNIX_MATCH_UID = YES | ||
12 | UNIX_MATCH_GID = YES | ||
13 | OPTIONS = -L INFO | 4 | OPTIONS = -L INFO |
14 | 5 | ||
15 | |||
16 | [transport] | 6 | [transport] |
17 | OPTIONS = -LERROR | 7 | OPTIONS = -LERROR |
18 | 8 | ||
19 | |||
20 | [arm] | ||
21 | DEFAULTSERVICES = core consensus set | ||
22 | |||
23 | [set] | 9 | [set] |
24 | OPTIONS = -L INFO | 10 | OPTIONS = -L INFO |
25 | #PREFIX = valgrind --leak-check=full | 11 | #PREFIX = valgrind --leak-check=full |
26 | #PREFIX = valgrind | 12 | #PREFIX = valgrind |
27 | 13 | ||
28 | |||
29 | [testbed] | 14 | [testbed] |
30 | OVERLAY_TOPOLOGY = CLIQUE | 15 | OVERLAY_TOPOLOGY = CLIQUE |
31 | 16 | ||
32 | [hostlist] | 17 | [hostlist] |
33 | SERVERS = | 18 | SERVERS = |
34 | |||
35 | 19 | ||
36 | [nat] | 20 | [nat] |
37 | # Use addresses from the local network interfaces (inluding loopback, but also others) | 21 | # Use addresses from the local network interfaces (inluding loopback, but also others) |
@@ -43,6 +27,3 @@ DISABLEV6 = NO | |||
43 | # Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) | 27 | # Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) |
44 | RETURN_LOCAL_ADDRESSES = YES | 28 | RETURN_LOCAL_ADDRESSES = YES |
45 | 29 | ||
46 | [nse] | ||
47 | AUTOSTART = NO | ||
48 | |||
diff --git a/src/conversation/test_conversation.conf b/src/conversation/test_conversation.conf index 5501a8300..91be729ed 100644 --- a/src/conversation/test_conversation.conf +++ b/src/conversation/test_conversation.conf | |||
@@ -1,5 +1,3 @@ | |||
1 | [conversation] | 1 | [conversation] |
2 | LINE=1 | 2 | LINE=1 |
3 | 3 | ||
4 | [arm] | ||
5 | DEFAULTSERVICES = topology | ||
diff --git a/src/core/test_core_api_data.conf b/src/core/test_core_api_data.conf index 4ece5b096..a13cc8706 100644 --- a/src/core/test_core_api_data.conf +++ b/src/core/test_core_api_data.conf | |||
@@ -1,9 +1,6 @@ | |||
1 | @INLINE@ test_core_defaults.conf | 1 | @INLINE@ test_core_defaults.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | 3 | ||
4 | [arm] | ||
5 | DEFAULTSERVICES = topology hostlist | ||
6 | |||
7 | [ats] | 4 | [ats] |
8 | WAN_QUOTA_IN = 64 kiB | 5 | WAN_QUOTA_IN = 64 kiB |
9 | WAN_QUOTA_OUT = 64 kiB | 6 | WAN_QUOTA_OUT = 64 kiB |
diff --git a/src/core/test_core_api_send_to_self.conf b/src/core/test_core_api_send_to_self.conf index ebf77997c..83928d04a 100644 --- a/src/core/test_core_api_send_to_self.conf +++ b/src/core/test_core_api_send_to_self.conf | |||
@@ -2,23 +2,13 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = ~/.gnunet/ | 3 | GNUNET_TEST_HOME = ~/.gnunet/ |
4 | 4 | ||
5 | [arm] | ||
6 | PORT = 2425 | ||
7 | DEFAULTSERVICES = core test-sts | ||
8 | |||
9 | [core] | ||
10 | PORT = 24512 | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-core.sock | ||
12 | |||
13 | [ats] | 5 | [ats] |
14 | WAN_QUOTA_IN = 104857600 | 6 | WAN_QUOTA_IN = 104857600 |
15 | WAN_QUOTA_OUT = 104757600 | 7 | WAN_QUOTA_OUT = 104757600 |
16 | PORT = 24571 | ||
17 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-ats.sock | ||
18 | 8 | ||
19 | [test-sts] | 9 | [test-sts] |
20 | AUTOSTART = YES | 10 | FORCESTART = YES |
21 | PORT = 9252 | 11 | PORT = 9252 |
22 | HOSTNAME = localhost | 12 | HOSTNAME = localhost |
23 | BINARY = test_core_api_send_to_self | 13 | BINARY = test_core_api_send_to_self |
24 | ACCEPT_FROM = 127.0.0.1; | 14 | ACCEPT_FROM = 127.0.0.1; |
diff --git a/src/core/test_core_defaults.conf b/src/core/test_core_defaults.conf index b0acb8395..2184e103a 100644 --- a/src/core/test_core_defaults.conf +++ b/src/core/test_core_defaults.conf | |||
@@ -1,9 +1,6 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-core/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-core/ |
3 | 3 | ||
4 | [arm] | ||
5 | DEFAULTSERVICES = | ||
6 | |||
7 | [nat] | 4 | [nat] |
8 | DISABLEV6 = YES | 5 | DISABLEV6 = YES |
9 | ENABLE_UPNP = NO | 6 | ENABLE_UPNP = NO |
@@ -17,81 +14,12 @@ USE_LOCALADDR = NO | |||
17 | WAN_QUOTA_IN = 1 GB | 14 | WAN_QUOTA_IN = 1 GB |
18 | WAN_QUOTA_OUT = 1 GB | 15 | WAN_QUOTA_OUT = 1 GB |
19 | 16 | ||
20 | [core] | ||
21 | PORT = 12470 | ||
22 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-core.sock | ||
23 | |||
24 | [transport-tcp] | 17 | [transport-tcp] |
25 | BINDTO = 127.0.0.1 | 18 | BINDTO = 127.0.0.1 |
26 | 19 | ||
27 | [transport-udp] | 20 | [transport-udp] |
28 | BROADCAST = NO | 21 | BROADCAST = NO |
29 | 22 | ||
30 | [testing] | ||
31 | WEAKRANDOM = YES | ||
32 | |||
33 | [peerinfo] | 23 | [peerinfo] |
34 | NO_IO = YES | 24 | NO_IO = YES |
35 | 25 | ||
36 | [fs] | ||
37 | AUTOSTART = NO | ||
38 | |||
39 | [datastore] | ||
40 | AUTOSTART = NO | ||
41 | |||
42 | [dht] | ||
43 | AUTOSTART = NO | ||
44 | |||
45 | [cadet] | ||
46 | AUTOSTART = NO | ||
47 | |||
48 | [dns] | ||
49 | AUTOSTART = NO | ||
50 | |||
51 | [nse] | ||
52 | AUTOSTART = NO | ||
53 | |||
54 | [dv] | ||
55 | AUTOSTART = NO | ||
56 | |||
57 | [chat] | ||
58 | AUTOSTART = NO | ||
59 | |||
60 | [gns] | ||
61 | AUTOSTART = NO | ||
62 | |||
63 | [vpn] | ||
64 | AUTOSTART = NO | ||
65 | |||
66 | [namestore] | ||
67 | AUTOSTART = NO | ||
68 | |||
69 | [lockmanager] | ||
70 | AUTOSTART = NO | ||
71 | |||
72 | [consensus] | ||
73 | AUTOSTART = NO | ||
74 | |||
75 | [regex] | ||
76 | AUTOSTART = NO | ||
77 | |||
78 | [identity] | ||
79 | AUTOSTART = NO | ||
80 | |||
81 | [psycstore] | ||
82 | AUTOSTART = NO | ||
83 | |||
84 | [multicast] | ||
85 | AUTOSTART = NO | ||
86 | |||
87 | [revocation] | ||
88 | AUTOSTART = NO | ||
89 | |||
90 | [conversation] | ||
91 | AUTOSTART = NO | ||
92 | |||
93 | [namecache] | ||
94 | AUTOSTART = NO | ||
95 | |||
96 | [set] | ||
97 | AUTOSTART = NO | ||
diff --git a/src/datastore/test_datastore_api_data_heap.conf b/src/datastore/test_datastore_api_data_heap.conf index db571c12a..847f41907 100644 --- a/src/datastore/test_datastore_api_data_heap.conf +++ b/src/datastore/test_datastore_api_data_heap.conf | |||
@@ -7,7 +7,6 @@ WEAKRANDOM = YES | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 42466 | 9 | PORT = 42466 |
10 | DEFAULTSERVICES = | ||
11 | 10 | ||
12 | [statistics] | 11 | [statistics] |
13 | PORT = 22667 | 12 | PORT = 22667 |
diff --git a/src/datastore/test_datastore_api_data_mysql.conf b/src/datastore/test_datastore_api_data_mysql.conf index 38b9058f6..f79c62d17 100644 --- a/src/datastore/test_datastore_api_data_mysql.conf +++ b/src/datastore/test_datastore_api_data_mysql.conf | |||
@@ -2,12 +2,8 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/test-gnunet-datastore-mysql/ | 3 | GNUNET_TEST_HOME = /tmp/test-gnunet-datastore-mysql/ |
4 | 4 | ||
5 | [TESTING] | ||
6 | WEAKRANDOM = YES | ||
7 | |||
8 | [arm] | 5 | [arm] |
9 | PORT = 42466 | 6 | PORT = 42466 |
10 | DEFAULTSERVICES = | ||
11 | 7 | ||
12 | [statistics] | 8 | [statistics] |
13 | PORT = 22667 | 9 | PORT = 22667 |
@@ -22,6 +18,3 @@ DATABASE = mysql | |||
22 | [datastore-mysql] | 18 | [datastore-mysql] |
23 | DATABASE = gnunetcheck | 19 | DATABASE = gnunetcheck |
24 | 20 | ||
25 | [fs] | ||
26 | AUTOSTART = NO | ||
27 | |||
diff --git a/src/datastore/test_datastore_api_data_postgres.conf b/src/datastore/test_datastore_api_data_postgres.conf index dbce6e4d0..c30f1f10e 100644 --- a/src/datastore/test_datastore_api_data_postgres.conf +++ b/src/datastore/test_datastore_api_data_postgres.conf | |||
@@ -2,12 +2,8 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/test-gnunet-datastore-postgres/ | 3 | GNUNET_TEST_HOME = /tmp/test-gnunet-datastore-postgres/ |
4 | 4 | ||
5 | [TESTING] | ||
6 | WEAKRANDOM = YES | ||
7 | |||
8 | [arm] | 5 | [arm] |
9 | PORT = 42466 | 6 | PORT = 42466 |
10 | DEFAULTSERVICES = | ||
11 | 7 | ||
12 | [statistics] | 8 | [statistics] |
13 | PORT = 22667 | 9 | PORT = 22667 |
@@ -22,6 +18,4 @@ DATABASE = postgres | |||
22 | [datastore-postgres] | 18 | [datastore-postgres] |
23 | CONFIG = dbname=gnunetcheck | 19 | CONFIG = dbname=gnunetcheck |
24 | 20 | ||
25 | [fs] | ||
26 | AUTOSTART = NO | ||
27 | 21 | ||
diff --git a/src/datastore/test_datastore_api_data_sqlite.conf b/src/datastore/test_datastore_api_data_sqlite.conf index 3104ed7df..6a6e00787 100644 --- a/src/datastore/test_datastore_api_data_sqlite.conf +++ b/src/datastore/test_datastore_api_data_sqlite.conf | |||
@@ -2,12 +2,8 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/test-gnunet-datastore-sqlite/ | 3 | GNUNET_TEST_HOME = /tmp/test-gnunet-datastore-sqlite/ |
4 | 4 | ||
5 | [TESTING] | ||
6 | WEAKRANDOM = YES | ||
7 | |||
8 | [arm] | 5 | [arm] |
9 | PORT = 42466 | 6 | PORT = 42466 |
10 | DEFAULTSERVICES = | ||
11 | 7 | ||
12 | [statistics] | 8 | [statistics] |
13 | PORT = 22667 | 9 | PORT = 22667 |
diff --git a/src/datastore/test_defaults.conf b/src/datastore/test_defaults.conf index f7c965e6d..8671353b5 100644 --- a/src/datastore/test_defaults.conf +++ b/src/datastore/test_defaults.conf | |||
@@ -2,38 +2,3 @@ | |||
2 | PORT = 22654 | 2 | PORT = 22654 |
3 | QUOTA = 1 MB | 3 | QUOTA = 1 MB |
4 | 4 | ||
5 | [dht] | ||
6 | AUTOSTART = NO | ||
7 | |||
8 | [dns] | ||
9 | AUTOSTART = NO | ||
10 | |||
11 | [cadet] | ||
12 | AUTOSTART = NO | ||
13 | |||
14 | [nse] | ||
15 | AUTOSTART = NO | ||
16 | |||
17 | [dv] | ||
18 | AUTOSTART = NO | ||
19 | |||
20 | [chat] | ||
21 | AUTOSTART = NO | ||
22 | |||
23 | [vpn] | ||
24 | AUTOSTART = NO | ||
25 | |||
26 | [gns] | ||
27 | AUTOSTART = NO | ||
28 | |||
29 | [dv] | ||
30 | AUTOSTART = NO | ||
31 | |||
32 | [namestore] | ||
33 | AUTOSTART = NO | ||
34 | |||
35 | [fs] | ||
36 | AUTOSTART = NO | ||
37 | |||
38 | [consensus] | ||
39 | AUTOSTART = NO | ||
diff --git a/src/dht/dht.conf.in b/src/dht/dht.conf.in index c8cf84386..af9ab24bd 100644 --- a/src/dht/dht.conf.in +++ b/src/dht/dht.conf.in | |||
@@ -1,4 +1,5 @@ | |||
1 | [dht] | 1 | [dht] |
2 | FORCESTART = YES | ||
2 | AUTOSTART = @AUTOSTART@ | 3 | AUTOSTART = @AUTOSTART@ |
3 | @JAVAPORT@PORT = 2095 | 4 | @JAVAPORT@PORT = 2095 |
4 | HOSTNAME = localhost | 5 | HOSTNAME = localhost |
diff --git a/src/dht/test_dht_2dtorus.conf b/src/dht/test_dht_2dtorus.conf index 9b725b09e..2a7f75b9f 100644 --- a/src/dht/test_dht_2dtorus.conf +++ b/src/dht/test_dht_2dtorus.conf | |||
@@ -1,16 +1,10 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test_dht_2dtorus/ | 2 | GNUNET_TEST_HOME = /tmp/test_dht_2dtorus/ |
3 | 3 | ||
4 | [arm] | ||
5 | DEFAULTSERVICES = core dht | ||
6 | |||
7 | [dhtcache] | 4 | [dhtcache] |
8 | QUOTA = 1 MB | 5 | QUOTA = 1 MB |
9 | DATABASE = heap | 6 | DATABASE = heap |
10 | 7 | ||
11 | [dns] | ||
12 | AUTOSTART = NO | ||
13 | |||
14 | [nat] | 8 | [nat] |
15 | DISABLEV6 = YES | 9 | DISABLEV6 = YES |
16 | RETURN_LOCAL_ADDRESSES = YES | 10 | RETURN_LOCAL_ADDRESSES = YES |
@@ -32,8 +26,3 @@ WORKDELAY = 500 ms | |||
32 | INTERVAL = 60 s | 26 | INTERVAL = 60 s |
33 | WORKBITS = 0 | 27 | WORKBITS = 0 |
34 | 28 | ||
35 | [vpn] | ||
36 | AUTOSTART = NO | ||
37 | |||
38 | [namestore] | ||
39 | AUTOSTART = NO | ||
diff --git a/src/dht/test_dht_api_data.conf b/src/dht/test_dht_api_data.conf index 30bf3534b..51cf99b0f 100644 --- a/src/dht/test_dht_api_data.conf +++ b/src/dht/test_dht_api_data.conf | |||
@@ -1,15 +1,6 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-dht-api/ | 2 | GNUNET_TEST_HOME = /tmp/test-dht-api/ |
3 | 3 | ||
4 | [fs] | ||
5 | AUTOSTART = NO | ||
6 | |||
7 | [resolver] | ||
8 | AUTOSTART = NO | ||
9 | |||
10 | [datastore] | ||
11 | AUTOSTART = NO | ||
12 | |||
13 | [dhtcache] | 4 | [dhtcache] |
14 | QUOTA = 1 MB | 5 | QUOTA = 1 MB |
15 | DATABASE = heap | 6 | DATABASE = heap |
@@ -24,33 +15,13 @@ MINIMUM-FRIENDS = 0 | |||
24 | WAN_QUOTA_IN = 1 GB | 15 | WAN_QUOTA_IN = 1 GB |
25 | WAN_QUOTA_OUT = 1 GB | 16 | WAN_QUOTA_OUT = 1 GB |
26 | 17 | ||
27 | [core] | ||
28 | PORT = 2092 | ||
29 | |||
30 | [dht] | ||
31 | PORT = 12370 | ||
32 | |||
33 | [transport] | 18 | [transport] |
34 | plugins = tcp | 19 | plugins = tcp |
35 | NEIGHBOUR_LIMIT = 50 | 20 | NEIGHBOUR_LIMIT = 50 |
36 | PORT = 2091 | 21 | PORT = 2091 |
37 | 22 | ||
38 | [peerinfo] | ||
39 | PORT = 2090 | ||
40 | |||
41 | [resolver] | ||
42 | PORT = 2089 | ||
43 | |||
44 | [statistics] | ||
45 | PORT = 2088 | ||
46 | |||
47 | [arm] | ||
48 | DEFAULTSERVICES = | ||
49 | PORT = 2087 | ||
50 | |||
51 | [transport-tcp] | 23 | [transport-tcp] |
52 | TIMEOUT = 300 s | 24 | TIMEOUT = 300 s |
53 | PORT = 2094 | ||
54 | 25 | ||
55 | [nat] | 26 | [nat] |
56 | DISABLEV6 = YES | 27 | DISABLEV6 = YES |
@@ -61,14 +32,3 @@ ALLOW_NAT = NO | |||
61 | INTERNAL_ADDRESS = 127.0.0.1 | 32 | INTERNAL_ADDRESS = 127.0.0.1 |
62 | EXTERNAL_ADDRESS = 127.0.0.1 | 33 | EXTERNAL_ADDRESS = 127.0.0.1 |
63 | 34 | ||
64 | [dns] | ||
65 | AUTOSTART = NO | ||
66 | |||
67 | [namestore] | ||
68 | AUTOSTART = NO | ||
69 | |||
70 | [nse] | ||
71 | AUTOSTART = NO | ||
72 | |||
73 | [vpn] | ||
74 | AUTOSTART=NO | ||
diff --git a/src/dht/test_dht_api_peer1.conf b/src/dht/test_dht_api_peer1.conf index 8c88c7380..13c59d070 100644 --- a/src/dht/test_dht_api_peer1.conf +++ b/src/dht/test_dht_api_peer1.conf | |||
@@ -1,17 +1,3 @@ | |||
1 | [fs] | ||
2 | AUTOSTART = NO | ||
3 | |||
4 | [resolver] | ||
5 | AUTOSTART = NO | ||
6 | |||
7 | [dht] | ||
8 | AUTOSTART = YES | ||
9 | ACCEPT_FROM6 = ::1; | ||
10 | ACCEPT_FROM = 127.0.0.1; | ||
11 | HOSTNAME = localhost | ||
12 | PORT = 12100 | ||
13 | BINARY = gnunet-service-dht | ||
14 | |||
15 | [dhtcache] | 1 | [dhtcache] |
16 | QUOTA = 1 MB | 2 | QUOTA = 1 MB |
17 | DATABASE = heap | 3 | DATABASE = heap |
@@ -27,16 +13,8 @@ PORT = 12365 | |||
27 | WAN_QUOTA_IN = 1 GB | 13 | WAN_QUOTA_IN = 1 GB |
28 | WAN_QUOTA_OUT = 1 GB | 14 | WAN_QUOTA_OUT = 1 GB |
29 | 15 | ||
30 | [core] | ||
31 | PORT = 12092 | ||
32 | |||
33 | [arm] | ||
34 | DEFAULTSERVICES = core | ||
35 | PORT = 12366 | ||
36 | |||
37 | [transport-tcp] | 16 | [transport-tcp] |
38 | TIMEOUT = 300 s | 17 | TIMEOUT = 300 s |
39 | PORT = 12368 | ||
40 | BINDTO = 127.0.0.1 | 18 | BINDTO = 127.0.0.1 |
41 | 19 | ||
42 | [PATHS] | 20 | [PATHS] |
@@ -51,14 +29,3 @@ INTERNAL_ADDRESS = 127.0.0.1 | |||
51 | EXTERNAL_ADDRESS = 127.0.0.1 | 29 | EXTERNAL_ADDRESS = 127.0.0.1 |
52 | USE_LOCALADDR = NO | 30 | USE_LOCALADDR = NO |
53 | 31 | ||
54 | [dns] | ||
55 | AUTOSTART = NO | ||
56 | |||
57 | [nse] | ||
58 | AUTOSTART = NO | ||
59 | |||
60 | [vpn] | ||
61 | AUTOSTART=NO | ||
62 | |||
63 | [namestore] | ||
64 | AUTOSTART = NO | ||
diff --git a/src/dht/test_dht_line.conf b/src/dht/test_dht_line.conf index f8646ca2b..024ff2770 100644 --- a/src/dht/test_dht_line.conf +++ b/src/dht/test_dht_line.conf | |||
@@ -4,14 +4,8 @@ GNUNET_TEST_HOME = /tmp/test_dht_line/ | |||
4 | QUOTA = 1 MB | 4 | QUOTA = 1 MB |
5 | DATABASE = heap | 5 | DATABASE = heap |
6 | 6 | ||
7 | [arm] | ||
8 | DEFAULTSERVICES = core dht | ||
9 | |||
10 | [dns] | ||
11 | AUTOSTART = NO | ||
12 | |||
13 | [nat] | 7 | [nat] |
14 | DISABLEV6 = YES | 8 | DISABLEV6 = YES |
15 | RETURN_LOCAL_ADDRESSES = YES | 9 | RETURN_LOCAL_ADDRESSES = YES |
16 | USE_LOCALADDR = YES | 10 | USE_LOCALADDR = YES |
17 | ENABLE_UPNP = NO | 11 | ENABLE_UPNP = NO |
@@ -24,15 +18,9 @@ EXTERNAL_ADDRESS = 127.0.0.1 | |||
24 | WAN_QUOTA_IN = 1 GB | 18 | WAN_QUOTA_IN = 1 GB |
25 | WAN_QUOTA_OUT = 1 GB | 19 | WAN_QUOTA_OUT = 1 GB |
26 | 20 | ||
27 | [testing] | ||
28 | WEAKRANDOM = YES | ||
29 | |||
30 | [testbed] | 21 | [testbed] |
31 | OVERLAY_TOPOLOGY = LINE | 22 | OVERLAY_TOPOLOGY = LINE |
32 | 23 | ||
33 | [namestore] | ||
34 | AUTOSTART = NO | ||
35 | |||
36 | [transport] | 24 | [transport] |
37 | plugins = tcp | 25 | plugins = tcp |
38 | 26 | ||
@@ -41,7 +29,3 @@ WORKDELAY = 500 ms | |||
41 | INTERVAL = 60 s | 29 | INTERVAL = 60 s |
42 | WORKBITS = 0 | 30 | WORKBITS = 0 |
43 | 31 | ||
44 | [vpn] | ||
45 | AUTOSTART = NO | ||
46 | |||
47 | |||
diff --git a/src/dht/test_dht_monitor.conf b/src/dht/test_dht_monitor.conf index 7ba9f8381..415a2e5fd 100644 --- a/src/dht/test_dht_monitor.conf +++ b/src/dht/test_dht_monitor.conf | |||
@@ -1,9 +1,3 @@ | |||
1 | [fs] | ||
2 | AUTOSTART = NO | ||
3 | |||
4 | [resolver] | ||
5 | AUTOSTART = NO | ||
6 | |||
7 | [dhtcache] | 1 | [dhtcache] |
8 | QUOTA = 1 MB | 2 | QUOTA = 1 MB |
9 | DATABASE = heap | 3 | DATABASE = heap |
@@ -15,9 +9,6 @@ PLUGINS = tcp | |||
15 | WAN_QUOTA_IN = 1 GB | 9 | WAN_QUOTA_IN = 1 GB |
16 | WAN_QUOTA_OUT = 1 GB | 10 | WAN_QUOTA_OUT = 1 GB |
17 | 11 | ||
18 | [arm] | ||
19 | DEFAULTSERVICES = dht core | ||
20 | |||
21 | [testbed] | 12 | [testbed] |
22 | OVERLAY_TOPOLOGY = LINE | 13 | OVERLAY_TOPOLOGY = LINE |
23 | 14 | ||
@@ -34,15 +25,3 @@ EXTERNAL_ADDRESS = 127.0.0.1 | |||
34 | USE_LOCALADDR = YES | 25 | USE_LOCALADDR = YES |
35 | RETURN_LOCAL_ADDRESSES = YES | 26 | RETURN_LOCAL_ADDRESSES = YES |
36 | 27 | ||
37 | [dns] | ||
38 | AUTOSTART = NO | ||
39 | |||
40 | [namestore] | ||
41 | AUTOSTART = NO | ||
42 | |||
43 | [nse] | ||
44 | AUTOSTART = NO | ||
45 | |||
46 | [vpn] | ||
47 | AUTOSTART=NO | ||
48 | |||
diff --git a/src/dht/test_dht_multipeer.conf b/src/dht/test_dht_multipeer.conf index f8abaec23..b6e1646d3 100644 --- a/src/dht/test_dht_multipeer.conf +++ b/src/dht/test_dht_multipeer.conf | |||
@@ -1,9 +1,3 @@ | |||
1 | [fs] | ||
2 | AUTOSTART = NO | ||
3 | |||
4 | [resolver] | ||
5 | AUTOSTART = NO | ||
6 | |||
7 | [dhtcache] | 1 | [dhtcache] |
8 | QUOTA = 1 MB | 2 | QUOTA = 1 MB |
9 | DATABASE = heap | 3 | DATABASE = heap |
@@ -15,19 +9,10 @@ PLUGINS = tcp | |||
15 | WAN_QUOTA_IN = 1 GB | 9 | WAN_QUOTA_IN = 1 GB |
16 | WAN_QUOTA_OUT = 1 GB | 10 | WAN_QUOTA_OUT = 1 GB |
17 | 11 | ||
18 | [arm] | ||
19 | DEFAULTSERVICES = dht core | ||
20 | |||
21 | [TESTING] | ||
22 | WEAKRANDOM = YES | ||
23 | |||
24 | [testbed] | 12 | [testbed] |
25 | OVERLAY_TOPOLOGY = FROM_FILE | 13 | OVERLAY_TOPOLOGY = FROM_FILE |
26 | OVERLAY_TOPOLOGY_FILE = test_dht_multipeer_topology.dat | 14 | OVERLAY_TOPOLOGY_FILE = test_dht_multipeer_topology.dat |
27 | 15 | ||
28 | [gnunetd] | ||
29 | HOSTKEY = $GNUNET_TEST_HOME/.hostkey | ||
30 | |||
31 | [PATHS] | 16 | [PATHS] |
32 | GNUNET_TEST_HOME = /tmp/test-dht-multipeer/ | 17 | GNUNET_TEST_HOME = /tmp/test-dht-multipeer/ |
33 | 18 | ||
@@ -41,16 +26,3 @@ INTERNAL_ADDRESS = 127.0.0.1 | |||
41 | EXTERNAL_ADDRESS = 127.0.0.1 | 26 | EXTERNAL_ADDRESS = 127.0.0.1 |
42 | USE_LOCALADDR = YES | 27 | USE_LOCALADDR = YES |
43 | 28 | ||
44 | [dns] | ||
45 | AUTOSTART = NO | ||
46 | |||
47 | [namestore] | ||
48 | AUTOSTART = NO | ||
49 | |||
50 | [nse] | ||
51 | AUTOSTART = NO | ||
52 | |||
53 | [vpn] | ||
54 | AUTOSTART=NO | ||
55 | |||
56 | |||
diff --git a/src/dv/template_dv.conf b/src/dv/template_dv.conf index 7859b12bb..0a3d81bcf 100644 --- a/src/dv/template_dv.conf +++ b/src/dv/template_dv.conf | |||
@@ -28,38 +28,6 @@ GNUNET_TEST_HOME = /tmp/test-gnunet-dv-testing/ | |||
28 | [peerinfo] | 28 | [peerinfo] |
29 | USE_INCLUDED_HELLOS = NO | 29 | USE_INCLUDED_HELLOS = NO |
30 | 30 | ||
31 | [arm] | ||
32 | DEFAULTSERVICES = core | ||
33 | |||
34 | [fs] | ||
35 | AUTOSTART = NO | ||
36 | |||
37 | [datastore] | ||
38 | AUTOSTART = NO | ||
39 | |||
40 | [dns] | ||
41 | AUTOSTART = NO | ||
42 | |||
43 | [nse] | ||
44 | AUTOSTART = NO | ||
45 | |||
46 | [chat] | ||
47 | AUTOSTART = NO | ||
48 | |||
49 | [gns] | ||
50 | AUTOSTART = NO | ||
51 | |||
52 | [vpn] | ||
53 | AUTOSTART = NO | ||
54 | |||
55 | [namestore] | ||
56 | AUTOSTART = NO | ||
57 | |||
58 | [lockmanager] | ||
59 | AUTOSTART = NO | ||
60 | |||
61 | [consensus] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [nat] | 31 | [nat] |
65 | RETURN_LOCAL_ADDRESSES = YES | 32 | RETURN_LOCAL_ADDRESSES = YES |
33 | |||
diff --git a/src/experimentation/test_experimentation_clique.conf b/src/experimentation/test_experimentation_clique.conf index e7a0cd1a0..1ab9aa2dd 100644 --- a/src/experimentation/test_experimentation_clique.conf +++ b/src/experimentation/test_experimentation_clique.conf | |||
@@ -7,19 +7,6 @@ NEIGHBOUR_LIMIT = 100 | |||
7 | TOPOLOGY = RANDOM | 7 | TOPOLOGY = RANDOM |
8 | #PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args | 8 | #PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args |
9 | 9 | ||
10 | [fs] | ||
11 | AUTOSTART = NO | ||
12 | |||
13 | [resolver] | ||
14 | AUTOSTART = NO | ||
15 | |||
16 | [cadet] | ||
17 | AUTOSTART = NO | ||
18 | |||
19 | [dht] | ||
20 | AUTOSTART = YES | ||
21 | DISABLE_TRY_CONNECT = NO | ||
22 | |||
23 | [dhtcache] | 10 | [dhtcache] |
24 | QUOTA = 1 MB | 11 | QUOTA = 1 MB |
25 | DATABASE = heap | 12 | DATABASE = heap |
@@ -41,44 +28,16 @@ WAN_QUOTA_OUT = 3932160 | |||
41 | WAN_QUOTA_IN = 3932160 | 28 | WAN_QUOTA_IN = 3932160 |
42 | 29 | ||
43 | [core] | 30 | [core] |
44 | PORT = 12092 | ||
45 | AUTOSTART = YES | ||
46 | USE_EPHEMERAL_KEYS = NO | 31 | USE_EPHEMERAL_KEYS = NO |
47 | 32 | ||
48 | [arm] | ||
49 | DEFAULTSERVICES = core transport experimentation dht | ||
50 | PORT = 12366 | ||
51 | |||
52 | [transport-udp] | 33 | [transport-udp] |
53 | TIMEOUT = 300 s | 34 | TIMEOUT = 300 s |
54 | PORT = 12368 | ||
55 | 35 | ||
56 | [PATHS] | 36 | [PATHS] |
57 | GNUNET_TEST_HOME = /tmp/test-experimentation/ | 37 | GNUNET_TEST_HOME = /tmp/test-experimentation/ |
58 | 38 | ||
59 | [dns] | ||
60 | AUTOSTART = NO | ||
61 | |||
62 | [nse] | ||
63 | AUTOSTART = NO | ||
64 | |||
65 | [vpn] | ||
66 | AUTOSTART = NO | ||
67 | |||
68 | [nat] | 39 | [nat] |
69 | RETURN_LOCAL_ADDRESSES = YES | 40 | RETURN_LOCAL_ADDRESSES = YES |
70 | 41 | ||
71 | [gns-helper-service-w32] | ||
72 | AUTOSTART = NO | ||
73 | |||
74 | [consensus] | ||
75 | AUTOSTART = NO | ||
76 | |||
77 | [gns] | ||
78 | AUTOSTART = NO | ||
79 | |||
80 | [statistics] | ||
81 | AUTOSTART = YES | ||
82 | |||
83 | [peerinfo] | 42 | [peerinfo] |
84 | NO_IO = YES | 43 | NO_IO = YES |
diff --git a/src/fs/fs.conf.in b/src/fs/fs.conf.in index dcd121587..ca0191e36 100644 --- a/src/fs/fs.conf.in +++ b/src/fs/fs.conf.in | |||
@@ -1,5 +1,6 @@ | |||
1 | [fs] | 1 | [fs] |
2 | AUTOSTART = @AUTOSTART@ | 2 | AUTOSTART = @AUTOSTART@ |
3 | FORCESTART = YES | ||
3 | INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst | 4 | INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst |
4 | RESPECT = $GNUNET_DATA_HOME/fs/credit/ | 5 | RESPECT = $GNUNET_DATA_HOME/fs/credit/ |
5 | STATE_DIR = $GNUNET_DATA_HOME/fs/persistence/ | 6 | STATE_DIR = $GNUNET_DATA_HOME/fs/persistence/ |
@@ -60,6 +61,7 @@ MAX_CADET_CLIENTS = 128 | |||
60 | 61 | ||
61 | [gnunet-auto-share] | 62 | [gnunet-auto-share] |
62 | BINARY = gnunet-auto-share | 63 | BINARY = gnunet-auto-share |
64 | FORCESTART = NO | ||
63 | 65 | ||
64 | # Note: MUST specify path to auto-share directory and CAN specify other options | 66 | # Note: MUST specify path to auto-share directory and CAN specify other options |
65 | # to gnunet-auto-share here! | 67 | # to gnunet-auto-share here! |
diff --git a/src/fs/test_fs_defaults.conf b/src/fs/test_fs_defaults.conf index b57e51ed0..97d8e6f87 100644 --- a/src/fs/test_fs_defaults.conf +++ b/src/fs/test_fs_defaults.conf | |||
@@ -22,7 +22,6 @@ RETURN_LOCAL_ADDRESSES = YES | |||
22 | [arm] | 22 | [arm] |
23 | PORT = 4366 | 23 | PORT = 4366 |
24 | HOSTNAME = localhost | 24 | HOSTNAME = localhost |
25 | DEFAULTSERVICES = fs | ||
26 | 25 | ||
27 | [datastore] | 26 | [datastore] |
28 | QUOTA = 100 MB | 27 | QUOTA = 100 MB |
diff --git a/src/fs/test_fs_uri_data.conf b/src/fs/test_fs_uri_data.conf index 5355fbc85..fcf6f42d4 100644 --- a/src/fs/test_fs_uri_data.conf +++ b/src/fs/test_fs_uri_data.conf | |||
@@ -2,6 +2,4 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/gnunet-test-fs-uri/ | 3 | GNUNET_TEST_HOME = /tmp/gnunet-test-fs-uri/ |
4 | 4 | ||
5 | [arm] | ||
6 | DEFAULTSERVICES = topology hostlist | ||
7 | 5 | ||
diff --git a/src/gns/gnunet-dns2gns.c b/src/gns/gnunet-dns2gns.c index a19a97cf3..bd909f938 100644 --- a/src/gns/gnunet-dns2gns.c +++ b/src/gns/gnunet-dns2gns.c | |||
@@ -200,10 +200,16 @@ do_shutdown (void *cls, | |||
200 | GNUNET_IDENTITY_disconnect (identity); | 200 | GNUNET_IDENTITY_disconnect (identity); |
201 | identity = NULL; | 201 | identity = NULL; |
202 | } | 202 | } |
203 | GNUNET_GNS_disconnect (gns); | 203 | if (NULL != gns) |
204 | gns = NULL; | 204 | { |
205 | GNUNET_DNSSTUB_stop (dns_stub); | 205 | GNUNET_GNS_disconnect (gns); |
206 | dns_stub = NULL; | 206 | gns = NULL; |
207 | } | ||
208 | if (NULL != dns_stub) | ||
209 | { | ||
210 | GNUNET_DNSSTUB_stop (dns_stub); | ||
211 | dns_stub = NULL; | ||
212 | } | ||
207 | } | 213 | } |
208 | 214 | ||
209 | 215 | ||
@@ -448,9 +454,10 @@ handle_request (struct GNUNET_NETWORK_Handle *lsock, | |||
448 | strcpy (&name[name_len - strlen (fcfs_suffix)], | 454 | strcpy (&name[name_len - strlen (fcfs_suffix)], |
449 | ".gnu"); | 455 | ".gnu"); |
450 | use_gns = GNUNET_YES; | 456 | use_gns = GNUNET_YES; |
451 | } else if ( (name_len > strlen (dns_suffix)) && | 457 | } |
452 | (0 == strcasecmp (dns_suffix, | 458 | else if ( (name_len > strlen (dns_suffix)) && |
453 | &name[name_len - strlen (dns_suffix)])) ) | 459 | (0 == strcasecmp (dns_suffix, |
460 | &name[name_len - strlen (dns_suffix)])) ) | ||
454 | { | 461 | { |
455 | /* replace ".zkey.eu" with ".zkey" */ | 462 | /* replace ".zkey.eu" with ".zkey" */ |
456 | strcpy (&name[name_len - strlen (dns_suffix)], | 463 | strcpy (&name[name_len - strlen (dns_suffix)], |
diff --git a/src/gns/test_gns_lookup.conf b/src/gns/test_gns_lookup.conf index 219d82f8a..ea8c7c3fc 100644 --- a/src/gns/test_gns_lookup.conf +++ b/src/gns/test_gns_lookup.conf | |||
@@ -9,9 +9,6 @@ AUTOSTART = YES | |||
9 | [transport] | 9 | [transport] |
10 | PLUGINS = | 10 | PLUGINS = |
11 | 11 | ||
12 | [arm] | ||
13 | DEFAULTSERVICES = | ||
14 | |||
15 | [gns] | 12 | [gns] |
16 | #PREFIX = valgrind --leak-check=full --track-origins=yes | 13 | #PREFIX = valgrind --leak-check=full --track-origins=yes |
17 | AUTOSTART = YES | 14 | AUTOSTART = YES |
diff --git a/src/gns/test_gns_nick_shorten.conf b/src/gns/test_gns_nick_shorten.conf index 73a713413..eac9fee43 100644 --- a/src/gns/test_gns_nick_shorten.conf +++ b/src/gns/test_gns_nick_shorten.conf | |||
@@ -9,9 +9,6 @@ AUTOSTART = YES | |||
9 | [transport] | 9 | [transport] |
10 | PLUGINS = | 10 | PLUGINS = |
11 | 11 | ||
12 | [arm] | ||
13 | DEFAULTSERVICES = | ||
14 | |||
15 | [gns] | 12 | [gns] |
16 | #PREFIX = valgrind --leak-check=full --track-origins=yes | 13 | #PREFIX = valgrind --leak-check=full --track-origins=yes |
17 | AUTOSTART = YES | 14 | AUTOSTART = YES |
diff --git a/src/gns/test_gns_proxy.conf b/src/gns/test_gns_proxy.conf index da6a1823a..973c0257e 100644 --- a/src/gns/test_gns_proxy.conf +++ b/src/gns/test_gns_proxy.conf | |||
@@ -5,7 +5,6 @@ GNUNET_TEST_HOME = /tmp/gnunet-test-gns-proxy/ | |||
5 | PLUGINS = tcp | 5 | PLUGINS = tcp |
6 | 6 | ||
7 | [arm] | 7 | [arm] |
8 | DEFAULTSERVICES = statistics dns namestore gns | ||
9 | PORT = 0 | 8 | PORT = 0 |
10 | ALLOW_SHUTDOWN = YES | 9 | ALLOW_SHUTDOWN = YES |
11 | 10 | ||
diff --git a/src/gns/test_gns_simple_lookup.conf b/src/gns/test_gns_simple_lookup.conf index d1aef4ca7..77ee8fc18 100644 --- a/src/gns/test_gns_simple_lookup.conf +++ b/src/gns/test_gns_simple_lookup.conf | |||
@@ -33,7 +33,6 @@ WAN_QUOTA_OUT = 1 GB | |||
33 | PORT = 12092 | 33 | PORT = 12092 |
34 | 34 | ||
35 | [arm] | 35 | [arm] |
36 | DEFAULTSERVICES = core dht namestore gns | ||
37 | PORT = 12366 | 36 | PORT = 12366 |
38 | 37 | ||
39 | [transport-tcp] | 38 | [transport-tcp] |
@@ -59,7 +58,7 @@ AUTOSTART = YES | |||
59 | DNS_EXIT = 8.8.8.8 | 58 | DNS_EXIT = 8.8.8.8 |
60 | 59 | ||
61 | [gns] | 60 | [gns] |
62 | #PREFIX = valgrind --leak-check=full --track-origins=yes | 61 | #PREFIX = valgrind --leak-check=full --track-origins=yes |
63 | AUTOSTART = YES | 62 | AUTOSTART = YES |
64 | BINARY = gnunet-service-gns | 63 | BINARY = gnunet-service-gns |
65 | ZONEKEY = zonefiles/test_zonekey | 64 | ZONEKEY = zonefiles/test_zonekey |
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am index 5d5a94b5d..3a68ed051 100644 --- a/src/hostlist/Makefile.am +++ b/src/hostlist/Makefile.am | |||
@@ -4,8 +4,6 @@ pkgcfgdir= $(pkgdatadir)/config.d/ | |||
4 | 4 | ||
5 | libexecdir= $(pkglibdir)/libexec/ | 5 | libexecdir= $(pkglibdir)/libexec/ |
6 | 6 | ||
7 | dist_pkgcfg_DATA = \ | ||
8 | hostlist.conf | ||
9 | 7 | ||
10 | if USE_COVERAGE | 8 | if USE_COVERAGE |
11 | AM_CFLAGS = --coverage -O0 | 9 | AM_CFLAGS = --coverage -O0 |
@@ -22,12 +20,16 @@ libexec_PROGRAMS = \ | |||
22 | gnunet-daemon-hostlist | 20 | gnunet-daemon-hostlist |
23 | LIB_GNURL=@LIBGNURL@ | 21 | LIB_GNURL=@LIBGNURL@ |
24 | CPP_GNURL=@LIBGNURL_CPPFLAGS@ | 22 | CPP_GNURL=@LIBGNURL_CPPFLAGS@ |
23 | dist_pkgcfg_DATA = \ | ||
24 | hostlist.conf | ||
25 | else | 25 | else |
26 | if HAVE_LIBCURL | 26 | if HAVE_LIBCURL |
27 | libexec_PROGRAMS = \ | 27 | libexec_PROGRAMS = \ |
28 | gnunet-daemon-hostlist | 28 | gnunet-daemon-hostlist |
29 | LIB_GNURL=@LIBCURL@ | 29 | LIB_GNURL=@LIBCURL@ |
30 | CPP_GNURL=@LIBCURL_CPPFLAGS@ | 30 | CPP_GNURL=@LIBCURL_CPPFLAGS@ |
31 | dist_pkgcfg_DATA = \ | ||
32 | hostlist.conf | ||
31 | endif | 33 | endif |
32 | endif | 34 | endif |
33 | 35 | ||
diff --git a/src/hostlist/hostlist.conf b/src/hostlist/hostlist.conf index 79acb3900..5c4a86b43 100644 --- a/src/hostlist/hostlist.conf +++ b/src/hostlist/hostlist.conf | |||
@@ -1,4 +1,5 @@ | |||
1 | [hostlist] | 1 | [hostlist] |
2 | FORCESTART = YES | ||
2 | BINARY = gnunet-daemon-hostlist | 3 | BINARY = gnunet-daemon-hostlist |
3 | 4 | ||
4 | # port for hostlist http server | 5 | # port for hostlist http server |
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_data.conf b/src/hostlist/test_gnunet_daemon_hostlist_data.conf index 74d16be89..9f853c244 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_data.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_data.conf | |||
@@ -4,7 +4,6 @@ PORT = 12968 | |||
4 | 4 | ||
5 | [arm] | 5 | [arm] |
6 | PORT = 12966 | 6 | PORT = 12966 |
7 | DEFAULTSERVICES = hostlist topology | ||
8 | 7 | ||
9 | [statistics] | 8 | [statistics] |
10 | PORT = 12967 | 9 | PORT = 12967 |
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf index 0d59325aa..4fc4e8dd1 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf | |||
@@ -7,7 +7,6 @@ PORT = 12968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 12966 | 9 | PORT = 12966 |
10 | DEFAULTSERVICES = hostlist topology | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf index f3fca70a2..538a91602 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf | |||
@@ -7,7 +7,6 @@ PORT = 22968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 22966 | 9 | PORT = 22966 |
10 | DEFAULTSERVICES = hostlist topology | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_hostlist_defaults.conf b/src/hostlist/test_hostlist_defaults.conf index b3eb87a2d..d5084692f 100644 --- a/src/hostlist/test_hostlist_defaults.conf +++ b/src/hostlist/test_hostlist_defaults.conf | |||
@@ -1,89 +1,15 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-hostlist/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-hostlist/ |
3 | 3 | ||
4 | [resolver] | ||
5 | PORT = 12464 | ||
6 | |||
7 | [transport] | 4 | [transport] |
8 | PORT = 12465 | ||
9 | PLUGINS = tcp | 5 | PLUGINS = tcp |
10 | 6 | ||
11 | [arm] | ||
12 | PORT = 12466 | ||
13 | DEFAULTSERVICES = hostlist | ||
14 | |||
15 | [statistics] | ||
16 | PORT = 12467 | ||
17 | |||
18 | [tcp] | ||
19 | PORT = 12468 | ||
20 | |||
21 | [peerinfo] | 7 | [peerinfo] |
22 | PORT = 12469 | ||
23 | NO_IO = YES | 8 | NO_IO = YES |
24 | 9 | ||
25 | [core] | 10 | [core] |
26 | PORT = 12470 | 11 | PORT = 12470 |
27 | 12 | ||
28 | [testing] | ||
29 | WEAKRANDOM = YES | ||
30 | |||
31 | [hostlist] | ||
32 | HTTP-PROXY = | ||
33 | |||
34 | [cadet] | ||
35 | AUTOSTART = NO | ||
36 | |||
37 | [dns] | ||
38 | AUTOSTART = NO | ||
39 | |||
40 | [nse] | ||
41 | AUTOSTART = NO | ||
42 | |||
43 | [datastore] | ||
44 | AUTOSTART = NO | ||
45 | |||
46 | [fs] | ||
47 | AUTOSTART = NO | ||
48 | |||
49 | [dht] | ||
50 | AUTOSTART = NO | ||
51 | |||
52 | [dv] | ||
53 | AUTOSTART = NO | ||
54 | |||
55 | [revocation] | ||
56 | AUTOSTART = NO | ||
57 | |||
58 | [gns] | ||
59 | AUTOSTART = NO | ||
60 | |||
61 | [vpn] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [namestore] | ||
65 | AUTOSTART = NO | ||
66 | |||
67 | [namecache] | ||
68 | AUTOSTART = NO | ||
69 | |||
70 | [nat] | 13 | [nat] |
71 | RETURN_LOCAL_ADDRESSES = YES | 14 | RETURN_LOCAL_ADDRESSES = YES |
72 | 15 | ||
73 | [consensus] | ||
74 | AUTOSTART = NO | ||
75 | |||
76 | [regex] | ||
77 | AUTOSTART = NO | ||
78 | |||
79 | [identity] | ||
80 | AUTOSTART = NO | ||
81 | |||
82 | [conversation] | ||
83 | AUTOSTART = NO | ||
84 | |||
85 | [psycstore] | ||
86 | AUTOSTART = NO | ||
87 | |||
88 | [set] | ||
89 | AUTOSTART = NO | ||
diff --git a/src/hostlist/test_learning_adv_peer.conf b/src/hostlist/test_learning_adv_peer.conf index 1bdcd8101..12087a7b7 100644 --- a/src/hostlist/test_learning_adv_peer.conf +++ b/src/hostlist/test_learning_adv_peer.conf | |||
@@ -7,7 +7,6 @@ PORT = 22968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 22966 | 9 | PORT = 22966 |
10 | DEFAULTSERVICES = topology hostlist | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p2-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p2-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_learning_learn_peer.conf b/src/hostlist/test_learning_learn_peer.conf index afe3ef69a..44415aa49 100644 --- a/src/hostlist/test_learning_learn_peer.conf +++ b/src/hostlist/test_learning_learn_peer.conf | |||
@@ -7,7 +7,6 @@ PORT = 12968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 12966 | 9 | PORT = 12966 |
10 | DEFAULTSERVICES = topology hostlist | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p1-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-hostlist-p1-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/hostlist/test_learning_learn_peer2.conf b/src/hostlist/test_learning_learn_peer2.conf index dc27bfb9a..f72790a45 100644 --- a/src/hostlist/test_learning_learn_peer2.conf +++ b/src/hostlist/test_learning_learn_peer2.conf | |||
@@ -7,7 +7,6 @@ PORT = 32968 | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 32966 | 9 | PORT = 32966 |
10 | DEFAULTSERVICES = topology hostlist | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p3-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p3-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/identity/test_identity.conf b/src/identity/test_identity.conf index 54ea63fd8..1653a88f8 100644 --- a/src/identity/test_identity.conf +++ b/src/identity/test_identity.conf | |||
@@ -1,6 +1,5 @@ | |||
1 | [arm] | 1 | [arm] |
2 | PORT = 12000 | 2 | PORT = 12000 |
3 | DEFAULTSERVICES = identity | ||
4 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 3 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
5 | 4 | ||
6 | [identity] | 5 | [identity] |
diff --git a/src/multicast/test_multicast.conf b/src/multicast/test_multicast.conf index 2a675ce2d..e69de29bb 100644 --- a/src/multicast/test_multicast.conf +++ b/src/multicast/test_multicast.conf | |||
@@ -1,2 +0,0 @@ | |||
1 | [arm] | ||
2 | DEFAULTSERVICES = statistics core transport dht cadet multicast | ||
diff --git a/src/namecache/test_namecache_api.conf b/src/namecache/test_namecache_api.conf index 908b0e294..7221033c6 100644 --- a/src/namecache/test_namecache_api.conf +++ b/src/namecache/test_namecache_api.conf | |||
@@ -1,13 +1,7 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-namecache/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-namecache/ |
3 | 3 | ||
4 | [arm] | ||
5 | PORT = 12000 | ||
6 | DEFAULTSERVICES = namecache | ||
7 | |||
8 | [namecache] | 4 | [namecache] |
9 | #PREFIX = valgrind | ||
10 | AUTOSTART = YES | ||
11 | DATABASE = sqlite | 5 | DATABASE = sqlite |
12 | 6 | ||
13 | [namecache-sqlite] | 7 | [namecache-sqlite] |
diff --git a/src/namestore/test_namestore_api.conf b/src/namestore/test_namestore_api.conf index 1478d185b..0163b2f52 100644 --- a/src/namestore/test_namestore_api.conf +++ b/src/namestore/test_namestore_api.conf | |||
@@ -1,13 +1,7 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-namestore/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-namestore/ |
3 | 3 | ||
4 | [arm] | ||
5 | PORT = 12000 | ||
6 | DEFAULTSERVICES = namecache namestore | ||
7 | |||
8 | [namestore] | 4 | [namestore] |
9 | #PREFIX = valgrind | ||
10 | AUTOSTART = YES | ||
11 | DATABASE = sqlite | 5 | DATABASE = sqlite |
12 | 6 | ||
13 | [namestore-sqlite] | 7 | [namestore-sqlite] |
diff --git a/src/nat/test_nat_data.conf b/src/nat/test_nat_data.conf index 42c1399cf..d23a49162 100644 --- a/src/nat/test_nat_data.conf +++ b/src/nat/test_nat_data.conf | |||
@@ -4,15 +4,6 @@ GNUNET_TEST_HOME = /tmp/nat-test | |||
4 | # configuration file is assumed to be the default, | 4 | # configuration file is assumed to be the default, |
5 | # which is what we want by default... | 5 | # which is what we want by default... |
6 | 6 | ||
7 | [gnunetd] | ||
8 | HOSTKEY = $GNUNET_TEST_HOME/.hostkey | ||
9 | |||
10 | [TESTING] | ||
11 | WEAKRANDOM = NO | ||
12 | |||
13 | [client] | ||
14 | |||
15 | |||
16 | [nat] | 7 | [nat] |
17 | # Are we behind NAT? | 8 | # Are we behind NAT? |
18 | BEHIND_NAT = YES | 9 | BEHIND_NAT = YES |
@@ -27,9 +18,9 @@ ENABLE_UPNP = YES | |||
27 | USE_LOCALADDR = YES | 18 | USE_LOCALADDR = YES |
28 | 19 | ||
29 | # External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!) | 20 | # External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!) |
30 | # normal interface IP address for non-NATed peers; | 21 | # normal interface IP address for non-NATed peers; |
31 | # possibly auto-detected (using UPnP) if possible if not specified | 22 | # possibly auto-detected (using UPnP) if possible if not specified |
32 | # EXTERNAL_ADDRESS = | 23 | # EXTERNAL_ADDRESS = |
33 | 24 | ||
34 | # Should we use ICMP-based NAT traversal to try connect to NATed peers | 25 | # Should we use ICMP-based NAT traversal to try connect to NATed peers |
35 | # or, if we are behind NAT, to allow connections to us? | 26 | # or, if we are behind NAT, to allow connections to us? |
@@ -37,98 +28,10 @@ ENABLE_ICMP_CLIENT = NO | |||
37 | ENABLE_ICMP_SERVER = NO | 28 | ENABLE_ICMP_SERVER = NO |
38 | 29 | ||
39 | # IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY; | 30 | # IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY; |
40 | # normal interface IP address for non-NATed peers; | 31 | # normal interface IP address for non-NATed peers; |
41 | # likely auto-detected (via interface list) if not specified (!) | 32 | # likely auto-detected (via interface list) if not specified (!) |
42 | # INTERNAL_ADDRESS = | 33 | # INTERNAL_ADDRESS = |
43 | 34 | ||
44 | # Disable IPv6 support | 35 | # Disable IPv6 support |
45 | DISABLEV6 = NO | 36 | DISABLEV6 = NO |
46 | 37 | ||
47 | [arm] | ||
48 | PORT = 2087 | ||
49 | HOSTNAME = localhost | ||
50 | BINARY = gnunet-service-arm | ||
51 | ACCEPT_FROM = 127.0.0.1; | ||
52 | ACCEPT_FROM6 = ::1; | ||
53 | DEFAULTSERVICES = topology hostlist | ||
54 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-arm.sock | ||
55 | UNIX_MATCH_UID = YES | ||
56 | UNIX_MATCH_GID = YES | ||
57 | # GLOBAL_POSTFIX = -l $GNUNET_TEST_HOME/{}-logs | ||
58 | # GLOBAL_PREFIX = | ||
59 | # USERNAME = | ||
60 | # MAXBUF = | ||
61 | # TIMEOUT = | ||
62 | # DISABLEV6 = | ||
63 | # BINDTO = | ||
64 | # REJECT_FROM = | ||
65 | # REJECT_FROM6 = | ||
66 | # PREFIX = | ||
67 | |||
68 | [statistics] | ||
69 | AUTOSTART = YES | ||
70 | PORT = 2088 | ||
71 | HOSTNAME = localhost | ||
72 | BINARY = gnunet-service-statistics | ||
73 | ACCEPT_FROM = 127.0.0.1; | ||
74 | ACCEPT_FROM6 = ::1; | ||
75 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-statistics.sock | ||
76 | UNIX_MATCH_UID = NO | ||
77 | UNIX_MATCH_GID = YES | ||
78 | # DISABLE_SOCKET_FORWARDING = NO | ||
79 | # USERNAME = | ||
80 | # MAXBUF = | ||
81 | # TIMEOUT = | ||
82 | # DISABLEV6 = | ||
83 | # BINDTO = | ||
84 | # REJECT_FROM = | ||
85 | # REJECT_FROM6 = | ||
86 | # PREFIX = | ||
87 | |||
88 | [resolver] | ||
89 | AUTOSTART = YES | ||
90 | PORT = 2089 | ||
91 | HOSTNAME = localhost | ||
92 | BINARY = gnunet-service-resolver | ||
93 | ACCEPT_FROM = 127.0.0.1; | ||
94 | ACCEPT_FROM6 = ::1; | ||
95 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-resolver.sock | ||
96 | UNIX_MATCH_UID = NO | ||
97 | UNIX_MATCH_GID = NO | ||
98 | # DISABLE_SOCKET_FORWARDING = NO | ||
99 | # USERNAME = | ||
100 | # MAXBUF = | ||
101 | # TIMEOUT = | ||
102 | # DISABLEV6 = | ||
103 | # BINDTO = | ||
104 | # REJECT_FROM = | ||
105 | # REJECT_FROM6 = | ||
106 | # PREFIX = | ||
107 | |||
108 | [peerinfo] | ||
109 | AUTOSTART = NO | ||
110 | |||
111 | [transport] | ||
112 | AUTOSTART = NO | ||
113 | |||
114 | [core] | ||
115 | AUTOSTART = NO | ||
116 | |||
117 | [datastore] | ||
118 | AUTOSTART = NO | ||
119 | |||
120 | [fs] | ||
121 | AUTOSTART = NO | ||
122 | |||
123 | [dht] | ||
124 | AUTOSTART = NO | ||
125 | |||
126 | [cadet] | ||
127 | AUTOSTART = NO | ||
128 | |||
129 | [nse] | ||
130 | AUTOSTART = NO | ||
131 | |||
132 | |||
133 | [consensus] | ||
134 | AUTOSTART = NO | ||
diff --git a/src/nse/nse.conf.in b/src/nse/nse.conf.in index 96d82d812..02e7261cf 100644 --- a/src/nse/nse.conf.in +++ b/src/nse/nse.conf.in | |||
@@ -1,5 +1,6 @@ | |||
1 | [nse] | 1 | [nse] |
2 | AUTOSTART = @AUTOSTART@ | 2 | AUTOSTART = @AUTOSTART@ |
3 | FORCESTART = YES | ||
3 | @JAVAPORT@PORT = 2097 | 4 | @JAVAPORT@PORT = 2097 |
4 | HOSTNAME = localhost | 5 | HOSTNAME = localhost |
5 | BINARY = gnunet-service-nse | 6 | BINARY = gnunet-service-nse |
diff --git a/src/nse/nse_infiniband.conf b/src/nse/nse_infiniband.conf index fc2e4f8b7..8e98b18c3 100644 --- a/src/nse/nse_infiniband.conf +++ b/src/nse/nse_infiniband.conf | |||
@@ -3,7 +3,7 @@ GNUNET_TEST_HOME = /tmp/nse-profiler/ | |||
3 | 3 | ||
4 | [testbed] | 4 | [testbed] |
5 | AUTOSTART = NO | 5 | AUTOSTART = NO |
6 | PORT = 12113 | 6 | ORT = 12113 |
7 | ACCEPT_FROM = 127.0.0.1; 10.6.0.0/16; 192.168.0.0/16; | 7 | ACCEPT_FROM = 127.0.0.1; 10.6.0.0/16; 192.168.0.0/16; |
8 | HOSTNAME = localhost | 8 | HOSTNAME = localhost |
9 | MAX_PARALLEL_OPERATIONS = 400 | 9 | MAX_PARALLEL_OPERATIONS = 400 |
@@ -14,12 +14,7 @@ SETUP_TIMEOUT = 30m | |||
14 | STATS_DIR= /home/totakura/nse/test/load | 14 | STATS_DIR= /home/totakura/nse/test/load |
15 | 15 | ||
16 | [nse] | 16 | [nse] |
17 | PORT = 12114 | 17 | FORCESTART = YES |
18 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-nse-service-nse.unix | ||
19 | BINARY = gnunet-service-nse | ||
20 | #BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/nse/.libs/gnunet-service-nse | ||
21 | #PREFIX = valgrind --leak-check=full --log-file=valgrind_nse.%p | ||
22 | AUTOSTART = NO | ||
23 | # Overriding network settings for faster testing (do NOT use | 18 | # Overriding network settings for faster testing (do NOT use |
24 | # these values in production just because they are here) | 19 | # these values in production just because they are here) |
25 | WORKDELAY = 60 s | 20 | WORKDELAY = 60 s |
@@ -28,23 +23,6 @@ WORKBITS = 0 | |||
28 | PROOFFILE = $GNUNET_TEST_HOME/nse.proof | 23 | PROOFFILE = $GNUNET_TEST_HOME/nse.proof |
29 | HISTOGRAM_DIR = /home/totakura/nse/test/histograms | 24 | HISTOGRAM_DIR = /home/totakura/nse/test/histograms |
30 | 25 | ||
31 | [arm] | ||
32 | DEFAULTSERVICES = core nse | ||
33 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-nse-service-arm.unix | ||
34 | |||
35 | [statistics] | ||
36 | AUTOSTART = YES | ||
37 | PORT = 12115 | ||
38 | |||
39 | [fs] | ||
40 | AUTOSTART = NO | ||
41 | |||
42 | [datastore] | ||
43 | AUTOSTART = NO | ||
44 | |||
45 | [dht] | ||
46 | AUTOSTART = NO | ||
47 | |||
48 | [nat] | 26 | [nat] |
49 | DISABLEV6 = YES | 27 | DISABLEV6 = YES |
50 | BINDTO = 127.0.0.1 | 28 | BINDTO = 127.0.0.1 |
@@ -60,36 +38,6 @@ plugins = udp | |||
60 | [transport-udp] | 38 | [transport-udp] |
61 | PORT = 12116 | 39 | PORT = 12116 |
62 | 40 | ||
63 | [core] | ||
64 | AUTOSTART = YES | ||
65 | |||
66 | [peerinfo] | ||
67 | AUTOSTART = YES | ||
68 | |||
69 | [dns] | ||
70 | AUTOSTART = NO | ||
71 | |||
72 | [topology] | ||
73 | AUTOSTART = NO | ||
74 | |||
75 | [dv] | ||
76 | AUTOSTART = NO | ||
77 | |||
78 | [resolver] | ||
79 | AUTOSTART = YES | ||
80 | |||
81 | [cadet] | ||
82 | AUTOSTART = NO | ||
83 | |||
84 | [chat] | ||
85 | AUTOSTART = NO | ||
86 | |||
87 | [gns] | ||
88 | AUTOSTART = NO | ||
89 | |||
90 | [vpn] | ||
91 | AUTOSTART = NO | ||
92 | |||
93 | [nse-profiler] | 41 | [nse-profiler] |
94 | OUTPUT_FILE = nse_output_2000_peers.dat | 42 | OUTPUT_FILE = nse_output_2000_peers.dat |
95 | TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers | 43 | TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers |
diff --git a/src/nse/nse_profiler_test.conf b/src/nse/nse_profiler_test.conf index 26bcda520..b118132d1 100644 --- a/src/nse/nse_profiler_test.conf +++ b/src/nse/nse_profiler_test.conf | |||
@@ -12,11 +12,7 @@ OVERLAY_RANDOM_LINKS = 1000 | |||
12 | OPERATION_TIMEOUT = 45 s | 12 | OPERATION_TIMEOUT = 45 s |
13 | 13 | ||
14 | [nse] | 14 | [nse] |
15 | PORT = 12114 | 15 | FORCESTART = YES |
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-nse-service-nse.unix | ||
17 | BINARY = gnunet-service-nse | ||
18 | #BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/nse/.libs/gnunet-service-nse | ||
19 | #PREFIX = valgrind --leak-check=full --log-file=valgrind_nse.%p | ||
20 | AUTOSTART = NO | 16 | AUTOSTART = NO |
21 | # Overriding network settings for faster testing (do NOT use | 17 | # Overriding network settings for faster testing (do NOT use |
22 | # these values in production just because they are here) | 18 | # these values in production just because they are here) |
@@ -25,23 +21,6 @@ INTERVAL = 10 s | |||
25 | WORKBITS = 0 | 21 | WORKBITS = 0 |
26 | PROOFFILE = $GNUNET_TEST_HOME/nse.proof | 22 | PROOFFILE = $GNUNET_TEST_HOME/nse.proof |
27 | 23 | ||
28 | [arm] | ||
29 | DEFAULTSERVICES = core nse | ||
30 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-nse-service-arm.unix | ||
31 | |||
32 | [statistics] | ||
33 | AUTOSTART = YES | ||
34 | PORT = 12115 | ||
35 | |||
36 | [fs] | ||
37 | AUTOSTART = NO | ||
38 | |||
39 | [datastore] | ||
40 | AUTOSTART = NO | ||
41 | |||
42 | [dht] | ||
43 | AUTOSTART = NO | ||
44 | |||
45 | [nat] | 24 | [nat] |
46 | DISABLEV6 = YES | 25 | DISABLEV6 = YES |
47 | BINDTO = 127.0.0.1 | 26 | BINDTO = 127.0.0.1 |
@@ -54,39 +33,6 @@ EXTERNAL_ADDRESS = 127.0.0.1 | |||
54 | [transport] | 33 | [transport] |
55 | plugins = udp | 34 | plugins = udp |
56 | 35 | ||
57 | [transport-udp] | ||
58 | PORT = 12116 | ||
59 | |||
60 | [core] | ||
61 | AUTOSTART = YES | ||
62 | |||
63 | [peerinfo] | ||
64 | AUTOSTART = YES | ||
65 | |||
66 | [dns] | ||
67 | AUTOSTART = NO | ||
68 | |||
69 | [topology] | ||
70 | AUTOSTART = NO | ||
71 | |||
72 | [dv] | ||
73 | AUTOSTART = NO | ||
74 | |||
75 | [resolver] | ||
76 | AUTOSTART = YES | ||
77 | |||
78 | [cadet] | ||
79 | AUTOSTART = NO | ||
80 | |||
81 | [chat] | ||
82 | AUTOSTART = NO | ||
83 | |||
84 | [gns] | ||
85 | AUTOSTART = NO | ||
86 | |||
87 | [vpn] | ||
88 | AUTOSTART = NO | ||
89 | |||
90 | [nse-profiler] | 36 | [nse-profiler] |
91 | OUTPUT_FILE = nse_output_2000_peers.dat | 37 | OUTPUT_FILE = nse_output_2000_peers.dat |
92 | TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers | 38 | TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers |
diff --git a/src/nse/test_nse.conf b/src/nse/test_nse.conf index b6239140e..c6061f421 100644 --- a/src/nse/test_nse.conf +++ b/src/nse/test_nse.conf | |||
@@ -2,45 +2,16 @@ | |||
2 | GNUNET_TEST_HOME = /tmp/test-nse-multipeer/ | 2 | GNUNET_TEST_HOME = /tmp/test-nse-multipeer/ |
3 | 3 | ||
4 | [nse] | 4 | [nse] |
5 | PORT = 22353 | ||
6 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-nse-service-nse.unix | ||
7 | BINARY = gnunet-service-nse | ||
8 | #BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/nse/.libs/gnunet-service-nse | ||
9 | #PREFIX = valgrind --leak-check=full --log-file=valgrind_nse.%p | 5 | #PREFIX = valgrind --leak-check=full --log-file=valgrind_nse.%p |
10 | AUTOSTART = YES | 6 | FORCESTART = YES |
11 | PROOFFILE = $GNUNET_TEST_HOME/proof.nse | 7 | PROOFFILE = $GNUNET_TEST_HOME/proof.nse |
12 | # Overriding network settings for faster testing (do NOT use | 8 | # Overriding network settings for faster testing (do NOT use |
13 | # these values in production just because they are here) | 9 | # these values in production just because they are here) |
14 | WORKDELAY = 1 ms | 10 | WORKDELAY = 1 ms |
15 | INTERVAL = 60 s | 11 | INTERVAL = 60 s |
16 | WORKBITS = 1 | 12 | WORKBITS = 1 |
17 | |||
18 | HISTOGRAM = $GNUNET_TEST_HOME/nse-histogram | 13 | HISTOGRAM = $GNUNET_TEST_HOME/nse-histogram |
19 | 14 | ||
20 | |||
21 | [arm] | ||
22 | PORT = 22354 | ||
23 | DEFAULTSERVICES = nse core | ||
24 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-nse-service-arm.unix | ||
25 | |||
26 | [fs] | ||
27 | AUTOSTART = NO | ||
28 | |||
29 | [datastore] | ||
30 | AUTOSTART = NO | ||
31 | |||
32 | [dht] | ||
33 | AUTOSTART = NO | ||
34 | |||
35 | [transport] | ||
36 | AUTOSTART = YES | ||
37 | |||
38 | [core] | ||
39 | AUTOSTART = YES | ||
40 | |||
41 | [peerinfo] | ||
42 | AUTOSTART = YES | ||
43 | |||
44 | [nat] | 15 | [nat] |
45 | DISABLEV6 = YES | 16 | DISABLEV6 = YES |
46 | BINDTO = 127.0.0.1 | 17 | BINDTO = 127.0.0.1 |
@@ -50,27 +21,3 @@ ALLOW_NAT = NO | |||
50 | INTERNAL_ADDRESS = 127.0.0.1 | 21 | INTERNAL_ADDRESS = 127.0.0.1 |
51 | EXTERNAL_ADDRESS = 127.0.0.1 | 22 | EXTERNAL_ADDRESS = 127.0.0.1 |
52 | 23 | ||
53 | [dns] | ||
54 | AUTOSTART = NO | ||
55 | |||
56 | [testing] | ||
57 | WEAKRANDOM = YES | ||
58 | |||
59 | [testing_old] | ||
60 | NUM_PEERS = 10 | ||
61 | TOPOLOGY = NONE | ||
62 | CONNECT_TOPOLOGY = SMALL_WORLD_RING | ||
63 | PERCENTAGE = 3 | ||
64 | F2F = NO | ||
65 | CONNECT_TIMEOUT = 60 s | ||
66 | CONNECT_ATTEMPTS = 3 | ||
67 | HOSTKEYSFILE = ${DATADIR}/testing_hostkeys.dat | ||
68 | MAX_CONCURRENT_SSH = 20 | ||
69 | USE_PROGRESSBARS = YES | ||
70 | PEERGROUP_TIMEOUT = 1000 s | ||
71 | |||
72 | DELETE_FILES = NO | ||
73 | |||
74 | |||
75 | [consensus] | ||
76 | AUTOSTART = NO | ||
diff --git a/src/peerinfo-tool/test_gnunet_peerinfo_data.conf b/src/peerinfo-tool/test_gnunet_peerinfo_data.conf index 31c310232..78dac1d13 100644 --- a/src/peerinfo-tool/test_gnunet_peerinfo_data.conf +++ b/src/peerinfo-tool/test_gnunet_peerinfo_data.conf | |||
@@ -1,37 +1,10 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/gnunet-test-peerinfo/ | 2 | GNUNET_TEST_HOME = /tmp/gnunet-test-peerinfo/ |
3 | 3 | ||
4 | [gnunetd] | ||
5 | #HOSTKEY = test_gnunet_peerinfo.hostkey | ||
6 | |||
7 | [peerinfo] | ||
8 | PORT = 24354 | ||
9 | |||
10 | [resolver] | ||
11 | PORT = 24355 | ||
12 | |||
13 | [arm] | ||
14 | DEFAULTSERVICES = | ||
15 | |||
16 | [testing] | ||
17 | WEAKRANDOM = YES | ||
18 | |||
19 | [transport] | 4 | [transport] |
20 | plugins = tcp | 5 | plugins = tcp |
21 | PORT = 24356 | 6 | PORT = 24356 |
22 | 7 | ||
23 | [transport-tcp] | ||
24 | PORT = 24357 | ||
25 | |||
26 | [dns] | ||
27 | AUTOSTART = NO | ||
28 | |||
29 | [cadet] | ||
30 | AUTOSTART = NO | ||
31 | |||
32 | [nse] | ||
33 | AUTOSTART = NO | ||
34 | |||
35 | [nat] | 8 | [nat] |
36 | RETURN_LOCAL_ADDRESSES = YES | 9 | RETURN_LOCAL_ADDRESSES = YES |
37 | 10 | ||
diff --git a/src/psyc/test_psyc.conf b/src/psyc/test_psyc.conf index 43a5adb75..e69de29bb 100644 --- a/src/psyc/test_psyc.conf +++ b/src/psyc/test_psyc.conf | |||
@@ -1,2 +0,0 @@ | |||
1 | [arm] | ||
2 | DEFAULTSERVICES = statistics core transport dht cadet multicast psycstore psyc | ||
diff --git a/src/psycstore/test_psycstore.conf b/src/psycstore/test_psycstore.conf index 0d52a0829..bf7865c88 100644 --- a/src/psycstore/test_psycstore.conf +++ b/src/psycstore/test_psycstore.conf | |||
@@ -1,16 +1,7 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-psycstore/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-psycstore/ |
3 | 3 | ||
4 | [arm] | ||
5 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-gnunet-service-arm.sock | ||
6 | DEFAULTSERVICES = psycstore | ||
7 | |||
8 | [psycstore] | 4 | [psycstore] |
9 | AUTOSTART = YES | ||
10 | BINARY = gnunet-service-psycstore | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-gnunet-service-psycstore.sock | ||
12 | UNIX_MATCH_UID = NO | ||
13 | UNIX_MATCH_GID = YES | ||
14 | DATABASE = sqlite | 5 | DATABASE = sqlite |
15 | 6 | ||
16 | [psycstore-sqlite] | 7 | [psycstore-sqlite] |
diff --git a/src/pt/test_gns_vpn.conf b/src/pt/test_gns_vpn.conf index 96391dd2e..8f7046b2d 100644 --- a/src/pt/test_gns_vpn.conf +++ b/src/pt/test_gns_vpn.conf | |||
@@ -5,7 +5,6 @@ GNUNET_TEST_HOME = /tmp/gnunet-test-gns-vpn/ | |||
5 | PLUGINS = tcp | 5 | PLUGINS = tcp |
6 | 6 | ||
7 | [arm] | 7 | [arm] |
8 | DEFAULTSERVICES = statistics exit cadet vpn namestore gns | ||
9 | PORT = 0 | 8 | PORT = 0 |
10 | ALLOW_SHUTDOWN = YES | 9 | ALLOW_SHUTDOWN = YES |
11 | 10 | ||
diff --git a/src/pt/test_gnunet_vpn.conf b/src/pt/test_gnunet_vpn.conf index 38f479775..5540c0fe4 100644 --- a/src/pt/test_gnunet_vpn.conf +++ b/src/pt/test_gnunet_vpn.conf | |||
@@ -5,7 +5,6 @@ GNUNET_TEST_HOME = /tmp/gnunet-test-vpn/ | |||
5 | PLUGINS = tcp | 5 | PLUGINS = tcp |
6 | 6 | ||
7 | [arm] | 7 | [arm] |
8 | DEFAULTSERVICES = statistics exit vpn | ||
9 | PORT = 0 | 8 | PORT = 0 |
10 | ALLOW_SHUTDOWN = YES | 9 | ALLOW_SHUTDOWN = YES |
11 | 10 | ||
diff --git a/src/regex/test_regex_api_data.conf b/src/regex/test_regex_api_data.conf index 4977d3b19..5c7ad1abd 100644 --- a/src/regex/test_regex_api_data.conf +++ b/src/regex/test_regex_api_data.conf | |||
@@ -45,7 +45,6 @@ PORT = 2089 | |||
45 | PORT = 2088 | 45 | PORT = 2088 |
46 | 46 | ||
47 | [arm] | 47 | [arm] |
48 | DEFAULTSERVICES = | ||
49 | PORT = 2087 | 48 | PORT = 2087 |
50 | 49 | ||
51 | [transport-tcp] | 50 | [transport-tcp] |
diff --git a/src/revocation/revocation.conf.in b/src/revocation/revocation.conf.in index 9718b68e4..3b11ffba6 100644 --- a/src/revocation/revocation.conf.in +++ b/src/revocation/revocation.conf.in | |||
@@ -1,5 +1,6 @@ | |||
1 | [revocation] | 1 | [revocation] |
2 | AUTOSTART = @AUTOSTART@ | 2 | AUTOSTART = @AUTOSTART@ |
3 | FORCESTART = YES | ||
3 | @JAVAPORT@PORT = 2112 | 4 | @JAVAPORT@PORT = 2112 |
4 | HOSTNAME = localhost | 5 | HOSTNAME = localhost |
5 | BINARY = gnunet-service-revocation | 6 | BINARY = gnunet-service-revocation |
diff --git a/src/revocation/test_revocation.conf b/src/revocation/test_revocation.conf index f6eb33602..04ee95055 100644 --- a/src/revocation/test_revocation.conf +++ b/src/revocation/test_revocation.conf | |||
@@ -4,9 +4,7 @@ SERVICEHOME=/tmp/test-revocation-service | |||
4 | 4 | ||
5 | [revocation] | 5 | [revocation] |
6 | WORKBITS = 3 | 6 | WORKBITS = 3 |
7 | 7 | FORCESTART = YES | |
8 | [arm] | ||
9 | DEFAULTSERVICES = core identity revocation | ||
10 | 8 | ||
11 | [identity] | 9 | [identity] |
12 | # Directory where we store information about our egos | 10 | # Directory where we store information about our egos |
@@ -17,9 +15,6 @@ SUBSYSTEM_CFG = $SERVICEHOME/s.conf | |||
17 | AUTOSTART = NO | 15 | AUTOSTART = NO |
18 | SERVERS = dummy | 16 | SERVERS = dummy |
19 | 17 | ||
20 | [transport-udp] | ||
21 | BROADCAST = NO | ||
22 | |||
23 | [nat] | 18 | [nat] |
24 | RETURN_LOCAL_ADDRESSES = YES | 19 | RETURN_LOCAL_ADDRESSES = YES |
25 | 20 | ||
diff --git a/src/rps/test_rps.conf b/src/rps/test_rps.conf index f27bf0717..0a5655d53 100644 --- a/src/rps/test_rps.conf +++ b/src/rps/test_rps.conf | |||
@@ -19,16 +19,12 @@ INITSIZE = 4 | |||
19 | 19 | ||
20 | ALPHA = 0.45 | 20 | ALPHA = 0.45 |
21 | 21 | ||
22 | |||
23 | [arm] | ||
24 | DEFAULTSERVICES = core ats transport cadet nse rps | ||
25 | |||
26 | [testbed] | 22 | [testbed] |
27 | OPERATION_TIMEOUT = 60 s | 23 | OPERATION_TIMEOUT = 60 s |
28 | 24 | ||
29 | MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1 | 25 | MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1 |
30 | OVERLAY_TOPOLOGY = CLIQUE | 26 | OVERLAY_TOPOLOGY = CLIQUE |
31 | #SCALE_FREE_TOPOLOGY_CAP = | 27 | #SCALE_FREE_TOPOLOGY_CAP = |
32 | 28 | ||
33 | OVERLAY_RANDOM_LINKS = 5 | 29 | OVERLAY_RANDOM_LINKS = 5 |
34 | 30 | ||
diff --git a/src/scalarproduct/test_scalarproduct.conf b/src/scalarproduct/test_scalarproduct.conf index cd93ef158..ffa6336af 100644 --- a/src/scalarproduct/test_scalarproduct.conf +++ b/src/scalarproduct/test_scalarproduct.conf | |||
@@ -1,7 +1,3 @@ | |||
1 | [arm] | ||
2 | DEFAULTSERVICES = core cadet statistics set | ||
3 | PORT = 12366 | ||
4 | |||
5 | [PATHS] | 1 | [PATHS] |
6 | GNUNET_TEST_HOME = /tmp/test-scalarproduct/ | 2 | GNUNET_TEST_HOME = /tmp/test-scalarproduct/ |
7 | 3 | ||
diff --git a/src/secretsharing/gnunet-service-secretsharing.c b/src/secretsharing/gnunet-service-secretsharing.c index 0a22561cd..a0e440084 100644 --- a/src/secretsharing/gnunet-service-secretsharing.c +++ b/src/secretsharing/gnunet-service-secretsharing.c | |||
@@ -409,7 +409,9 @@ time_between (struct GNUNET_TIME_Absolute start, | |||
409 | static int | 409 | static int |
410 | peer_id_cmp (const void *p1, const void *p2) | 410 | peer_id_cmp (const void *p1, const void *p2) |
411 | { | 411 | { |
412 | return memcmp (p1, p2, sizeof (struct GNUNET_PeerIdentity)); | 412 | return memcmp (p1, |
413 | p2, | ||
414 | sizeof (struct GNUNET_PeerIdentity)); | ||
413 | } | 415 | } |
414 | 416 | ||
415 | 417 | ||
@@ -427,8 +429,11 @@ peer_find (const struct GNUNET_PeerIdentity *haystack, unsigned int n, | |||
427 | const struct GNUNET_PeerIdentity *needle) | 429 | const struct GNUNET_PeerIdentity *needle) |
428 | { | 430 | { |
429 | unsigned int i; | 431 | unsigned int i; |
432 | |||
430 | for (i = 0; i < n; i++) | 433 | for (i = 0; i < n; i++) |
431 | if (0 == memcmp (&haystack[i], needle, sizeof (struct GNUNET_PeerIdentity))) | 434 | if (0 == memcmp (&haystack[i], |
435 | needle, | ||
436 | sizeof (struct GNUNET_PeerIdentity))) | ||
432 | return i; | 437 | return i; |
433 | return -1; | 438 | return -1; |
434 | } | 439 | } |
@@ -468,8 +473,13 @@ normalize_peers (struct GNUNET_PeerIdentity *listed, | |||
468 | if (GNUNET_NO == local_peer_in_list) | 473 | if (GNUNET_NO == local_peer_in_list) |
469 | normalized[n - 1] = my_peer; | 474 | normalized[n - 1] = my_peer; |
470 | 475 | ||
471 | memcpy (normalized, listed, num_listed * sizeof (struct GNUNET_PeerIdentity)); | 476 | memcpy (normalized, |
472 | qsort (normalized, n, sizeof (struct GNUNET_PeerIdentity), &peer_id_cmp); | 477 | listed, |
478 | num_listed * sizeof (struct GNUNET_PeerIdentity)); | ||
479 | qsort (normalized, | ||
480 | n, | ||
481 | sizeof (struct GNUNET_PeerIdentity), | ||
482 | &peer_id_cmp); | ||
473 | 483 | ||
474 | if (NULL != my_peer_idx) | 484 | if (NULL != my_peer_idx) |
475 | *my_peer_idx = peer_find (normalized, n, &my_peer); | 485 | *my_peer_idx = peer_find (normalized, n, &my_peer); |
diff --git a/src/secretsharing/test_secretsharing.conf b/src/secretsharing/test_secretsharing.conf index ec31ae8f0..9980666cd 100644 --- a/src/secretsharing/test_secretsharing.conf +++ b/src/secretsharing/test_secretsharing.conf | |||
@@ -10,10 +10,6 @@ AUTOSTART = YES | |||
10 | OPTIONS = -LERROR | 10 | OPTIONS = -LERROR |
11 | PLUGINS = unix | 11 | PLUGINS = unix |
12 | 12 | ||
13 | |||
14 | [arm] | ||
15 | DEFAULTSERVICES = core consensus set secretsharing | ||
16 | |||
17 | [set] | 13 | [set] |
18 | OPTIONS = -L INFO | 14 | OPTIONS = -L INFO |
19 | AUTOSTART = YES | 15 | AUTOSTART = YES |
@@ -23,7 +19,7 @@ AUTOSTART = YES | |||
23 | OVERLAY_TOPOLOGY = CLIQUE | 19 | OVERLAY_TOPOLOGY = CLIQUE |
24 | 20 | ||
25 | [hostlist] | 21 | [hostlist] |
26 | SERVERS = | 22 | SERVERS = |
27 | 23 | ||
28 | [nat] | 24 | [nat] |
29 | # Use addresses from the local network interfaces (inluding loopback, but also others) | 25 | # Use addresses from the local network interfaces (inluding loopback, but also others) |
diff --git a/src/sensor/gnunet-sensor-profiler.conf b/src/sensor/gnunet-sensor-profiler.conf index 34a0f41b2..1c9cdb3bd 100644 --- a/src/sensor/gnunet-sensor-profiler.conf +++ b/src/sensor/gnunet-sensor-profiler.conf | |||
@@ -1,9 +1,6 @@ | |||
1 | [testbed] | 1 | [testbed] |
2 | OVERLAY_TOPOLOGY = FROM_FILE | 2 | OVERLAY_TOPOLOGY = FROM_FILE |
3 | 3 | ||
4 | [arm] | ||
5 | DEFAULTSERVICES = topology dht cadet | ||
6 | |||
7 | [sensor] | 4 | [sensor] |
8 | SENSOR_DIR = /tmp/gnunet-sensor-profiler/ | 5 | SENSOR_DIR = /tmp/gnunet-sensor-profiler/ |
9 | 6 | ||
diff --git a/src/sensor/test_gnunet-service-sensor_reporting.conf b/src/sensor/test_gnunet-service-sensor_reporting.conf index 6c1ad845b..119191f01 100644 --- a/src/sensor/test_gnunet-service-sensor_reporting.conf +++ b/src/sensor/test_gnunet-service-sensor_reporting.conf | |||
@@ -1,9 +1,6 @@ | |||
1 | [testbed] | 1 | [testbed] |
2 | OVERLAY_TOPOLOGY = CLIQUE | 2 | OVERLAY_TOPOLOGY = CLIQUE |
3 | 3 | ||
4 | [arm] | ||
5 | DEFAULTSERVICES = topology dht cadet | ||
6 | |||
7 | [sensor] | 4 | [sensor] |
8 | #PREFIX = valgrind --leak-check=full | 5 | #PREFIX = valgrind --leak-check=full |
9 | SENSOR_DIR = /tmp/test-gnunet-service-sensor-reporting/ | 6 | SENSOR_DIR = /tmp/test-gnunet-service-sensor-reporting/ |
diff --git a/src/sensor/test_pow_sign.conf b/src/sensor/test_pow_sign.conf index ae23d4d26..e69de29bb 100644 --- a/src/sensor/test_pow_sign.conf +++ b/src/sensor/test_pow_sign.conf | |||
@@ -1,2 +0,0 @@ | |||
1 | [arm] | ||
2 | DEFAULTSERVICES = core \ No newline at end of file | ||
diff --git a/src/set/test_set.conf b/src/set/test_set.conf index 8b727d2f8..011a5ed4b 100644 --- a/src/set/test_set.conf +++ b/src/set/test_set.conf | |||
@@ -2,9 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/test-gnunet-set/ | 3 | GNUNET_TEST_HOME = /tmp/test-gnunet-set/ |
4 | 4 | ||
5 | [arm] | ||
6 | DEFAULTSERVICES = topology dht nse cadet | ||
7 | |||
8 | [set] | 5 | [set] |
9 | AUTOSTART = YES | 6 | AUTOSTART = YES |
10 | @UNIXONLY@ PORT = 2106 | 7 | @UNIXONLY@ PORT = 2106 |
diff --git a/src/social/test_social.conf b/src/social/test_social.conf index 5fcfb8d3b..e69de29bb 100644 --- a/src/social/test_social.conf +++ b/src/social/test_social.conf | |||
@@ -1,2 +0,0 @@ | |||
1 | [arm] | ||
2 | DEFAULTSERVICES = statistics core transport dht cadet multicast psycstore psyc social | ||
diff --git a/src/statistics/test_statistics_api_data.conf b/src/statistics/test_statistics_api_data.conf index e458f08bf..c4fdb6aec 100644 --- a/src/statistics/test_statistics_api_data.conf +++ b/src/statistics/test_statistics_api_data.conf | |||
@@ -8,47 +8,28 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/test-statistics-service-statistics.unix | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 22354 | 10 | PORT = 22354 |
11 | DEFAULTSERVICES = | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-statistics-service-arm.unix | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/test-statistics-service-arm.unix |
13 | 12 | ||
14 | [fs] | 13 | [hostlist] |
15 | AUTOSTART = NO | 14 | FORCESTART = NO |
16 | 15 | ||
17 | [datastore] | 16 | [datastore] |
18 | AUTOSTART = NO | 17 | FORCESTART = NO |
19 | 18 | ||
20 | [dht] | 19 | [dht] |
21 | AUTOSTART = NO | 20 | FORCESTART = NO |
22 | |||
23 | [transport] | ||
24 | AUTOSTART = NO | ||
25 | |||
26 | [core] | ||
27 | AUTOSTART = NO | ||
28 | |||
29 | [peerinfo] | ||
30 | AUTOSTART = NO | ||
31 | |||
32 | [dns] | ||
33 | AUTOSTART = NO | ||
34 | 21 | ||
35 | [nse] | 22 | [nse] |
36 | AUTOSTART = NO | 23 | FORCESTART = NO |
37 | |||
38 | [lockmanager] | ||
39 | AUTOSTART = NO | ||
40 | 24 | ||
41 | [ats] | 25 | [cadet] |
42 | AUTOSTART = NO | 26 | FORCESTART = NO |
43 | 27 | ||
44 | [namestore] | 28 | [revocation] |
45 | AUTOSTART = NO | 29 | FORCESTART = NO |
46 | 30 | ||
47 | [gns] | 31 | [topology] |
48 | AUTOSTART = NO | 32 | FORCESTART = NO |
49 | 33 | ||
50 | [vpn] | 34 | [fs] |
51 | AUTOSTART = NO | 35 | FORCESTART = NO \ No newline at end of file |
52 | |||
53 | [consensus] | ||
54 | AUTOSTART = NO | ||
diff --git a/src/testbed/test_testbed_api_template.conf b/src/testbed/test_testbed_api_template.conf index f08cb5b9a..f7c9b7c76 100644 --- a/src/testbed/test_testbed_api_template.conf +++ b/src/testbed/test_testbed_api_template.conf | |||
@@ -6,18 +6,6 @@ HOSTNAME = localhost | |||
6 | OVERLAY_TOPOLOGY = NONE | 6 | OVERLAY_TOPOLOGY = NONE |
7 | #PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args | 7 | #PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args |
8 | 8 | ||
9 | [fs] | ||
10 | AUTOSTART = NO | ||
11 | |||
12 | [resolver] | ||
13 | AUTOSTART = NO | ||
14 | |||
15 | [cadet] | ||
16 | AUTOSTART = NO | ||
17 | |||
18 | [dht] | ||
19 | AUTOSTART = NO | ||
20 | |||
21 | [dhtcache] | 9 | [dhtcache] |
22 | QUOTA = 1 MB | 10 | QUOTA = 1 MB |
23 | DATABASE = heap | 11 | DATABASE = heap |
@@ -27,54 +15,22 @@ PLUGINS = udp | |||
27 | ACCEPT_FROM6 = ::1; | 15 | ACCEPT_FROM6 = ::1; |
28 | ACCEPT_FROM = 127.0.0.1; | 16 | ACCEPT_FROM = 127.0.0.1; |
29 | NEIGHBOUR_LIMIT = 50 | 17 | NEIGHBOUR_LIMIT = 50 |
30 | PORT = 12365 | ||
31 | 18 | ||
32 | [ats] | 19 | [ats] |
33 | WAN_QUOTA_OUT = 3932160 | 20 | WAN_QUOTA_OUT = 3932160 |
34 | WAN_QUOTA_IN = 3932160 | 21 | WAN_QUOTA_IN = 3932160 |
35 | 22 | ||
36 | [core] | 23 | [core] |
37 | PORT = 12092 | ||
38 | AUTOSTART = YES | ||
39 | USE_EPHEMERAL_KEYS = NO | 24 | USE_EPHEMERAL_KEYS = NO |
40 | 25 | ||
41 | [arm] | ||
42 | DEFAULTSERVICES = core transport | ||
43 | PORT = 12366 | ||
44 | |||
45 | [transport-udp] | 26 | [transport-udp] |
46 | TIMEOUT = 300 s | 27 | TIMEOUT = 300 s |
47 | PORT = 12368 | ||
48 | |||
49 | [gnunetd] | ||
50 | HOSTKEY = $GNUNET_TEST_HOME/.hostkey | ||
51 | 28 | ||
52 | [PATHS] | 29 | [PATHS] |
53 | GNUNET_TEST_HOME = /tmp/test-testbed/ | 30 | GNUNET_TEST_HOME = /tmp/test-testbed/ |
54 | 31 | ||
55 | [dns] | ||
56 | AUTOSTART = NO | ||
57 | |||
58 | [nse] | ||
59 | AUTOSTART = NO | ||
60 | |||
61 | [vpn] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [nat] | 32 | [nat] |
65 | RETURN_LOCAL_ADDRESSES = YES | 33 | RETURN_LOCAL_ADDRESSES = YES |
66 | 34 | ||
67 | [gns-helper-service-w32] | ||
68 | AUTOSTART = NO | ||
69 | |||
70 | [consensus] | ||
71 | AUTOSTART = NO | ||
72 | |||
73 | [gns] | ||
74 | AUTOSTART = NO | ||
75 | |||
76 | [statistics] | ||
77 | AUTOSTART = NO | ||
78 | |||
79 | [peerinfo] | 35 | [peerinfo] |
80 | NO_IO = YES | 36 | NO_IO = YES |
diff --git a/src/testing/test_testing_defaults.conf b/src/testing/test_testing_defaults.conf index 7a174b9dd..ec0334c05 100644 --- a/src/testing/test_testing_defaults.conf +++ b/src/testing/test_testing_defaults.conf | |||
@@ -1,36 +1,15 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-testing/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-testing/ |
3 | 3 | ||
4 | [resolver] | ||
5 | PORT = 2564 | ||
6 | |||
7 | [transport] | 4 | [transport] |
8 | PORT = 2565 | ||
9 | PLUGINS = tcp | 5 | PLUGINS = tcp |
10 | 6 | ||
11 | [transport-tcp] | 7 | [transport-tcp] |
12 | TESTING_IGNORE_KEYS = SOMETHING;KEY1;ACCEPT_FROM; | 8 | TESTING_IGNORE_KEYS = SOMETHING;KEY1;ACCEPT_FROM; |
13 | 9 | ||
14 | [arm] | ||
15 | PORT = 2566 | ||
16 | DEFAULTSERVICES = | ||
17 | |||
18 | [statistics] | ||
19 | PORT = 2567 | ||
20 | |||
21 | [transport-tcp] | 10 | [transport-tcp] |
22 | PORT = 2568 | ||
23 | BINDTO = 127.0.0.1 | 11 | BINDTO = 127.0.0.1 |
24 | 12 | ||
25 | [peerinfo] | ||
26 | PORT = 2569 | ||
27 | |||
28 | [core] | ||
29 | PORT = 2570 | ||
30 | |||
31 | [dht] | ||
32 | AUTOSTART = NO | ||
33 | |||
34 | [nat] | 13 | [nat] |
35 | DISABLEV6 = YES | 14 | DISABLEV6 = YES |
36 | ENABLE_UPNP = NO | 15 | ENABLE_UPNP = NO |
@@ -40,39 +19,3 @@ INTERNAL_ADDRESS = 127.0.0.1 | |||
40 | EXTERNAL_ADDRESS = 127.0.0.1 | 19 | EXTERNAL_ADDRESS = 127.0.0.1 |
41 | USE_LOCALADDR = NO | 20 | USE_LOCALADDR = NO |
42 | 21 | ||
43 | [dns] | ||
44 | AUTOSTART = NO | ||
45 | |||
46 | [nse] | ||
47 | AUTOSTART = NO | ||
48 | |||
49 | [cadet] | ||
50 | AUTOSTART = NO | ||
51 | |||
52 | [datastore] | ||
53 | AUTOSTART = NO | ||
54 | |||
55 | [fs] | ||
56 | AUTOSTART = NO | ||
57 | |||
58 | [dv] | ||
59 | AUTOSTART = NO | ||
60 | |||
61 | [chat] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [vpn] | ||
65 | AUTOSTART = NO | ||
66 | |||
67 | [gns] | ||
68 | AUTOSTART = NO | ||
69 | |||
70 | [namestore] | ||
71 | AUTOSTART = NO | ||
72 | |||
73 | [lockmanager] | ||
74 | AUTOSTART = NO | ||
75 | |||
76 | [consensus] | ||
77 | AUTOSTART = NO | ||
78 | |||
diff --git a/src/testing/test_testing_sharedservices.conf b/src/testing/test_testing_sharedservices.conf index b8408774f..e1830edd2 100644 --- a/src/testing/test_testing_sharedservices.conf +++ b/src/testing/test_testing_sharedservices.conf | |||
@@ -6,37 +6,15 @@ PORT = 15000 | |||
6 | UNIXPATH = $GNUNET_RUNTIME_DIR/testbed-logger.sock | 6 | UNIXPATH = $GNUNET_RUNTIME_DIR/testbed-logger.sock |
7 | DIR = /tmp/testbed-logger | 7 | DIR = /tmp/testbed-logger |
8 | 8 | ||
9 | [resolver] | ||
10 | PORT = 2564 | ||
11 | |||
12 | [transport] | 9 | [transport] |
13 | PORT = 2565 | ||
14 | PLUGINS = tcp | 10 | PLUGINS = tcp |
15 | 11 | ||
16 | [transport-tcp] | 12 | [transport-tcp] |
17 | TESTING_IGNORE_KEYS = SOMETHING;KEY1;ACCEPT_FROM; | 13 | TESTING_IGNORE_KEYS = SOMETHING;KEY1;ACCEPT_FROM; |
18 | 14 | ||
19 | [arm] | ||
20 | PORT = 2566 | ||
21 | DEFAULTSERVICES = | ||
22 | |||
23 | [statistics] | ||
24 | PORT = 2567 | ||
25 | |||
26 | [transport-tcp] | 15 | [transport-tcp] |
27 | PORT = 2568 | ||
28 | BINDTO = 127.0.0.1 | 16 | BINDTO = 127.0.0.1 |
29 | 17 | ||
30 | [peerinfo] | ||
31 | PORT = 2569 | ||
32 | AUTOSTART = NO | ||
33 | |||
34 | [core] | ||
35 | PORT = 2570 | ||
36 | |||
37 | [dht] | ||
38 | AUTOSTART = NO | ||
39 | |||
40 | [nat] | 18 | [nat] |
41 | DISABLEV6 = YES | 19 | DISABLEV6 = YES |
42 | ENABLE_UPNP = NO | 20 | ENABLE_UPNP = NO |
@@ -46,39 +24,3 @@ INTERNAL_ADDRESS = 127.0.0.1 | |||
46 | EXTERNAL_ADDRESS = 127.0.0.1 | 24 | EXTERNAL_ADDRESS = 127.0.0.1 |
47 | USE_LOCALADDR = NO | 25 | USE_LOCALADDR = NO |
48 | 26 | ||
49 | [dns] | ||
50 | AUTOSTART = NO | ||
51 | |||
52 | [nse] | ||
53 | AUTOSTART = NO | ||
54 | |||
55 | [cadet] | ||
56 | AUTOSTART = NO | ||
57 | |||
58 | [datastore] | ||
59 | AUTOSTART = NO | ||
60 | |||
61 | [fs] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [dv] | ||
65 | AUTOSTART = NO | ||
66 | |||
67 | [chat] | ||
68 | AUTOSTART = NO | ||
69 | |||
70 | [vpn] | ||
71 | AUTOSTART = NO | ||
72 | |||
73 | [gns] | ||
74 | AUTOSTART = NO | ||
75 | |||
76 | [namestore] | ||
77 | AUTOSTART = NO | ||
78 | |||
79 | [lockmanager] | ||
80 | AUTOSTART = NO | ||
81 | |||
82 | [consensus] | ||
83 | AUTOSTART = NO | ||
84 | |||
diff --git a/src/topology/test_gnunet_daemon_topology_data.conf b/src/topology/test_gnunet_daemon_topology_data.conf index 79f12e5e1..a413ab72c 100644 --- a/src/topology/test_gnunet_daemon_topology_data.conf +++ b/src/topology/test_gnunet_daemon_topology_data.conf | |||
@@ -1,27 +1,15 @@ | |||
1 | [PATHS] | 1 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-topology/ | 2 | GNUNET_TEST_HOME = /tmp/test-gnunet-topology/ |
3 | 3 | ||
4 | [resolver] | ||
5 | PORT = 2664 | ||
6 | |||
7 | [transport] | 4 | [transport] |
8 | PORT = 2665 | ||
9 | PLUGINS = tcp | 5 | PLUGINS = tcp |
10 | #PREFIX = xterm -e xterm -T transport -e gdb -x cmd --args | 6 | #PREFIX = xterm -e xterm -T transport -e gdb -x cmd --args |
11 | #PREFIX = valgrind --tool=memcheck --log-file=logs%p | 7 | #PREFIX = valgrind --tool=memcheck --log-file=logs%p |
12 | 8 | ||
13 | [arm] | ||
14 | PORT = 2666 | ||
15 | DEFAULTSERVICES = topology | ||
16 | |||
17 | [testbed] | 9 | [testbed] |
18 | OVERLAY_TOPOLOGY=LINE | 10 | OVERLAY_TOPOLOGY=LINE |
19 | 11 | ||
20 | [statistics] | ||
21 | PORT = 2667 | ||
22 | |||
23 | [transport-tcp] | 12 | [transport-tcp] |
24 | PORT = 2668 | ||
25 | BINDTO = 127.0.0.1 | 13 | BINDTO = 127.0.0.1 |
26 | 14 | ||
27 | [nat] | 15 | [nat] |
@@ -34,36 +22,3 @@ EXTERNAL_ADDRESS = 127.0.0.1 | |||
34 | USE_LOCALADDR = NO | 22 | USE_LOCALADDR = NO |
35 | USE_HOSTNAME = NO | 23 | USE_HOSTNAME = NO |
36 | 24 | ||
37 | [peerinfo] | ||
38 | PORT = 2669 | ||
39 | |||
40 | [core] | ||
41 | PORT = 2670 | ||
42 | |||
43 | [topology] | ||
44 | #PREFIX = valgrind --tool=memcheck | ||
45 | |||
46 | [fs] | ||
47 | AUTOSTART = NO | ||
48 | |||
49 | [datastore] | ||
50 | AUTOSTART = NO | ||
51 | |||
52 | [testing] | ||
53 | WEAKRANDOM = YES | ||
54 | |||
55 | [testing_old] | ||
56 | HOSTKEYSFILE = ${DATADIR}/testing_hostkeys.dat | ||
57 | |||
58 | [dns] | ||
59 | AUTOSTART = NO | ||
60 | |||
61 | [namestore] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [nse] | ||
65 | AUTOSTART = NO | ||
66 | |||
67 | [consensus] | ||
68 | AUTOSTART = NO | ||
69 | |||
diff --git a/src/topology/topology.conf b/src/topology/topology.conf index 5e72d57ce..79dd52347 100644 --- a/src/topology/topology.conf +++ b/src/topology/topology.conf | |||
@@ -1,4 +1,5 @@ | |||
1 | [topology] | 1 | [topology] |
2 | FORCESTART = YES | ||
2 | MINIMUM-FRIENDS = 0 | 3 | MINIMUM-FRIENDS = 0 |
3 | FRIENDS-ONLY = NO | 4 | FRIENDS-ONLY = NO |
4 | TARGET-CONNECTION-COUNT = 16 | 5 | TARGET-CONNECTION-COUNT = 16 |
diff --git a/src/transport/perf_http_peer1.conf b/src/transport/perf_http_peer1.conf index b62be1ba1..fd99469ae 100644 --- a/src/transport/perf_http_peer1.conf +++ b/src/transport/perf_http_peer1.conf | |||
@@ -7,8 +7,6 @@ PORT = 12001 | |||
7 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock | 7 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock |
8 | PLUGINS = http_client | 8 | PLUGINS = http_client |
9 | 9 | ||
10 | [transport-http_client] | ||
11 | |||
12 | [nat] | 10 | [nat] |
13 | # Disable IPv6 support | 11 | # Disable IPv6 support |
14 | DISABLEV6 = YES | 12 | DISABLEV6 = YES |
@@ -18,7 +16,6 @@ RETURN_LOCAL_ADDRESSES = NO | |||
18 | 16 | ||
19 | [arm] | 17 | [arm] |
20 | PORT = 12005 | 18 | PORT = 12005 |
21 | DEFAULTSERVICES = transport hostlist | ||
22 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 19 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
23 | 20 | ||
24 | [statistics] | 21 | [statistics] |
diff --git a/src/transport/perf_http_peer2.conf b/src/transport/perf_http_peer2.conf index 8ae6970f6..3c6f7fd8e 100644 --- a/src/transport/perf_http_peer2.conf +++ b/src/transport/perf_http_peer2.conf | |||
@@ -19,7 +19,6 @@ RETURN_LOCAL_ADDRESSES = NO | |||
19 | 19 | ||
20 | [arm] | 20 | [arm] |
21 | PORT = 12014 | 21 | PORT = 12014 |
22 | DEFAULTSERVICES = transport hostlist | ||
23 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 22 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
24 | 23 | ||
25 | [statistics] | 24 | [statistics] |
diff --git a/src/transport/perf_https_peer1.conf b/src/transport/perf_https_peer1.conf index 6a2de711c..1f8c5bc90 100644 --- a/src/transport/perf_https_peer1.conf +++ b/src/transport/perf_https_peer1.conf | |||
@@ -18,7 +18,6 @@ RETURN_LOCAL_ADDRESSES = NO | |||
18 | 18 | ||
19 | [arm] | 19 | [arm] |
20 | PORT = 12005 | 20 | PORT = 12005 |
21 | DEFAULTSERVICES = transport hostlist | ||
22 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 21 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
23 | 22 | ||
24 | [statistics] | 23 | [statistics] |
diff --git a/src/transport/perf_https_peer2.conf b/src/transport/perf_https_peer2.conf index 8a613b794..96d09a9ba 100644 --- a/src/transport/perf_https_peer2.conf +++ b/src/transport/perf_https_peer2.conf | |||
@@ -19,7 +19,6 @@ RETURN_LOCAL_ADDRESSES = NO | |||
19 | 19 | ||
20 | [arm] | 20 | [arm] |
21 | PORT = 12014 | 21 | PORT = 12014 |
22 | DEFAULTSERVICES = transport hostlist | ||
23 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 22 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
24 | 23 | ||
25 | [statistics] | 24 | [statistics] |
diff --git a/src/transport/perf_tcp_peer1.conf b/src/transport/perf_tcp_peer1.conf index 9cca25b3c..610a88ab6 100644 --- a/src/transport/perf_tcp_peer1.conf +++ b/src/transport/perf_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport hostlist | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/perf_tcp_peer2.conf b/src/transport/perf_tcp_peer2.conf index 8f6b551e9..a39b985dc 100644 --- a/src/transport/perf_tcp_peer2.conf +++ b/src/transport/perf_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport hostlist | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/perf_udp_peer1.conf b/src/transport/perf_udp_peer1.conf index 89822048f..225303fee 100644 --- a/src/transport/perf_udp_peer1.conf +++ b/src/transport/perf_udp_peer1.conf | |||
@@ -24,7 +24,6 @@ RETURN_LOCAL_ADDRESSES = NO | |||
24 | 24 | ||
25 | [arm] | 25 | [arm] |
26 | PORT = 12005 | 26 | PORT = 12005 |
27 | DEFAULTSERVICES = transport hostlist | ||
28 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 27 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
29 | 28 | ||
30 | [statistics] | 29 | [statistics] |
diff --git a/src/transport/perf_udp_peer2.conf b/src/transport/perf_udp_peer2.conf index e8b065ead..6562da5aa 100644 --- a/src/transport/perf_udp_peer2.conf +++ b/src/transport/perf_udp_peer2.conf | |||
@@ -24,7 +24,6 @@ RETURN_LOCAL_ADDRESSES = NO | |||
24 | 24 | ||
25 | [arm] | 25 | [arm] |
26 | PORT = 12014 | 26 | PORT = 12014 |
27 | DEFAULTSERVICES = transport hostlist | ||
28 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 27 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
29 | 28 | ||
30 | [statistics] | 29 | [statistics] |
diff --git a/src/transport/perf_unix_peer1.conf b/src/transport/perf_unix_peer1.conf index 297ae4cbc..96cda0748 100644 --- a/src/transport/perf_unix_peer1.conf +++ b/src/transport/perf_unix_peer1.conf | |||
@@ -12,7 +12,6 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-unix.sock | |||
12 | 12 | ||
13 | [arm] | 13 | [arm] |
14 | PORT = 12005 | 14 | PORT = 12005 |
15 | DEFAULTSERVICES = transport hostlist | ||
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 15 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
17 | 16 | ||
18 | [statistics] | 17 | [statistics] |
diff --git a/src/transport/perf_unix_peer2.conf b/src/transport/perf_unix_peer2.conf index 587b47b68..a9178ed8f 100644 --- a/src/transport/perf_unix_peer2.conf +++ b/src/transport/perf_unix_peer2.conf | |||
@@ -13,7 +13,6 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-unix.sock | |||
13 | 13 | ||
14 | [arm] | 14 | [arm] |
15 | PORT = 12014 | 15 | PORT = 12014 |
16 | DEFAULTSERVICES = transport hostlist | ||
17 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
18 | 17 | ||
19 | [statistics] | 18 | [statistics] |
diff --git a/src/transport/template_cfg_peer1.conf b/src/transport/template_cfg_peer1.conf index 3042ce862..caab17154 100644 --- a/src/transport/template_cfg_peer1.conf +++ b/src/transport/template_cfg_peer1.conf | |||
@@ -18,7 +18,6 @@ PORT = 12007 | |||
18 | 18 | ||
19 | [arm] | 19 | [arm] |
20 | PORT = 12005 | 20 | PORT = 12005 |
21 | DEFAULTSERVICES = transport | ||
22 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 21 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
23 | 22 | ||
24 | [statistics] | 23 | [statistics] |
@@ -46,4 +45,4 @@ PORT = 12006 | |||
46 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-ats.sock | 45 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-ats.sock |
47 | 46 | ||
48 | [hostlist] | 47 | [hostlist] |
49 | SERVERS = dummy \ No newline at end of file | 48 | SERVERS = dummy |
diff --git a/src/transport/template_cfg_peer2.conf b/src/transport/template_cfg_peer2.conf index f81eeae62..fbac192c1 100644 --- a/src/transport/template_cfg_peer2.conf +++ b/src/transport/template_cfg_peer2.conf | |||
@@ -14,7 +14,6 @@ PORT = 12017 | |||
14 | 14 | ||
15 | [arm] | 15 | [arm] |
16 | PORT = 12014 | 16 | PORT = 12014 |
17 | DEFAULTSERVICES = transport | ||
18 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 17 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
19 | 18 | ||
20 | [statistics] | 19 | [statistics] |
@@ -40,4 +39,4 @@ PORT = 12016 | |||
40 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-ats.sock | 39 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-ats.sock |
41 | 40 | ||
42 | [hostlist] | 41 | [hostlist] |
43 | SERVERS = dummy \ No newline at end of file | 42 | SERVERS = dummy |
diff --git a/src/transport/test_plugin_transport_data.conf b/src/transport/test_plugin_transport_data.conf index c24403954..2b9d134dc 100644 --- a/src/transport/test_plugin_transport_data.conf +++ b/src/transport/test_plugin_transport_data.conf | |||
@@ -8,8 +8,6 @@ PORT = 2400 | |||
8 | [transport-udp] | 8 | [transport-udp] |
9 | PORT = 2401 | 9 | PORT = 2401 |
10 | 10 | ||
11 | [transport-unix] | ||
12 | |||
13 | [transport-wlan] | 11 | [transport-wlan] |
14 | INTERFACE = mon0 | 12 | INTERFACE = mon0 |
15 | TESTMODE = 1 | 13 | TESTMODE = 1 |
@@ -18,13 +16,9 @@ TESTMODE = 1 | |||
18 | INTERFACE = hci0 | 16 | INTERFACE = hci0 |
19 | TESTMODE = 1 | 17 | TESTMODE = 1 |
20 | 18 | ||
21 | [transport-http_client] | ||
22 | |||
23 | [transport-http_server] | 19 | [transport-http_server] |
24 | PORT = 2402 | 20 | PORT = 2402 |
25 | 21 | ||
26 | [transport-https_client] | ||
27 | |||
28 | [transport-https_server] | 22 | [transport-https_server] |
29 | PORT = 2403 | 23 | PORT = 2403 |
30 | 24 | ||
diff --git a/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf b/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf index d1e91a220..04c5161e9 100644 --- a/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf +++ b/src/transport/test_quota_compliance_tcp_asymmetric_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_quota_compliance_tcp_peer2.conf b/src/transport/test_quota_compliance_tcp_peer2.conf index c80e588ce..326943504 100644 --- a/src/transport/test_quota_compliance_tcp_peer2.conf +++ b/src/transport/test_quota_compliance_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_http_peer1.conf b/src/transport/test_transport_address_switch_http_peer1.conf index da35eae27..623d1c114 100644 --- a/src/transport/test_transport_address_switch_http_peer1.conf +++ b/src/transport/test_transport_address_switch_http_peer1.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12005 | 29 | PORT = 12005 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_http_peer2.conf b/src/transport/test_transport_address_switch_http_peer2.conf index 969485f80..b783b0710 100644 --- a/src/transport/test_transport_address_switch_http_peer2.conf +++ b/src/transport/test_transport_address_switch_http_peer2.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12014 | 29 | PORT = 12014 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_https_peer1.conf b/src/transport/test_transport_address_switch_https_peer1.conf index a95dc9029..4fe0ea574 100644 --- a/src/transport/test_transport_address_switch_https_peer1.conf +++ b/src/transport/test_transport_address_switch_https_peer1.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12005 | 29 | PORT = 12005 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_https_peer2.conf b/src/transport/test_transport_address_switch_https_peer2.conf index 61b073a6d..351e2af21 100644 --- a/src/transport/test_transport_address_switch_https_peer2.conf +++ b/src/transport/test_transport_address_switch_https_peer2.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12014 | 29 | PORT = 12014 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_tcp_peer1.conf b/src/transport/test_transport_address_switch_tcp_peer1.conf index e00c25631..34248b9e3 100644 --- a/src/transport/test_transport_address_switch_tcp_peer1.conf +++ b/src/transport/test_transport_address_switch_tcp_peer1.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12005 | 29 | PORT = 12005 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_tcp_peer2.conf b/src/transport/test_transport_address_switch_tcp_peer2.conf index b3fdcce09..91a699d76 100644 --- a/src/transport/test_transport_address_switch_tcp_peer2.conf +++ b/src/transport/test_transport_address_switch_tcp_peer2.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12014 | 29 | PORT = 12014 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_udp_peer1.conf b/src/transport/test_transport_address_switch_udp_peer1.conf index 12fe3d25f..69887cf25 100644 --- a/src/transport/test_transport_address_switch_udp_peer1.conf +++ b/src/transport/test_transport_address_switch_udp_peer1.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12005 | 29 | PORT = 12005 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_address_switch_udp_peer2.conf b/src/transport/test_transport_address_switch_udp_peer2.conf index f9f1cfa5e..a0b1d405c 100644 --- a/src/transport/test_transport_address_switch_udp_peer2.conf +++ b/src/transport/test_transport_address_switch_udp_peer2.conf | |||
@@ -27,7 +27,6 @@ TIMEOUT = 5 s | |||
27 | 27 | ||
28 | [arm] | 28 | [arm] |
29 | PORT = 12014 | 29 | PORT = 12014 |
30 | DEFAULTSERVICES = transport | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
32 | 31 | ||
33 | [statistics] | 32 | [statistics] |
diff --git a/src/transport/test_transport_api_bidirectional_connect_peer1.conf b/src/transport/test_transport_api_bidirectional_connect_peer1.conf index 855fa2557..dff464e45 100644 --- a/src/transport/test_transport_api_bidirectional_connect_peer1.conf +++ b/src/transport/test_transport_api_bidirectional_connect_peer1.conf | |||
@@ -4,7 +4,6 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p1/ | |||
4 | 4 | ||
5 | [arm] | 5 | [arm] |
6 | PORT = 12000 | 6 | PORT = 12000 |
7 | DEFAULTSERVICES = transport | ||
8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 7 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
9 | 8 | ||
10 | [statistics] | 9 | [statistics] |
diff --git a/src/transport/test_transport_api_bidirectional_connect_peer2.conf b/src/transport/test_transport_api_bidirectional_connect_peer2.conf index c81777ae3..245175788 100644 --- a/src/transport/test_transport_api_bidirectional_connect_peer2.conf +++ b/src/transport/test_transport_api_bidirectional_connect_peer2.conf | |||
@@ -4,7 +4,6 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-tcp-p2/ | |||
4 | 4 | ||
5 | [arm] | 5 | [arm] |
6 | PORT = 12010 | 6 | PORT = 12010 |
7 | DEFAULTSERVICES = transport | ||
8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 7 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
9 | 8 | ||
10 | [statistics] | 9 | [statistics] |
diff --git a/src/transport/test_transport_api_disconnect_tcp_peer1.conf b/src/transport/test_transport_api_disconnect_tcp_peer1.conf index 66daf44ec..297382fcf 100644 --- a/src/transport/test_transport_api_disconnect_tcp_peer1.conf +++ b/src/transport/test_transport_api_disconnect_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_disconnect_tcp_peer2.conf b/src/transport/test_transport_api_disconnect_tcp_peer2.conf index c80e588ce..326943504 100644 --- a/src/transport/test_transport_api_disconnect_tcp_peer2.conf +++ b/src/transport/test_transport_api_disconnect_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_http_peer1.conf b/src/transport/test_transport_api_http_peer1.conf index 238089c42..f7bc22fd2 100644 --- a/src/transport/test_transport_api_http_peer1.conf +++ b/src/transport/test_transport_api_http_peer1.conf | |||
@@ -6,7 +6,6 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-http-p1/ | |||
6 | 6 | ||
7 | [arm] | 7 | [arm] |
8 | PORT = 12085 | 8 | PORT = 12085 |
9 | DEFAULTSERVICES = transport | ||
10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 9 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
11 | 10 | ||
12 | [statistics] | 11 | [statistics] |
diff --git a/src/transport/test_transport_api_http_peer2.conf b/src/transport/test_transport_api_http_peer2.conf index f2b748fd8..4e443d890 100644 --- a/src/transport/test_transport_api_http_peer2.conf +++ b/src/transport/test_transport_api_http_peer2.conf | |||
@@ -9,7 +9,6 @@ USE_IPv6 = YES | |||
9 | 9 | ||
10 | [arm] | 10 | [arm] |
11 | PORT = 12095 | 11 | PORT = 12095 |
12 | DEFAULTSERVICES = transport | ||
13 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
14 | 13 | ||
15 | [statistics] | 14 | [statistics] |
diff --git a/src/transport/test_transport_api_http_reverse_peer1.conf b/src/transport/test_transport_api_http_reverse_peer1.conf index aebaf88e2..9b203a819 100644 --- a/src/transport/test_transport_api_http_reverse_peer1.conf +++ b/src/transport/test_transport_api_http_reverse_peer1.conf | |||
@@ -7,7 +7,6 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-http-p1/ | |||
7 | 7 | ||
8 | [arm] | 8 | [arm] |
9 | PORT = 12095 | 9 | PORT = 12095 |
10 | DEFAULTSERVICES = transport | ||
11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
12 | 11 | ||
13 | [statistics] | 12 | [statistics] |
diff --git a/src/transport/test_transport_api_http_reverse_peer2.conf b/src/transport/test_transport_api_http_reverse_peer2.conf index 210e44a02..e5a2fa73d 100644 --- a/src/transport/test_transport_api_http_reverse_peer2.conf +++ b/src/transport/test_transport_api_http_reverse_peer2.conf | |||
@@ -16,7 +16,6 @@ EXTERNAL_HOSTNAME_ONLY = YES | |||
16 | 16 | ||
17 | [arm] | 17 | [arm] |
18 | PORT = 12085 | 18 | PORT = 12085 |
19 | DEFAULTSERVICES = transport | ||
20 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 19 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
21 | 20 | ||
22 | [statistics] | 21 | [statistics] |
diff --git a/src/transport/test_transport_api_limited_sockets_tcp_peer1.conf b/src/transport/test_transport_api_limited_sockets_tcp_peer1.conf index 2e9912593..4cdfdcdee 100644 --- a/src/transport/test_transport_api_limited_sockets_tcp_peer1.conf +++ b/src/transport/test_transport_api_limited_sockets_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_limited_sockets_tcp_peer2.conf b/src/transport/test_transport_api_limited_sockets_tcp_peer2.conf index 06bd8aeca..da6e70185 100644 --- a/src/transport/test_transport_api_limited_sockets_tcp_peer2.conf +++ b/src/transport/test_transport_api_limited_sockets_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_manipulation_cfg_peer1.conf b/src/transport/test_transport_api_manipulation_cfg_peer1.conf index 952230a49..49ddc3236 100644 --- a/src/transport/test_transport_api_manipulation_cfg_peer1.conf +++ b/src/transport/test_transport_api_manipulation_cfg_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
@@ -28,4 +27,4 @@ PORT = 12001 | |||
28 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock | 27 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock |
29 | PLUGINS = tcp | 28 | PLUGINS = tcp |
30 | MANIPULATE_DELAY_IN = 100 ms | 29 | MANIPULATE_DELAY_IN = 100 ms |
31 | MANIPULATE_DELAY_OUT = 100 ms \ No newline at end of file | 30 | MANIPULATE_DELAY_OUT = 100 ms |
diff --git a/src/transport/test_transport_api_manipulation_cfg_peer2.conf b/src/transport/test_transport_api_manipulation_cfg_peer2.conf index 85127bee4..fa3f25e04 100644 --- a/src/transport/test_transport_api_manipulation_cfg_peer2.conf +++ b/src/transport/test_transport_api_manipulation_cfg_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_manipulation_recv_tcp_peer1.conf b/src/transport/test_transport_api_manipulation_recv_tcp_peer1.conf index c05439ab2..d75e23e06 100644 --- a/src/transport/test_transport_api_manipulation_recv_tcp_peer1.conf +++ b/src/transport/test_transport_api_manipulation_recv_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_manipulation_recv_tcp_peer2.conf b/src/transport/test_transport_api_manipulation_recv_tcp_peer2.conf index c80e588ce..326943504 100644 --- a/src/transport/test_transport_api_manipulation_recv_tcp_peer2.conf +++ b/src/transport/test_transport_api_manipulation_recv_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_manipulation_send_tcp_peer1.conf b/src/transport/test_transport_api_manipulation_send_tcp_peer1.conf index c05439ab2..d75e23e06 100644 --- a/src/transport/test_transport_api_manipulation_send_tcp_peer1.conf +++ b/src/transport/test_transport_api_manipulation_send_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_manipulation_send_tcp_peer2.conf b/src/transport/test_transport_api_manipulation_send_tcp_peer2.conf index c80e588ce..326943504 100644 --- a/src/transport/test_transport_api_manipulation_send_tcp_peer2.conf +++ b/src/transport/test_transport_api_manipulation_send_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_multi_peer1.conf b/src/transport/test_transport_api_multi_peer1.conf index 0313f5b60..4a2bc08da 100644 --- a/src/transport/test_transport_api_multi_peer1.conf +++ b/src/transport/test_transport_api_multi_peer1.conf | |||
@@ -17,7 +17,6 @@ PORT = 12143 | |||
17 | 17 | ||
18 | [arm] | 18 | [arm] |
19 | PORT = 12149 | 19 | PORT = 12149 |
20 | DEFAULTSERVICES = transport | ||
21 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 20 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
22 | 21 | ||
23 | [statistics] | 22 | [statistics] |
diff --git a/src/transport/test_transport_api_multi_peer2.conf b/src/transport/test_transport_api_multi_peer2.conf index 2d548a66d..1cf0d9e2e 100644 --- a/src/transport/test_transport_api_multi_peer2.conf +++ b/src/transport/test_transport_api_multi_peer2.conf | |||
@@ -20,7 +20,6 @@ PORT = 12153 | |||
20 | 20 | ||
21 | [arm] | 21 | [arm] |
22 | PORT = 12159 | 22 | PORT = 12159 |
23 | DEFAULTSERVICES = transport | ||
24 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 23 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
25 | 24 | ||
26 | [statistics] | 25 | [statistics] |
diff --git a/src/transport/test_transport_api_reliability_tcp_nat_peer1.conf b/src/transport/test_transport_api_reliability_tcp_nat_peer1.conf index 6de950189..e3c14dc0b 100644 --- a/src/transport/test_transport_api_reliability_tcp_nat_peer1.conf +++ b/src/transport/test_transport_api_reliability_tcp_nat_peer1.conf | |||
@@ -13,7 +13,6 @@ TIMEOUT = 5 s | |||
13 | 13 | ||
14 | [arm] | 14 | [arm] |
15 | PORT = 1204 | 15 | PORT = 1204 |
16 | DEFAULTSERVICES = transport | ||
17 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
18 | 17 | ||
19 | [statistics] | 18 | [statistics] |
diff --git a/src/transport/test_transport_api_reliability_tcp_nat_peer2.conf b/src/transport/test_transport_api_reliability_tcp_nat_peer2.conf index 5e8b54a68..6a648c41c 100644 --- a/src/transport/test_transport_api_reliability_tcp_nat_peer2.conf +++ b/src/transport/test_transport_api_reliability_tcp_nat_peer2.conf | |||
@@ -12,7 +12,6 @@ TIMEOUT = 5 s | |||
12 | 12 | ||
13 | [arm] | 13 | [arm] |
14 | PORT = 12034 | 14 | PORT = 12034 |
15 | DEFAULTSERVICES = transport | ||
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 15 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
17 | 16 | ||
18 | [statistics] | 17 | [statistics] |
diff --git a/src/transport/test_transport_api_reliability_tcp_peer1.conf b/src/transport/test_transport_api_reliability_tcp_peer1.conf index 66daf44ec..297382fcf 100644 --- a/src/transport/test_transport_api_reliability_tcp_peer1.conf +++ b/src/transport/test_transport_api_reliability_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_reliability_tcp_peer2.conf b/src/transport/test_transport_api_reliability_tcp_peer2.conf index e6baa32f6..879223ad9 100644 --- a/src/transport/test_transport_api_reliability_tcp_peer2.conf +++ b/src/transport/test_transport_api_reliability_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_tcp_nat_peer1.conf b/src/transport/test_transport_api_tcp_nat_peer1.conf index 0b2e7a4d3..946d5e1cb 100644 --- a/src/transport/test_transport_api_tcp_nat_peer1.conf +++ b/src/transport/test_transport_api_tcp_nat_peer1.conf | |||
@@ -13,7 +13,6 @@ TIMEOUT = 5 s | |||
13 | 13 | ||
14 | [arm] | 14 | [arm] |
15 | PORT = 1204 | 15 | PORT = 1204 |
16 | DEFAULTSERVICES = transport | ||
17 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
18 | 17 | ||
19 | [statistics] | 18 | [statistics] |
diff --git a/src/transport/test_transport_api_tcp_nat_peer2.conf b/src/transport/test_transport_api_tcp_nat_peer2.conf index b2afa4a8d..eae20a8d5 100644 --- a/src/transport/test_transport_api_tcp_nat_peer2.conf +++ b/src/transport/test_transport_api_tcp_nat_peer2.conf | |||
@@ -12,7 +12,6 @@ TIMEOUT = 5 s | |||
12 | 12 | ||
13 | [arm] | 13 | [arm] |
14 | PORT = 12034 | 14 | PORT = 12034 |
15 | DEFAULTSERVICES = transport | ||
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 15 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
17 | 16 | ||
18 | [statistics] | 17 | [statistics] |
diff --git a/src/transport/test_transport_api_tcp_peer1.conf b/src/transport/test_transport_api_tcp_peer1.conf index c05439ab2..d75e23e06 100644 --- a/src/transport/test_transport_api_tcp_peer1.conf +++ b/src/transport/test_transport_api_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_tcp_peer2.conf b/src/transport/test_transport_api_tcp_peer2.conf index c80e588ce..326943504 100644 --- a/src/transport/test_transport_api_tcp_peer2.conf +++ b/src/transport/test_transport_api_tcp_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_timeout_http_peer1.conf b/src/transport/test_transport_api_timeout_http_peer1.conf index 9c3f90998..5811761d2 100644 --- a/src/transport/test_transport_api_timeout_http_peer1.conf +++ b/src/transport/test_transport_api_timeout_http_peer1.conf | |||
@@ -2,13 +2,8 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/test-transport/api-http-p1/ | 3 | GNUNET_TEST_HOME = /tmp/test-transport/api-http-p1/ |
4 | 4 | ||
5 | [nat] | ||
6 | |||
7 | [transport-http_client] | ||
8 | |||
9 | [arm] | 5 | [arm] |
10 | PORT = 12085 | 6 | PORT = 12085 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 7 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 8 | ||
14 | [statistics] | 9 | [statistics] |
diff --git a/src/transport/test_transport_api_timeout_http_peer2.conf b/src/transport/test_transport_api_timeout_http_peer2.conf index 7d0359fd2..934dc8c6c 100644 --- a/src/transport/test_transport_api_timeout_http_peer2.conf +++ b/src/transport/test_transport_api_timeout_http_peer2.conf | |||
@@ -2,8 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/test-transport/api-http-p2/ | 3 | GNUNET_TEST_HOME = /tmp/test-transport/api-http-p2/ |
4 | 4 | ||
5 | [nat] | ||
6 | |||
7 | [transport-http_server] | 5 | [transport-http_server] |
8 | PORT = 12090 | 6 | PORT = 12090 |
9 | USE_IPv6 = NO | 7 | USE_IPv6 = NO |
@@ -12,7 +10,6 @@ BINDTO = 127.0.0.1 | |||
12 | 10 | ||
13 | [arm] | 11 | [arm] |
14 | PORT = 12095 | 12 | PORT = 12095 |
15 | DEFAULTSERVICES = transport | ||
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 13 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
17 | 14 | ||
18 | [statistics] | 15 | [statistics] |
diff --git a/src/transport/test_transport_api_timeout_https_peer1.conf b/src/transport/test_transport_api_timeout_https_peer1.conf index 00980de99..8fc2edf2e 100644 --- a/src/transport/test_transport_api_timeout_https_peer1.conf +++ b/src/transport/test_transport_api_timeout_https_peer1.conf | |||
@@ -2,8 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | GNUNET_TEST_HOME = /tmp/test-transport/api-https-p1/ | 3 | GNUNET_TEST_HOME = /tmp/test-transport/api-https-p1/ |
4 | 4 | ||
5 | [transport-https_client] | ||
6 | |||
7 | [arm] | 5 | [arm] |
8 | PORT = 12105 | 6 | PORT = 12105 |
9 | 7 | ||
diff --git a/src/transport/test_transport_api_timeout_tcp_peer1.conf b/src/transport/test_transport_api_timeout_tcp_peer1.conf index 2e9912593..4cdfdcdee 100644 --- a/src/transport/test_transport_api_timeout_tcp_peer1.conf +++ b/src/transport/test_transport_api_timeout_tcp_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_api_timeout_tcp_peer2.conf b/src/transport/test_transport_api_timeout_tcp_peer2.conf index b3c68ac0e..2abd5331c 100644 --- a/src/transport/test_transport_api_timeout_tcp_peer2.conf +++ b/src/transport/test_transport_api_timeout_tcp_peer2.conf | |||
@@ -10,7 +10,6 @@ PORT = 12100 | |||
10 | 10 | ||
11 | [arm] | 11 | [arm] |
12 | PORT = 12014 | 12 | PORT = 12014 |
13 | DEFAULTSERVICES = transport | ||
14 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 13 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
15 | 14 | ||
16 | [statistics] | 15 | [statistics] |
diff --git a/src/transport/test_transport_api_udp_nat_peer1.conf b/src/transport/test_transport_api_udp_nat_peer1.conf index 526f3e6b1..23f280b5e 100644 --- a/src/transport/test_transport_api_udp_nat_peer1.conf +++ b/src/transport/test_transport_api_udp_nat_peer1.conf | |||
@@ -12,7 +12,6 @@ PORT = 0 | |||
12 | 12 | ||
13 | [arm] | 13 | [arm] |
14 | PORT = 12065 | 14 | PORT = 12065 |
15 | DEFAULTSERVICES = transport | ||
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 15 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
17 | 16 | ||
18 | [statistics] | 17 | [statistics] |
diff --git a/src/transport/test_transport_api_udp_nat_peer2.conf b/src/transport/test_transport_api_udp_nat_peer2.conf index 24bb6f691..702791846 100644 --- a/src/transport/test_transport_api_udp_nat_peer2.conf +++ b/src/transport/test_transport_api_udp_nat_peer2.conf | |||
@@ -10,7 +10,6 @@ PORT = 12070 | |||
10 | 10 | ||
11 | [arm] | 11 | [arm] |
12 | PORT = 12075 | 12 | PORT = 12075 |
13 | DEFAULTSERVICES = transport | ||
14 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 13 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
15 | 14 | ||
16 | [statistics] | 15 | [statistics] |
diff --git a/src/transport/test_transport_blacklisting_cfg_blp_peer1_full.conf b/src/transport/test_transport_blacklisting_cfg_blp_peer1_full.conf index f9b5a18cc..d9e665e35 100644 --- a/src/transport/test_transport_blacklisting_cfg_blp_peer1_full.conf +++ b/src/transport/test_transport_blacklisting_cfg_blp_peer1_full.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
@@ -33,4 +32,4 @@ PLUGINS = tcp | |||
33 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 | 32 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 |
34 | 33 | ||
35 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] | 34 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] |
36 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = \ No newline at end of file | 35 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = |
diff --git a/src/transport/test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf b/src/transport/test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf index b56cca0f6..3f5dd407f 100644 --- a/src/transport/test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf +++ b/src/transport/test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
@@ -34,4 +33,4 @@ PLUGINS = tcp udp | |||
34 | 33 | ||
35 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] | 34 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] |
36 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = tcp | 35 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = tcp |
37 | \ No newline at end of file | 36 | |
diff --git a/src/transport/test_transport_blacklisting_cfg_blp_peer1_plugin.conf b/src/transport/test_transport_blacklisting_cfg_blp_peer1_plugin.conf index 05f2d0891..d1650a014 100644 --- a/src/transport/test_transport_blacklisting_cfg_blp_peer1_plugin.conf +++ b/src/transport/test_transport_blacklisting_cfg_blp_peer1_plugin.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
@@ -34,4 +33,4 @@ PLUGINS = tcp | |||
34 | 33 | ||
35 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] | 34 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] |
36 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = tcp | 35 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = tcp |
37 | \ No newline at end of file | 36 | |
diff --git a/src/transport/test_transport_blacklisting_cfg_blp_peer2_full.conf b/src/transport/test_transport_blacklisting_cfg_blp_peer2_full.conf index 1700929f7..85e8d7518 100644 --- a/src/transport/test_transport_blacklisting_cfg_blp_peer2_full.conf +++ b/src/transport/test_transport_blacklisting_cfg_blp_peer2_full.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
@@ -34,4 +33,4 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock | |||
34 | 33 | ||
35 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] | 34 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] |
36 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = | 35 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = |
37 | \ No newline at end of file | 36 | |
diff --git a/src/transport/test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf b/src/transport/test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf index 34d4acd05..c16da07a9 100644 --- a/src/transport/test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf +++ b/src/transport/test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
@@ -33,4 +32,4 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock | |||
33 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 | 32 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 |
34 | 33 | ||
35 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] | 34 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] |
36 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = tcp \ No newline at end of file | 35 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = tcp |
diff --git a/src/transport/test_transport_blacklisting_cfg_blp_peer2_plugin.conf b/src/transport/test_transport_blacklisting_cfg_blp_peer2_plugin.conf index ad7fd4322..6af51d699 100644 --- a/src/transport/test_transport_blacklisting_cfg_blp_peer2_plugin.conf +++ b/src/transport/test_transport_blacklisting_cfg_blp_peer2_plugin.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
@@ -33,4 +32,4 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock | |||
33 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 | 32 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 |
34 | 33 | ||
35 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] | 34 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] |
36 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = tcp \ No newline at end of file | 35 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = tcp |
diff --git a/src/transport/test_transport_blacklisting_cfg_peer1.conf b/src/transport/test_transport_blacklisting_cfg_peer1.conf index c05439ab2..d75e23e06 100644 --- a/src/transport/test_transport_blacklisting_cfg_peer1.conf +++ b/src/transport/test_transport_blacklisting_cfg_peer1.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12005 | 10 | PORT = 12005 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_blacklisting_cfg_peer2.conf b/src/transport/test_transport_blacklisting_cfg_peer2.conf index e6baa32f6..879223ad9 100644 --- a/src/transport/test_transport_blacklisting_cfg_peer2.conf +++ b/src/transport/test_transport_blacklisting_cfg_peer2.conf | |||
@@ -8,7 +8,6 @@ TIMEOUT = 5 s | |||
8 | 8 | ||
9 | [arm] | 9 | [arm] |
10 | PORT = 12014 | 10 | PORT = 12014 |
11 | DEFAULTSERVICES = transport | ||
12 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 11 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
13 | 12 | ||
14 | [statistics] | 13 | [statistics] |
diff --git a/src/transport/test_transport_defaults.conf b/src/transport/test_transport_defaults.conf index 48cdb0022..40b92433e 100644 --- a/src/transport/test_transport_defaults.conf +++ b/src/transport/test_transport_defaults.conf | |||
@@ -4,29 +4,31 @@ GNUNET_TEST_HOME = /tmp/test-transport-api/ | |||
4 | [transport-tcp] | 4 | [transport-tcp] |
5 | TIMEOUT = 300 s | 5 | TIMEOUT = 300 s |
6 | 6 | ||
7 | [arm] | ||
8 | DEFAULTSERVICES = | ||
9 | |||
10 | [transport] | 7 | [transport] |
11 | #PREFIX = valgrind -v --gen-suppressions=yes | 8 | #PREFIX = valgrind -v --gen-suppressions=yes |
12 | 9 | ||
13 | [core] | 10 | [core] |
14 | AUTOSTART = NO | 11 | AUTOSTART = NO |
12 | FORCESTART = NO | ||
15 | 13 | ||
16 | [datastore] | 14 | [datastore] |
17 | AUTOSTART = NO | 15 | AUTOSTART = NO |
18 | 16 | ||
19 | [fs] | 17 | [fs] |
20 | AUTOSTART = NO | 18 | AUTOSTART = NO |
19 | FORCESTART = NO | ||
21 | 20 | ||
22 | [dht] | 21 | [dht] |
23 | AUTOSTART = NO | 22 | AUTOSTART = NO |
23 | FORCESTART = NO | ||
24 | 24 | ||
25 | [cadet] | 25 | [cadet] |
26 | AUTOSTART = NO | 26 | AUTOSTART = NO |
27 | FORCESTART = NO | ||
27 | 28 | ||
28 | [nse] | 29 | [nse] |
29 | AUTOSTART = NO | 30 | AUTOSTART = NO |
31 | FORCESTART = NO | ||
30 | 32 | ||
31 | [dns] | 33 | [dns] |
32 | AUTOSTART = NO | 34 | AUTOSTART = NO |
@@ -58,9 +60,6 @@ AUTOSTART = NO | |||
58 | [sensor] | 60 | [sensor] |
59 | AUTOSTART = NO | 61 | AUTOSTART = NO |
60 | 62 | ||
61 | [mesh] | ||
62 | AUTOSTART = NO | ||
63 | |||
64 | [set] | 63 | [set] |
65 | AUTOSTART = NO | 64 | AUTOSTART = NO |
66 | 65 | ||
@@ -75,6 +74,7 @@ AUTOSTART = NO | |||
75 | 74 | ||
76 | [revocation] | 75 | [revocation] |
77 | AUTOSTART = NO | 76 | AUTOSTART = NO |
77 | FORCESTART = NO | ||
78 | 78 | ||
79 | [nat] | 79 | [nat] |
80 | DISABLEV6 = NO | 80 | DISABLEV6 = NO |
@@ -83,8 +83,5 @@ BINDTO = 127.0.0.1 | |||
83 | INTERNAL_ADDRESS = 127.0.0.1 | 83 | INTERNAL_ADDRESS = 127.0.0.1 |
84 | EXTERNAL_ADDRESS = 127.0.0.1 | 84 | EXTERNAL_ADDRESS = 127.0.0.1 |
85 | 85 | ||
86 | [TESTING] | ||
87 | WEAKRANDOM = YES | ||
88 | |||
89 | [transport-udp] | 86 | [transport-udp] |
90 | BROADCAST_RECEIVE = no | 87 | BROADCAST_RECEIVE = no |
diff --git a/src/transport/test_transport_startonly.conf b/src/transport/test_transport_startonly.conf index 8e161382b..164a38f69 100644 --- a/src/transport/test_transport_startonly.conf +++ b/src/transport/test_transport_startonly.conf | |||
@@ -1,9 +1,6 @@ | |||
1 | @INLINE@ test_transport_defaults.conf | 1 | @INLINE@ test_transport_defaults.conf |
2 | [PATHS] | 2 | [PATHS] |
3 | 3 | ||
4 | [arm] | ||
5 | DEFAULTSERVICES = transport | ||
6 | |||
7 | [transport-tcp] | 4 | [transport-tcp] |
8 | PORT = 2094 | 5 | PORT = 2094 |
9 | 6 | ||
diff --git a/src/transport/test_transport_test_transport_address_switch_tcp_peer2.conf b/src/transport/test_transport_test_transport_address_switch_tcp_peer2.conf index 6542a826d..377cfe689 100644 --- a/src/transport/test_transport_test_transport_address_switch_tcp_peer2.conf +++ b/src/transport/test_transport_test_transport_address_switch_tcp_peer2.conf | |||
@@ -29,7 +29,6 @@ TIMEOUT = 5 s | |||
29 | 29 | ||
30 | [arm] | 30 | [arm] |
31 | PORT = 12014 | 31 | PORT = 12014 |
32 | DEFAULTSERVICES = transport | ||
33 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock | 32 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-arm.sock |
34 | 33 | ||
35 | [statistics] | 34 | [statistics] |