On 02/24/2016 10:30 AM, Trent Hampton 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? 


Fwknopd does support reloading access.conf via the HUP signal. This
doesn't kill the process. Are you wanting the access.conf reloads to
happen automatically without the need to send the SIGHUP?

In that case, the answer would be in the fwknopd code, not libfko.
Generally speaking, you'd want to copy the code run when a sighup is
received, and put it in one of the main loops.

I had an idea for something related, namely loading access.conf stanzas
dynamically from a mysql database.  The idea would be similar.  We could
consider officially adding an option for automatic polling of access.conf.

--Jonathan Bennett

> 
> 
> ------------------------------------------------------------------------------
> 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
> 



Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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