From 8bd2ff3eda0953fbd1f2e71a2a7c3f6048433cf4 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 28 May 2018 18:51:09 +0200 Subject: tests/py: Add missing JSON equivalent for rule in inet/tcp.t Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- tests/py/inet/tcp.t.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tests') diff --git a/tests/py/inet/tcp.t.json b/tests/py/inet/tcp.t.json index 559206df..f5df72aa 100644 --- a/tests/py/inet/tcp.t.json +++ b/tests/py/inet/tcp.t.json @@ -1021,6 +1021,22 @@ } ] +# tcp flags == syn +[ + { + "match": { + "left": { + "payload": { + "field": "flags", + "name": "tcp" + } + }, + "op": "==", + "right": "syn" + } + } +] + # tcp flags & (syn|fin) == (syn|fin) [ { -- cgit v1.2.3