From: Jason Ish Date: Fri, 12 Aug 2022 16:03:58 +0000 (-0600) Subject: eve-schema: add bittorrent-dht X-Git-Tag: suricata-7.0.0-rc1~438 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66fc92276afde354543be8d6424e48e1568ff520;p=thirdparty%2Fsuricata.git eve-schema: add bittorrent-dht --- diff --git a/etc/schema.json b/etc/schema.json index 2161f8b82f..1c03b7131c 100644 --- a/etc/schema.json +++ b/etc/schema.json @@ -303,6 +303,89 @@ }, "additionalProperties": false }, + "bittorrent-dht": { + "type": "object", + "optional": true, + "properties": { + "transaction_id": { + "type": "string" + }, + "client_version": { + "type": "string" + }, + "request_type": { + "type": "string" + }, + "request": { + "type": "object", + "additionalProperties": false, + "optional": true, + "properties": { + "id": { + "type": "string" + }, + "target": { + "type": "string", + "optional": true + }, + "implied_port": { + "type": "integer" + }, + "info_hash": { + "type": "string", + "optional": true + }, + "port": { + "type": "integer" + }, + "token": { + "type": "string", + "optional": true + } + } + }, + "response": { + "type": "object", + "additionalProperties": false, + "optional": true, + "properties": { + "id": { + "type": "string", + "optional": false + }, + "nodes": { + "type": "string", + "optional": true + }, + "token": { + "type": "string", + "optional": true + }, + "values": { + "type": "array", + "optional": true, + "items": { + "type": "string" + } + } + } + }, + "error": { + "type": "object", + "optional": true, + "additionalProperties": false, + "properties": { + "num": { + "type": "integer" + }, + "msg": { + "type": "string" + } + } + } + }, + "additionalProperties": false + }, "dcerpc": { "type": "object", "optional": true, @@ -3565,6 +3648,9 @@ "error": { "type": "object", "properties": { + "bittorrent-dht": { + "$ref": "#/$defs/stats_applayer_error" + }, "dcerpc_tcp": { "$ref": "#/$defs/stats_applayer_error" }, @@ -3670,6 +3756,9 @@ "flow": { "type": "object", "properties": { + "bittorrent-dht": { + "type": "integer" + }, "dcerpc_tcp": { "type": "integer" }, @@ -3784,6 +3873,9 @@ "tx": { "type": "object", "properties": { + "bittorrent-dht": { + "type": "integer" + }, "dcerpc_tcp": { "type": "integer" },