JoelSnyder
5165d2f6ea
Update oracleims.conf to be 'less greedy'
...
This assumes that the protocol is always a string, which it always is, and that the other four fields in the "tr" are always numeric (which they always are). See port_access documentation at http://docs.oracle.com/cd/E19563-01/819-4428/bgaur/index.html
2014-06-09 18:44:27 -07:00
JoelSnyder
c325e88634
Update THANKS
...
Per Steven.
2014-06-09 18:38:22 -07:00
JoelSnyder
70ed93d8cc
Update jail.conf for oracleims filter.
...
This is the jail.conf update. Hopefully this will go into pull request #734 .
2014-06-09 18:37:31 -07:00
JoelSnyder
54317d7c3b
Create test for oracleims filter
...
This test file shows configuration information for the application, three log lines that DO match the pattern, and one log line that does NOT match the pattern (the first one).
2014-06-02 22:58:39 -07:00
JoelSnyder
9b7c35810a
Create oracleims.conf in filter.d for new filter
...
Created oracleims.conf to catch messages from Sun/Oracle Communications Messaging Server v6.3 and above (including v7)
2014-06-02 22:55:59 -07:00
Yaroslav Halchenko
98daa9d301
Merge pull request #723 from kwirk/decode-warning
...
ENH: Clearer warning with lines which failed to decode correctly
2014-05-30 12:15:51 -04:00
Steven Hiscocks
0ca97431a0
ENH: Clearer warning with lines which failed to decode correctly
2014-05-15 22:48:03 +01:00
Steven Hiscocks
fc4b69a282
DOC: Update ChangeLog fix for ip{,jail}failures action tags
2014-05-15 22:15:12 +01:00
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;
2014-05-15 19:41:00 +02:00
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
2014-05-13 11:23:30 -04:00
Steven Hiscocks
1e586fb0e9
ENH: explicitly define tags which should be escaped
2014-05-11 14:49:49 +01:00
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
2014-05-10 20:02:47 -04:00
Steven Hiscocks
904b362215
DOC: ChangeLog update for recursive tag bug fix
...
Also minor typo fixes in comments
2014-05-09 20:25:44 +01:00
Steven Hiscocks
77ba065571
Merge pull request #697 from jhmartin/monit_admin_hack
...
Block brute-force attempts against the Monit gui
2014-05-07 22:23:01 +01:00
Yaroslav Halchenko
3471f13a84
Merge pull request #700 from kwirk/format-traceback-to-helpers
...
ENH: Move traceback formatter to from tests.utils to helpers
2014-05-07 09:09:01 -04:00
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 ;)
2014-05-05 23:29:35 -04:00
Yaroslav Halchenko
3eabf4a7bd
Merge pull request #708 from kwirk/ssh-bye-bye
...
ENH: Match non "Bye Bye" for sshd locked accounts failregex
2014-05-05 23:22:57 -04:00
Yaroslav Halchenko
65269365ee
minor
2014-05-05 23:16:18 -04:00
Yaroslav Halchenko
91eb75098b
Merge pull request #714 from kwirk/urandom-persistent
...
BF: Avoid closing "/dev/urandom" for Python 3.4.0
2014-05-05 23:13:34 -04:00
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
2014-05-03 14:28:13 +01:00
Steven Hiscocks
2bb7401ec1
Merge pull request #686 from CameronNemo/patch-2
...
Update fail2ban.upstart
2014-05-03 13:21:13 +01:00
Steven Hiscocks
1e8402cb99
DOC: ChangeLog entry for Python 3.4.0 persistent "/dev/urandom" fix
2014-05-03 12:51:15 +01:00
Steven Hiscocks
cf3a6015f0
BF: Avoid closing "/dev/urandom" for Python 3.4.0
...
Upstream bug: http://bugs.python.org/issue21207
Closes gh-687
2014-05-03 12:44:03 +01:00
Steven Hiscocks
b486014b35
TST: Add Python 3.4 for TravisCI
...
This reverts commit 233aa043f3
.
2014-05-03 12:09:48 +01:00
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
2014-05-01 13:14:06 -04:00
Steven Hiscocks
bc10b64c69
ENH: Match non "Bye Bye" for sshd locked accounts failregex
2014-04-27 13:35:55 +01:00
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.
2014-04-27 13:27:11 +01:00
Yaroslav Halchenko
596b819bdc
DOC: minor -- tabify docstring in badips.py action
2014-04-23 10:04:17 -04:00
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
2014-04-22 21:55:51 -07:00
Jason Martin
9c3cb31862
Even stricter monit regex, now covers entire line
2014-04-22 21:29:52 -07:00
Cameron Norman
73cb3e3eec
Added more specific help message to fail2ban-client with -f option
2014-04-22 20:20:07 -07:00
Steven Hiscocks
bbcbefd494
BF: bantime < 0 database should return all bans, as they are persistent
2014-04-22 19:20:44 +01:00
Yaroslav Halchenko
64866995b7
Merge pull request #703 from kwirk/journal-match-notice
...
Add notice message for systemd backend when no journal match
2014-04-20 22:32:00 -04:00
Cameron Norman
7818b0cb2a
Added f and b to cmdOpts.
...
f = start server in foreground; b = start server in background (default).
2014-04-20 16:03:04 -07:00
Cameron Norman
1f53eb2d28
Updated man page for new options
2014-04-20 11:39:04 -07:00
Cameron Norman
9c2a0cb403
Added foreground and background options to fail2ban-client
2014-04-20 11:37:07 -07:00
Steven Hiscocks
a7766d3316
DOC: Add notice message for systemd backend when no journal match
2014-04-20 17:59:41 +01:00
Cameron Norman
39ad5b7474
Update Upstart job: uses stop command in pre-stop, removes PID file in post-stop
2014-04-19 15:10:19 -07:00
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).
2014-04-19 14:12:20 -07:00
Jason Martin
72bfd14330
Tidy up filter.d/monit.conf, make regex more complete.
...
Add ChangeLog / THANKS entry.
Add test cases.
2014-04-19 13:04:03 -07:00
Steven Hiscocks
233aa043f3
Revert "TST: Add Python 3.4 for TravisCI"
...
This reverts commit a3f8b943a3
.
TravsCI doesn't support 3.4...yet
2014-04-19 18:39:55 +01:00
Steven Hiscocks
a3f8b943a3
TST: Add Python 3.4 for TravisCI
2014-04-19 18:25:59 +01:00
Steven Hiscocks
03d90c2f42
BF: recidive filter and samples at wrong log level: WARNING->NOTICE
2014-04-19 18:07:23 +01:00
Yaroslav Halchenko
af07b2edf8
very minor
2014-04-18 23:59:24 -04:00
Steven Hiscocks
6a740f684a
ENH: Move traceback formatter to from tests.utils to helpers
...
Now allows for tests to be removed from package if desired
2014-04-18 23:27:30 +01:00
Yaroslav Halchenko
78c82b3da7
DOC: minor -- added a link to pull requests in CONTRIBUTING
2014-04-17 23:16:41 -04:00
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
2014-04-17 22:23:20 -04:00
Yaroslav Halchenko
2bc509fcc7
DOC: minor changes just to trigger the build
2014-04-17 14:34:26 -04:00
Yaroslav Halchenko
16077a2771
add .dev to 0.9.0 version
2014-04-17 14:08:43 -04:00
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
2014-04-17 13:19:03 -04:00