Initscripts: Fixes and updates

Message ID 20170425130010.8547-1-matthias.fischer@ipfire.org
State New
Headers show

Message

Matthias Fischer April 25, 2017, 1 p.m.
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 <matthias.fischer@ipfire.org>
---
 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(-)