Yaroslav Halchenko
89adcd7ff7
Merge branch PR #193 ASSP SMTP Proxy support (with some manual squashing)
...
Origin: https://github.com/lenrico/fail2ban
Squashing was done via rebase -i 1524b076d6
to eliminate massive assp sample log file originally added
fixed test date thx to steven
tight control of the filter for ASSP
as yaroslav wishes
as daniel desires
changed from DateASSPlike class to DateStrptime
fixed little things
added new date format support for ASSP SMTP Proxy
2013-05-03 00:57:49 -04:00
Enrico Labedzki
9185c070eb
changed from DateASSPlike class to DateStrptime
2013-05-03 00:56:52 -04:00
Enrico Labedzki
ba8f012637
fixed little things
2013-05-03 00:56:52 -04:00
Enrico Labedzki
24a8d07c20
added new date format support for ASSP SMTP Proxy
2013-05-03 00:56:46 -04:00
Yaroslav Halchenko
8e63d4c6da
ENH: "is None" instead of "== None" + tune ups in headers
...
is None is generally faster than == and from looking at those places
should be adequate.
Also while at those files removed unneded duplicate author listing +
expanded copyright/authors with myself where applicable
2013-05-02 23:25:43 -04:00
Artur Penttinen
29d0df58be
Added support for MySQL logfiles
2013-03-24 16:52:58 +02:00
Yaroslav Halchenko
67145d8b78
ENH: assure that all date templates have unique names
2012-12-11 11:18:52 -05:00
Yaroslav Halchenko
d1625253eb
ENH: debug msgs on which template was taken (+ use "is" for None comparisons)
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
fd4c151353
BF: be able to detect time for VNC recording only 2 letters of year ( closes : #537610 )
2011-11-18 11:02:43 -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
6b9896c332
- Added CPanel date format. Thanks to David Collins. Tracker #1967610 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@722 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-01-27 23:21:55 +00:00
Cyril Jaquier
870f9d9ea7
- Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@719 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-01-20 21:48:04 +00:00
Cyril Jaquier
f6d44e6bc8
- Added new time format. No idea from where it comes...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@714 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-10-10 16:26:18 +00:00
Cyril Jaquier
9e2a4a935a
- Added date template for Day-Month-Year Hour:Minute:Second.
...
- Values as string are shown in capital in the description.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@710 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 21:42:21 +00:00
Cyril Jaquier
e064ebba45
- Added date pattern for Hour:Minute:Second. Thanks to Andreas Itzchak Rehberg.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@709 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 20:59:17 +00:00
Cyril Jaquier
298adc4d43
- Added ISO 8601 date/time format.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@692 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-18 19:53:18 +00:00
Cyril Jaquier
46dab37bfe
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@685 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-04-07 22:49:47 +00:00
Cyril Jaquier
7091cb39e4
- Small refactoring.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@645 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-01-16 22:55:04 +00:00
Cyril Jaquier
adcc2ef386
- Removed user-defined time regex/pattern.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@639 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-17 20:04:29 +00:00
Cyril Jaquier
ce6b8c959e
- Removed Python 2.4. Minimum required version is now Python 2.3.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@635 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-16 21:38:04 +00:00
Cyril Jaquier
c07a7a6e7a
- Refactoring. Reduced number of files.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@633 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-16 18:05:07 +00:00
Cyril Jaquier
040822f19f
- Added "named" date format to date detector. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@607 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:16:22 +00:00
Cyril Jaquier
6145a88fe8
- Added date format for asctime without year
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@568 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-04-01 20:42:05 +00:00
Cyril Jaquier
6426cf75aa
- Moved every locking statements in a try..finally block
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@553 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-25 23:53:22 +00:00
Cyril Jaquier
35a26237eb
- Fixed asctime pattern in datedetector.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@546 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-11 23:19:32 +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
812a47cc4a
- Added new date pattern (Exim4). Thanks to mEDI
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@500 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 09:50:03 +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
a49cc6bb08
- Added new date format (Apache). Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@439 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-31 22:22:40 +00:00
Cyril Jaquier
71b9fe8fe8
- Fixed some Pylint warnings/errors
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@433 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-24 19:40:51 +00:00
Cyril Jaquier
3cd43b13ce
- Added simple date format
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@422 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 20:26:24 +00:00
Cyril Jaquier
9f5f6812f5
- Added a getTemplates() method because self.__templates can not be accessed directly anymore
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@371 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 22:21:20 +00:00
Cyril Jaquier
126807dea8
- Made private fields prefixed with "__"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@368 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 20:38:32 +00:00
Cyril Jaquier
25664605aa
- Apache date start with '['
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@349 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-11 21:15:24 +00:00
Cyril Jaquier
77eef14ed8
- Improved date detector
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@340 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:43:13 +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