FAIL2BAN-SERVER(1)
๐ fail2ban-server โ the manual, but make it make sense
okay so bestie, welcome to the fail2ban-server(1) page ๐ this is a User Commands manual, and it's about the actual server part of fail2ban โ the little backend gremlin that does the banning while fail2ban-client gets all the credit. iykyk.
โจ NAME โจ
fail2ban-server โ start the server ๐
๐ SYNOPSIS ๐
fail2ban-server [OPTIONS]
that's it. that's the whole vibe. server, options, go. ๐ฆ
๐ธ DESCRIPTION ๐ธ
so Fail2Ban v1.1.1 reads log files that contain password failure reports (yes, the "oops i tried 400 passwords" kind ๐) and bans the corresponding IP addresses using firewall rules. it's giving bouncer-at-the-club energy. no cap. ๐ฅ
๐ OPTIONS ๐
-c,--confDIR โ configuration directory. this is where your config lives, point it there ๐๏ธ-s,--socketFILE โ socket path. the server's little hangout spot ๐-p,--pidfileFILE โ pidfile path. where the process ID gets written down so everyone can find it ๐--pnameNAME โ name of the process (main thread) to identify instance. the default isfail2ban-server, so if you don't set it, congrats, it's the default ๐ท๏ธ--loglevelLEVEL โ logging level. how chatty do we want this thing ๐ฃ๏ธ--logtargetTARGET โ logging target, use file-name orstdout,stderr,syslogorsysout. pick your output bestie ๐ฏ--syslogsocketauto|FILE โ the syslog socket, eitherautoor a file path. literally just those two shapes ๐ซถ-dโ dump configuration. For debugging. messy but useful ๐--dp,--dump-prettyโ dump the configuration using more human readable representation. for when raw dumps are giving chaos ๐-t,--testโ test configuration (can be also specified with start parameters). vibe check your config before you commit, always ๐งช-iโ interactive mode. come talk to it ๐ฌ-vโ increase verbosity. more words, more lore ๐ข-qโ decrease verbosity. shhh, minimal noise ๐คซ-xโ force execution of the server (remove socket file). the "move, i'm here now" option ๐-bโ start server in background (default). it's the default, so it's already doing this ๐งโโ๏ธ-fโ start server in foreground. main character energy, stays right in front of you ๐--asyncโ start server in async mode (for internal usage only, don't read configuration). โ ๏ธ internal only, and it does not read configuration, so don't come for me if you use it and things get weird--timeoutโ timeout to wait for the server (for internal usage only, don't read configuration). same deal: internal only, and no config reading. flagged ๐ฉ--str2secSTRING โ convert time abbreviation format to seconds. e.g. turn your cute little time shorthand into a raw number โฑ๏ธ-h,--helpโ display this help message. the classic 911 for lost girlies ๐โโ๏ธ-V,--versionโ print the version (-Vreturns machine-readable short format). short and machine-readable, so robots can read it too ๐ค
๐ quick reminder bestie: the two "for internal usage only" flags are genuinely not for casual reading โ they don't read configuration. respect the label, periodt.
๐ REPORTING BUGS ๐
found a bug? Report bugs to https://github.com/fail2ban/fail2ban/issues โ and be nice about it ๐ซถ
๐ฆ SEE ALSO ๐ฆ
fail2ban-client(1)โ the other half of the duo, go say hi ๐
and that's the whole page, queen ๐ โ this was Fail2Ban v1.1.1, dated August 2026, from the FAIL2BAN-SERVER(1) manual, User Commands section. go ban some IPs responsibly, ily, bye! ๐โจ๐
๐ฆ where this page comes from
- arch rolling: fail2ban 1.1.1-1 ยท GPL-2.0-or-later
- nixpkgs unstable: fail2ban 1.1.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms