]>
source.dussan.org Git - rspamd.git/log
Anton Yuzhaninov [Tue, 5 Nov 2019 19:24:08 +0000 (19:24 +0000)]
[Minor] Clickhouse: fix log
Fix log message, which was broken in
c9e6e26319c08a0e440a9e27b9bf3743e32ad70b
nrows is 0 when clickhouse_send_data is called.
Vsevolod Stakhov [Tue, 5 Nov 2019 17:45:16 +0000 (17:45 +0000)]
[Minor] Check boundary before calling for U8_NEXT
Vsevolod Stakhov [Tue, 5 Nov 2019 17:26:29 +0000 (17:26 +0000)]
Merge pull request #3138 from korgoth1/master
[Test] Surbl IDN + punycode
korgoth1 [Tue, 5 Nov 2019 17:07:28 +0000 (20:07 +0300)]
[Test] Surbl IDN + punycode
Vsevolod Stakhov [Tue, 5 Nov 2019 16:54:32 +0000 (16:54 +0000)]
[Minor] Fix log tag in ssl connections
Vsevolod Stakhov [Tue, 5 Nov 2019 16:31:30 +0000 (16:31 +0000)]
[Minor] Clickhouse: Slight log improvement
korgoth1 [Tue, 5 Nov 2019 16:29:05 +0000 (19:29 +0300)]
[Test] Surbl IDN + punycode
Vsevolod Stakhov [Tue, 5 Nov 2019 15:42:06 +0000 (15:42 +0000)]
[Minor] Copy ipv6 address in full on accept
Vsevolod Stakhov [Tue, 5 Nov 2019 14:54:05 +0000 (14:54 +0000)]
[Fix] Clickhouse: Avoid potential races in collection
Vsevolod Stakhov [Tue, 5 Nov 2019 12:08:17 +0000 (12:08 +0000)]
[Fix] Check results of write message as SSL can bork them
Vsevolod Stakhov [Tue, 5 Nov 2019 10:50:34 +0000 (10:50 +0000)]
[Fix] Rbl: Allow utf8 lookups for IDN domains
Issue: #3137
Vsevolod Stakhov [Mon, 4 Nov 2019 20:09:08 +0000 (20:09 +0000)]
[Minor] Slightly improve crashes logging
Vsevolod Stakhov [Mon, 4 Nov 2019 17:53:58 +0000 (17:53 +0000)]
[Feature] Add verdict library in lua
Vsevolod Stakhov [Mon, 4 Nov 2019 16:52:15 +0000 (16:52 +0000)]
[Minor] Improve logging to console
Vsevolod Stakhov [Mon, 4 Nov 2019 16:05:46 +0000 (16:05 +0000)]
[Minor] Slightly improve logging in case of termination
Vsevolod Stakhov [Mon, 4 Nov 2019 13:08:07 +0000 (13:08 +0000)]
[Minor] Allow rspamd_text objects to be sent via SMTP
Vsevolod Stakhov [Mon, 4 Nov 2019 13:02:37 +0000 (13:02 +0000)]
[Fix] Clickhouse: Fix periodic script
Vsevolod Stakhov [Mon, 4 Nov 2019 11:56:54 +0000 (11:56 +0000)]
[Minor] Slightly improve CH logging
Vsevolod Stakhov [Sun, 3 Nov 2019 14:33:42 +0000 (14:33 +0000)]
[Minor] One more thing about ssl_shutdown
Vsevolod Stakhov [Sun, 3 Nov 2019 11:47:40 +0000 (11:47 +0000)]
[Minor] Grrrr...
Vsevolod Stakhov [Sun, 3 Nov 2019 11:37:48 +0000 (11:37 +0000)]
[Minor] Try to improve logging
Vsevolod Stakhov [Sun, 3 Nov 2019 11:26:49 +0000 (11:26 +0000)]
[Fix] Sigh, another try to fix brain-damaged openssl
Vsevolod Stakhov [Sun, 3 Nov 2019 09:47:25 +0000 (09:47 +0000)]
[Minor] Ssl: Improve logging
Vsevolod Stakhov [Sun, 3 Nov 2019 09:36:44 +0000 (09:36 +0000)]
[Minor] Lua_http: Save log tag
Vsevolod Stakhov [Sat, 2 Nov 2019 13:41:45 +0000 (13:41 +0000)]
[Minor] Improve error logging
Vsevolod Stakhov [Sat, 2 Nov 2019 13:41:35 +0000 (13:41 +0000)]
[Minor] Fix debug logging
Vsevolod Stakhov [Sat, 2 Nov 2019 12:12:34 +0000 (12:12 +0000)]
[Minor] Virustotal: Improve errors handling
Vsevolod Stakhov [Sat, 2 Nov 2019 11:26:49 +0000 (11:26 +0000)]
Merge pull request #3134 from moisseev/patch-1
[Minor] Fix style
Alexander Moisseev [Sat, 2 Nov 2019 10:03:39 +0000 (13:03 +0300)]
[Minor] Fix style
Vsevolod Stakhov [Sat, 2 Nov 2019 09:45:10 +0000 (09:45 +0000)]
Merge pull request #3132 from andryyy/patch-15
[WebUI] Remove prev form when clicking outside the modal
Vsevolod Stakhov [Sat, 2 Nov 2019 09:38:27 +0000 (09:38 +0000)]
[Minor] Virustotal: Improve caching
Vsevolod Stakhov [Sat, 2 Nov 2019 09:18:36 +0000 (09:18 +0000)]
[Minor] Various minor fixes
André Peters [Sat, 2 Nov 2019 07:40:37 +0000 (08:40 +0100)]
Remove prev form when clicking outside the modal
1. Function is triggered by click on close button **and** by clicking anywhere outside the modal to close it.
2. Form is being removed instead of hidden.
Vsevolod Stakhov [Fri, 1 Nov 2019 15:46:35 +0000 (15:46 +0000)]
[Minor] Add tool to convert trivial SA rules to multimap
Vsevolod Stakhov [Fri, 1 Nov 2019 14:53:20 +0000 (14:53 +0000)]
[Minor] Allow 'upstreams' alias...
Vsevolod Stakhov [Fri, 1 Nov 2019 14:39:41 +0000 (14:39 +0000)]
[Minor] Fix C stupidity
Vsevolod Stakhov [Fri, 1 Nov 2019 14:29:57 +0000 (14:29 +0000)]
[Fix] Allow real upstreams configuration
Vsevolod Stakhov [Fri, 1 Nov 2019 14:08:03 +0000 (14:08 +0000)]
[Minor] Improve logging for upstream failure
Vsevolod Stakhov [Fri, 1 Nov 2019 12:34:06 +0000 (12:34 +0000)]
[Minor] Rdns: Update loop timestamp if it is cheap
Vsevolod Stakhov [Fri, 1 Nov 2019 12:32:14 +0000 (12:32 +0000)]
[Minor] Add method ev_now_update_if_cheap
Vsevolod Stakhov [Thu, 31 Oct 2019 17:35:02 +0000 (17:35 +0000)]
[Fix] Fix upstreams exclusion logic
Vsevolod Stakhov [Thu, 31 Oct 2019 17:12:16 +0000 (17:12 +0000)]
[Minor] DNS: Add servfail cache
Vsevolod Stakhov [Thu, 31 Oct 2019 16:09:01 +0000 (16:09 +0000)]
[Conf] Antivirus: Fix the default config
Vsevolod Stakhov [Thu, 31 Oct 2019 15:56:25 +0000 (15:56 +0000)]
[Feature] Antivirus: Add preliminary virustotal support
Issue: #3109
Vsevolod Stakhov [Thu, 31 Oct 2019 15:34:33 +0000 (15:34 +0000)]
[Minor] Antivirus: Scan all attachments if required
Vsevolod Stakhov [Thu, 31 Oct 2019 13:43:56 +0000 (13:43 +0000)]
[Minor] Add better support for non-Linux systems
Vsevolod Stakhov [Thu, 31 Oct 2019 13:19:06 +0000 (13:19 +0000)]
[Minor] Use CLOCK_MONOTONIC_COARSE where suitable
Vsevolod Stakhov [Thu, 31 Oct 2019 12:30:49 +0000 (12:30 +0000)]
[Fix] Another try to fix slow callbacks and timers
Vsevolod Stakhov [Thu, 31 Oct 2019 09:25:09 +0000 (09:25 +0000)]
[Minor] Use slightly better fast PRNGs
Vsevolod Stakhov [Wed, 30 Oct 2019 17:59:09 +0000 (17:59 +0000)]
[Minor] Slightly improve log message
Vsevolod Stakhov [Wed, 30 Oct 2019 17:34:59 +0000 (17:34 +0000)]
[Minor] Oops, convert back to int
Vsevolod Stakhov [Wed, 30 Oct 2019 17:24:52 +0000 (17:24 +0000)]
[Minor] Show real ttl for records
Vsevolod Stakhov [Wed, 30 Oct 2019 17:04:36 +0000 (17:04 +0000)]
[Minor] Try to fix openblas issue
Issue: #3102 (likely)
Vsevolod Stakhov [Wed, 30 Oct 2019 14:32:45 +0000 (14:32 +0000)]
[Fix] Fix consistent hashing when upstreams are marked inactive
The idea is to rehash the value when we found that the current upstream is dead
and apply consistent hashing algorithm multiple times. This is limited by
number of attempts (we try 10 times before giving up). Also cleanup locking
stuff.
Vsevolod Stakhov [Wed, 30 Oct 2019 14:32:31 +0000 (14:32 +0000)]
[Minor] Fix log message
Vsevolod Stakhov [Wed, 30 Oct 2019 12:46:19 +0000 (12:46 +0000)]
[Minor] Improve logging
Vsevolod Stakhov [Wed, 30 Oct 2019 12:44:11 +0000 (12:44 +0000)]
[Minor] Fix crash where inconsistent fuzzy query was sent
Vsevolod Stakhov [Tue, 29 Oct 2019 15:55:58 +0000 (15:55 +0000)]
[Feature] Clickhouse: Rework Clickhouse collection logic
Issue: #3127
Vsevolod Stakhov [Tue, 29 Oct 2019 15:53:26 +0000 (15:53 +0000)]
[Minor] Send current timestamp to the periodic callbacks
Vsevolod Stakhov [Tue, 29 Oct 2019 14:37:39 +0000 (14:37 +0000)]
[Minor] Update event loop timer in lua_http as it can cause troubles
Vsevolod Stakhov [Tue, 29 Oct 2019 11:44:14 +0000 (11:44 +0000)]
Merge pull request #3128 from moisseev/ics
[Minor] Add non-standard MIME type for iMIP files
Vsevolod Stakhov [Tue, 29 Oct 2019 11:43:57 +0000 (11:43 +0000)]
Merge pull request #3126 from skorpy2009/patch-2
More text to feature requests ISSUE_TEMPLATE comment
moisseev [Tue, 29 Oct 2019 08:35:12 +0000 (11:35 +0300)]
[Minor] Add non-standard MIME type for iMIP files
"application/ics" is non-standard but used by some MUAs
skorpy2009 [Mon, 28 Oct 2019 20:15:08 +0000 (21:15 +0100)]
More text to feature requests ISSUE_TEMPLATE comment
Vsevolod Stakhov [Mon, 28 Oct 2019 15:47:56 +0000 (15:47 +0000)]
[Minor] Update version to 2.2
Vsevolod Stakhov [Mon, 28 Oct 2019 14:46:49 +0000 (14:46 +0000)]
Release 2.1
* [Conf] Update neural.conf
* [CritFix] Fix dkim verification for multiple headers listed
* [Feature] Add support of uudecode
* [Feature] Allow to explicitly set events backend
* [Feature] Implement configurable limits for SPF lookups
* [Feature] Lua_scanners: Use lua magic for inclusion/exclusion logic
* [Feature] Multimap: Do not check files in office archives
* [Feature] Neural: Add sampling when storing training vectors
* [Feature] SPF: Allow to disable AAAA checks in configuration
* [Feature] Spf: Add limits configuration support
* [Feature] Store etag in cached HTTP maps + better logging
* [Feature] Support segwit BTC addresses, fix LTC verification
* [Feature] Support uuencoding
* [Fix] Add configurable number of threads for OpenBLAS
* [Fix] Add workaround for ragel 7 in hyperscan related maps code
* [Fix] Another fix for numeric urls parsing
* [Fix] Correct EMA time calculations
* [Fix] Do not treat archives as text
* [Fix] Do not use strdup on data extracted from lua
* [Fix] Fix a failure calcuating URL reputation.
* [Fix] Fix crash due to constructors init order
* [Fix] Fix crash on parts with no cd
* [Fix] Fix empty prefilters that require mime structures
* [Fix] Fix event loop creation
* [Fix] Fix issues sending DMARC reports.
* [Fix] Fix misprint
* [Fix] Fix saving of the file maps
* [Fix] Fix size calculations when converting from utf16
* [Fix] Fix support of disable_monitoring in rbl
* [Fix] Fix use-after-free
* [Fix] Fix zip files check to relax requirements
* [Fix] Important hiredis fixes
* [Fix] Lot's of fixes in maps check logic
* [Fix] Lua_tcp: Deal with temporary fails on write
* [Fix] Lua_tcp: Make write errors fatal and rework error handlers
* [Fix] Meta: Filter some more values
* [Fix] Neural: Add protection agains infinities
* [Fix] Oops, fix math.huge invocation
* [Fix] Plug memory leak
* [Fix] Sigh, another email to string fix
* [Fix] Try to fix another ownership race in ssl connection
* [Fix] Uuencode: Fix parsing of corrupted uuencode
* [Fix] lua_scanners - razor rename need_check function
* [Rework] Require CMake 3.9 to work, remove manual lto crap
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Mon, 28 Oct 2019 13:06:28 +0000 (13:06 +0000)]
[Fix] Fix saving of the file maps
Vsevolod Stakhov [Mon, 28 Oct 2019 12:08:29 +0000 (12:08 +0000)]
[Minor] Improve trivial maps handling
Vsevolod Stakhov [Mon, 28 Oct 2019 11:01:19 +0000 (11:01 +0000)]
[Minor] Lua_http: Preallocate body when parsing tables
Vsevolod Stakhov [Sun, 27 Oct 2019 13:31:57 +0000 (13:31 +0000)]
[Minor] Stop task timeout timer on idempotent stage
Vsevolod Stakhov [Sun, 27 Oct 2019 13:28:51 +0000 (13:28 +0000)]
[Fix] Try to fix another ownership race in ssl connection
Vsevolod Stakhov [Sun, 27 Oct 2019 12:21:05 +0000 (12:21 +0000)]
[Minor] Always stop event on connection reset
Vsevolod Stakhov [Sun, 27 Oct 2019 12:19:50 +0000 (12:19 +0000)]
[Fix] Lot's of fixes in maps check logic
Vsevolod Stakhov [Sun, 27 Oct 2019 09:42:59 +0000 (09:42 +0000)]
[Feature] Allow to explicitly set events backend
Vsevolod Stakhov [Sat, 26 Oct 2019 19:12:33 +0000 (20:12 +0100)]
[Fix] Plug memory leak
Vsevolod Stakhov [Sat, 26 Oct 2019 19:08:49 +0000 (20:08 +0100)]
[Fix] Fix crash on parts with no cd
Vsevolod Stakhov [Sat, 26 Oct 2019 19:07:52 +0000 (20:07 +0100)]
[Fix] Fix event loop creation
Vsevolod Stakhov [Sat, 26 Oct 2019 19:02:33 +0000 (20:02 +0100)]
[Minor] Fix error propagation
Vsevolod Stakhov [Sat, 26 Oct 2019 10:57:39 +0000 (11:57 +0100)]
Merge pull request #3122 from philr/fix_dmarc_reporting_addr_logging
[Fix] Fix not logging DMARC reporting addresses
Vsevolod Stakhov [Sat, 26 Oct 2019 10:56:47 +0000 (11:56 +0100)]
Merge pull request #3121 from philr/fix_url_reputation_filter
[Fix] Reputation: Fix a failure when calcuating URL reputation
Phil Ross [Fri, 25 Oct 2019 18:36:27 +0000 (19:36 +0100)]
[Minor] Fix not logging DMARC reporting addresses.
`reporting_addr` uses the email address strings as keys so
`table.concat` won't produce any output.
Vsevolod Stakhov [Fri, 25 Oct 2019 19:26:32 +0000 (20:26 +0100)]
[Minor] Another uuencode fix
Phil Ross [Fri, 25 Oct 2019 17:47:43 +0000 (18:47 +0100)]
[Fix] Fix a failure calcuating URL reputation.
`url_reputation_filter` was attempting to lookup the token key returned
in the `get_token` callback in an integer-indexed table of requests.
Change to looking up the request by its index.
Commit
73d2cee changed from using `gen_url_queries` to
`lua_util.extract_specific_urls` in the assignment of `requests`.
The latter just returns a list of URLs. The former returns the TLD along
with the number of hits. The URL score calculation uses the number of
hits. Revert to using `gen_url_queries`.
Vsevolod Stakhov [Fri, 25 Oct 2019 17:29:55 +0000 (18:29 +0100)]
[Minor] Sigh, another next_check fixes for HTTP maps
Vsevolod Stakhov [Fri, 25 Oct 2019 16:56:32 +0000 (17:56 +0100)]
[Fix] Uuencode: Fix parsing of corrupted uuencode
Vsevolod Stakhov [Fri, 25 Oct 2019 16:51:04 +0000 (17:51 +0100)]
[Minor] Arc: Fix symbol insertion
Vsevolod Stakhov [Fri, 25 Oct 2019 16:36:12 +0000 (17:36 +0100)]
[Minor] Update cached files when checking HTTP maps
Vsevolod Stakhov [Fri, 25 Oct 2019 16:15:06 +0000 (17:15 +0100)]
[Minor] Reduce remain
Vsevolod Stakhov [Fri, 25 Oct 2019 15:11:47 +0000 (16:11 +0100)]
[Feature] SPF: Allow to disable AAAA checks in configuration
Vsevolod Stakhov [Fri, 25 Oct 2019 12:56:44 +0000 (13:56 +0100)]
[Minor] Oops, check for UBRK_DONE first
Vsevolod Stakhov [Fri, 25 Oct 2019 11:15:16 +0000 (12:15 +0100)]
[Minor] Try to fix HTTP maps check timeouts
Vsevolod Stakhov [Fri, 25 Oct 2019 10:35:24 +0000 (11:35 +0100)]
[Minor] Remove another crap
Vsevolod Stakhov [Fri, 25 Oct 2019 10:24:28 +0000 (11:24 +0100)]
[Minor] Cleanup crap
Vsevolod Stakhov [Fri, 25 Oct 2019 08:30:11 +0000 (09:30 +0100)]
[Feature] Spf: Add limits configuration support
Vsevolod Stakhov [Fri, 25 Oct 2019 08:22:43 +0000 (09:22 +0100)]
[Feature] Implement configurable limits for SPF lookups
Vsevolod Stakhov [Fri, 25 Oct 2019 07:11:39 +0000 (08:11 +0100)]
Merge pull request #3120 from moisseev/patch-2
[Minor] Fix misprint
Alexander Moisseev [Thu, 24 Oct 2019 17:48:16 +0000 (20:48 +0300)]
[Minor] Fix misprint
Vsevolod Stakhov [Thu, 24 Oct 2019 17:22:51 +0000 (18:22 +0100)]
[Minor] Neural: Fix random sampling
Issue: #3119
Vsevolod Stakhov [Thu, 24 Oct 2019 16:28:04 +0000 (17:28 +0100)]
Merge pull request #3118 from moisseev/patch-1
[Conf] Update neural.conf
Vsevolod Stakhov [Thu, 24 Oct 2019 12:08:29 +0000 (13:08 +0100)]
[Minor] Add safety check when using icu ubrk iterators