From: Kevin Z. <kev...@gm...> - 2020-05-13 16:58:52
|
On 5/13/20 2:33 AM, Kevin Buckley wrote: > Furthermore, would there be any interest in having an extra flag, in > the blocker, that would "turn on" some logging of successful parsing > of the whitelist, that could then be used in testing (some people > here still aren't convinced) and, whilst I'm at that, I could even > expand the usage() function to spit out the option flags and a brief > description, rather than just, well, you know what it does at > present. We can also add an sshguard_log() line right after whitelist_conf_fin() on src/blocker/blocker.c:132 that says how many address or address ranges are on the whitelist. A patch to do that is attached; what do you think? -- Kevin Zheng kev...@gm... | ke...@be... XMPP: ke...@ee... |