Yaroslav Halchenko
377ea32441
Merge pull request #1295 from obounaim/master
...
The sender option is ignored by some actions
9 years ago
Serg G. Brester
fe14c8fa05
Merge pull request #1292 from albel727/master
...
Add nftables actions
9 years ago
local
58a8736e0f
Updating changelog.
9 years ago
local
40c0bed82c
action_mw, action_mwl, action_cf_mwl ignore the "sender" option when sending a notification email.
...
This commit adds "sender="%(sender)s"" to the three actions to correct this issue.
9 years ago
Yaroslav Halchenko
5d0d96a5cb
Merge pull request #1286 from yarikoptic/enh-jail
...
ENH: harmonize jail.conf + 1 more test that passed bantime is non-degenerate and int
9 years ago
Alexander Belykh
985e8938a4
Refactor nftables actionstop into smaller parts
9 years ago
Alexander Belykh
9779eeb986
Add nftables_type/family/table parameters
9 years ago
Alexander Belykh
260c30535d
Escape curly braces in nftables actions
9 years ago
Alexander Belykh
1983e15580
Add empty line between parameters in nftables-common.conf
9 years ago
Alexander Belykh
cb2d70d7a8
Add ChangeLog entry for new nftables actions
9 years ago
Alexander Belykh
f7f91a8bd4
Refactor common code out of nftables-multiport/allports.conf
9 years ago
sebres
25a09352e4
+ ChangeLog entry
9 years ago
sebres
69f5623f83
code simplifying (remove duplication): agent will be always supplied as parameter from jail.conf
9 years ago
Alexander Belykh
618e97bce8
Add nftables actions
9 years ago
sebres
ac31121432
amend to fix fail2ban-version: correct user-agent for badips.py "Fail2Ban/ver", changeable within jail/config now;
9 years ago
sebres
cf334421bd
Provides fail2ban version to jail (as interpolation variable during parse of jail.conf);
...
BF: use `fail2ban_agent` as user-agent in actions badips, blocklist_de, etc. (closes #1271 , closes #1272 )
9 years ago
Yaroslav Halchenko
b76aede40d
ENH(TST): verify that passed bantime is non-0 and int
9 years ago
Yaroslav Halchenko
28c9832293
RF: harmonize jail.conf (no explicit enabled=false in jails, match filter name for screesharingd, etc)
9 years ago
Yaroslav Halchenko
69aa1feac0
Merge "Mac OS Screen Sharing filter" PR 1232
...
* pr/1232/head:
removed system.log
Removed old svn revision comment
removed false matches
Removed includes comment for screensharing jail
Now using a literal logpath for screensharing jail
Fixed blatant typo in regex
clarified comments on sample log format
Fixed name (again?)
Made screensharing jail off by default
Changed regex prequel
added entry for new screensharingd filter
name change & new sample data
Added json metadata
Sample log for test case
Replaced .* with literal
Update jail.conf
Added new path variable for system.log
Added in settings for screensharingd filter
Created file
Conflicts:
ChangeLog - moved to New Features
config/jail.conf - kept at the end
9 years ago
Yaroslav Halchenko
16710237e3
Merge remote-tracking branch 'origin/master'
...
* origin/master:
Add 'Sender address rejected: Domain not found' Postfix failregex
9 years ago
Yaroslav Halchenko
26dd6d7425
Merge pull request #1258 from aleksandrs-ledovskis/feature/postfix-domain-not-found-failregex
...
Add 'Sender address rejected: Domain not found' Postfix failregex
9 years ago
Yaroslav Halchenko
dfaf82d68a
Changelog entry for PartOf in .service fix
9 years ago
Yaroslav Halchenko
9f15d02910
Merge pull request #1251 from fastest963/master
...
Added PartOf to service file so f2b restarts when deps do
9 years ago
Yaroslav Halchenko
edcbdf6eab
Merge pull request #1264 from rbrownwsws/master
...
Added filter and jail for murmur/mumble-server.
9 years ago
Yaroslav Halchenko
39d202b623
Merge pull request #1273 from yarikoptic/enh-log-matchtuple
...
ENH: log at heavydebug level what actually we are matching for failregex
9 years ago
Ross Brown
8d12dba245
Merge remote-tracking branch 'upstream/master'
9 years ago
Ross Brown
16aa2fa13e
Updated ChangeLog to include new murmur jail.
9 years ago
Ross Brown
ead2d509dc
Updated 'murmur' filter to use new double-anchored regex based on @yarikoptic's suggestions.
9 years ago
Yaroslav Halchenko
61b2653f9e
Merge pull request #1274 from yarikoptic/enh-new-sshd-too-many
...
ENH: sshd filter -- match new "maximum auth attempts exceeded"
9 years ago
Ross Brown
fd36b058ce
Changed usernames in sample log file for 'murmur' filter.
9 years ago
Ross Brown
ba535826a8
Updated ChangeLog to include new murmur filter.
9 years ago
Yaroslav Halchenko
5d6cead996
ENH: sshd filter -- match new "maximum auth attempts exceeded" ( Closes #1269 )
9 years ago
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