Commit Graph

1370 Commits (100b531affe5bb3e6b3ee8f1aa59d3a1f5a74aeb)

Author SHA1 Message Date
sebres 49e237209e Merge branch 'master' into 0.10
8 years ago
sebres c546f85207 filter.d/exim.conf: cherry-picked from 0.10, match complex time like `D=2m42s` (closes gh-1766)
8 years ago
Viktor Szépe ac256a822b Make courier-auth regexp a non-captured group
8 years ago
Viktor Szépe 4bb8a58dcf Courier may complain about the method only
8 years ago
Seth Reeser c3426ba5f6 Update botsearch-common.conf (#1759)
8 years ago
sebres 8839bcbb09 Merge remote-tracking branch master into 0.10
8 years ago
sebres 99344d28c8 Introduces new tags with hostname:
8 years ago
sebres 3161bcf78b filter.d/exim.conf: optional part `(...)` after host-name before `[IP]`, normalized over whole config file.
8 years ago
sebres 507034c5be filter.d/apache-auth.conf: joined some similar expressions
8 years ago
Serg G. Brester 6dfd080e20 Update apache-auth.conf
8 years ago
Serg G. Brester 311f8fea83 Merge branch '0.10' into issue1644
8 years ago
Peter van der Does bb79e7f413
Parameter not needed
8 years ago
Serg G. Brester 4f0f22702a Update haproxy-http-auth.conf
8 years ago
Georges Racinet 4fc6323ff0 haproxy-http-auth: avoid port number in IPv6 addresses
8 years ago
sebres 97e8b42d34 dummy action extended with more examples and test-covered now
8 years ago
sebres d03872fbbf bulk unban: add new command `actionflush` default for several iptables/iptables-ipset actions (and common include):
8 years ago
sebres 8bf79fa483 implemented execution of `actionstart` on demand, if action depends on `family` (closes gh-1741);
8 years ago
Seth Reeser c82495353f Update mysqld-auth.conf (#1725)
8 years ago
Serg G. Brester 52c1950371 Update mysqld-auth.conf
8 years ago
sebres 5e93bf9bd3 Introduced new option "ignoreself", specifies whether the local resp. own IP addresses should be ignored (default is true).
8 years ago
sebres f13fac5ae9 amend to 5561423be3b2d4636f5484183c3ad470fd326d06: fixed incorrect failure counting despite the `<F-NOFAIL>` marked regex;
8 years ago
sebres 5561423be3 filter.d/sshd.conf: fixed failregex format - some parts are optional, new ddos more precise rule (Connection reset by with host entry);
8 years ago
Viktor Szépe d79267c424 Updated xarf-specification repo URL in xarf action
8 years ago
sebres 0c1707afda filter.d/sshd.conf:
8 years ago
sebres 7e442c5b27 filter.d/sendmail-reject.conf:
8 years ago
sebres 52ed6597b2 Merge remote-tracking branch 'remotes/gh-upstream/master' into 0.10
8 years ago
sebres 8768776d68 filter.d/cyrus-imap.conf: fixed `failregex` - accept entries without login-info resp. hostname before IP address
8 years ago
Serg G. Brester d042981954 Merge pull request #1655 from ajcollett/0.10
8 years ago
Serg G. Brester b1f5ac9484 Update abuseipdb.conf
8 years ago
Serg G. Brester 62fa02241f Update jail.conf
8 years ago
sebres 6a2c95da95 `action.d/sendmail-geoip-lines.conf` fixed using new tag `<ip-host>` (dns-cache and without external command execution);
8 years ago
sebres d2a3d093c6 rewritten CallingMap: performance optimized, immutable, self-referencing, template possibility (used in new ActionInfo objects);
8 years ago
sebres 35efca5941 Better multi-line handling introduced: single-line parsing with caching of needed failure information to process in further lines.
8 years ago
sebres 22afdbd536 Several filters optimized with pre-filtering using new option `prefregex`
8 years ago
sebres 4ff8d051f4 Introduced new filter option `prefregex` for pre-filtering using single regular expression;
8 years ago
Serg G. Brester 2fa18a74c4 Merge branch 'master' into master
8 years ago
sebres 4bf09bf297 provides new tag `<ip-rev>` for PTR reversed representation of IP address;
8 years ago
Serg G. Brester 7f63809afb Merge branch '0.10' into patch-1
8 years ago
Christoph Theis 861ce4177c #1689: Make lowest rule number in action.d/bsd-ipfw.conf configurable
8 years ago
Felix Yan 68d829c1dd
Add a path configuration for Arch Linux
8 years ago
Jan Grewe 58c68b75f0 Remove double-quotes from email addresses
8 years ago
Jan Grewe 1bcf0de7c1 Update complain.conf
8 years ago
Filippo Tessarotto 607568f5da Postfix RBL: 554 & SMTP
8 years ago
Jan Grewe 901eeff53d Make Abusix lookup compatible with Dash
8 years ago
sebres 1823571e0f Merge branch 'ssh-filter-new-regexp' into 0.10
8 years ago
sebres 9d06f0ee40 sshd-amend: optional space after port part
8 years ago
sebres e8a1556562 Merge remote-tracking branch 'master' into 0.10
8 years ago
sebres 54a8c681ce suhosin.conf: removed greedy match
8 years ago
sebres 8aa9516d50 sshd.conf: fixed expression "received disconnect ... auth fail" - optional space after port part (gh-1652)
8 years ago
sebres 3276bd6d54 sshd: additionally aggressive filter rules - no matching cipher resp. no matching key exchange method (gh-1545, gh-1117)
8 years ago
sebres 628789f9a9 sshd: conditional parameter "mode" for sshd jail (normal, ddos, aggressive)
8 years ago
sebres dd373dba9f test all config-regexp, that contains greedy catch-all before <HOST>, that is hard-anchored at end or precise sub expression after <HOST>;
8 years ago
Christian Brandlehner a4d8426401 Support for IBM Domino SMTP task (#1603)
8 years ago
Serg G. Brester 40f294e6bf Merge pull request #1663 from jjeziorny/netscaler-action
8 years ago
Juliano Jeziorny 1fe554dd25 Introduced Citrix Netscaler action
8 years ago
Christoph Theis 6187431629 #1667: Wrong paths for apache and nginx under FreeBSD
8 years ago
sebres 74a6afadd5 Mail-actions switched to use new option "norestored" instead of checking of variable `restored` during shell execution (prevents executing of such actions at all).
8 years ago
sebres ee3c787cc6 Recognize restored (from database) tickets after restart (tell action restored state of the ticket);
8 years ago
sebres 7019640eb3 Merge branch 'fix-gh-1658' into 0.10
8 years ago
sebres a9523aefbb sshd.conf: fixed non-anchored part of regex (misleading match of colon inside IPv6 address instead of `: ` in the reason-part by missing space).
8 years ago
sebres c9f32f75e6 Merge branch '0.9-fix-regex-using-journal' into 0.10-fix-regex-using-journal (merge point against 0.9 after back-porting gh-1660 from 0.10)
8 years ago
Andrew James Collett 3991f51f30 Update jail.conf
8 years ago
Andrew James Collett 10d61e0779 Fixed the spaces again
8 years ago
Andrew James Collett b35391e768 Update jail.conf
8 years ago
Andrew James Collett 1c41390f7c Restructured the way the catagories work.
8 years ago
Andrew James Collett 55e107310f Added config for AbuseIPDB, ony tested on Ubuntu 16.04
8 years ago
Viktor Szépe 81c1810f10 Introduce Cloudflare API v4
8 years ago
benrubson cc311b56f3 Apache URIs can contain spaces
8 years ago
roedie 3adc16d266 Shorewall IPv6 suggested changes.
8 years ago
Yaroslav Halchenko 31a1560eaa minor typos (thanks Vincent Lefevre, Debian #847785)
8 years ago
roedie 6e18508a07 Add shorewall IPv6 support
8 years ago
sebres 45f1d811c9 Merge branch 'alex1702-1586'
8 years ago
sebres 67c14afd8e ChangeLog entry added + jail.conf review
8 years ago
sebres 425170cef3 code review, makes the test cases workable, added dev-notes
8 years ago
sebres 931eab84b5 `filter.d/apache-modsecurity.conf`
8 years ago
sebres 40cbe96352 Merge remote-tracking branch 0.10 into _0.10/fix-datedetector-grave-fix-v2
8 years ago
sebres 5678d08a79 filter.d/dovecot.conf update:
8 years ago
sebres a2af19c9f0 fixed several actions, that could not work with jails using multiple logpath; additionally repaired execution in default shell (bad substitution by `${x//...}` executing in `/bin/sh`);
8 years ago
Serg G. Brester 4f5389fee5 Update jail.conf
8 years ago
Johannes Weberhofer f46ada023e Use Fedora's backend-settings for openSUSE
8 years ago
sebres b5433f48b7 amend after code review of merge gh-1581
8 years ago
sebres bee6e7376b Merge branch 'aclindsa:master'
8 years ago
sebres ea4c1f6356 Merge branch 'master' into 0.10
8 years ago
sebres dab5f56609 Merge branch 'fix-gh-1477'
8 years ago
Alex 8ac28e5dcb Make changes and add test file
8 years ago
Alex 8c40766511 Add Mongodb-auth filter and jail
8 years ago
sebres faee5f1fdc better caching (thereby better performance), better recognition of similar regex
8 years ago
sebres ae7297e16b more precise date template handling (WARNING: this commit creates possible incompatibilities):
8 years ago
sebres ab0ac2111c added possibility to specify more precise default date pattern:
8 years ago
sebres a7d9de8c52 [temp commit] 1st try to optimize datedetector/datetemplate functionality (fix ambiguous resp. misleading date detection if several formats used in log resp. by format switch after restart of some services):
8 years ago
Aaron Lindsay 7805f9972d filter.d/sshd.conf: Match 'Invalid user' with 'port \d*'
8 years ago
sebres 84c3eb3e0e filter.d/sendmail-reject.conf: double space (should be by missing dns-host only)
8 years ago
sebres c809c3e61e Merge branch 'master' into 0.10
8 years ago
Nils d08db22b92 Create npf.conf for the NPF packet filter
8 years ago
sebres fa8184d4cc fixes deprecated DNSUtils.IsValidIP in fakegooglebot ignore command + test covered now;
8 years ago
sebres ee1727ecca Merge pull request #1563 from niklasf/fix-lazy-ipv6-regex (and sebres/fix-lazy-ipv6-regex) into 0.10
8 years ago
sebres 9bf8985e2a nginx-limit-req.conf: more precise failregex (word-boundary if `<HOST>` should be non-greedy for some reasons)
8 years ago
Serg G. Brester ba9a88977f Merge pull request #1562 from sebres/_0.10/fix-stability-and-speed
8 years ago
sebres 8b0f6c5413 badips test cases check availability of badips service (and skip this tests if it not available)
8 years ago
sebres 310d4e224d Merge branch master (0.9) into 0.10
8 years ago
sebres 9fb167b5e1 filter.d/vsftpd.conf: optional reason message after FAIL LOGIN, closes #1543
8 years ago
sebres c0e0cfb39d Merge remote-tracking branch 'remotes/gh-upstream/master' into 0.10
8 years ago
sebres 4a1d720344 filter.d/asterisk.conf: another part ` chan_sip.c:28468 handle_request_register:` in log prefix
8 years ago
sebres 2c54f90469 sshd-filter: better universal regexp, that matches more complex different injects, using conditional expressions (on username and auth-info section), see new test cases also.
8 years ago
sebres a544c5abac sshd-filter: recognized "Failed publickey for" now (gh-1477) + improved regexp (not anchored now to recognize all "Failed anything for ... from <HOST>"
8 years ago
sebres d71a525a85 Merge branch 'master' into 0.10 (resolve conflicts and cleaning tree points after back-porting gh-1508 0.10 -> 0.9)
8 years ago
sebres 38d53a72fd introduces new command "fail2ban-python", as automatically created symlink to python executable, where fail2ban currently installed (resp. its modules are located);
8 years ago
sebres 77f451c4a3 introduces new command "fail2ban-python", as automatically created symlink to python executable, where fail2ban currently installed (resp. its modules are located);
8 years ago
maksyms 9ddbd642f7 Accept no space after "failed:" (#1501)
8 years ago
maksyms 04427adb95 Accept no space after "failed:" (#1501)
8 years ago
sebres c52aaa8b78 ASSP failregex minor fixes
8 years ago
sebres 70658d7a19 Merge pull request #1494 from rhardy613/master (branch 'sebres:pr-1494')
8 years ago
rhardy613 8265e3f0f9 Fix comments
8 years ago
rhardy613 66fe5a77ce Fix ASSP filter to work with both ASSP V1 and V2
8 years ago
rhardy613 890a3dcbb9 Fix ASSP filter to work with current release of ASSP
8 years ago
Yaroslav Halchenko c0994b0c6c DOC: minor typo (thanks John Bernard) Closes #1496
8 years ago
sebres 0eea362aa0 Merge branch 'master' into 0.10
8 years ago
rhardy613 f73746d846 Fix ASSP filter to work with current release of ASSP
8 years ago
Yaroslav Halchenko 28a0605f69 Merge pull request #1478 from gips0n/master
8 years ago
Andrii Melnyk 7433b353ee another variant of regex
8 years ago
Andrii Melnyk 7c5828dd2a add trailing anchor to failregex
8 years ago
sebres 683f8fc56c Merge branch 'master' into 0.10
8 years ago
Andrii Melnyk 48c094f612 improved failregex according to @sebres recomendations
9 years ago
sebres f5f204ca7c Improved changes of gh-1458:
9 years ago
nturcksin 72a157b8f2 Improve PJSIP log support for asterisk 13+ with different callID (Squash gh-1458)
9 years ago
Andrii Melnyk dcb69b0242 * add `__prefix_line` to regex
9 years ago
Andrii Melnyk b2e3affaa0 adding openldap slapd filter
9 years ago
Yaroslav Halchenko 593b1210c0 Merge master (commit '0.9.4-79-gaf8b650') into 0.10
9 years ago
Serg G. Brester af8b650a37 badip timeout option introduced, set to 30 seconds in our test cases (#1463)
9 years ago
sebres e39126f630 badip timeout option introduced, set to 30 seconds in our test cases
9 years ago
Yaroslav Halchenko 636a93f58b Merge pull request #1438 from yarikoptic/bf-exim
9 years ago
Ludovic Gasc f85fb45b29 Asterisk pjsip (#1456)
9 years ago
sebres 39366e703a Merge branch 'master' into 0.10
9 years ago
Yaroslav Halchenko 6434661480 RF: for consistency use (?:XXX)? instead of (?:|XXX)
9 years ago
Yaroslav Halchenko 48a8324662 ENH: use non-capturing regex groups in exim-common and exim filters
9 years ago
sebres 8ec4e1189e use raw host (don't use textToIp) if usedns exactly `raw`, because `usedns = no` should ignore no ip failures
9 years ago
Serg G. Brester b6700f3e52 Merge pull request #1433 from yarikoptic/bf-0.10-pf-prevbeh
9 years ago
Yaroslav Halchenko 9bb869b8d4 ENH: courier-smtp -- allow for trailing username (no spaces) in the logline
9 years ago
Yaroslav Halchenko 8b8cf2a660 ENH: exim filters -- make more use of %(host_info)s which in turn made more flexible
9 years ago
Yaroslav Halchenko 743a531eb5 BF: make :port and I=[ip]:port optional for a "AUTH command used when not advertised"
9 years ago
sebres f62266659f Merge branch 'master' into '0.10'
9 years ago
sebres 52377984cd back to mandatory space, ungrouping of sub parameters in `__prefix_line` + small code review;
9 years ago
sebres 0fdc56546f Fixed misunderstanding of port in (ban)action: port will be always specified in jail config ([DEFAULT] or jail)
9 years ago
Yaroslav Halchenko 1ebc3facb1 BF: maintain previous default beh for pf -- ban a port (ssh) only
9 years ago
sebres 4cdca8c258 amend-merge for pull request #1429 from sebres/0.10-freebsd-fix-pf
9 years ago
sebres 4d51c591c1 pf.conf: warranted consistently echoing for the pf actiontype if actiontype or multiport tags will be customized;
9 years ago
Serg G. Brester 01d9a41ba1 Merge pull request #1429 from koeppea/0.10-freebsd-fix-pf
9 years ago
Alexander Koeppe b5e031f3c3 some documentation for multiport use in pf.conf
9 years ago
sebres 1e7fd26f5f rename `actionoptions` to `actiontype` in pf-action (multiport) + fixed test cases
9 years ago
sebres 25af11215b test case for generic common moved to `./fail2ban/tests/config/filter.d/zzz-generic-example.conf` to prevent shipping it with fail2ban installations
9 years ago