diff --git a/test/issue33-filter-test-expect.xml b/test/issue33-filter-test-expect.xml new file mode 100644 index 0000000..9c1075c --- /dev/null +++ b/test/issue33-filter-test-expect.xml @@ -0,0 +1,22 @@ + + + + + icmp allow + pass + inet + keep state + any + 1 + TEST + yes + icmp + + 1 + + + 1 + + + + diff --git a/test/issue33-filter-test.xml b/test/issue33-filter-test.xml new file mode 100644 index 0000000..0711e09 --- /dev/null +++ b/test/issue33-filter-test.xml @@ -0,0 +1,22 @@ + + + + + icmp allow + pass + inet + keep state + any + 1 + TEST + yes + icmp + + XYZ + + + ABC + + + + diff --git a/test/issue33-filter-test.yml b/test/issue33-filter-test.yml new file mode 100644 index 0000000..50fab6a --- /dev/null +++ b/test/issue33-filter-test.yml @@ -0,0 +1,30 @@ +--- + +#local_config_path: cfg/test1.xml + +test_name: test consistent setting src/dest to network/address/any ... + +opn_filter: + - descr: icmp allow + settings: + - key: type + value: pass + - key: ipprotocol + value: inet + - key: statetype + value: keep state + - key: direction + value: any + - key: quick + value: '1' + - key: category + value: TEST + - key: floating + value: 'yes' + - key: protocol + value: icmp + - key: source/any + value: '1' + - key: destination/any + value: '1' +