summaryrefslogtreecommitdiff
path: root/test/network_tests/security_tests/conf/security_test_config_client_external_deny.json.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/network_tests/security_tests/conf/security_test_config_client_external_deny.json.in')
-rw-r--r--test/network_tests/security_tests/conf/security_test_config_client_external_deny.json.in90
1 files changed, 90 insertions, 0 deletions
diff --git a/test/network_tests/security_tests/conf/security_test_config_client_external_deny.json.in b/test/network_tests/security_tests/conf/security_test_config_client_external_deny.json.in
new file mode 100644
index 0000000..1161f4f
--- /dev/null
+++ b/test/network_tests/security_tests/conf/security_test_config_client_external_deny.json.in
@@ -0,0 +1,90 @@
+{
+ "unicast" : "@TEST_IP_MASTER@",
+ "netmask" : "255.255.255.0",
+ "logging" :
+ {
+ "level" : "info",
+ "console" : "true",
+ "file" : { "enable" : "false", "path" : "/tmp/vsomeip.log" },
+ "dlt" : "false"
+ },
+ "applications" :
+ [
+ {
+ "name" : "client-sample",
+ "id" : "0x1255"
+ },
+ {
+ "name" : "routingmanagerd",
+ "id" : "0x2222"
+ }
+ ],
+ "services" :
+ [
+ {
+ "service" : "0x1234",
+ "instance" : "0x5678",
+ "unicast" : "@TEST_IP_MASTER@",
+ "unreliable" : "30509"
+ },
+ {
+ "service" : "0x111",
+ "instance" : "0x5678",
+ "unicast" : "@TEST_IP_MASTER@",
+ "unreliable" : "30509"
+ },
+ {
+ "service" : "0x1234",
+ "instance" : "0x02",
+ "unicast" : "@TEST_IP_MASTER@",
+ "unreliable" : "30509"
+ }
+ ],
+ "security" :
+ {
+ "check_credentials" : "true",
+ "allow_remote_clients" : "false",
+ "policies" :
+ [
+ {
+ "credentials" : { "uid" : "@TEST_UID@", "gid" : "@TEST_GID@" },
+ "allow" :
+ {
+ "requests":
+ [
+ {
+ "service" : "0x1234",
+ "instances" :
+ [
+ {
+ "ids" : ["0x5678"],
+ "methods" : [ {"first" : "0x8421", "last" : "0x8422" }, "0x8001", "0x7777" ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "routing" : "routingmanagerd",
+ "routing-credentials" :
+ {
+ "uid" : "@TEST_UID@",
+ "gid" : "@TEST_GID@"
+ },
+ "service-discovery" :
+ {
+ "enable" : "true",
+ "multicast" : "224.0.0.1",
+ "port" : "30490",
+ "protocol" : "udp",
+ "initial_delay_min" : "10",
+ "initial_delay_max" : "100",
+ "repetitions_base_delay" : "200",
+ "repetitions_max" : "3",
+ "ttl" : "3",
+ "cyclic_offer_delay" : "2000",
+ "request_response_delay" : "1500"
+ }
+}