summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/tcp.t.json.output
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/tcp.t.json.output')
-rw-r--r--tests/py/ip/tcp.t.json.output48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/py/ip/tcp.t.json.output b/tests/py/ip/tcp.t.json.output
new file mode 100644
index 00000000..eb5f53f7
--- /dev/null
+++ b/tests/py/ip/tcp.t.json.output
@@ -0,0 +1,48 @@
+# ip protocol tcp tcp dport ssh accept
+[
+ {
+ "match": {
+ "left": {
+ "payload": {
+ "field": "dport",
+ "name": "tcp"
+ }
+ },
+ "right": 22
+ }
+ },
+ {
+ "accept": null
+ }
+]
+
+# ip protocol ne tcp udp dport ssh accept
+[
+ {
+ "match": {
+ "left": {
+ "payload": {
+ "field": "protocol",
+ "name": "ip"
+ }
+ },
+ "op": "!=",
+ "right": 6
+ }
+ },
+ {
+ "match": {
+ "left": {
+ "payload": {
+ "field": "dport",
+ "name": "udp"
+ }
+ },
+ "right": 22
+ }
+ },
+ {
+ "accept": null
+ }
+]
+