sshpiper/plugin/failtoban
Boshi Lian 9fee039d93
Add PipeCreateErrorCallback to handle pipe creation errors (#290)
* Add PipeCreateErrorCallback to handle pipe creation errors

* Add test for FailtobanPipeCreateFail

* Fix missing newline at end of file in pluginbase.go
2023-12-24 03:54:49 -08:00
..
main.go Add PipeCreateErrorCallback to handle pipe creation errors (#290) 2023-12-24 03:54:49 -08: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