Talk:Fail2ban
Jump to navigation
Jump to search
Mmccarn (talk) 14:54, 7 May 2017 (CEST)
- Proposed update for the checklist_ban script:
#!/bin/bash #lancer le script en sudo echo -e "Jail failed / banned" JAILS=$(fail2ban-client status | grep " Jail list:" | sed 's/`- Jail list://g' | sed 's/,//g') for j in $JAILS do jail="$j " failed=$(fail2ban-client status $j | grep " Currently failed:" | sed 's/[^0-9]*//') banned=$(fail2ban-client status $j | grep " Currently banned:" | sed 's/[^0-9]*//') echo -e "${jail:0:20} $failed / $banned" done
Fine. Usually I'm told to put forum stuff into the wiki. Bound to happen the other way around. Have appended to the thread that 'tried' to point to the unwanted piece in the wiki.
@Piran: don't take comments personally to quickly. HFW just pointed out that to keep the wiki readable it needs some style (see: Wiki Manual of Style). I've added the most important parts to the page, the rest i would keep as your personal notes.