From patchwork Fri Mar 1 01:28:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2114 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 4059588B0B9 for ; Thu, 28 Feb 2019 14:29:51 +0000 (GMT) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 449FLk5BHVz5KgVl; Thu, 28 Feb 2019 14:29:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364190; 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=PejB95XBP+oe69xZ4aiCrNqMDST7lj4n/4NS7hDxUeI=; b=gbvzn4+YMzhtvQlZQq/iU3CUMvdp07rAZm9teQCZ4bpye9GU+EhIfHcNPUTasA2x9EkpVx A8cWp4Z+5Jyh2nZvrup34jIb7V8VhgHmb7rkyTfINsgjlGvUtJzOa2QfuzlEBs8MAd+UsC YdRoIivnkttCwRhcTtI0t7rq8e/zgGNj49PknUtMsQHACde4LW+FnWZsdGqP/yi32Tbcjq Sq4fLfZmsGJOZFtO5FQx7DERiZLL/bqMNoroKjuecQqI1YTw7800BhXwIBMZdEfeg0VoGA z/2r8/VKqDBa180efGH/GP5DNILIJ0xl1RcRdfWi8L4zlIY2CPSm1xwwukQ/Dw== 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 449FKW5LDXz5KvHN; Thu, 28 Feb 2019 14:28:47 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364128; 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=PejB95XBP+oe69xZ4aiCrNqMDST7lj4n/4NS7hDxUeI=; b=ReFNEWqcdn/lXhhVqGiJoR8gZJxduF4quNKxMzZxAaHtJmLw5LI9lR20G2WFc5cd0StpQM pnrX2oREJGbineXOLBVdTl8oeDGRTbYmqRUzUejyAqDUXlpYKPHO7ngssu0vRJRQ/rCdDo nY7/c/1A13q/OYgXq7N6nYqKGPv5IuWfWBn34VWUh52qiWRUakzdNycEVBctBdW22wTM5s 8JAJ+MXtN9zOGmhlAkvEEzy9+oyHtmz4ges+vCR0W7siY7J0+oCCpNmMY2EG5n+HGcZ75z z5PE1tQNeSClPEJ3177lGYMHzVLcnnSylpFX5F+7srpWgfg7qgHZ00NYhaYSpQ== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 14/20] suricata: Use 64MB of RAM for defragmentation Date: Thu, 28 Feb 2019 14:28:19 +0000 Message-Id: <20190228142825.5153-15-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.82 / 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.72)[-0.907,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.82 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 | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index 6015c9e6d..397ddcb25 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -384,27 +384,13 @@ host-os-policy: # Defrag settings: defrag: - memcap: 32mb + memcap: 64mb hash-size: 65536 trackers: 65535 # number of defragmented flows to follow max-frags: 65535 # number of fragments to keep (higher than trackers) prealloc: yes timeout: 60 -# Enable defrag per host settings -# host-config: -# -# - dmz: -# timeout: 30 -# address: [192.168.1.0/24, 127.0.0.0/8, 1.1.1.0/24, 2.2.2.0/24, "1.1.1.1", "2.2.2.2", "::1"] -# -# - lan: -# timeout: 45 -# address: -# - 192.168.0.0/24 -# - 192.168.10.0/24 -# - 172.16.14.0/24 - # Flow settings: # By default, the reserved memory (memcap) for flows is 32MB. This is the limit # for flow allocation inside the engine. You can change this value to allow