From 19b968849fadea2a4d88f9e76893fe7e714e58d6 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Wed, 8 Jun 2022 18:21:35 +0200 Subject: [PATCH] Added missing file --- tests/acls/acl_policy_basic_protocols.hujson | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tests/acls/acl_policy_basic_protocols.hujson diff --git a/tests/acls/acl_policy_basic_protocols.hujson b/tests/acls/acl_policy_basic_protocols.hujson new file mode 100644 index 00000000..6772c564 --- /dev/null +++ b/tests/acls/acl_policy_basic_protocols.hujson @@ -0,0 +1,41 @@ +// This ACL is used to test wildcards + +{ + "hosts": { + "host-1": "100.100.100.100", + "subnet-1": "100.100.101.100/24", + }, + + "acls": [ + { + "Action": "accept", + "src": [ + "*", + ], + "proto": "tcp", + "dst": [ + "host-1:*", + ], + }, + { + "Action": "accept", + "src": [ + "*", + ], + "proto": "udp", + "dst": [ + "host-1:53", + ], + }, + { + "Action": "accept", + "src": [ + "*", + ], + "proto": "icmp", + "dst": [ + "host-1:*", + ], + }, + ], +} \ No newline at end of file