| | |
| | | [DEFAULT] |
| | | # 24h + 5min |
| | | # Time to keep banned a bad ip |
| | | watch_while = 86700 |
| | | # Duration (in sec) to keep banned a bad ip, reduce value if too much memory consumption |
| | | watch_while = 3602 |
| | | # Max tries before being banned |
| | | maxtries = 3 |
| | | # pf table to keep bad IP. |
| | |
| | | logfile = /var/log/authlog |
| | | regex = .* Connection closed by ([\S]+) .* |
| | | |
| | | [ssh3] |
| | | logfile = /var/log/authlog |
| | | regex = .* Invalid user \w+ ([\S]+) .* |
| | | #[ssh3] |
| | | #logfile = /var/log/authlog |
| | | #regex = .* Invalid user \w+ from ([\S]+) .* |
| | | |
| | | [ssh4] |
| | | logfile = /var/log/authlog |