From patchwork Fri Mar 1 01:28:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2103 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 4783488B0B9 for ; Thu, 28 Feb 2019 14:28:57 +0000 (GMT) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 449FKh5RKmz5KvHh; Thu, 28 Feb 2019 14:28:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364136; 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=amvPLRQBgxCCgGL5egwP+X3BDtG60gocRgWidbBRAc8=; b=Y2C/z6YvwwgWw4r9Z8lM4B1lnrmo2p9pUUvYyvqn2SG0O1VYE9Ga4czFBqXIbvh6Kb3qgv fCLHTuNAaIcuToAkBPLKqR1HTregEAPUc6AqU0aBYPGr2Eg1v3nPzk+2eU2XNmHqzmNrPK I2rT+c945xNm3cP6BzGalK9ihHjbiVGx5RWqztuaavowvwLgi4ePWmn82IRfgrjLNAVWCM OiNMC8adn1U+peDPS5f/8Y5b4NK8ZbNTOTl6iPuxzpcRPDWzgHVxY60gH2bKmck6UqeaMh +Fqd27WRoeMeE/3+fmA9YVX0n1hZAGx1ijLERIFpBMUGOA2DSVCneBeAjO1W1g== 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 449FKL6VvFz5KvHC; 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=1551364119; 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=amvPLRQBgxCCgGL5egwP+X3BDtG60gocRgWidbBRAc8=; b=pMBWWojOkoTFSKGTQLTdzOujNPAq/8YPrI0QVZrsOHvlP/pFXqEUh42dHxTVUjWRxvrzw4 6AecLKuvc5rTlbI2QY9XPfZ8dctsGiP+ldYCccNVhH6QS9/lNoTK5r5gfgcQ0Xbvpd9sR+ lBtodv4m9bX9PAj6gLA8JushwhwseWsJlLRGLv+tKBbd7lBC6dbRncejy1i6SaXxt0POER CUGWa56Uu7xzk2f+Z6vc1058DydXwJvYa7eppDBf7k7JktScJ0v+Wg2sRoQi16M65Us19a 3aK0ewjRma5R7PUgl5eeYfmNQygyt/hrb5Sz0xe+rIO7hQDukmQMFZeIIkaRVw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 03/20] suricata: Set default packet size to 1514 Date: Thu, 28 Feb 2019 14:28:08 +0000 Message-Id: <20190228142825.5153-4-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.896,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" We usually use a MTU of 1500 + Ethernet header Signed-off-by: Michael Tremer --- config/suricata/suricata.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index d94de87f1..dc1163820 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -434,7 +434,7 @@ max-pending-packets: 1024 # Preallocated size for packet. Default is 1514 which is the classical # size for pcap on ethernet. You should adjust this value to the highest # packet size (MTU + hardware header) on your system. -#default-packet-size: 1514 +default-packet-size: 1514 # Unix command socket can be used to pass commands to suricata. # An external tool can then connect to get information from suricata