Commit Graph

1242 Commits (1e6787877a98ab21d9a09287b132a5256b9373f6)

Author SHA1 Message Date
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
Alexander Koeppe e74047ae49 revert to common config for PF covering multi and allports
9 years ago
Alexander Koeppe 3e1328c83b split PF config files between all- and multi port
9 years ago
sebres cb4f9be8b2 the date brackets removed from filters using `__prefix_line`, because `__prefix_line` already contains the date ambit;
9 years ago
sebres de813acf51 extends generic `__prefix_line` with optional brackets for the date ambit (gh-1421), added new parameter `__date_ambit` + test case added;
9 years ago
Alexander Koeppe 975608dfb6 no hardcoded python interpreter path
9 years ago
sebres 0c44ecfc77 action.d/firewallcmd-ipset.conf: different name of the match set's for IPv4/IPv6, using conditional <ipmset>, analog to the iptables-ipset;
9 years ago
TorontoMedia ffebde68e0 Update firewallcmd-multiport.conf
9 years ago
TorontoMedia 07de83e04a Update firewallcmd-common.conf
9 years ago
TorontoMedia 810d5996b5 Update firewallcmd-rich-logging.conf
9 years ago
TorontoMedia 7e54cee8d6 updated firewallcmd actions
9 years ago
sebres 3e49522b7a fixes unexpected extra regex-space in generic `__prefix_line` (gh-1405, misleadingly committed in d2a9537568);
9 years ago
sebres bdc2d07946 fix suhosin_log in common paths - log files should be separated using "\n":
9 years ago
sebres 504e5ba6f2 actions support IPv6 now:
9 years ago
sebres 75028585c0 test cases extended for verifying ipv4/ipv6, normalized pf-action with test case
9 years ago
Alexander Koeppe ed2f3ef77d improve PF action and make IPv6 aware
9 years ago
sebres 25d6cf8dd2 fix suhosin_log in common paths - log files should be separated using "\n":
9 years ago
sebres 8cb4a3f59e move DNTUtils, IPAddr related code to dedicated source file ipdns.py (also resolves some cyclic import references)
9 years ago
Alexander Koeppe db9f3f738f add ip6-loopback to default ignoreip statement
9 years ago
sebres 05f38285f1 Merge remote-tracking branch 'remotes/gh-upstream/master' into f2b-perfom-prepare-716
9 years ago
jungle-boogie d889918f19 update doc url
9 years ago
Yaroslav Halchenko aa303acfd6 Merge pull request #1381 from theDogOfPavlov/patch-3
9 years ago
Alexandre Perrin 7712310d2d Be more backward compatible on matching postfix/smtps/smtpd
9 years ago
Alexandre Perrin 1a299409e5 Fix postfix/smtps/smtpd matching.
9 years ago
theDogOfPavlov 1eb51b1bc2 Tightened up regexes to catch rDNS entries
9 years ago
Yaroslav Halchenko db2dd070ad Merge pull request #1356 from opoplawski/bug-1354
9 years ago
Serg G. Brester b9b7ecbf6b Merge pull request #1357 from sebres/monit-new-fltr
9 years ago
TorontoMedia 3d239215cd Two new firewalld actions with rich rules for firewalld-0.3.1+ (gh-1367)
9 years ago
sebres ac27c9cb96 Merge branch 'patch-2' (gh-1371)
9 years ago