From patchwork Fri Mar 1 01:28:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2113 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 B703188B0B9 for ; Thu, 28 Feb 2019 14:29:46 +0000 (GMT) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 449FLf1qGhz5KgVk; Thu, 28 Feb 2019 14:29:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364186; 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=JkYAmajuSuAvx3gsVHnAOZTeFYcFtum+Qn6mQ3KelJk=; b=dy+c9umisswDtpYaUCPZwEleFLUier0iIsGx7pZPKuzPll8uRr+dmMM/zSHtQvYAO799Uz m9v0iRQqXI2EGyjsfv0+pCu7DyXcFW7afifAmlfJ/W3bC4ac+FSpiFLcsvwls/NaLcy3qZ ClFeatViMS4iDNs2CGiIx0Cj/Nczna/dzMf5zqB7OZTaWmGkHRHpknC7wz41JLbf+gmaKs 6FZy1IXso5mizLOnSunU4CGkzAHKq3eP0FIGBrBPQNJu0HChhTTjxr+lMq3pMCT4d8v9fM ExWyc4vehhEzaAUf1vkbNbLL02TWbhC7GU3qycTtS2B3Jm3ZF3/SkMwDByBl5A== 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 449FKV5Y4lz5KvHY; Thu, 28 Feb 2019 14:28:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201801; t=1551364127; 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=JkYAmajuSuAvx3gsVHnAOZTeFYcFtum+Qn6mQ3KelJk=; b=Hf4PZfV2KUP//Vw+dzydu7etYaoh7Z2eexEnaJTk1NCvUM1+ZRwLQaLO7mqv3xou3a0Y38 E46RoYMpooV7ImWenC6I5kXySNCFNrSPNvgYiffMunujKx+JcuE8NurY+83HE918Pgtp8/ GIcIlW70c3Q6Xa+DNT99OWXO2829ZlMqCSOEo0mGUMO/XSYAa0y5W5OeQv9EEhIW1YTeeh fUfICf68sn4WkDa1oCvelHDkH2EI/KNHUcZ8j+RUQ5EPqc3MXCNX7/i/P90epCoVrkiwVe zDhQH8My6BatpdW5SQOYCzxwhO+ZI4S+mug8LNhqcjHqZDxJbsz2IY2OFXPnhQ== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 13/20] suricata: Use the correct path for the magic database Date: Thu, 28 Feb 2019 14:28:18 +0000 Message-Id: <20190228142825.5153-14-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.76 / 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.66)[-0.886,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.76 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index 85d3c70ba..6015c9e6d 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -324,9 +324,8 @@ unix-command: enabled: no #filename: custom.socket -# Magic file. The extension .mgc is added to the value here. -#magic-file: /usr/share/file/magic -#magic-file: +# Magic file +magic-file: /usr/share/misc/magic.mgc legacy: uricontent: enabled