mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
bbfbb1967b
A daemon that scans program outputs for repeated patterns, and takes action. A common usage is to scan ssh and webserver logs, and to ban hosts that cause multiple authentication errors. a sample config is provided to ban ssh bots via a pf table. ok tb@
7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
To block the bots connecting on ssh by default, add the following line early in
|
|
${SYSCONFDIR}/pf.conf:
|
|
|
|
table <blocked_ssh> persist
|
|
|
|
block return in quick log from <blocked_ssh>
|