Whitelist IPs in cphulk using external API call
Hi,
Is there any way to do the following using API calls (or at least via command line):
1. flush cphulk DB
2. whitelist or add IPs to the trusted IP list of cphulk?
thank you
-
Hello :) You can use the following command to whitelist an IP address with cPhulkd: /scripts/cphulkdwhitelist 1.1.1.1
As far as clearing the existing entries, you could manipulate the cphulkd database via the command line. For example, to flush the existing brute force and login attempts:mysql cphulkd mysql > delete from brutes; mysql > delete from logins;
Thank you.0
Please sign in to leave a comment.
Comments
1 comment