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, --conf DIR โ€” configuration directory. this is where your config lives, point it there ๐Ÿ—‚๏ธ
  • -s, --socket FILE โ€” socket path. the server's little hangout spot ๐Ÿ”Œ
  • -p, --pidfile FILE โ€” pidfile path. where the process ID gets written down so everyone can find it ๐Ÿ“
  • --pname NAME โ€” name of the process (main thread) to identify instance. the default is fail2ban-server, so if you don't set it, congrats, it's the default ๐Ÿท๏ธ
  • --loglevel LEVEL โ€” logging level. how chatty do we want this thing ๐Ÿ—ฃ๏ธ
  • --logtarget TARGET โ€” logging target, use file-name or stdout, stderr, syslog or sysout. pick your output bestie ๐ŸŽฏ
  • --syslogsocket auto|FILE โ€” the syslog socket, either auto or 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 ๐Ÿšฉ
  • --str2sec STRING โ€” 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 (-V returns 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 ๐Ÿฆ‹


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