Location of cpHulk blacklist file
Could anyone tell me where the cpHulk blacklist file is located on a Linux server so I can edit it directly?
We have over 3,000 entries and I would like to review / edit to see if converting entris to /24 or /16 ranges make sense.
Thanks
-
Hello, The whitelisted and blacklisted IPs are stored in "ip_lists" table of the cphulk database as VARBINARY entries - in order to "read" them via a select statement, you will need to use the INET6_NTOA() mysql function (only available in 5.6.3+). EX: mysql cphulkd; SELECT INET6_NTOA(`STARTADDRESS`), INET6_NTOA(`ENDADDRESS`), `COMMENT` from `ip_lists` WHERE TYPE = 1;" (fetches the whitelisted IPs)
Thank you.0
Please sign in to leave a comment.
Comments
1 comment