wiki:fail2ban_examples
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:fail2ban_examples [2022/12/29 09:11] – add Not banning after action change antisa | wiki:fail2ban_examples [2024/03/06 13:02] (current) – add example of dry run antisa | ||
|---|---|---|---|
| Line 51: | Line 51: | ||
| </ | </ | ||
| + | ===== Testing ===== | ||
| + | |||
| + | ==== regex ==== | ||
| Use '' | Use '' | ||
| Line 90: | Line 93: | ||
| 10.21.21.1 - - [27/ | 10.21.21.1 - - [27/ | ||
| </ | </ | ||
| + | |||
| + | ==== dry run ==== | ||
| + | Use action '' | ||
| + | |||
| + | [bottest] | ||
| + | enabled | ||
| + | maxretry = 4 | ||
| + | findtime = 60s | ||
| + | bantime | ||
| + | action | ||
| + | # | ||
| + | logpath | ||
| + | | ||
| + | Then '' | ||
| ====== Troubleshooting ====== | ====== Troubleshooting ====== | ||
wiki/fail2ban_examples.1672305100.txt.gz · Last modified: by antisa
