]>
git.ipfire.org Git - thirdparty/rspamd.git/log
Vsevolod Stakhov [Sat, 7 Dec 2024 10:17:01 +0000 (16:17 +0600)]
Merge branch 'master' into issue#5148
Vsevolod Stakhov [Fri, 6 Dec 2024 11:06:29 +0000 (17:06 +0600)]
Merge pull request #5243 from rspamd/vstakhov-spf-eyeballs
[Fix] Fix dealing with happy eyeballs in SPF
Vsevolod Stakhov [Fri, 6 Dec 2024 11:06:19 +0000 (17:06 +0600)]
Merge pull request #5246 from dragoangel/patch-8
Allow set gzip, keepalive and no_ssl_verify in metadata_exporter module
Dmitriy Alekseev [Thu, 5 Dec 2024 20:11:50 +0000 (21:11 +0100)]
Allow set gzip, keepalive and no_ssl_verify in metadata_exporter module
Vsevolod Stakhov [Thu, 5 Dec 2024 15:24:54 +0000 (15:24 +0000)]
[CritFix] Properly check dynamic keys in fuzzy storage
Vsevolod Stakhov [Wed, 4 Dec 2024 09:48:43 +0000 (09:48 +0000)]
[Minor] Fix jemalloc detection
Vsevolod Stakhov [Tue, 3 Dec 2024 12:36:47 +0000 (12:36 +0000)]
[Fix] Check DNS limits when resolving MX/PTR records
Vsevolod Stakhov [Tue, 3 Dec 2024 12:14:32 +0000 (12:14 +0000)]
[Minor] Restore copyright style
Vsevolod Stakhov [Tue, 3 Dec 2024 12:13:05 +0000 (12:13 +0000)]
[Fix] Fix dealing with happy eyeballs in SPF
Vsevolod Stakhov [Mon, 2 Dec 2024 14:37:15 +0000 (14:37 +0000)]
[Minor] Try to stringify meta headers
Issue: #5237
Vsevolod Stakhov [Mon, 2 Dec 2024 14:24:58 +0000 (14:24 +0000)]
[Fix] Use `dkim_signing` for `sign_headers` option
Issue: #5225
Vsevolod Stakhov [Fri, 29 Nov 2024 12:15:27 +0000 (18:15 +0600)]
Merge pull request #5239 from rspamd/vstakhov-simdutf
[Rework] Replace fastutf with simdutf
Vsevolod Stakhov [Fri, 29 Nov 2024 12:06:48 +0000 (12:06 +0000)]
[Test] Fix tests
Vsevolod Stakhov [Fri, 29 Nov 2024 11:52:32 +0000 (11:52 +0000)]
[Minor] Various fixes
Vsevolod Stakhov [Fri, 29 Nov 2024 11:31:35 +0000 (11:31 +0000)]
[Rework] Replace fastutf with simdutf
Simdutf is faster and has way better support of the architectures (especially
when it comes to non-x86 stuff). Hence, it is a good idea to use it instead
of the non-supported fastutf8 stuff.
Vsevolod Stakhov [Tue, 26 Nov 2024 14:05:39 +0000 (20:05 +0600)]
Merge pull request #5233 from rspamd/vstakhov-strip-attachments
Allow to strip attachments
Ivan Stakhov [Tue, 26 Nov 2024 10:33:23 +0000 (13:33 +0300)]
Merge branch 'rspamd:master' into issue#5148
Vsevolod Stakhov [Mon, 25 Nov 2024 12:23:01 +0000 (12:23 +0000)]
[Project] Various fixes and `rspamadm mime strip` command
Vsevolod Stakhov [Mon, 25 Nov 2024 11:55:25 +0000 (11:55 +0000)]
[Project] Add routine to strip attachments
Vsevolod Stakhov [Mon, 25 Nov 2024 11:19:07 +0000 (17:19 +0600)]
Merge pull request #5232 from rspamd/vstakhov-fuzzy-limits-display
[Feature] Dump current ratelimits for fuzzy keys
Vsevolod Stakhov [Mon, 25 Nov 2024 11:10:17 +0000 (11:10 +0000)]
[Minor] Do not fail on empty limits
Vsevolod Stakhov [Mon, 25 Nov 2024 11:04:53 +0000 (11:04 +0000)]
[Minor] Some display/adding fixes
Vsevolod Stakhov [Mon, 25 Nov 2024 10:52:38 +0000 (10:52 +0000)]
[Minor] Improve format
Vsevolod Stakhov [Mon, 25 Nov 2024 10:29:38 +0000 (10:29 +0000)]
[Feature] Show stats in rspamadm
Vsevolod Stakhov [Fri, 22 Nov 2024 11:15:57 +0000 (11:15 +0000)]
[Feature] Dump current ratelimits for fuzzy keys
Ivan Stakhov [Wed, 20 Nov 2024 16:53:07 +0000 (19:53 +0300)]
Merge branch 'rspamd:master' into issue#5148
Vsevolod Stakhov [Mon, 18 Nov 2024 20:39:23 +0000 (02:39 +0600)]
Merge pull request #5223 from rspamd/vstakhov-fix-2047-encode
Fix RFC 2047 encoding
Vsevolod Stakhov [Mon, 18 Nov 2024 18:43:03 +0000 (18:43 +0000)]
[Fix] Sigh, another fix
Vsevolod Stakhov [Mon, 18 Nov 2024 17:43:00 +0000 (17:43 +0000)]
[Test] Fix some tests again
Vsevolod Stakhov [Mon, 18 Nov 2024 17:30:51 +0000 (17:30 +0000)]
[Fix] More things to fix
Vsevolod Stakhov [Mon, 18 Nov 2024 16:51:44 +0000 (16:51 +0000)]
[Test] Test encode with decode
Vsevolod Stakhov [Mon, 18 Nov 2024 16:37:39 +0000 (16:37 +0000)]
[Test] Rework tests structure
Vsevolod Stakhov [Mon, 18 Nov 2024 16:31:15 +0000 (16:31 +0000)]
[Fix] More fixes to rfc2047 encoding
Vsevolod Stakhov [Sat, 16 Nov 2024 18:10:12 +0000 (18:10 +0000)]
[Minor] Some more fixes
Vsevolod Stakhov [Sat, 16 Nov 2024 17:46:44 +0000 (17:46 +0000)]
[Fix] Some more fixes
Vsevolod Stakhov [Sat, 16 Nov 2024 15:45:56 +0000 (15:45 +0000)]
[Rework] Rewrite rfc2047 encoding as it was totally broken
Vsevolod Stakhov [Sat, 16 Nov 2024 14:26:54 +0000 (14:26 +0000)]
[Minor] Get rid of glib utf8 functions
left-try [Fri, 15 Nov 2024 23:18:55 +0000 (05:18 +0600)]
Merge remote-tracking branch 'origin/issue#5148' into issue#5148
left-try [Fri, 15 Nov 2024 23:18:45 +0000 (05:18 +0600)]
[Minor] Make unused function used
Ivan Stakhov [Fri, 15 Nov 2024 23:17:44 +0000 (02:17 +0300)]
Merge branch 'rspamd:master' into issue#5148
left-try [Fri, 15 Nov 2024 23:06:52 +0000 (05:06 +0600)]
[Minor] Clean up code and fix some mistakes
Vsevolod Stakhov [Fri, 15 Nov 2024 09:54:20 +0000 (09:54 +0000)]
[Fix] Dmarc: Properly encode structured headers
Issue: #5221
Vsevolod Stakhov [Fri, 15 Nov 2024 09:00:42 +0000 (09:00 +0000)]
[Fix] Milter headers: fold before encoding
left-try [Thu, 14 Nov 2024 03:51:58 +0000 (09:51 +0600)]
[Minor] Small clean up
left-try [Thu, 14 Nov 2024 03:39:20 +0000 (09:39 +0600)]
[Minor] Small clean up for error handling
Vsevolod Stakhov [Wed, 13 Nov 2024 12:10:41 +0000 (18:10 +0600)]
Merge pull request #5219 from moisseev/elastic-conf
[Conf] Fix comments in elastic.conf
Ivan Stakhov [Mon, 11 Nov 2024 15:33:51 +0000 (18:33 +0300)]
Merge branch 'rspamd:master' into issue#5148
Alexander Moisseev [Mon, 11 Nov 2024 15:24:27 +0000 (18:24 +0300)]
[Conf] Fix comments in elastic.conf
Vsevolod Stakhov [Mon, 11 Nov 2024 12:54:51 +0000 (18:54 +0600)]
Merge pull request #5162 from left-try/master
Store LRU cache of last filled ratelimit buckets
Vsevolod Stakhov [Mon, 11 Nov 2024 12:53:52 +0000 (18:53 +0600)]
Merge pull request #5186 from dragoangel/actualize-elastic-module
[Rework] Breaking: Actualize elastic module
Vsevolod Stakhov [Mon, 11 Nov 2024 12:06:06 +0000 (18:06 +0600)]
Merge pull request #5214 from rspamd/vstakhov-conf-reorg
[Conf] Add more ways to extend Rspamd configuration
Vsevolod Stakhov [Sun, 10 Nov 2024 12:11:46 +0000 (18:11 +0600)]
Merge branch 'master' into vstakhov-conf-reorg
Vsevolod Stakhov [Sun, 10 Nov 2024 12:11:33 +0000 (18:11 +0600)]
Merge pull request #5218 from moisseev/fa6
[WebUI] Upgrade Font Awesome to v6.6.0
Vsevolod Stakhov [Sun, 10 Nov 2024 12:11:24 +0000 (18:11 +0600)]
Merge pull request #5217 from moisseev/webui
[WebUI] Update RequireJS to address CVE-2024-38999
Alexander Moisseev [Sat, 9 Nov 2024 15:08:53 +0000 (18:08 +0300)]
[WebUI] Upgrade Font Awesome to v6.6.0
Vsevolod Stakhov [Sat, 9 Nov 2024 13:41:02 +0000 (13:41 +0000)]
[Conf] Allow to install examples conditionally
Alexander Moisseev [Sat, 9 Nov 2024 12:40:10 +0000 (15:40 +0300)]
[WebUI] Update RequireJS to address CVE-2024-38999
Upgraded RequireJS from 2.3.6 to 2.3.7
to mitigate prototype pollution vulnerability (CVE-2024-38999) in `s.contexts._.configure` function,
which could allow arbitrary code execution or Denial of Service.
Dmitriy Alekseev [Fri, 8 Nov 2024 11:30:16 +0000 (12:30 +0100)]
Fix missing non_en false due to fill_empty_strings function
left-try [Thu, 7 Nov 2024 12:48:46 +0000 (18:48 +0600)]
[CI] Add ability to run GA on any push from any branch
left-try [Thu, 7 Nov 2024 12:48:12 +0000 (18:48 +0600)]
[Feature] Add ratelimit util to manage last filled ratelimit buckets
Ivan Stakhov [Thu, 7 Nov 2024 07:42:47 +0000 (10:42 +0300)]
Merge branch 'master' into master
Vsevolod Stakhov [Wed, 6 Nov 2024 19:02:24 +0000 (01:02 +0600)]
Merge pull request #5213 from rspamd/vstakhov-surbl-conf-fix
[Conf] Use full hostnames for SURBL
Vsevolod Stakhov [Wed, 6 Nov 2024 13:56:56 +0000 (13:56 +0000)]
[Minor] Fix optionality
Vsevolod Stakhov [Wed, 6 Nov 2024 13:55:47 +0000 (13:55 +0000)]
[Conf] Install examples
Vsevolod Stakhov [Wed, 6 Nov 2024 13:53:35 +0000 (13:53 +0000)]
[Conf] Add lua.local.d folder
Vsevolod Stakhov [Wed, 6 Nov 2024 13:44:19 +0000 (13:44 +0000)]
[Conf] Add more ways to extend Rspamd configuration
+ Add examples of all that we can do
Vsevolod Stakhov [Wed, 6 Nov 2024 13:16:37 +0000 (13:16 +0000)]
[Conf] Use full hostnames for SURBL
Vsevolod Stakhov [Wed, 6 Nov 2024 12:56:18 +0000 (18:56 +0600)]
Merge branch 'master' into master
Vsevolod Stakhov [Mon, 4 Nov 2024 19:17:36 +0000 (01:17 +0600)]
Merge pull request #5209 from twesterhever/temp-auth-origin-helo-user
[Minor] Add "User" HELO in Received headers to ABUSE_FROM_INJECTOR
Vsevolod Stakhov [Mon, 4 Nov 2024 19:17:26 +0000 (01:17 +0600)]
Merge pull request #5208 from twesterhever/temp-composites-aff-mm-cd
[Minor] Improve FREEMAIL_AFF catch rate
Vsevolod Stakhov [Mon, 4 Nov 2024 19:14:26 +0000 (01:14 +0600)]
Merge pull request #5207 from twesterhever/temp-attachment-rdp
[Minor] Score *.rdp attachments as bad
Vsevolod Stakhov [Mon, 4 Nov 2024 16:13:27 +0000 (22:13 +0600)]
Merge pull request #5210 from rspamd/vstakhov-fix-utf8-ragel
[Fix] Another story about char sign
Vsevolod Stakhov [Mon, 4 Nov 2024 16:11:44 +0000 (16:11 +0000)]
[Test] Add more test
Vsevolod Stakhov [Mon, 4 Nov 2024 16:03:34 +0000 (16:03 +0000)]
[Fix] Another story about char sign
Ragel still produces a wrong state machine if `const char *` is used
for characters representation that are actually utf8.
This PR changes all types to `unsigned char *` for consistency.
twesterhever [Mon, 4 Nov 2024 11:59:22 +0000 (11:59 +0000)]
[Minor] Add "User" HELO in Received headers to ABUSE_FROM_INJECTOR
This pattern often surfaces in spam (frequently advance fee fraud)
disseminated via compromised accounts, adding it to ABUSE_FROM_INJECTOR
to increase the likelihood of such spam getting rejected.
twesterhever [Mon, 4 Nov 2024 11:49:34 +0000 (11:49 +0000)]
[Minor] Improve FREEMAIL_AFF catch rate
This "Mail message body" Content-Description header appears to be a
common quirk of advance fee fraud e-mails leveraging freemail services.
twesterhever [Mon, 4 Nov 2024 11:22:56 +0000 (11:22 +0000)]
[Minor] Score *.rdp attachments as bad
Rationale: https://www.microsoft.com/en-us/security/blog/2024/10/29/midnight-blizzard-conducts-large-scale-spear-phishing-campaign-using-rdp-files/
Dmitriy Alekseev [Mon, 4 Nov 2024 10:07:19 +0000 (11:07 +0100)]
Merge branch 'master' into actualize-elastic-module
Dmitriy Alekseev [Sun, 3 Nov 2024 15:00:11 +0000 (16:00 +0100)]
* add more validation on empty strings, required to not face errors in saving logs to elastic
* remove max_size as it was looking to rows elements count, not strings size in total, such check will be too much compute intensive
* increase default errors max_fail as usually elastic not recover so quickly and needs a bit more time
Vsevolod Stakhov [Fri, 1 Nov 2024 09:38:11 +0000 (09:38 +0000)]
[Fix] Fix memory leak in `lua_new_text` invocations
Vsevolod Stakhov [Thu, 31 Oct 2024 13:29:12 +0000 (13:29 +0000)]
[Test] A workaround for brain-damaged libstdc++ from prehistoric ages
Ivan Stakhov [Thu, 31 Oct 2024 13:13:41 +0000 (16:13 +0300)]
Merge branch 'master' into master
Vsevolod Stakhov [Thu, 31 Oct 2024 13:04:49 +0000 (13:04 +0000)]
[Test] Add some specific unit tests for Rspamd x25519 DH
Ivan Stakhov [Wed, 30 Oct 2024 08:08:24 +0000 (11:08 +0300)]
Merge branch 'rspamd:master' into master
Vsevolod Stakhov [Thu, 24 Oct 2024 09:06:09 +0000 (15:06 +0600)]
Merge pull request #5195 from Cloud-Cauldron/update-changelog
[Project] Keep Changelog updated
Chris Funderburg [Thu, 24 Oct 2024 09:00:43 +0000 (10:00 +0100)]
[Project] Keep Changelog updated
Ivan Stakhov [Wed, 23 Oct 2024 14:09:53 +0000 (17:09 +0300)]
Merge branch 'rspamd:master' into master
Dmitriy Alekseev [Tue, 22 Oct 2024 10:02:45 +0000 (12:02 +0200)]
better check from to exclude cases when its empty
Dmitriy Alekseev [Mon, 21 Oct 2024 16:35:03 +0000 (18:35 +0200)]
use rspamd_ip object in sender_ip to avoid posting ipv4:port
Dmitriy Alekseev [Mon, 21 Oct 2024 15:44:49 +0000 (17:44 +0200)]
Merge branch 'master' into actualize-elastic-module
Dmitriy Alekseev [Mon, 21 Oct 2024 15:22:28 +0000 (17:22 +0200)]
strip also port from sender_ip
Dmitriy Alekseev [Mon, 21 Oct 2024 13:36:03 +0000 (15:36 +0200)]
do not allow empty headers, fix stripping of headers by limit of symbols count and add headers count limit
Dmitriy Alekseev [Mon, 21 Oct 2024 11:33:48 +0000 (13:33 +0200)]
do not allow empty from
Vsevolod Stakhov [Sun, 20 Oct 2024 09:04:20 +0000 (15:04 +0600)]
Merge pull request #5193 from jscissr/fix_arc
[CritFix] Fix ARC-Seal signing
Jan Schär [Sat, 19 Oct 2024 22:08:36 +0000 (00:08 +0200)]
[CritFix] Fix ARC-Seal signing
Signing of ARC-Seal headers was recently broken; the created signatures
failed to validate. Most likely, this was caused by commit
1e661a2fc6e3 ,
which changed the way signatures are created in lua_rsa_sign_memory
without adding the calls to EVP_PKEY_CTX_set_rsa_padding and
EVP_PKEY_CTX_set_signature_md needed with the new interface.
After fixing this, some existing tests failed, because the test values
passed to the hash parameter did not have the correct size for a sha256
hash. I fixed these by adjusting the length of the test values.
Additionally, I extended the "RSA sign" unit test to compare the created
signature against the expected one. This is possible because RSA signing
is deterministic, and should prevent the same bug from occuring again.
Fixes: https://github.com/rspamd/rspamd/issues/5173
Vsevolod Stakhov [Sat, 19 Oct 2024 20:42:24 +0000 (02:42 +0600)]
Merge pull request #5192 from henry-spanka/add-eof-to-openmetrics
add EOF to openmetrics response in proxy and server
Ivan Stakhov [Sat, 19 Oct 2024 15:23:18 +0000 (18:23 +0300)]
Merge branch 'rspamd:master' into master
Vsevolod Stakhov [Sat, 19 Oct 2024 14:45:52 +0000 (20:45 +0600)]
Merge pull request #5191 from rspamd/vstakhov-zstd-headers
[Rework] Allow `Content-Encoding` standard header for zstd compression
Henry Spanka [Fri, 18 Oct 2024 08:08:56 +0000 (10:08 +0200)]
add EOF to openmetrics response in proxy and server
Dmitriy Alekseev [Thu, 17 Oct 2024 13:35:02 +0000 (15:35 +0200)]
round scores and weight