Yaroslav Halchenko
9ee08fed48
ENH: log at heavydebug level what actually we are matching for failregex
9 years ago
sebres
6d984717b5
ordered dict replaced with dict + change log entry fix
...
# Conflicts:
# fail2ban/server/filter.py
9 years ago
Yaroslav Halchenko
48202f998d
RF: prefer log over container in getLog and local variables
...
Even though I have left FileContainer class name intact
9 years ago
Yaroslav Halchenko
59da27b9f6
ENH: add a check to testTail to assure correct test logic below it
9 years ago
Yaroslav Halchenko
dd9d1912e8
RF: Filter.getLogPaths -> getLogs
...
Since it returns log containers not paths per se
9 years ago
sebres
6ce7522d3c
unordered (python 2.6) compatibility fix and coverage extended;
9 years ago
sebres
3a179ec5d7
small code review: (much pretty) handling of filename as key - FileFilter contains (ordered) dict of files (not list), as discussed in gh-1265
9 years ago
Ross Brown
4c837f0333
Added sample log file for 'murmur' filter.
9 years ago
Ross Brown
106c3eab9a
Added filter and jail for murmur/mumble-server.
9 years ago
Serg G. Brester
1b0560d2f1
Merge pull request #1262 from sarneaud/gentoo-initd
...
Small fixes for Gentoo initd script
9 years ago
sarneaud
5b88a84fe8
Small fixes for Gentoo initd script
...
These fixes are pretty pedantic, but they do simplify the script a
little.
* Checking the existence of a file/directory before creating/deleting
it adds complexity and raciness. There are better options.
* mkdir -p does the job of making sure a directory exists. (It only
fails if there's a filesystem error or something.)
* Likewise, rm -f doesn't fail if the file doesn't exist.
* rm -r isn't neccessary because the socket shouldn't be a directory.
(If it is for some reason, that should be an error.)
9 years ago
Aleksandrs Ļedovskis
fa59a6850f
Add 'Sender address rejected: Domain not found' Postfix failregex
...
Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
9 years ago
Yaroslav Halchenko
fe8d585d91
Merge pull request #1225 from opoplawski/journaldefault
...
Add *_backend options for services to allow distros to set the default backend
9 years ago
Orion Poplawski
c656cb0d36
Merge branch 'master' into journaldefault
...
Conflicts:
ChangeLog
9 years ago
James Hartig
9905396eb8
Added PartOf to service file so f2b restarts when deps do
9 years ago
Yaroslav Halchenko
b3ed19b36a
DOC: tune up to jail.conf.5 - some line breaks, typos etc
9 years ago
Yaroslav Halchenko
6af6e40b62
Merge pull request #1241 from sebres/known/param-tag
...
New interpolation feature for definition config readers - `<known/parameter>`
9 years ago
Yaroslav Halchenko
441dffbe2a
ENH: Pruned some "pragma: no cover"s in fail2banregex
...
This code should and can be unit-tested, so no reason to keep it with
no cover
9 years ago
Yaroslav Halchenko
584f3af5af
Merge pull request #1240 from yarikoptic/master
...
ENH: .mailmap file to bring some names together for git shortlog -sn
9 years ago
Yaroslav Halchenko
aa0588dd1a
Merge pull request #1250 from sebres/_sb/fail2ban-regex-coverage
...
RF: fail2ban-regex code moved into client/ codebase, unittested
9 years ago
sebres
689dfa1e6a
debuggexURL fixed for wrong encoded character; test cases extended;
9 years ago
sebres
38f09b417a
fail2ban-regex command line (after fail2ban-regex functionality moved to the client)
9 years ago
sebres
0877d66228
fail2ban-regex moved to the client + test cases for initial coverage added
9 years ago
sebres
46b116e86a
filter test cases improved + log captured inside such tests + python 3.x compatibility;
...
changelog entry;
9 years ago
sebres
a42aa726ab
fixed fail2ban-regex reads invalid character (in sense of given encoding); continuing to process line ignoring invalid characters (still has no test cases).
...
filter test cases added for same issue inside fail2ban-server / fail2ban-testcases;
closes gh-1248
9 years ago
Yaroslav Halchenko
b100ee6302
Merge pull request #1244 from opoplawski/typo
...
Fix typo
9 years ago
Orion Poplawski
ba76f4ca2f
Fix typo
9 years ago
sebres
94cffece12
New interpolation feature for definition config readers - `<known/parameter>`, as extension to interpolation `%(known/parameter)s`, that does not works for filter and action init parameters;
9 years ago
Simon Brown
69bb532db0
removed system.log
9 years ago
Simon Brown
3e16f33dbe
Removed old svn revision comment
9 years ago
Simon Brown
d16ad80597
removed false matches
...
For non-screensharingd related messages
9 years ago
Yaroslav Halchenko
b40c6cbd9a
ENH: .mailmap file to bring some names together for git shortlog -sn
9 years ago
sebres
5767191988
fixed misleading documentation of `banaction`
9 years ago
sebres
fcf03790f4
fixed misleading documentation of `banaction`
9 years ago
Serg G. Brester
eef7771b4e
Merge pull request #1238 from sebres/fix/gh-1216
...
Fixed directly defined banaction for allports jails like pam-generic, recidive, etc
9 years ago
sebres
e825e977cc
Nginx log paths extended (prefixed with "*" wildcard)
...
closes gh-1237
9 years ago
sebres
f359ed8c36
Fixed directly defined banaction for allports jails like pam-generic, recidive, etc with new default variable `banaction_allports` (+ man entries for both variables added);
...
closes gh-1216
9 years ago
Simon Brown
5839a3bd80
Removed includes comment for screensharing jail
9 years ago
sebres
53b39162a1
Shortly, much faster and stable version of regexp (possible because expression is start-anchored and does not contains closely to catch-all sub expressions)
9 years ago
sebres
6884593ab8
New filter `nginx-limit-req` ban hosts, that were failed through nginx by limit request processing rate (ngx_http_limit_req_module)
9 years ago
Orion Poplawski
0661aece46
Merge branch 'master' into journaldefault
...
Conflicts:
ChangeLog
9 years ago
Simon Brown
65bc5cf6ba
Now using a literal logpath for screensharing jail
9 years ago
Simon Brown
cabd46f069
Fixed blatant typo in regex
...
However, still failing test, even though ```PYTHONPATH=. fail2ban-regex -v fail2ban/tests/files/logs/screensharingd /etc/fail2ban/filter.d/screensharingd.conf``` gives desired result
9 years ago
Simon Brown
bed28eaa62
clarified comments on sample log format
9 years ago
Simon Brown
c936d19805
Fixed name (again?)
9 years ago
Simon Brown
acee68a9ee
Made screensharing jail off by default
...
Also added note about requiring paths-osx.conf.
9 years ago
Simon Brown
4b4d5a95b7
Changed regex prequel
...
Use standard prefix macro instead of literal daemon name.
9 years ago
Simon Brown
3dd1c305ce
added entry for new screensharingd filter
9 years ago
Simon Brown
6a5f10ee72
name change & new sample data
...
changed name to match daemon, log samples with year
9 years ago
Simon Brown
3e4a77a568
Added json metadata
9 years ago