Yaroslav Halchenko
994fe77e59
ENH: make oracleims failregex better anchored (more explicit)
11 years ago
Yaroslav Halchenko
2a51a0176a
BF: minor type for delignoreregex in bash completions
11 years ago
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
11 years ago
JoelSnyder
c325e88634
Update THANKS
...
Per Steven.
11 years ago
JoelSnyder
70ed93d8cc
Update jail.conf for oracleims filter.
...
This is the jail.conf update. Hopefully this will go into pull request #734 .
11 years ago
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
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).
11 years ago
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)
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
pmarrapese
96918acee4
more explicit match for sshd filter & added test
11 years ago
pmarrapese
46d6e93800
adjusted sshd filter regex to catch more verbose lines
11 years ago
Yaroslav Halchenko
eb2487986c
ENH: minor -- print time which was used to process lines
11 years ago
Steven Hiscocks
0ca97431a0
ENH: Clearer warning with lines which failed to decode correctly
11 years ago
Steven Hiscocks
1fa8f9fa70
DOC: Tweak ChangeLog and THANKS
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
Steven Hiscocks
1c20fd88d4
DOC: Update docs in reference to time zone related fix
11 years ago
Steven Hiscocks
8843423c8f
TST: Fix tests due to @sebres fix and based from gh-349 reverts
11 years ago
sebres
2bf0b4a50c
strptime bug fix: if gmtoff is None we have 1 hour increment of time (through utctimetuple), compare:
...
>>>> datetime.datetime.fromtimestamp(time.mktime(datetime.datetime.now().timetuple())).strftime("%Y-%m-%d %H:%M:%S")
'2014-04-29 17:26:31'
>>>> datetime.datetime.fromtimestamp(time.mktime(datetime.datetime.now().utctimetuple())).strftime("%Y-%m-%d %H:%M:%S")
'2014-04-29 18:26:37'
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