sshpiper/plugin/failtoban
diedpigs 9ff3550786
Feat: fail2ban whitelist (#546)
* feat: support whitelist in failtoban plugin

* test: add e2e test for failtoban ignore ip

* refactor: use netipx for easy contains check
2025-03-15 04:23:09 -07:00
..
main.go Feat: fail2ban whitelist (#546) 2025-03-15 04:23:09 -07:00
README.md non return plugin callback now will be triggered together (#162) 2023-07-11 01:32:05 -07:00

fail to ban for sshpiperd

put ip to jail for a while after failed to login for several times.

Usage

put this plugin after other plugins, like:

sshpiperd <main plguin> -- failtoban

Configuration

  • max-failures: max failures before ban, default 5
  • ban-duration: ban duration, default 1h