From: El T. <ca...@gm...> - 2011-03-24 20:08:04
|
Hi, Any good reason for not saving/restoring limbo/hell/offenders lists in between sessions of sshguard? I modified my source code to save these lists in finishup(), and load them in main() (just before calling sshguard_log_init()) then block every addrs in hell list before creating pardonBlocked thread, it seems working fine. Now when I restart the system, or restart the sshguard service, these offenders' addrs are remembered. the simclist module already has list_dump_file()/list_restore_file() and sshguard_blacklist is using them. Thanks, cameos |