Yaroslav Halchenko
fab3772a60
TST: explicitly test date patterns being anchored or not
2013-09-30 20:15:24 -04:00
Steven Hiscocks
a8f2448349
ENH: Allow SE Linux epoch date detection
2013-09-30 20:58:24 +01:00
Daniel Black
bcc16789d0
TST: test elements of DateTemplate base class
2013-09-29 15:02:38 +10:00
Daniel Black
2acaef9d89
TST: more detail in assertion
2013-08-29 09:17:13 +10:00
Daniel Black
f2a60daea1
TST/BF: assertIsNotNone replaced with assertNotEqual for python 2.4 compatibility
2013-08-28 12:55:21 +10:00
Daniel Black
13b4f176ab
TST: improve datedetector error reporting
2013-08-28 12:41:20 +10:00
Steven Hiscocks
1e270078b4
TST: Warn if date templates overlap in default detectors
2013-07-27 20:21:05 +01:00
Yaroslav Halchenko
582d1c5ea5
ENH: remove use of $Revision and $Date SVN tags
2013-05-08 13:59:09 -04:00
Daniel Black
495f2dd877
DOC: purge of svn tags
2013-05-03 16:03:38 +10:00
Enrico Labedzki
fd01649a61
fixed test date thx to steven
2013-05-03 00:56:53 -04:00
Enrico Labedzki
24a8d07c20
added new date format support for ASSP SMTP Proxy
2013-05-03 00:56:46 -04:00
Yaroslav Halchenko
3e6be243bf
Merge branch 'Support_for_mysql_log_example' of https://github.com/arto-p/fail2ban
...
* 'Support_for_mysql_log_example' of https://github.com/arto-p/fail2ban :
Added testcase for MySQL date format to testcases/datedetectortestcase.py and example of MySQL log file.
Added support for MySQL logfiles
Conflicts:
testcases/datedetectortestcase.py -- conflictde with other added test cases
2013-04-09 17:55:14 -04:00
Yaroslav Halchenko
3b4084d471
BF: fixing up for handling of TAI64N timestamps and adding some unittest for prev commit (not effective much though)
2013-03-25 10:41:13 -04:00
Artur Penttinen
edc0eb2a9c
Added testcase for MySQL date format to testcases/datedetectortestcase.py
...
and example of MySQL log file.
2013-03-25 16:00:07 +02:00
Yaroslav Halchenko
996e23455c
DOC: reverted unneeded stripping of DoW + added comments for why [:6]
2013-03-22 20:56:45 -04:00
Steven Hiscocks
86d48a854f
Correct datedetector testcases for TAI64N format
2013-03-16 18:18:27 +00:00
Steven Hiscocks
883892a683
Additional date/time formats for datedetector testcases
...
Also made a note that some workarounds for certain date/time formats
may cause week/year day to be incorrect. This does not affect
functionality of fail2ban so no urgency to fix.
2013-03-16 17:55:22 +00:00
Yaroslav Halchenko
67145d8b78
ENH: assure that all date templates have unique names
2012-12-11 11:18:52 -05:00
Yaroslav Halchenko
2b6366656f
BF: make sorting of date templates stable
...
Before, it would first do stable sort followed with explicit reverse.
Now reverse is given as an argument to sort, and it results in actually
preserving the order in case of e.g. no sorting needed
2012-12-11 11:18:52 -05:00
Yaroslav Halchenko
b257be4cd1
BF+ENH: added %m-%d-%Y pattern + do not add %Y for Feb 29 fix if already present in the pattern
...
although %m-%d-%Y is ambioius with %d-%m-%Y it comes after so it should not
be too dangerous (i.e. in upcoming days having smth like 02-01 should work as before matching
first one first) and proper fix to select between the two should follow some time
soon
2012-01-28 12:43:42 -05:00
Leonardo Chiquitto
a7d47e8b36
Update Free Software Foundation's address
...
The address has changed from "59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA" to "51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA" some time ago.
2011-12-30 12:41:46 -05:00
Yaroslav Halchenko
db39c7438a
ENH: added custom timeformat with '.' as separator. Close gh-1
...
Probably evening effect -- can't understand why reported days of the weeks
differ and it was 1 originally at all. Left as TODO
2011-11-21 20:01:15 -05:00
Yaroslav Halchenko
ed6daa70bf
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
2011-10-07 15:49:38 -04:00
Cyril Jaquier
09f41e485c
- Fixed date values.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@650 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-02-02 20:07:06 +00:00
Cyril Jaquier
65dcbed591
- Split Filter into Filter and FileFilter.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@641 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-26 11:46:22 +00:00
Cyril Jaquier
cd012dda85
- Added svn:keywords
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@504 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 16:37:17 +00:00
Cyril Jaquier
b3143c723d
- Fixed a bug in user defined regex/pattern date template
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@460 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 21:57:26 +00:00
Cyril Jaquier
ee86212435
- Updated testcases to fix the time using MyTime
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@419 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-18 22:35:32 +00:00
Cyril Jaquier
4502c0f6ba
- Organized imports (pylint)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@382 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 17:03:48 +00:00
Cyril Jaquier
8df771ce6b
- Added one more test for the date detector
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@341 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:44:36 +00:00
Cyril Jaquier
438f0e8122
- Added date detector
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@326 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-05 21:17:35 +00:00