Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fail2ban-regex(1) [centos man page]

FAIL2BAN-REGEX(1)						   User Commands						 FAIL2BAN-REGEX(1)

NAME
fail2ban-regex - test Fail2ban "failregex" option SYNOPSIS
fail2ban-regex [OPTIONS] <LOG> <REGEX> [IGNOREREGEX] DESCRIPTION
Fail2Ban reads log file that contains password failure report and bans the corresponding IP addresses using firewall rules. This tools can test regular expressions for "fail2ban". LOG: string a string representing a log line filename path to a log file (/var/log/auth.log) "systemd-journal" search systemd journal (systemd-python required) REGEX: string a string representing a 'failregex' filename path to a filter file (filter.d/sshd.conf) IGNOREREGEX: string a string representing an 'ignoreregex' filename path to a filter file (filter.d/sshd.conf) OPTIONS
--version show program's version number and exit -h, --help show this help message and exit -c CONFIG, --config=CONFIG set alternate config directory -d DATEPATTERN, --datepattern=DATEPATTERN set custom pattern used to match date/times --timezone=TIMEZONE, --TZ=TIMEZONE set time-zone used by convert time format -e ENCODING, --encoding=ENCODING File encoding. Default: system locale -r, --raw Raw hosts, don't resolve dns --usedns=USEDNS DNS specified replacement of tags <HOST> in regexp ('yes' - matches all form of hosts, 'no' - IP addresses only) -L MAXLINES, --maxlines=MAXLINES maxlines for multi-line regex. -m JOURNALMATCH, --journalmatch=JOURNALMATCH journalctl style matches overriding filter file. "systemd-journal" only -l LOG_LEVEL, --log-level=LOG_LEVEL Log level for the Fail2Ban logger to use -v, --verbose Increase verbosity --verbosity=VERBOSE Set numerical level of verbosity (0..4) --verbose-date, --VD Verbose date patterns/regex in output -D, --debuggex Produce debuggex.com urls for debugging there --print-no-missed Do not print any missed lines --print-no-ignored Do not print any ignored lines --print-all-matched Print all matched lines --print-all-missed Print all missed lines, no matter how many --print-all-ignored Print all ignored lines, no matter how many -t, --log-traceback Enrich log-messages with compressed tracebacks --full-traceback Either to make the tracebacks full, not compressed (as by default) AUTHOR
Written by Cyril Jaquier <cyril.jaquier@fail2ban.org>. Many contributions by Yaroslav O. Halchenko and Steven Hiscocks. REPORTING BUGS
Report bugs to https://github.com/fail2ban/fail2ban/issues COPYRIGHT
Copyright (C) 2004-2008 Cyril Jaquier, 2008- Fail2Ban Contributors Copyright of modifications held by their respective authors. Licensed under the GNU General Public License v2 (GPL). SEE ALSO
fail2ban-client(1) fail2ban-server(1) fail2ban-regex 0.10.2 January 2018 FAIL2BAN-REGEX(1)

Check Out this Related Man Page

SVNNOTIFY(1p)						User Contributed Perl Documentation					     SVNNOTIFY(1p)

Name
       svnnotify - Subversion activity notification

Usage
	 svnnotify --repos-path "$1" --revision "$2" [options]

Options
	 -p --repos-path PATH	      Path to the Subversion repository. Required.
	 -r --revision REVISION       Commit revision number. Required.
	 -t --to ADDRESS	      The notification destination email address.
				      Required unless --to-regex-map.
	 -x --to-regex-map TO=REGEX   A mapping between a destination email address
				      and a regular expression to match against the
				      directories affected by the commit. Required
				      unless --to or --to-email-map.
	    --to-email-map REGEX=TO   The inverse of --to-regex-map: Map a regular
				      expresion to an email address. Required unless
				      --to or --to-regex-map.
	 -f --from ADDRESS	      Email address to use in the From header.
	 -D --user-domain DOMAIN      Domain name to append to the username to
				      complete the email address in the From header.
	 -l --svnlook SVNLOOK	      Location of the svnlook executable.
	 -s --sendmail SENDMAIL       Location of the sendmail executable.
	 -E --set-sender	      Set the envelope sender to the from address.
	    --smtp ADDRESS	      Address for an SMTP server.
	    --smtp-user USERNAME      Username for authenticating to a SMTP server.
	    --smtp-pass PASSWORD      Password for authenticating to a SMTP server.
	    --smtp-authtype AUTHTYPE  Type of SMTP authentication.
	 -c --encoding ENCODING       The character encoding for reading and writing
				      data.
	    --svn-encoding ENCODING   The character encoding of the log message and
				      the repository files.
	    --diff-encoding ENCODING  The character encoding of the repository files.
	 -g --language LANGUAGE       Value for the Content-Language header and $LANG
				      environment variable.
	 -d --with-diff 	      Include the diff in the message.
	 -a --attach-diff	      Attach the diff to the message.
	 -w --diff-switches SWITCHES  Switches to pass to C<svnlook diff>.
	 -R --reply-to ADDRESS	      Address for use in the Reply-To header.
	    --add-header NAME=VALUE   Add an extra header to the email.
	 -P --subject-prefix PREFIX   String to prepend to the subject.
	 -C --subject-cx	      Include the context of the commit in the
				      subject.
	 -X --strip-cx-regex	      Regex to remove part of the CX file name from
				      the subject.
	 -O --no-first-line	      Do not include the first line of the log
				      message in the subject.
	 -i --max-sub-length LENGTH   Maximum size of the subject line.
	 -e --max-diff-length LENGTH  Maximum size of the diff output.
	 -H --handler HANDLER	      The notification handler, such as "HTML".
	 -F --filter FILTER	      An output filter, such as "Markdown".
	 -A --author-url URL	      Include link to specified author URL.
	 -U --revision-url URL	      Include links to specified Revision URL.
	 -T --rt-url URL	      Include links to specified Request Tracker URL.
	 -B --bugzilla-url URL	      Include links to specified Bugzilla URL.
	 -J --jira-url URL	      Include links to specified JIRA URL.
	 -G --gnats-url URL	      Include links to specified Gnats URL.
	    --ticket-map REGEX=URL    Regex and URL for custom ticket identifiers.
	    --header HEADER	      Text header to display before body.
	    --footer FOOTER	      Text footer to display at end of body.
	 -V --verbose		      Incremental verbose mode.
	 -h --help		      Print this usage statement and exit.
	 -m --man		      Print the complete documentation and exit.
	 -v --version		      Print the version number and exit.

       More options may be supported by the subclass of SVN::Notify specified by the "--handler" option or by filters specified by the "--filter"
       option. Consult the documentation of the relevant modules for details.

See Also
       See SVN::Notify for the complete documentation. If you're having issues with character encodings, see especially the Character Encoding
       Support section.

Author
       David E. Wheeler <david@kineticode.com>

Copyright and License
       Copyright (c) 2004-2009 Kineticode, Inc. Some Rights Reserved.

       This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

perl v5.10.1							    2011-03-15							     SVNNOTIFY(1p)
Man Page