mf2b(8)
| MF2B(8) | System Manager's Manual | MF2B(8) |
NAME
mf2b - micro fail2ban
SYNOPSIS
mf2b [-fqv] [-c config-file ] [-l log-file ] [-p pid-file ] [-r chroot-dir ]
DESCRIPTION
mf2b acts as a replacement to the well-known fail2ban daemon, but with embedded systems in mind. Therefore it has been written in pure C and doesn't depend on external libraries to be present on the target. Despite the similar concept, it's not a drop-in replacement as configuration syntax aligns more with that of logrotate.
OPTIONS
- -c config-file
- Read configuration from config-file instead of the default /etc/mf2b.conf.
- -f
- Do not fork into background. Log output is then sent to stderr instead of syslog when daemonising.
- -l log-file
- Change log output to log-file instead of the default of stderr or syslog when -f has not been specified. The argument log-file may either be a path to a file log messages are to be appended to, stderr if log messages should go to standard error or syslog if log messages should be sent to the syslog daemon.
- -q
- Decrease log verbosity from the default of (as in syslog-terminology LOG_ERR down to LOG_CRIT or no logging at all, so (without any -v given before) this option may effectively be passed up to two times.
- -p pid-file
- Write daemon's process ID to pid-file. If multiple instances are started with the same pid-file specified, the file will contain the latest executed process' ID.
- -r chroot-dir
- Change root directory to chroot-dir prior to going into normal service. For this to work, mf2b has to be running with effective user ID 0.
- -v
- Increase log verbosity from the default of (as in syslog-terminology LOG_ERR up to LOG_WARNING, LOG_NOTICE, LOG_INFO, or LOG_DEBUG respectively, so (without any -q given before) this option may effectively be passed up to four times.
FILES
/etc/mf2b.conf
The default configuration file. See mf2b.conf(5)
for further details.
BUGS
There certainly are, but of course this is subject to change. :)
AUTHOR
Phil Sutter <phil AT nwl DOT cc>
SEE ALSO
| JANUARY 2014 | Linux |
