Commit Graph

242 Commits (9a1df3501b936d730e330ecb878802cf93c59aed)

Author SHA1 Message Date
Yaroslav Halchenko 6aed705f3d BF: (travis) if tests ran under coverage -- there is a traceback parts to report (thus > would be present)
12 years ago
Yaroslav Halchenko 1b301d723d ENH: also print the failing traceback line in case of failure
12 years ago
Yaroslav Halchenko f345c4d7dc ENH: include explicit list of new files which should not be there upon "install --root"
12 years ago
Yaroslav Halchenko 571ff33fde ENH: issue a warning if jail name is longer than 19 symbols (Close #222)
12 years ago
Yaroslav Halchenko bdc86e5f1d ENH: use the same python executable for setup.py test
12 years ago
Yaroslav Halchenko 281d310b7e ENH: actually tune up TraceBack to determine "unittest" portions of the stack across all python releases
12 years ago
Yaroslav Halchenko dc05eee0f5 TST: Some primarily smoke tests for tests utils
12 years ago
Yaroslav Halchenko e70d01bc10 TST: cover few more lines in fail2banreader.py
12 years ago
Yaroslav Halchenko 26715d5e5e ENH: basic test for setup.py itself (when applicable, should greatly improve coverage ;) )
12 years ago
Yaroslav Halchenko 90d6a4a6cd ENH: consistent operation of formatExceptionInfo + unittest for it
12 years ago
Yaroslav Halchenko 7a6eecbe21 ENH: close open file in a test
12 years ago
Yaroslav Halchenko 0e5f7b5951 Merge branch '_enh/strip_crlf'
12 years ago
Yaroslav Halchenko 28794d842d ENH: close files in _test_move_into_file
12 years ago
Yaroslav Halchenko 582d1c5ea5 ENH: remove use of $Revision and $Date SVN tags
12 years ago
Yaroslav Halchenko 6fef85ff2d ENH: strip CR and LF while analyzing the lines (processLine) (Close #202)
12 years ago
Yaroslav Halchenko 571cadd80c ENH: Use real (resolving) example.com instead of test.example.com
12 years ago
Yaroslav Halchenko 976a65bb89 Merge branch 'bsd_logs' of https://github.com/grooverdan/fail2ban
12 years ago
Yaroslav Halchenko 5e1d8b07e8 ENH: logs/sshd -- have ":" after [daemon] (other uses are uncommon)
12 years ago
Yaroslav Halchenko ffcac2ccee ENH: logs/sshd -- use example.com as the resolved hostname in sample log lines
12 years ago
Yaroslav Halchenko 2143cdff39 Merge: opensolaris docs/fixes, no 'sed -i' in hostsdeny, sshd regex tuneups
12 years ago
Yaroslav Halchenko bcecf085f1 Merge pull request #209 from grooverdan/tst_br
12 years ago
jamesstout 932bd102fe ENH: Removed unused log line
12 years ago
Daniel Black 503602b332 TST: test case for <br> tags in action
12 years ago
Daniel Black cde7108033 DOC: bsd syslog files thanks to Nick Hilliard
12 years ago
Daniel Black 495f2dd877 DOC: purge of svn tags
12 years ago
Yaroslav Halchenko 89adcd7ff7 Merge branch PR #193 ASSP SMTP Proxy support (with some manual squashing)
12 years ago
Enrico Labedzki fd01649a61 fixed test date thx to steven
12 years ago
Enrico Labedzki 24a8d07c20 added new date format support for ASSP SMTP Proxy
12 years ago
Yaroslav Halchenko 7c409dd24f Merge branch 'master' of git://github.com/fail2ban/fail2ban
12 years ago
jamesstout 018913db6a ENH+TST: ssh failure messages for OpenSolaris and OS X
12 years ago
Yaroslav Halchenko f21566049c BF: pyinotify backend should also handle IN_MOVED_TO events
12 years ago
Daniel Black 1d9abd1b39 ENH: allow recursive tag substitution in action files.
12 years ago
Daniel Black 0ac8746d05 ENH: Account for views in named filter. By Romain Riviere in gentoo bug #259458
12 years ago
Steven Hiscocks 94956bee84 TST: test all valid loglevels in server testcases
12 years ago
Steven Hiscocks 4c4b60f4b4 TST: Add tag replace and escape test for actions
12 years ago
Yaroslav Halchenko ffaa9697ee Adjusting previous PR (MySQL logs) according to my comments
12 years ago
Yaroslav Halchenko 3e6be243bf Merge branch 'Support_for_mysql_log_example' of https://github.com/arto-p/fail2ban
12 years ago
Yaroslav Halchenko 33a31e096a RF+TST: bring inBanList back from private to protected and enabled its rudimentary unittests
12 years ago
Yaroslav Halchenko e7184e70f6 ENH: increase waiting to 4 sec for gamin/pyinotify
12 years ago
Yaroslav Halchenko ef3f2b7e99 TST: be more aggressive in cleanup of temp files + use mktemp instead of mkstemp
12 years ago
Yaroslav Halchenko bf4d4af1d4 ENH(BF?): overload open() (for buffering) within filtertestcase to guarantee atomic writing
12 years ago
Yaroslav Halchenko ab044b75ea BF: delay check for the existence of config directory until read()
12 years ago
Yaroslav Halchenko f643e2e907 non-static (get|set)BaseDir for Configurator. fixes #160
12 years ago
Yaroslav Halchenko 72b06479a5 ENH: Slight tune ups for fresh SOGo filter + comment into the sample log file
12 years ago
Yaroslav Halchenko 105306e1a8 Merge remote-tracking branch 'pr/117/head' -- SOGo filters
12 years ago
Yaroslav Halchenko cd57d9c552 Merge pull request #155 from yarikoptic/master
12 years ago
Yaroslav Halchenko 91d5736c12 ENH: postfix filter -- react also on (450 4.7.1) with empty from/to. fixes #126
12 years ago
Yaroslav Halchenko c06b7abb46 TST: basic testing of reading the shipped jail.conf (forcing all jails to be enabled)
12 years ago
Yaroslav Halchenko 7064a411c2 ENH: _copy_lines_between_files -- read all needed, and only then write/flush at once
12 years ago
Yaroslav Halchenko 52af29a080 ENH: adding ability to incorporate tracebacks into log lines while running tests
12 years ago
Yaroslav Halchenko f72bc13111 BF: allow to wait longer for FilterPoll in test_move_file
12 years ago
Yaroslav Halchenko e6983b4f9b BF: Remove custom __str__ for MonitorFailures and just adjust __name__ of the generated class
12 years ago
Yaroslav Halchenko 755f27493e Merge branch '_tent/conf_d'. fixes #114
12 years ago
Yaroslav Halchenko 007827fac6 ENH: increase timeout to 20 sec from 10 sec in assert_correct_last_attempt
12 years ago
Yaroslav Halchenko 3b4084d471 BF: fixing up for handling of TAI64N timestamps and adding some unittest for prev commit (not effective much though)
12 years ago
Artur Penttinen edc0eb2a9c Added testcase for MySQL date format to testcases/datedetectortestcase.py
12 years ago
ArndRa ebb6e5f4eb An example of failed logins against sogo
12 years ago
Yaroslav Halchenko 996e23455c DOC: reverted unneeded stripping of DoW + added comments for why [:6]
12 years ago
Yaroslav Halchenko e3d3a6ac02 Merge branch 'datedetector-testcase' of https://github.com/kwirk/fail2ban
12 years ago
Steven Hiscocks ec87e3edbd TST: Break out server testcases that modify logging settings
12 years ago
Yaroslav Halchenko 99bf14851f BF+TST: Introduce delay before stopping all jails in testStartStopAllJail. fixes #146
12 years ago
Yaroslav Halchenko 1330c7d4b8 Merge branch 'socket-testcase' of https://github.com/kwirk/fail2ban
12 years ago
Steven Hiscocks 43b8a66482 Update MANIFEST with and author of testcases/sockettestcase.py
12 years ago
Steven Hiscocks 86d48a854f Correct datedetector testcases for TAI64N format
12 years ago
Steven Hiscocks 883892a683 Additional date/time formats for datedetector testcases
12 years ago
Steven Hiscocks d4362859ef Added testcase for csocket and asyncserver
12 years ago
Steven Hiscocks 4bbbc07872 Added additional Transmitter tests, and some associated fixes
12 years ago
Daniel Black 3665e6dc44 Add development documentation and framework for code coverage measurement
12 years ago
Steven Hiscocks b36835f6f0 Added transmitter get cinfo option for action
12 years ago
Steven Hiscocks b6a68f5138 Fix for missing value in transmitter delaction
12 years ago
Steven Hiscocks 088e40c481 Rewrite and enable server testcase for Transmitter
12 years ago
Yaroslav Halchenko ec3080cba5 Reincarnated removed (by mistake) test for SplitAction
12 years ago
Yaroslav Halchenko 2312b1d950 ENH: made log messages while parsing files more informative + test for inaccessible file (Closes: gh-24)
12 years ago
Yaroslav Halchenko 9ba27353b6 NF: allow customization configuration under corresponding .d directories (Closes gh-114)
12 years ago
Yaroslav Halchenko 5f2d3832f7 NF: roundcube-auth filter (to close Debian #699442, needing debian/jail.conf section)
12 years ago
Yaroslav Halchenko 9a39292813 ENH: Added login authenticator failed regexp for exim filter
12 years ago
Yaroslav Halchenko 21e966e4bb example logs should carry the same name as the filter they are devised for
12 years ago
pigsyn 123d457924 Update testcases/files/logs/Webmin
12 years ago
pigsyn 38dd1506cc Sample Webmin logs
12 years ago
Yaroslav Halchenko 68c1defb76 ENH: added dovecot example from Daniel Black + example with DoS attempt via injected rhost
12 years ago
Yaroslav Halchenko 6d804df504 Merge branch 'patch-2' of https://github.com/hamilton5/fail2ban (dovecot log examples)
12 years ago
hamilton5 ccc62ddbf3 Update testcases/files/logs/dovecot
12 years ago
Yaroslav Halchenko 67145d8b78 ENH: assure that all date templates have unique names
12 years ago
Yaroslav Halchenko 2b6366656f BF: make sorting of date templates stable
12 years ago
hamilton5 c534c1d03d Update testcases/files/logs/dovecot
12 years ago
Yaroslav Halchenko fc27e00290 ENH: tune up sshd-ddos to use common.conf and allow training spaces
12 years ago
Yaroslav Halchenko 37a2e59d69 BF: guarantee that IP is stored as a base, non-unicode str (Closes gh-91)
12 years ago
Yaroslav Halchenko f10537941b ENH: To help with gh-87 added hints into the log on some failure return codes (e.g. 0x7f00 for this one)
12 years ago
Yaroslav Halchenko 1e12c220e6 minor: added a note on now "negative" log entries on "POSSIBLE BREAK-IN ATTEMPT"
12 years ago
Yaroslav Halchenko 5becaf8ef2 BF: (python 2.[45]) store backends names in a list to use .index later on (Closes gh-83)
12 years ago
François Boulogne 958a1b0a40 Lighttpd: support auth.backend = "htdigest"
12 years ago
Yaroslav Halchenko 2082fee7b1 ENH: match possibly present "pam_unix(sshd:auth):" portion for sshd (Closes: #648020)
13 years ago
Yaroslav Halchenko 6ad55f64b3 ENH: add wu-ftpd failregex for use against syslog (Closes: #514239)
13 years ago
Yaroslav Halchenko 337f3f6f7b ENH: 1 more sleep_4_poll to guarantee difference in time stamp
13 years ago
Yaroslav Halchenko e9964846fa ENH: few more delays for cases relying on time stamps
13 years ago
Yaroslav Halchenko a1a67d34a9 ENH: tests much more robust now across pythons 2.4 -- 2.7
13 years ago
Yaroslav Halchenko 6ac9fd5d26 ENH: Filter's testcases -- rename, del + list again --- a bit unstable, might still fail from time to time
13 years ago
Yaroslav Halchenko 60260bce3d ENH: first working unittest for checking polling and inotify backends
13 years ago
Yaroslav Halchenko 0b842272e3 ENH: extended test LogfileMonitor
13 years ago
Yaroslav Halchenko 398cc73d3d Added few tests of FileFilter. yet to place them into a Jail-ed execution test
13 years ago
Yaroslav Halchenko 215c3cc5c5 ENH: added a basic test for FilterPoll for detection of modifications
13 years ago
Yaroslav Halchenko 3989d24967 BF: usedns=no was not working at all
13 years ago
Yaroslav Halchenko 971406f722 RF: filtertestcase.py to put common testing into a helping subroutine
13 years ago
Petr Voralek 4007751191 ENH: catch failed ssh logins due to being listed in DenyUsers. Close gh-47 (Closes: #669063)
13 years ago
Yaroslav Halchenko 71a3fb17e2 Merge remote-tracking branch 'gh-magicrhesus/master'
13 years ago
Xavier D 7a76838737 Add sample log file for asterisk
13 years ago
Yaroslav Halchenko b257be4cd1 BF+ENH: added %m-%d-%Y pattern + do not add %Y for Feb 29 fix if already present in the pattern
13 years ago
Lee Clemens d73a71f5cf ENH: Add usedns parameter for the jails
13 years ago
Lee Clemens 9092a63ce5 Changed TLDs to invalid domains, in accordance with RFC 2606
13 years ago
Leonardo Chiquitto a7d47e8b36 Update Free Software Foundation's address
13 years ago
François Boulogne 115092956f Correction of the IP in testcase for lighttpd
13 years ago
François Boulogne 683d4f269d modifications suggested by a referee (log ex+regexp)
13 years ago
Yaroslav Halchenko db39c7438a ENH: added custom timeformat with '.' as separator. Close gh-1
13 years ago
Yaroslav Halchenko fceff2d5b9 moving log samples under testcases/files
13 years ago
Yaroslav Halchenko 441cd891bc NF: adding unittests for previous commit
13 years ago
Yaroslav Halchenko 344effb437 ENH: minor unittest to see if tickets carry correct 'matches'
13 years ago
Yaroslav Halchenko ed6daa70bf ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
13 years ago
Yaroslav Halchenko 94aa94e966 ENH: more human-accessible printout of the dates if any comparison fails
13 years ago
Cyril Jaquier 0cf733e878 - Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714.
16 years ago
Cyril Jaquier abd061bad8 - Changed <HOST> template to be more restrictive. Debian bug #514163.
16 years ago
Cyril Jaquier 09f41e485c - Fixed date values.
17 years ago
Cyril Jaquier 65dcbed591 - Split Filter into Filter and FileFilter.
17 years ago
Cyril Jaquier eae650fdfc - Refactoring. Merged failticket and banticket into ticket.
17 years ago
Cyril Jaquier cd012dda85 - Added svn:keywords
18 years ago
Cyril Jaquier 0f31cc0feb - Added support for several "failregex" and "ignoreregex". This should simplify the configuration files.
18 years ago
Cyril Jaquier b3143c723d - Fixed a bug in user defined regex/pattern date template
18 years ago
Cyril Jaquier 150a6abd0d - Stop reading log file when jail is no more active
18 years ago
Cyril Jaquier 5c668c8fed - Added action test case
18 years ago
Cyril Jaquier e581913c1f - Added more filter test cases
18 years ago
Cyril Jaquier ee86212435 - Updated testcases to fix the time using MyTime
18 years ago
Cyril Jaquier 7b7d246a19 - Added DNS support for "ignoreip"
18 years ago
Cyril Jaquier 4502c0f6ba - Organized imports (pylint)
18 years ago
Cyril Jaquier c7451fa250 - Updated test cases
18 years ago
Cyril Jaquier 7f7361a282 - Added Gamin (file and directory monitoring system) support
18 years ago
Cyril Jaquier e146d07394 - Added wildcards support for "logpath"
18 years ago
Cyril Jaquier 8df771ce6b - Added one more test for the date detector
18 years ago
Cyril Jaquier 438f0e8122 - Added date detector
18 years ago
Cyril Jaquier 5c4a4f8726 - Updated setFailRegex() with group
19 years ago
Cyril Jaquier 0326a94157 - Removed test which depends on current time
19 years ago
Cyril Jaquier 8af85f5c40 - Bug fix: '-', '_' and '.' are valid as action file
19 years ago
Cyril Jaquier 6d2aa15aa7 - Added property 'svn:keywords'
19 years ago
Cyril Jaquier ea1948eff4 - Initial commit of the new development release 0.7
19 years ago