On Thu, Feb 25, 2016 at 1:37 AM, Rabin Yasharzadehe <ra...@isoc.org.il>
wrote:

> If you like you can work around this problem with `inotify-wait`
> you can monitor the folder/file and on file update, send the HUP signal to
> reload the configuration.
>
> inotifywait -m -e modify /etc/fwknop/access.conf | \
>     while read filepath event ;
>     do
>        echo "the file was changed, reloading" ;
>        killall -vws1 fwknopd ;
>     done
>
> --
> Rabin
>
>
In addition to Jonathan and Rabin's answers, I'd like to mention that the
HUP functionality should work as Jonathan mentioned. fwknopd supports the
following for convenience (so you don't have to grep the process table):

# fwknopd --restart
Sent restart signal to fwknopd (pid=22547)

This will cause fwknopd to reinitialize itself, and the original process is
not killed:

# pgrep fwknopd
22547

Thanks,

--Mike


On Wed, Feb 24, 2016 at 6:30 PM, Trent Hampton <trenthamp...@gmail.com>
> wrote:
>
>> I would like to dynamically update the list of security stanzas without
>> sending the --restart signal to reload the access.conf.
>>
>> What would I need to change or where would I start in the libfko or
>> fwknopd code in order to add or remove a security stanza dynamically?
>>
>> Does this even make sense? Is this something that could be done via a
>> fwknopd command line option or via a call to some exported function in
>> libfko?
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> Fwknop-discuss mailing list
>> Fwknop-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
>>
>>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Fwknop-discuss mailing list
> Fwknop-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss

Reply via email to