Daniel Black
c3a2e8fbac
Merge pull request #644 from hlein/master
...
ENH: Changes to --print-* options and memory use for fail2ban-regex
11 years ago
Daniel Black
7611096162
Merge branch '0.9' of https://github.com/fail2ban/fail2ban into 0.9
11 years ago
Daniel Black
aa7e8fb9ce
DOC: Credits. close gh-644
11 years ago
Hank Leininger
2deb1b71a1
Sanity-check print-all-* vs print-no-* options.
...
Also, fixed a trivial whitespace issue.
11 years ago
Hank Leininger
d4fb48fd14
Add --print-no-{missed,ignored} and restore -all.
...
Realized --print-all-{missed,ignored} aren't meant to be simple on/off,
but are meant to enable printing all lines even when there are more
than 20.
This restores the behavior of --print-all-*, but preserves the
memory-savings when --print-all-* are not specified.
Also adds --print-no-{missed,ignored} which can be used to suppress
printing of a line type entirely.
11 years ago
Hank Leininger
aa7af6f9c2
Only remember log lines we need to print later.
...
When testing proccessing a large logfile (430 MB, 2M lines) without
--print-all-missed or --print-all-ignored, fail2ban-regex consumes
just over 2 GB of RAM before completing. Even though it does not need
to retain any of the missed or ignored log lines, it does anyway.
With this patch, memory use never grows beyond about 11 MB (unless
--print-all-* are enabled).
11 years ago
Hank Leininger
27dafea281
Fix the --print-all-{missed,ignored} options.
...
Previously, fail2ban-regex always printed both regardless of whether
those options were present or not.
This commit duplicates the patch I submitted at
https://sourceforge.net/p/fail2ban/patches/25/
11 years ago
Steven Hiscocks
9e374b159e
ENH: Allow setting of badips.py key for reporting and blacklisting
11 years ago
Steven Hiscocks
de43d1d6d5
ENH: Change badips.py default score to "3"
...
As per recommendation from Amy from badips.com
11 years ago
Daniel Black
476d79d3cc
ENH: asterisk filter to support syslog format
11 years ago
Daniel Black
415f187644
ENH: sendmail-reject for all smtp ports.
11 years ago
Steven Hiscocks
a78a9d282c
DOC: Document that badips.py action should be last action for jail
11 years ago
Steven Hiscocks
0222ff4677
Merge branch 'badips-blacklist' into 0.9
...
Conflicts:
ChangeLog
- entires added in both branches.
Change:
config/action.d/badips.py
- jail.getName() changed to jail.name
11 years ago
Steven Hiscocks
0c63d0061a
DOC: Add documentation for badips.py action
11 years ago
Steven Hiscocks
dfb46cfda6
BF: Require Python 2.7+ for badips.py action
11 years ago
Steven Hiscocks
406fe0f5b6
DOC: Additional entries to ChangeLog
11 years ago
Steven Hiscocks
742e52269a
DOC: Added jail.conf(5) and ChangeLog for "logencoding"
11 years ago
Steven Hiscocks
725a8261fe
DOC: Add items to ChangeLog and readded jail.conf(5) for logpath tail
...
jail.conf change merged from 6a395f4cf7
11 years ago
Daniel Black
df882feb16
ENH: expand sendmail-reject jail to 465,submission
11 years ago
Daniel Black
c45cde19ff
Merge pull request #639 from grooverdan/paths-common-rename
...
ENH: paths-{common,distro} normalisation
11 years ago
Daniel Black
ef29d7bd29
ENH: paths-{common,distro} normalisation
11 years ago
Daniel Black
79dab54619
Merge pull request #634 from grooverdan/jail-prune
...
ENH: purge excessive jail variations
11 years ago
Daniel Black
50d938e0bf
MRG: merge filter sendmail-spam into sendmail-reject
11 years ago
Daniel Black
666fd5eceb
ENH: purge excessive jail variations
11 years ago
Daniel Black
721b1473f0
Merge pull request #625 from grooverdan/distro-paths-gh-315
...
MRG: Distro paths
11 years ago
Daniel Black
69f5baae36
ENH: jail.conf to use syslog_mail
11 years ago
Daniel Black
2d45becb0e
Merge branch '0.9' into distro-paths-gh-315
11 years ago
Daniel Black
2d8c497ce5
ENH: highlight missing osx paths
11 years ago
Daniel Black
cc8ec826c5
MRG: from master 2014-03-02
11 years ago
Daniel Black
11fc7941f5
Merge pull request #633 from grooverdan/sendmail
...
MRG: Sendmail filter
11 years ago
Daniel Black
853bed8e4f
ENH: more sendmail-reject filter items thanks to fab23
11 years ago
Daniel Black
d0ec09a3b5
BF: move to right location
11 years ago
Daniel Black
c10cc20928
ENH: rename sendmail-spam to sendmail-reject
11 years ago
Steven Hiscocks
beca72e188
DOC: Change Found and Ignore message to INFO rather than NOTICE
...
This was the original proposal in gh-621 but was put to NOTICE in error
11 years ago
Steven Hiscocks
689ed9d511
DOC: Fix up doc strings styling to comply with numpy doc style
11 years ago
Daniel Black
d34569fb8d
BF: email address as arg1 in sendmail filters
11 years ago
Daniel Black
72c84fe9b0
ENH: wider regex for RBL and sendmail-spam
11 years ago
Steven Hiscocks
75599fc7a0
DOC: Add reference to action argument values which contain ","
...
Closes gh-632
11 years ago
Steven Hiscocks
9b877928db
Merge pull request #631 from grooverdan/sendmail
...
ENH: add filter for sendmail-{auth,spam}. Closes gh-20
11 years ago
Daniel Black
fe1725c603
BF: add jail.conf definitions for sendmail* filters
11 years ago
Daniel Black
3d776afbb0
ENH: add filter for sendmail-{auth,spam}. Closes gh-20
11 years ago
Steven Hiscocks
f68ab3c4de
DOC: Added missing parameter for jail `add` method
11 years ago
Steven Hiscocks
a9b9c6ea03
Merge branch 'logging' into 0.9
...
Conflicts:
fail2ban/server/actions.py
jail getName()->name
fail2ban/server/filter.py
jail getName()->name
11 years ago
Daniel Black
4b257810b2
Merge pull request #628 from kwirk/jail-refactor
...
RF: Refactor Jail and JailThread
11 years ago
Steven Hiscocks
edd0bf7d46
ENH+DOC: Update Fail2Ban database doc strings and use properties
11 years ago
Steven Hiscocks
df8d700d17
RF: Refactor Jail and JailThread
...
Includes:
- documentation to new format and use of properties
- change isActive->is_active as former no longer documented for
python3, and later introduction and documented in python2.6
- status formatter in beautifier somewhat more automatically
formatted; no changes are required for additional status elements
- JailThread now set to active within `start` method, complimenting
`stop` method
11 years ago
Steven Hiscocks
2b33a5fbaa
TST+DOC: Improve error message for log level, and test HEAVYDEBUG
11 years ago
Steven Hiscocks
212d05dc0b
ENH: Add action elements to bash-completion
11 years ago
Steven Hiscocks
a4731ef988
DOC: Correct log levels
11 years ago
Steven Hiscocks
5630c56c75
ENH: Change logging levels and make info more verbose
11 years ago