From patchwork Tue Apr 25 23:00:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 1095 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id AEC6962281 for ; Tue, 25 Apr 2017 15:00:19 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 143E2259A; Tue, 25 Apr 2017 15:00:16 +0200 (CEST) Received: from Devel.localdomain (p5DD83151.dip0.t-ipconnect.de [93.216.49.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 941142596 for ; Tue, 25 Apr 2017 15:00:14 +0200 (CEST) From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] Initscripts: Fixes and updates Date: Tue, 25 Apr 2017 15:00:10 +0200 Message-Id: <20170425130010.8547-1-matthias.fischer@ipfire.org> X-Mailer: git-send-email 2.11.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 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" Fixed: Program paths for function 'killproc' in initscripts for 'dhcp', dhcrelay', 'rngd' and 'snort'. Added: Reload-section for 'snort'-init. 'snortctrl.c' was updated accordingly. 'snort' now can be reloaded through SIGHUP after automatic ruleset-updates, to provide seamless traffic inspection during a configuration change. For details, see official Snort documentation (Chapter 2.9 / Page 174) at https://snort.org/documents/snort-users-manual Best, Matthias Signed-off-by: Matthias Fischer --- src/initscripts/system/dhcp | 2 +- src/initscripts/system/dhcrelay | 2 +- src/initscripts/system/rngd | 2 +- src/initscripts/system/snort | 127 ++++++++++++++++++++++++---------------- src/misc-progs/snortctrl.c | 6 +- 5 files changed, 84 insertions(+), 55 deletions(-)