[Oisf-users] SIGHUP handler?

Victor Julien lists at inliniac.net
Fri Jul 19 10:26:10 UTC 2013


On 07/19/2013 08:33 AM, Darren Spruell wrote:
> Hi,
> 
> Suricata 1.4.1 RELEASE
> OpenBSD 5.3 i386
> 
> Picked up on live rule reloads with USR2 signal. Wondered if Suricata
> currently supports any kind of restart/reload behavior with HUP? If I'm
> not mistaken, sending SIGHUP on my system causes daemon to exit silently
> (no output to logs, process goes away).
> 
> I'm chewing on handling of reload action in OpenBSD's rc.d(8) daemon
> control scripts. The system assumes that daemons either handle a reload
> action when they receive a SIGHUP (i.e. reload config) or have the
> reload action disabled if SIGHUP is not used for reload (i.e.
> daemon_reload=NO). Would handling HUP to reload config and ruleset be
> sensible in Suricata as with some other programs?

Sounds like you're hitting a bug. Can you upgrade to 1.4.4 and check if
it still happens there?

> Also, is it the case that suricata doesn't currently currently ship with
> manual pages?

Yes, need to add them. Opened
https://redmine.openinfosecfoundation.org/issues/884

Cheers,
Victor

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-users mailing list