diff options
Diffstat (limited to 'tests/py/ip/ip_tcp.t.json.output')
-rw-r--r-- | tests/py/ip/ip_tcp.t.json.output | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/py/ip/ip_tcp.t.json.output b/tests/py/ip/ip_tcp.t.json.output new file mode 100644 index 00000000..bbc318a7 --- /dev/null +++ b/tests/py/ip/ip_tcp.t.json.output @@ -0,0 +1,49 @@ +# ip protocol tcp tcp dport 22 +[ + { + "match": { + "left": { + "payload": { + "field": "dport", + "name": "tcp" + } + }, + "right": 22 + } + } +] + +# ip protocol tcp meta mark set 1 tcp dport 22 +[ + { + "match": { + "left": { + "payload": { + "field": "protocol", + "name": "ip" + } + }, + "right": 6 + } + }, + { + "mangle": { + "left": { + "meta": "mark" + }, + "right": 1 + } + }, + { + "match": { + "left": { + "payload": { + "field": "dport", + "name": "tcp" + } + }, + "right": 22 + } + } +] + |