Difference between revisions of "Fail2ban"
Jump to navigation
Jump to search
(documenting weirdness) |
(add status help) |
||
Line 36: | Line 36: | ||
# Values: TEXT | # Values: TEXT | ||
# | # | ||
− | failregex = ^<HOST> -.* | + | failregex = ^<HOST> -.*.* |
# Option: ignoreregex | # Option: ignoreregex | ||
# Notes.: regex to ignore. If this regex matches, the line is ignored. | # Notes.: regex to ignore. If this regex matches, the line is ignored. | ||
Line 62: | Line 62: | ||
fail2ban-client status | sed -n 's/,//g;s/.*Jail list://p' | xargs -n1 fail2ban-client status | fail2ban-client status | sed -n 's/,//g;s/.*Jail list://p' | xargs -n1 fail2ban-client status | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
[[Category:Security]] | [[Category:Security]] |