- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:fail2ban [2015/11/09 16:47] vondra [Installation from git] |
linux:fail2ban [2020/12/09 23:29] (current) admin |
||
|---|---|---|---|
| Line 17: | Line 17: | ||
| service fail2ban start</code> | service fail2ban start</code> | ||
| * NOTE: installation script registers the app to python package system so uninstall (in case you want to switch back to distribution package) is as easy as <code>pip uninstall fail2ban</code> | * NOTE: installation script registers the app to python package system so uninstall (in case you want to switch back to distribution package) is as easy as <code>pip uninstall fail2ban</code> | ||
| + | |||
| + | ====== Cleaning/shrinking the sqlite3 file ======= | ||
| + | DELETE FROM bans WHERE DATE(timeofban, 'unixepoch') < '2020-01-01'; VACUUM; | ||
| + | |||
| + | |||
| + | ====== Asterisk ====== | ||
| + | change default context in /etc/fail2ban/filter.d/asterisk in following line <code> | ||
| + | ^(%(__prefix_line)s|\[\]\s*)%(log_prefix)s Call from '[^']*' \(<HOST>:\d+\) to extension '\d+' rejected because extension not found in context 'default'\.$</code> | ||
| + | |||
| + | |||
linux/fail2ban.1447084070.txt.gz · Last modified: 2015/11/09 16:47 by vondra


