sshpiper/plugin/failtoban
Josh Bleecher Snyder 89ab72bee0
all: run gofumpt (#652)
* all: run gofumpt

https://github.com/mvdan/gofumpt

The main appeal for me here is that my (and many other peoples')
editors run this on save, so doing a single diff here
keeps other diffs minimal.

* .github/workflows: add gofumpt checker
2025-08-29 20:04:31 -07:00
..
main.go all: run gofumpt (#652) 2025-08-29 20:04:31 -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