Commit Graph

5434 Commits (8d45deca86d7ecbaa66a14c6507c76fd0f08f0c3)
 

Author SHA1 Message Date
sebres 76e5d2b199 amend to f21c58dc72, better follow previous handling with last known datetime (compatibility for multi-line logs, in case of second line without a timestamp)
4 years ago
sebres f21c58dc72 implements special datepattern `{NONE}` - allow to find failures without date-time in log messages (filter use now as timestamp)
4 years ago
sebres b82f584a96 added test case covering new date handling (simulation, unknown format, warnings, etc)
4 years ago
sebres d2cef96f33 filter: implement mode `inOperation`, which gets activated if filter starts processing of new messages; better interaction with non-matching optional datepattern or invalid timestamps (or timezone) - assuming now instead of bypass;
4 years ago
sebres 7e8d98c4ed code review, fix simplest TZ issue - avoid date adjustment by assuming of last year (date without year in the future) by wrong zone (don't adjust by offset up to +24 hours)
4 years ago
sebres 3ca69c8c0a amend to #2791: unban subnet when subnet is in supplied subnet
4 years ago
sebres 7d172faa50 implements gh-2791: fail2ban-client extended to unban IP range(s) by subnet (CIDR/mask) or hostname (DNS)
4 years ago
sebres 39d4bb3c35 closes gh-2758: no explicit flush (close std-channels on exit, it would cause implicit flush without to produce an error 32 "Broken pipe" on closed pipe)
4 years ago
sebres a7ad3e00dd amend to 91eca4fdeb (#2634): server creates a RTM-directory for socket/pid file automatically (don't check its existence in client)
4 years ago
Chris Caron 2216fd8da4 Add Apprise Support (50+ Notifications)
4 years ago
sebres 9d076af9a2 Merge branch '0.11-combine-multiple-captures' into 0.11
4 years ago
sebres 98983adf76 update ChangeLog
4 years ago
sebres 067b76fc9e Merge branch '0.10' into 0.11
4 years ago
sebres 253d47d33c compat: some 2.x pypy versions produce UnicodeEncodeError: 'ascii' codec can't encode character on surrogates (uni_string must be fixed also for UTF-8 system encoding)
4 years ago
sebres 9510346507 typo in skip message
4 years ago
sebres 0ef8f6675d fix travis builds (pipy in xenial, don't error if doc missing in default path after install)
4 years ago
sebres 9100d07c03 Merge branch '0.10-ipset-tout' into 0.10, amend to #2703: resolves names conflict (command action timeout and ipset timeout); closes #2790
4 years ago
sebres 62a6771b33 Merge remote-tracking branch 'sebres:0.10' into 0.10; closes gh-2763
4 years ago
sebres 73a8175bb0 resolves names conflict (command action timeout and ipset timeout); closes gh-2790
4 years ago
Sergey G. Brester ea35f2ad75
default loglevel is INFO
4 years ago
Sergey G. Brester 08dbe4abd5
fixed comment for loglevel, default is INFO
4 years ago
sebres 309c8dddd7 action.d/nftables.conf (type=multiport only): fixed port range selector (replacing `:` with `-`)
4 years ago
sebres ec3000798d ensure that set of alternate tags or combine tuple tags take place ordered (sort the lists by its name or index)
5 years ago
sebres dd8081ade5 extends capturing alternate tags in filter, implementing new tag prefix `<F-TUPLE_` (that would combine value of `<F-V>` with all value of <F-TUPLE_V?_n?> tags), for examples see new tests in fail2banregextestcase;
5 years ago
sebres 1da9ab78be Merge branch '0.10' into 0.11
5 years ago
sebres 5a0edf61c9 filter.d/sshd.conf: normalizing of user pattern in all RE's, allowing empty user (gh-2749)
5 years ago
sebres 9b6da03c90 amend to e786dbf132689133c29671871718a97f93b8912a: removes space between name and [pid] by normal non-verbose logging, padding without truncate now; test coverage for getVerbosityFormat;
5 years ago
sebres 1588200274 Merge branch '0.10' into 0.11
5 years ago
sebres b8e2b77265 Merge branch '0.10-extend-proto-banned' into 0.10
5 years ago
sebres fa1ff4c5d8 assertSortedEqual: fixed sort of nested lists, switch default of nestedOnly to False (comparison of unsorted lists is rarely needed)
5 years ago
sebres 54b2208690 extends protocol/client with banned status (retrieve information whether an IP is banned and/or in which jails), implements FR gh-2725
5 years ago
sebres 0ae2ef68be ensure iterator is safe (traverse over the list in snapshot created within a lock), avoids getting modified state as well as "dictionary changed size during iteration" errors
5 years ago
sebres afb7a93163 amend to 368aa9e77570519b37fb57c9dbc5112d4c4b7382: fix time in gitlab test (GMT in log due to TZ-suffix `Z`, CEST in test-suite)
5 years ago
Sergey G. Brester 43f699b872
grammar / typos
5 years ago
Sergey G. Brester 368aa9e775
Merge pull request #2689 from benrubson/gitlab
5 years ago
Sergey G. Brester f2aec43d8a
Merge pull request #2140 from szepeviktor/patch-9
5 years ago
Sergey G. Brester 42aef09d69
Update ChangeLog
5 years ago
Sergey G. Brester 01e92ce4a6 added fallback using tr and sed (jq is optional now)
5 years ago
Sergey G. Brester 1c1b671c74 Update cloudflare.conf
5 years ago
Sergey G. Brester 5b8fc3b51a cloudflare: fixes ip to id conversion by unban using jq
5 years ago
Viktor Szépe 852670bc99 CloudFlare started to indent their API responses
5 years ago
Ilya 8b3b9addd1 Change tool from 'cut' to 'sed'
5 years ago
Ilya 5da2422f61 Fix actionunban
5 years ago
Sergey G. Brester fe84b158a5
Merge pull request #2703 from sebres/0.10-ipset-tout
5 years ago
Sergey G. Brester da1652d0d7
Update ChangeLog
5 years ago
sebres 12be3ed77d test cases fixed
5 years ago
sebres 87a1a2f1a1 action.d/*-ipset*.conf: several ipset actions fixed (no timeout per default anymore), so no discrepancy between ipset and fail2ban (removal from ipset will be managed by fail2ban only)
5 years ago
sebres 6b90ca820f filter.d/traefik-auth.conf: filter extended with parameter mode (`normal`, `ddos`, `aggressive`) to handle the match of username differently:
5 years ago
sebres affd9cef5f filter.d/courier-smtp.conf: prefregex extended to consider port in log-message (closes gh-2697)
5 years ago
sebres 06b46e92eb jail.conf: don't specify `action` directly in jails (use `action_` or `banaction` instead);
5 years ago