sebres
324f0ed7cc
Merge branch '0.10' into 0.11
2019-03-01 12:36:07 +01:00
sebres
3c70fe298a
closes gh-969: introduces new section `[Thread]` and option `stacksize` to configure default stack-size of the threads running in fail2ban. Example:
...
```ini
[Thread]
stacksize = 32
```
2019-02-24 16:45:14 +01:00
sebres
e44cd671b2
Merge branch '0.10' into 0.11 (conflicts resolved, tests fixed)
2019-02-21 17:29:04 +01:00
sebres
00a6717953
fail2ban-client: extended with new feature which allows to inform fail2ban about single or multiple attempts (failure) for IP (failure-ID), syntax:
...
set <JAIL> attempt <IP> [<failure1> ... <failureN>]
2019-02-20 16:47:53 +01:00
sebres
84cec5e861
implements gh-2349: `fail2ban-client set jain banip/unbanip ip1 .. ipN` extended to ban/unban multiple tickets;
...
reorganized banning facilities (addBannedIP moved from filter to actions in order to ban directly without implication of fail-manager in between.
2019-02-20 14:56:00 +01:00
sebres
f959f58e15
extend protocol (command-line) and regenerate man's
2019-01-06 22:45:48 +01:00
sebres
df97fd33cf
ip-list is sorted now (by end of ban) per default;
...
extended with new option `--with-time` to provide more pretty and informative result (separated by new-line, including time strings: time of ban + ban-time = end of ban):
192.0.2.1 2019-01-06 22:24:48 + 300 = 2019-01-06 22:29:48
192.0.2.2 2019-01-06 22:24:48 + 600 = 2019-01-06 22:34:48
also it is possible now to provide separator-character as extra-parameter after `get <jail> banip ?sep-char?` (default is space).
removed unneeded test-cases (test code-base minimization) and unexpected manually changed files.
2019-01-06 22:31:23 +01:00
SP
3d477d229d
ENH: added new command `fail2ban-client get <JAIL> banip` to get the banned ip addresses (gh-1916)
2019-01-03 23:55:35 +03:00
sebres
f9f7e29295
Merge branch '0.10' into 0.11 (version bump after r.0.10.4)
2018-10-04 13:08:25 +02:00
sebres
0ae02ba2a1
version bump (back to dev-version)
2018-10-04 11:57:56 +02:00
sebres
aa565eb80e
release 0.10.4 - ten-four-on-due-date-ten-four
2018-10-04 11:26:22 +02:00
sebres
d65d7fd4d0
Merge branch '0.10' into 0.11
2018-07-10 20:04:48 +02:00
sebres
f8f01d5ab7
introduced new option `ignorecache` to improve performance of ignore failure check (using caching of `ignoreip`, `ignoreself` and `ignorecommand`)
2018-07-09 14:58:39 +02:00
sebres
0707695146
Merge branch '0.10' into 0.11, version bump
...
# Conflicts resolved:
# fail2ban/server/database.py
2018-04-05 12:58:11 +02:00
sebres
187514eda7
bump version (0.10.3 -> 0.10.4.dev1)
2018-04-04 20:17:26 +02:00
sebres
0a50f2e19e
next release of 0.10: bump version, update ChangeLog, man's and MANIFEST etc.
2018-04-04 19:44:09 +02:00
sebres
faab77cc79
Merge branch '0.10' into 0.11, with resolved conflicts.
2018-01-24 17:56:58 +01:00
Yaroslav Halchenko
3f51c158cd
Added manpage (still would need tuning) for fail2ban-python
2018-01-23 22:06:18 +01:00
sebres
aa47937d4f
Merge branch '0.10' into 0.11: bum version after release of 0.10.2
2018-01-18 16:47:13 +01:00
sebres
9a38d5697f
bump version (0.10.2 -> 0.10.3.dev1)
2018-01-18 16:40:48 +01:00
sebres
a45488465e
prepare release: bump version, update ChangeLog, man's and MANIFEST etc.
2018-01-18 14:49:01 +01:00
sebres
12b55bb8cc
Merge remote-tracking branch '0.10' into 0.11
2017-11-27 12:02:46 +01:00
sebres
f31195a4fc
added new logtarget "SYSOUT" to log from fail2ban working in foreground as systemd-service (in opposite to "STDOUT" don't log time-stamps).
2017-11-26 23:03:29 +01:00
sebres
a99513a43e
version bump (0.11.0.dev0) after merge 0.10
2017-10-18 19:05:20 +02:00
sebres
028f32b74b
bump version (0.10.1 -> 0.10.2.dev1)
2017-10-12 14:00:41 +02:00
sebres
351abeb4ff
prepare release: bump version, update ChangeLog, man's and MANIFEST etc.
2017-10-12 13:46:46 +02:00
sebres
c60784540c
version bump: release 0.10.0
2017-08-09 16:53:05 +02:00
sebres
6f4fde2c29
Update changelog and man/jail.conf.5
2017-08-08 21:50:38 +02:00
sebres
8f76a052ec
rebuild man's and MANIFEST
2017-08-08 13:00:10 +02:00
sebres
00456b8270
review: documentation, small enhancement of `fail2ban-client` to test time abbreviation format:
...
fail2ban-client --str2sec 1d12h30m
2017-07-11 14:03:00 +02:00
Georges Racinet
12259bb3c7
man and ChangeLog for logtimezone
2017-06-09 20:39:03 +02:00
sebres
e7052e9625
update man/jail.conf.5 (docu for the ignoreself)
2017-03-24 09:55:20 +01:00
sebres
30b53bb2ce
update ChangeLog and man/fail2ban-regex.1
2017-03-13 02:07:14 +01:00
sebres
45174c5eaf
if fail2ban running as systemd-service, for logging to the systemd-journal, the `logtarget` could be set to STDOUT
...
small fixes by logging in stdout (+ system targets also allowed in lowercase now)
2016-11-24 12:13:47 +01:00
sebres
ab0c28260b
switch down log level for some annoying messages to tracedebug or heavydebug (to 7 or even 5);
...
added verification of specified log-level before transmitting to the server;
numeric log-level allowed now in server (resp. fail2ban.conf);
2016-09-22 22:44:46 +02:00
sebres
8cba537f6c
code review and use new logger-signals for waiting; + regenerated man-files
2016-09-08 18:38:33 +02:00
sebres
9b03a6d42e
0.10 pre-release: MANIFEST RELEASE and man pages updates
2016-07-14 12:19:46 +02:00
Yaroslav Halchenko
0298ba2c1b
MANIFEST RELEASE and man pages updates
2016-03-07 21:50:10 -05:00
Yaroslav Halchenko
b3ed19b36a
DOC: tune up to jail.conf.5 - some line breaks, typos etc
2015-11-10 08:47:13 -05:00
sebres
94cffece12
New interpolation feature for definition config readers - `<known/parameter>`, as extension to interpolation `%(known/parameter)s`, that does not works for filter and action init parameters;
2015-11-02 21:45:03 +01:00
sebres
fcf03790f4
fixed misleading documentation of `banaction`
2015-11-01 17:05:02 +01:00
sebres
f359ed8c36
Fixed directly defined banaction for allports jails like pam-generic, recidive, etc with new default variable `banaction_allports` (+ man entries for both variables added);
...
closes gh-1216
2015-10-30 15:36:18 +01:00
Pablo
7e6964dd9d
Fix section jail.conf.5 manpage
...
The section of jail.conf manpage is wrong, should be 5, not 10
2015-10-15 10:40:56 +02:00
Konstantin Manna
7de78f4bb8
renamed <NAME> to correct <ACT> in protocol
2015-08-02 14:55:38 +02:00
Yaroslav Halchenko
70ba5cb005
Release changes (too much of manual "labor"! ;))
2015-07-31 21:32:13 -04:00
Viktor Szépe
9547812526
ipjailmatches is on one line with its description in man jail.conf
2015-07-27 01:05:05 +02:00
Yaroslav Halchenko
46510948a7
DOC: rudimentary manpage for fail2ban-testcases (+updated other mans for consistency)
2015-07-05 21:48:14 -04:00
Yaroslav Halchenko
ca849b93dc
Initial changes for the release -- simplified ChangeLog header etc
2015-04-26 21:39:54 -04:00
Yaroslav Halchenko
d0a5fe620f
Refreshed manpages
2014-10-27 21:47:48 -04:00
Yaroslav Halchenko
564eb3389b
ENH: fail early in generate-man + provide PYTHONPATH upstairs
2014-10-27 21:47:07 -04:00
Sean DuBois
84b7e93a47
ENH: Add version command to protocol
...
TST: Add test for version server command
2014-07-15 06:19:13 +00:00
Cameron Norman
1f53eb2d28
Updated man page for new options
2014-04-20 11:39:04 -07:00
Steven Hiscocks
4190113e4b
DOC: Fix jail.conf(5) man page which had duplicate {fail,ignore}regex
2014-04-03 18:41:40 +01:00
Ruben Kerkhof
1695d5c076
Fix a few typos
...
Found with https://github.com/lucasdemarchi/codespell
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
2014-03-24 13:16:52 +00:00
Steven Hiscocks
e437bd5e6f
DOC: Add database settings for fail2ban.conf to jail.conf(5) man page
2014-03-21 18:35:23 +00:00
Daniel Black
e3b97e6a6c
DOC/ENH: update man pages for release
2014-03-14 23:02:39 +11:00
Steven Hiscocks
742e52269a
DOC: Added jail.conf(5) and ChangeLog for "logencoding"
2014-03-12 21:00:25 +00:00
Steven Hiscocks
725a8261fe
DOC: Add items to ChangeLog and readded jail.conf(5) for logpath tail
...
jail.conf change merged from 6a395f4cf7
2014-03-12 20:48:52 +00:00
Daniel Black
cc8ec826c5
MRG: from master 2014-03-02
2014-03-02 14:33:45 +11:00
Steven Hiscocks
75599fc7a0
DOC: Add reference to action argument values which contain ","
...
Closes gh-632
2014-02-26 22:15:59 +00:00
Steven Hiscocks
a4731ef988
DOC: Correct log levels
2014-02-20 23:09:45 +00:00
Daniel Black
7b56daee8f
DOC: set realistic expectations of what fail2ban protects against
2014-02-02 15:17:10 +11:00
Steven Hiscocks
4aa50684ab
Merge pull request #581 from kwirk/datetemplate-regroupdict
...
ENH: Full regex for datepattern, utilising modified Python `_strptime`
2014-01-20 14:53:28 -08:00
Daniel Black
a650178bd1
MRG: merge from master 2014-01-19
2014-01-19 14:48:29 +11:00
Daniel Black
59b1e225e9
DOC/ENH: update man pages for release
2014-01-18 21:13:55 +11:00
Daniel Black
224e795f4c
DOC: note in man page about "last message repeated" syslog compression. Closes Debian bug #620364
2014-01-18 19:12:33 +11:00
Steven Hiscocks
5c16ac3a89
ENH: Full regex for datepattern, utilising modified Python `_strptime`
2014-01-12 18:59:31 +00:00
Daniel Black
7b6ee64b9e
DOC: add over pruned bits of jail.conf.5
2014-01-12 21:43:11 +11:00
Daniel Black
cd3e94140c
MRG: complete merge
2014-01-12 21:16:55 +11:00
Daniel Black
4d4060930b
DOC: spelling + GPL2+ for license
2014-01-08 21:46:32 +11:00
Yaroslav Halchenko
e6627185b0
DOC: fixing formatting in the section names of the manpage - \fB to return into bold
2014-01-07 13:41:16 -05:00
Yaroslav Halchenko
16f55d2d56
DOC: pass through jail.conf.5 -- unification and some restructuring/shortening
2014-01-06 23:30:13 -05:00
Daniel Black
76468942f9
MRG: complete merge from master
2014-01-07 10:24:23 +11:00
Daniel Black
0b6c9b52d2
DOC: man page description shorting and clarification
2014-01-07 08:29:06 +11:00
Steven Hiscocks
1386d82102
DOC: Update action files section of jail.conf, and add "timeout" option
...
Closes gh-565
2014-01-06 18:53:23 +00:00
Daniel Black
3d21c4edf9
DOC: consistent filename separator in SYNOPIS
2014-01-05 18:53:31 +11:00
Daniel Black
51f014fede
DOC: add more content to jail.conf man page
2014-01-05 18:24:13 +11:00
Steven Hiscocks
80d6f74ee8
RF: Refactor actions further, include removing server proxy interface
...
This allows direct setting of action properties and calling of methods
from the fail2ban-client if so required.
2014-01-03 17:04:49 +00:00
Steven Hiscocks
f37c90cdba
ENH: Python based actions
...
Python actions are imported from action.d config folder, which have .py
file extension. This imports and creates an instance of the Action class
(Action can be a variable that points to a class of another name).
fail2ban.server.action.ActionBase is a base class which can be inherited
from or as a minimum has a subclass hook which is used to ensure any
imported actions implements the methods required.
All calls to the execAction are also wrapped in a try except such that
any errors won't cripple the jail.
Action is renamed CommandAction, to clearly distinguish it from other
actions.
Include is an example smtp.py python action for sending emails via smtp.
This is work in progress, as looking to add the <matches> and whois
elements, and also SSL/TLS support.
2013-12-31 18:54:34 +00:00
Daniel Black
92e2747034
Merge pull request #531 from grooverdan/master_to_0.9_merge
...
MRG: current master to 0.9 20131228
2013-12-29 15:57:59 -08:00
Steven Hiscocks
6a395f4cf7
ENH: add option to addlogpath for tail option
2013-12-29 18:37:21 +00:00
Daniel Black
ea2a13946e
TST: more test of filters
2013-12-29 05:29:59 +00:00
bes.internal
ebd89ec077
New ignorecommand that is added to the ignoreip list from output of an external program
...
ignorecommand update man and fix protocol help
ENH: run ignore command only after internal list has been examined. Change interface on ignorecommand to take IP as environment variable and return true if it is to be banned
ENH: ignore IP command to take tagged command
DOC: man pages for ingorecommand
TST: add test cases for ignorecommand
2013-12-24 23:55:35 +03:00
Daniel Black
7247a6841a
Merge pull request #495 from grooverdan/0.9_merge
...
MRG: 0.9 merge
2013-12-19 01:27:51 -08:00
Steven Hiscocks
9db44059fd
DOC: Add ip(jail)matches/failures to man page
2013-12-16 23:29:59 +00:00
Daniel Black
7c0efc8ec8
MRG: merge so far - flushLogs not working yet
2013-12-16 15:08:34 +00:00
Daniel Black
2f3648c458
DOC: add missing jail directives
2013-12-13 11:11:58 +00:00
Daniel Black
1ac7b53cad
MRG: merge from master
2013-11-13 09:16:45 +11:00
Daniel Black
d0498bec69
DOC: finalise 0.8.11 release
2013-11-13 08:05:08 +11:00
Daniel Black
47d35c9d80
MRG: 0.8.11 to 0.9
...
Epnoc of selinux is now true UTC
Merge multiline support and date detection in filter
2013-11-02 15:59:05 +11:00
Daniel Black
f860307b57
DOC: update man pages. Add references to jail.conf from fail2ban-client man page
2013-10-31 10:27:30 +11:00
Daniel Black
363d53e8d7
update man pages for release
2013-10-31 01:00:38 +11:00
Daniel Black
8421007f32
MRG: merge man/jail.conf.5 entries
2013-10-14 22:28:34 +11:00
Daniel Black
09cae9f4f3
DOC: comment on comments in jail.conf.5
2013-10-11 06:51:34 +11:00
Daniel Black
d6d51e352c
ENH: order config as jail.conf, jail.d/*.conf, jail.local, jail.d/*.local. closes gh-388
2013-10-11 00:06:13 +11:00
Steven Hiscocks
9c61adcad7
ENH+DOC: Allow setting of Epoch and TAI64N date pattern
...
Also add this to jail.conf man page
2013-09-24 22:11:04 +01:00
Steven Hiscocks
9fb926ebae
DOC: Add datepattern to jail.conf man page
2013-07-26 17:55:20 +01:00
Steven Hiscocks
acf9e51d98
BF+DOC: All fail2ban config files are UTF-8 decoded for python3
2013-07-10 22:18:53 +01:00
Steven Hiscocks
5ca6a9aeb6
Merge branch 'systemd-journal' into 0.9
...
Conflicts:
bin/fail2ban-regex
config/filter.d/sshd.conf
Closes github #224
2013-06-29 13:00:40 +01:00
Yaroslav Halchenko
f6cb981fc0
Merge commit '0.8.10-1-g460e09a' into 0.9
...
* commit '0.8.10-1-g460e09a':
it was not the end of the world and we should continue
DOC: add information on where to report vulnerabilities + pointer to HOWTO_Seek_Help
Changes for 0.8.10 release (changelog, version, etc)
BF: anchor apache- filters. Close #248
DOC: credits for gh-244
Filter Asterisk: Add sample log entry to testcase.
Filter Asterisk: Add AUTH_UNKNOWN_DOMAIN error to list
ENH: purge a few more .*
DOC: credits
DOC: how to do filter enhancements
TST: normalize logs to use example.com and 1.2.3.4 as IP
ENH/BF: constrain regex. Fix ACL error regex
ENH: port optional
Update asterisk
Update asterisk.conf
Conflicts:
ChangeLog
DEVELOP
README.md
fail2ban/version.py
2013-06-12 21:30:47 -04:00