From patchwork Fri Mar 1 01:28:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2110 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id C413D88B0B9 for ; Thu, 28 Feb 2019 14:29:31 +0000 (GMT) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 449FLM20Rmz5KgVH; Thu, 28 Feb 2019 14:29:31 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364171; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references:list-id:list-unsubscribe:list-subscribe:list-post; bh=/A8RilQwnwhHRh+giIT8Gyxag8NFlW1Yo/gOp1BUARw=; b=qBNTHqTSxGJ3ceeBVBOiXJd3NvGCJAtKagFXyUhT3sRCwfTXZ67Albp3HbFMeZtlM2c+wD TxV/kifP5yPDL+HadHp3ZDCLBDP8xvi2v1y2oGRaPl2aXfLbHb4esF3XS0LwGIklwiGEro /2UOEnmHOhhTFNH02kCwvJ5ooa3S+GcWfKBMZRIwWFerfeUQGByx/cZ+yKmCn4FS3LHD7/ QbqGIK4J8LNyb9sYY4C0dPuSFMRX9swphWyh1jj7zG4a66k+pjQU6Rmmj0Mjl6EXQFKaLy oVtou9tAWIB33rJFtP3Cv4eh4i6e1WwKK2XB3uGQ2rVQPslzlfmsf8WvWo1ccQ== Received: from ipfire.tremer.co.uk (unknown [88.215.19.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 449FKS2dB5z5KvHZ; Thu, 28 Feb 2019 14:28:44 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364124; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=/A8RilQwnwhHRh+giIT8Gyxag8NFlW1Yo/gOp1BUARw=; b=ydLAGxYDiIc/ymGh7ZRMk59oQmxiMNsCF0rQX2TRttesFOgkBGiSe6JHJRQTbZEgjc46d0 4JCYJg5pTwjNm71+jZTcX3grcrhX9DqQUSXW9PmbwCfSGJ+haq2C9r+Z/6cLFMGWzj16wr De0jraoHHPXvCJyopOvDer7HDPv45LQT/LmbftdgGED8zQ/w+bw47WivDkU+7D0zaB7Kx9 d0kZhZ8HXres41sxKkpfmAsfNxFaU2Q3vdeEDLPasb1ra5qoB7HIZYo8HQUNFXV4vm0zX8 z8JV5wUffKQK5nI0YYtHxoJQaj6jdzpTTcH+r5Uev5zc3wBs8P+wgXqMgOmC+w== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 10/20] suricata: Drop parsers I have never heard of Date: Thu, 28 Feb 2019 14:28:15 +0000 Message-Id: <20190228142825.5153-11-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20190228142825.5153-1-michael.tremer@ipfire.org> References: <20190228142825.5153-1-michael.tremer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=ms smtp.mailfrom=michael.tremer@ipfire.org X-Spamd-Result: default: False [-8.81 / 11.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLY(-4.00)[]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-2.71)[-0.903,0]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31655, ipnet:88.215.0.0/18, country:GB]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%] X-Spam-Status: No, score=-8.81 X-Rspamd-Server: mail01.i.ipfire.org Cc: Michael Tremer X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- config/suricata/suricata.yaml | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index 882dc1bd0..4ef0076eb 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -257,40 +257,6 @@ app-layer: double-decode-path: no double-decode-query: no - # Note: Modbus probe parser is minimalist due to the poor significant field - # Only Modbus message length (greater than Modbus header length) - # And Protocol ID (equal to 0) are checked in probing parser - # It is important to enable detection port and define Modbus port - # to avoid false positive - modbus: - # How many unreplied Modbus requests are considered a flood. - # If the limit is reached, app-layer-event:modbus.flooded; will match. - #request-flood: 500 - - enabled: no - detection-ports: - dp: 502 - # According to MODBUS Messaging on TCP/IP Implementation Guide V1.0b, it - # is recommended to keep the TCP connection opened with a remote device - # and not to open and close it for each MODBUS/TCP transaction. In that - # case, it is important to set the depth of the stream reassembling as - # unlimited (stream.reassembly.depth: 0) - - # Stream reassembly size for modbus. By default track it completely. - stream-depth: 0 - - # DNP3 - dnp3: - enabled: no - detection-ports: - dp: 20000 - - # SCADA EtherNet/IP and CIP protocol support - enip: - enabled: no - detection-ports: - dp: 44818 - sp: 44818 # Limit for the maximum number of asn1 frames to decode (default 256) asn1-max-frames: 256