From: Kevin Z. <kev...@gm...> - 2022-07-01 17:15:12
|
Hi Andrew, Thanks for reporting the issue. After taking a look, it seems that the whitelist parser needs to be taught about parsing CIDR. The relevant functions are whitelist_add(), whitelist_add_ipv4() and whitelist_add_ipv6() in src/blocker/sshguard_whitelist.c, if you want to try to take a look before I (hopefully eventually) get around to it. Regards, Kevin |