Commit Graph

1479 Commits (d661b8c046b05ad478172bfcffdc912cdea4d118)

Author SHA1 Message Date
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
ArndRa ebb6e5f4eb An example of failed logins against sogo 2013-03-25 09:11:51 +01:00
ArndRa bba3fd8568 Update sogo-auth.conf
included hint by user  yarikoptic
2013-03-25 08:43:13 +01:00
Yaroslav Halchenko c0915e5c7b Added Daniel and Steven to THANKS 2013-03-24 22:13:16 -04:00
Yaroslav Halchenko 6eb262fea6 My improvements to manpages 2013-03-24 22:12:52 -04:00
Yaroslav Halchenko e86addf171 Merge branch 'misc-fixes' of https://github.com/grooverdan/fail2ban
Conflicts:
	testcases/servertestcase.py -- excluded all the changes to this file,
      since they were  conflicting and actually not needed (yet at least)

* 'misc-fixes' of https://github.com/grooverdan/fail2ban:
  PKG: change email that I want in RPMs
  BF: defer testSocket for later
  DOC: Defin{a,i}tion
  DOC: add fail2ban.1 manual page
  DOC: init -> Init, defination -> Defination. Improved intro
  DOC: punishment claimed
  BF: add missing items from MANIFEST, used by python setup.py sdist
  DOC: tags are documented in the jail.conf(5) man page
  ENH: add test case for testing socket
  ENH: jail.conf man page
  ENH: git ignore failed patch reminants
  BF: remove non-existant files from setup.py. ENH: add documentation
  ENH: packaging information for RPM builds
  completed items from TODO list
2013-03-24 21:19:26 -04:00
Artur Penttinen 29d0df58be Added support for MySQL logfiles 2013-03-24 16:52:58 +02:00
Steven Hiscocks 21888dfe69 ENH: Add python3 versions to Travis CI config 2013-03-23 19:31:29 +00:00
Steven Hiscocks 8ddc9de928 BF: Handle expected errors for python3.{0,1} when changing log target 2013-03-23 19:04:58 +00:00
Daniel Black e6ae8872c6 PKG: change email that I want in RPMs 2013-03-23 21:31:09 +11:00
Daniel Black 6f804f9259 BF: defer testSocket for later 2013-03-23 21:04:03 +11:00
Daniel Black ab16246619 DOC: Defin{a,i}tion 2013-03-23 20:19:05 +11:00
Daniel Black b5cbee9e65 DOC: add fail2ban.1 manual page 2013-03-23 20:12:31 +11:00
Yaroslav Halchenko 996e23455c DOC: reverted unneeded stripping of DoW + added comments for why [:6] 2013-03-22 20:56:45 -04:00
Yaroslav Halchenko e3d3a6ac02 Merge branch 'datedetector-testcase' of https://github.com/kwirk/fail2ban
* 'datedetector-testcase' of https://github.com/kwirk/fail2ban:
  Correct datedetector testcases for TAI64N format
  Additional date/time formats for datedetector testcases
2013-03-22 20:27:39 -04:00
Yaroslav Halchenko 217b04d009 Merge pull request #148 from kwirk/testcases-logissues
Do not allow server tests to change logging until the last moment. fixes #147
2013-03-22 15:24:59 -07:00
Daniel Black 847c474b11 DOC: init -> Init, defination -> Defination. Improved intro 2013-03-23 09:17:40 +11:00
Daniel Black 8ce986e9f9 DOC: punishment claimed 2013-03-23 09:15:55 +11:00
Steven Hiscocks 7a442f079f BF: When changing log target with python2.{4,5} handle KeyError 2013-03-22 21:19:31 +00:00
Steven Hiscocks ec87e3edbd TST: Break out server testcases that modify logging settings 2013-03-22 21:15:37 +00:00
Yaroslav Halchenko 989fc06a42 DOC: DEVELOP -- mention TST commit tag, adjust formatting in Releasing 2013-03-22 09:26:33 -04:00
Yaroslav Halchenko 99bf14851f BF+TST: Introduce delay before stopping all jails in testStartStopAllJail. fixes #146 2013-03-22 09:20:21 -04:00
Yaroslav Halchenko 1330c7d4b8 Merge branch 'socket-testcase' of https://github.com/kwirk/fail2ban
* 'socket-testcase' of https://github.com/kwirk/fail2ban:
  Update MANIFEST with and author of testcases/sockettestcase.py
  Added testcase for csocket and asyncserver
2013-03-17 10:10:11 -04:00
Steven Hiscocks 43b8a66482 Update MANIFEST with and author of testcases/sockettestcase.py 2013-03-17 09:18:14 +00:00
Daniel Black 936a29f7a6 BF: add missing items from MANIFEST, used by python setup.py sdist 2013-03-17 12:31:29 +11:00
Daniel Black 67544d1dd6 DOC: tags are documented in the jail.conf(5) man page 2013-03-17 10:52:49 +11: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
Daniel Black 3cffb0c9e0 ENH: add test case for testing socket 2013-03-16 16:18:59 +11:00
Daniel Black 3aeb1a9f4e ENH: jail.conf man page 2013-03-16 13:57:42 +11:00
Daniel Black c6ac9c2e35 ENH: git ignore failed patch reminants 2013-03-16 13:53:51 +11:00
Daniel Black 10d4aa1682 BF: remove non-existant files from setup.py. ENH: add documentation 2013-03-16 13:53:12 +11:00
Daniel Black a5928cc3cf ENH: packaging information for RPM builds 2013-03-16 13:52:18 +11:00
Daniel Black 2a57a17c86 completed items from TODO list 2013-03-16 13:51:23 +11:00
Orion Poplawski ed386dfe07 Add systemd unit file and tmpfiles.d configuration files 2013-03-15 14:37:11 -06:00
Orion Poplawski fb006ff624 Merge branch 'master' of git://github.com/fail2ban/fail2ban 2013-03-15 13:31:39 -06:00
Yaroslav Halchenko 1eb23cf8af BF: do not rely on scripts being under /usr -- might differ eg on Fedora -- rely on import of common.version (Closes gh-112)
This is also not ideal, since if there happens to be some systemwide common.version -- we are doomed

but otherwise, we cannot keep extending comparison check to /bin, /sbin whatelse
2013-03-15 13:30:00 -06:00
Yaroslav Halchenko 7fc83196b9 RF: move exceptions used by both client and server into common/exceptions.py
this prevents importing of server while operating with client only
2013-03-15 13:30:00 -06:00
Orion Poplawski 9055d925f2 Remove unneeded setting of opts.no_network 2013-03-15 13:30:00 -06:00
Yaroslav Halchenko e4aedfdc00 BF: pyinotify - use bitwise op on masks and do not try tracking newly created directories 2013-03-15 13:30:00 -06:00
Orion Poplawski 3b0800459b Initial support for --no-network option for fail2ban-testcases 2013-03-15 13:30:00 -06:00
blotus 5087b41054 Escape ' and " in matches tag 2013-03-15 13:30:00 -06:00
Yaroslav Halchenko abd56dbedf Merge branch 'master' into 0.9
* master: (26 commits)
  DOC: added a note that coverage script is python-coverage on Debian systems
  Fixed typos
  Added additional Transmitter tests, and some associated fixes
  TODO: test filters/examples files
  add corresponding ChangeLog entry
  do catch all exception
  ENH: typo + head -1 has been deprecated for 10+ years.
  ENH: add help command
  BF: allow more than single word for command action[start,stop,ban,unban,check] and for setcinfo too
  BF: general Exception catch was excessive. Only IOError and OSError are possible and has different meanings
  Add development documentation and framework for code coverage measurement
  FSF address changes missing from previous
  refresh generated manpages (since 0.8.2 state)
  Downgrade log rotation detection message to DEBUG level from INFO. Closes: gh-129
  BF: do not shutdown logging until all jails stop -- so move into Server.quit()
  BF: safeguard closing of log handlers + close in reverse order
  Added transmitter get cinfo option for action
  Fix for missing value in transmitter delaction
  Rewrite and enable server testcase for Transmitter
  ENH: adding more of diagnostic messages into -client while starting the daemon
  ...
2013-03-12 20:48:09 -04:00
Steven Hiscocks d4362859ef Added testcase for csocket and asyncserver 2013-03-11 17:22:57 +00:00
sebres b6bb2f88c1 invalid date recognition, irregular because of sorting template list, now via setRegex 2013-03-11 13:52:31 +01:00
Yaroslav Halchenko be42522bba Merge branch 'transmitter-testcase' of https://github.com/kwirk/fail2ban
* 'transmitter-testcase' of https://github.com/kwirk/fail2ban:
  Added additional Transmitter tests, and some associated fixes
2013-03-10 21:23:04 -04:00
Yaroslav Halchenko cabbc0fd96 DOC: added a note that coverage script is python-coverage on Debian systems 2013-03-10 21:21:27 -04:00
Yaroslav Halchenko 5e5eaaf838 Merge pull request #134 from grooverdan/misc-fixes
BF: fail2ban client can't handle multi word setcinfo or action[*] values
2013-03-10 18:01:17 -07:00
Yaroslav Halchenko 5163f02e92 Merge pull request #138 from pborreli/typos
Those were not the typos but an alternative self-expression ;-)   Thanks @pborreli
2013-03-10 17:58:51 -07:00
Pascal Borreli a2b29b4875 Fixed typos 2013-03-10 22:05:33 +00:00