Steven Hiscocks
f7da091437
ENH: Log unhandled exceptions to Fail2Ban log
11 years ago
Steven Hiscocks
e8131475cd
ENH: Realign and harmonise log messages with getF2BLogger helper
11 years ago
Steven Hiscocks
db023be09b
BF: Fix bad syntax in badips.py action
...
Taken from https://bugzilla.redhat.com/attachment.cgi?id=895966&action=diff
11 years ago
Yaroslav Halchenko
98daa9d301
Merge pull request #723 from kwirk/decode-warning
...
ENH: Clearer warning with lines which failed to decode correctly
11 years ago
Steven Hiscocks
0ca97431a0
ENH: Clearer warning with lines which failed to decode correctly
11 years ago
Steven Hiscocks
fc4b69a282
DOC: Update ChangeLog fix for ip{,jail}failures action tags
11 years ago
sebres
213c4315c3
fix a TypeError bugs like "Failed to execute ban jail 'pam-generic' action 'iptables-allports'"
...
getAttempt returns not a list (numeric), so by call of both lambda we have a TypeError except;
simplifying code;
11 years ago
Yaroslav Halchenko
2526dbae92
Merge branch 'recursive-tag-fix' of https://github.com/kwirk/fail2ban
...
* 'recursive-tag-fix' of https://github.com/kwirk/fail2ban :
ENH: explicitly define tags which should be escaped
DOC: ChangeLog update for recursive tag bug fix
BF: Tags not fully recursively substituted
Conflicts:
ChangeLog -- kept all as is
11 years ago
Steven Hiscocks
1e586fb0e9
ENH: explicitly define tags which should be escaped
11 years ago
Yaroslav Halchenko
c619202d6f
Merge branch 'master' of github.com:fail2ban/fail2ban
...
* 'master' of github.com:fail2ban/fail2ban:
ENH: Match non "Bye Bye" for sshd locked accounts failregex
Even stricter monit regex, now covers entire line
Tidy up filter.d/monit.conf, make regex more complete. Add ChangeLog / THANKS entry. Add test cases.
ENH: Move traceback formatter to from tests.utils to helpers
Block brute-force attempts against the Monit gui
11 years ago
Steven Hiscocks
904b362215
DOC: ChangeLog update for recursive tag bug fix
...
Also minor typo fixes in comments
11 years ago
Steven Hiscocks
77ba065571
Merge pull request #697 from jhmartin/monit_admin_hack
...
Block brute-force attempts against the Monit gui
11 years ago
Yaroslav Halchenko
3471f13a84
Merge pull request #700 from kwirk/format-traceback-to-helpers
...
ENH: Move traceback formatter to from tests.utils to helpers
11 years ago
Yaroslav Halchenko
1f8b554d31
Merge branch 'database-persistent-bans' of https://github.com/kwirk/fail2ban
...
* 'database-persistent-bans' of https://github.com/kwirk/fail2ban :
BF: bantime < 0 database should return all bans, as they are persistent
Conflicts:
ChangeLog - kept all ;)
11 years ago
Yaroslav Halchenko
3eabf4a7bd
Merge pull request #708 from kwirk/ssh-bye-bye
...
ENH: Match non "Bye Bye" for sshd locked accounts failregex
11 years ago
Yaroslav Halchenko
65269365ee
minor
11 years ago
Yaroslav Halchenko
91eb75098b
Merge pull request #714 from kwirk/urandom-persistent
...
BF: Avoid closing "/dev/urandom" for Python 3.4.0
11 years ago
Steven Hiscocks
b3266ba44d
BF: Tags not fully recursively substituted
...
Note: recursive check ignored for "matches", as tags would be escaped,
and hence shouldn't match "<%s>" as "<ip>" would become "\<ip\>". This
therefore maintains advantage of delayed call for {ip,jail,}matches.
Fixes gh-713
11 years ago
Steven Hiscocks
2bb7401ec1
Merge pull request #686 from CameronNemo/patch-2
...
Update fail2ban.upstart
11 years ago
Steven Hiscocks
1e8402cb99
DOC: ChangeLog entry for Python 3.4.0 persistent "/dev/urandom" fix
11 years ago
Steven Hiscocks
cf3a6015f0
BF: Avoid closing "/dev/urandom" for Python 3.4.0
...
Upstream bug: http://bugs.python.org/issue21207
Closes gh-687
11 years ago
Steven Hiscocks
b486014b35
TST: Add Python 3.4 for TravisCI
...
This reverts commit 233aa043f3
.
11 years ago
Yaroslav Halchenko
1e19bca28e
Merge pull request #704 from CameronNemo/foreground-opt-client
...
Add an option in fail2ban-client to pass the foreground option to the server
11 years ago
Steven Hiscocks
bc10b64c69
ENH: Match non "Bye Bye" for sshd locked accounts failregex
11 years ago
Steven Hiscocks
7cc64a14e0
BF: fail2ban-regex assertion error caused by miscounted "missed" lines
...
Caused when removing lines as part of multiline regex, which had been
previously considered missed.
11 years ago
Yaroslav Halchenko
596b819bdc
DOC: minor -- tabify docstring in badips.py action
11 years ago
Cameron Norman
2a14e48f0b
A few final touches on the Upstart job
...
(a) use static-network-up, since it is more generic than the started networking event
(b) do not hook into network deconfiguration to speed up shutdown
(c) expect fork, per the use of the "-f" option
(d) use a variable for the run directory to make changing it simpler
(e) handle the situation of a left over socket file
(f) use the -f option to be able to track the PID
11 years ago
Jason Martin
9c3cb31862
Even stricter monit regex, now covers entire line
11 years ago
Cameron Norman
73cb3e3eec
Added more specific help message to fail2ban-client with -f option
11 years ago
Steven Hiscocks
bbcbefd494
BF: bantime < 0 database should return all bans, as they are persistent
11 years ago
Yaroslav Halchenko
64866995b7
Merge pull request #703 from kwirk/journal-match-notice
...
Add notice message for systemd backend when no journal match
11 years ago
Cameron Norman
7818b0cb2a
Added f and b to cmdOpts.
...
f = start server in foreground; b = start server in background (default).
11 years ago
Cameron Norman
1f53eb2d28
Updated man page for new options
11 years ago
Cameron Norman
9c2a0cb403
Added foreground and background options to fail2ban-client
11 years ago
Steven Hiscocks
a7766d3316
DOC: Add notice message for systemd backend when no journal match
11 years ago
Cameron Norman
39ad5b7474
Update Upstart job: uses stop command in pre-stop, removes PID file in post-stop
11 years ago
Cameron Norman
0ef5027234
Change Upstart job to track PID of the server
...
This only works correctly if the client does not fork itself when starting the server (which forks twice further).
11 years ago
Jason Martin
72bfd14330
Tidy up filter.d/monit.conf, make regex more complete.
...
Add ChangeLog / THANKS entry.
Add test cases.
11 years ago
Steven Hiscocks
233aa043f3
Revert "TST: Add Python 3.4 for TravisCI"
...
This reverts commit a3f8b943a3
.
TravsCI doesn't support 3.4...yet
11 years ago
Steven Hiscocks
a3f8b943a3
TST: Add Python 3.4 for TravisCI
11 years ago
Steven Hiscocks
03d90c2f42
BF: recidive filter and samples at wrong log level: WARNING->NOTICE
11 years ago
Yaroslav Halchenko
af07b2edf8
very minor
11 years ago
Steven Hiscocks
6a740f684a
ENH: Move traceback formatter to from tests.utils to helpers
...
Now allows for tests to be removed from package if desired
11 years ago
Yaroslav Halchenko
78c82b3da7
DOC: minor -- added a link to pull requests in CONTRIBUTING
11 years ago
Yaroslav Halchenko
5e179f5dcb
TST: skip the test if a known problem with Python 2.6 is detected
...
As was original "discovered" while running tests on OSX with python2.6:
http://nipy.bic.berkeley.edu/builders/fail2ban-py2.7-osx-10.6_master/builds/6/steps/shell_2/logs/stdio
11 years ago
Yaroslav Halchenko
2bc509fcc7
DOC: minor changes just to trigger the build
11 years ago
Yaroslav Halchenko
16077a2771
add .dev to 0.9.0 version
11 years ago
Yaroslav Halchenko
e66231f041
ENH(DOC): Move contributions related docs into CONTRIBUTING.md so it pops up when people file PR/issues
...
pushing directly without PR to trigger buildbot for master -- please pardon the rush
11 years ago
Yaroslav Halchenko
3c0d6a77d2
BF: testDatabase -- close and unlink the created test db file
11 years ago
Jason Martin
7d112430ca
Block brute-force attempts against the Monit gui
11 years ago