On 3/29/2018 5:35 AM, Jaydeep Zala wrote:
> Hello guys,
> How can I whitelist my IP's dynamically, means from SQL query..?
> anyone have an idea about this?

I think you'd have to generate a local .conf file (perhaps in jail.d)
that contains an ignore-id setting with all of the IP's you'd like to
whitelist, then have fail2ban reload.  I've taken a similar approach to
configuring the addresses that nagios-nrpe will accept queries from (in
my case, the nagios server was sitting behind a dynamic home connection).

Ben
-- 
Ben Coleman olo...@benshome.net | For the wise man, doing right trumps
http://oloryn.benshome.net/     | looking right.  For the fool, looking
Amateur Radio NJ8J              | right trumps doing right.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to