diff options
Diffstat (limited to 'tests/py/inet/dccp.t.json')
-rw-r--r-- | tests/py/inet/dccp.t.json | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/tests/py/inet/dccp.t.json b/tests/py/inet/dccp.t.json index 76df530e..9260fbc5 100644 --- a/tests/py/inet/dccp.t.json +++ b/tests/py/inet/dccp.t.json @@ -78,6 +78,26 @@ } ] +# dccp sport { 20-50 } +[ + { + "match": { + "left": { + "payload": { + "field": "sport", + "protocol": "dccp" + } + }, + "op": "==", + "right": { + "set": [ + { "range": [ 20, 50 ] } + ] + } + } + } +] + # dccp sport ftp-data - re-mail-ck [ { @@ -114,6 +134,46 @@ } ] +# dccp sport { 20-50} +[ + { + "match": { + "left": { + "payload": { + "field": "sport", + "protocol": "dccp" + } + }, + "op": "==", + "right": { + "set": [ + { "range": [ 20, 50 ] } + ] + } + } + } +] + +# dccp sport != { 20-50} +[ + { + "match": { + "left": { + "payload": { + "field": "sport", + "protocol": "dccp" + } + }, + "op": "!=", + "right": { + "set": [ + { "range": [ 20, 50 ] } + ] + } + } + } +] + # dccp dport {23, 24, 25} [ { @@ -158,6 +218,46 @@ } ] +# dccp dport { 20-50} +[ + { + "match": { + "left": { + "payload": { + "field": "dport", + "protocol": "dccp" + } + }, + "op": "==", + "right": { + "set": [ + { "range": [ 20, 50 ] } + ] + } + } + } +] + +# dccp dport != { 20-50} +[ + { + "match": { + "left": { + "payload": { + "field": "dport", + "protocol": "dccp" + } + }, + "op": "!=", + "right": { + "set": [ + { "range": [ 20, 50 ] } + ] + } + } + } +] + # dccp type {request, response, data, ack, dataack, closereq, close, reset, sync, syncack} [ { |