From patchwork Fri Mar 1 01:28:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2102 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 30CED88B0B9 for ; Thu, 28 Feb 2019 14:28:52 +0000 (GMT) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 449FKb3Ztgz5KvHp; Thu, 28 Feb 2019 14:28:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364131; 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=mWUgJ+VeoY1bk2gKjKQocRGtZ6tExJVyE8uekXKLMcg=; b=x0SKBWmmgIR97IcszOT7B4uBn7veOZgWOvbk+imFXSGGzcw3RMe7R4uFH10YA01SAS6Mdj 8wJGPsoXykf1m/2dHc+sTIkYDPr1hW0ACFNL5ARtfOWEDbMCPbXLKpJjMfkvzeBVtgaKvG EzC+Lw7yilmBjuz4EUCZbttlcyNbiPIKV61r5RIE6FldqO1iedSDTqYQBYmX+ZDR7z1yZV aD6G6hsuKkRJw0NFLMp8Gxan+0SCeMJbnhWdNelFwTpf1mv3gnGoj4zEoz9CJy4X/h5y8H lahCFAvW8714ox/PQ6n/NDYpw6uoasLRYfx+iZBDZQLTWmdW7RBVrAtpxt2wjQ== 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 449FKL2Cv4z5KvGj; Thu, 28 Feb 2019 14:28:38 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364118; 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=mWUgJ+VeoY1bk2gKjKQocRGtZ6tExJVyE8uekXKLMcg=; b=p9JJKkiemqvM7H0JOmapGBHL2Bn8NP8plepgsTUKeonuUHCSMLVWecO1BMfjLAhhI+nVh1 phE3VtfZ0mAtrMKLuJJup5rorSynYSXIAgyGG0NznWHRGI5DhxX1cfeoLfU/ue/vQPqJ6u hh/fbqAumMeOMdXuoW2bx25r6U7WW9murO4hERlEBxxszMJBMNFEsOqJxAp564w72zelbT alnlGkWBGlvRvdjcSICkD+wYeQ7LJeKlB9IIJW11OnUdznrBP8lBpsnYxnLscSDtxC8NEa gHnpRfo7XzyWtJZ9cm7UqDLAyreaCz5Sv7CMX+bazdz10TISMWeBgq7lUFfaTg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 02/20] suricata: Set max-pending-packets to 1024 Date: Thu, 28 Feb 2019 14:28:07 +0000 Message-Id: <20190228142825.5153-3-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.79 / 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.69)[-0.898,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.79 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 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index 301a157a3..d94de87f1 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -412,11 +412,7 @@ host-mode: auto # Number of packets preallocated per thread. The default is 1024. A higher number # will make sure each CPU will be more easily kept busy, but may negatively # impact caching. -# -# If you are using the CUDA pattern matcher (mpm-algo: ac-cuda), different rules -# apply. In that case try something like 60000 or more. This is because the CUDA -# pattern matcher buffers and scans as many packets as possible in parallel. -#max-pending-packets: 1024 +max-pending-packets: 1024 # Runmode the engine should use. Please check --list-runmodes to get the available # runmodes for each packet acquisition method. Defaults to "autofp" (auto flow pinned