summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.4.21.4.2Vsevolod Stakhov2017-01-061-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [CritFix] Deal with absent headers in DKIM * [CritFix] Do not trust remote shingles count * [CritFix] Fix headers selection in DKIM verification * [Feature] Add EXT_CSS rule * [Feature] Add toggle for disabling SURBLs * [Feature] Extend redis lock when learning spawned * [Feature] Parse <link> HTML tags * [Fix] Avoid reusing g_error (Fixes #1262) * [Fix] Do not reset loaded ANN when learning is requested * [Fix] Fix another issue with external deps in SA * [Fix] Fix body trie matching * [Fix] Fix checking of DKIM bodies that needs just `\n` to be added * [Fix] Fix fuzzy hashes count * [Fix] Fix keys names * [Fix] Fix length calculations for url encoded urls * [Fix] Fix matching of the same patterns from different tries * [Fix] Fix name of var * [Fix] Fix parsing of URLs with spaces and other bad chars * [Fix] Fix probability calculations for fuzzy redis backend * [Fix] Fix signing headers creation in DKIM * [Fix] Plug memory leak * [Fix] Really fix chained SA dependencies * [Fix] Really increase lock lifetime * [Fix] Use checksum to avoid intersection between different ANNs * [Fix] Use rspamd hashes in embedded ucl * [Fix] Yet another change for testing external deps Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
* Fix shm on DragonFlyMichael Neumann2017-01-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rspamd tried to call shm_open(3) with a path in the root filesystem (e.g. /rhm.3f0fd440d46fac91e1b4). But DragonFly uses regular files for shm. Obviously, this fails, because rspamd has no permissions to create files in the root (/). Lots of lines like the following were found in /var/log/rspamd/rspamd.log before this patch: rspamd_shmem_mkstemp: /usr/obj/dports/mail/rspamd/rspamd-1.4.1/src /libutil/util.c:1970: failed to create temp shmem /rhm.3f0fd440d46fac91e1b4: Permission denied Also, rspamd made the receiving of mail very slow, when used in the pre-accept rmilter setting, due to these errors. Even worse, it just didn't filter emails at all. This patch fixes the problem by creating the shm files in /tmp for DragonFly. With this patch applied, these lines are gone from the log and emails now correctly contain the X-Spamd-Result header, AND receiving mails is now much much faster. For rspamd 1.4.1, we will fix it in dports: https://github.com/DragonFlyBSD/DeltaPorts/pull/727
* Merge pull request #1314 from fatalbanana/rspamd-1.4Vsevolod Stakhov2017-01-052-42/+72
|\ | | | | Rspamd 1.4: fuzzy fixes
| * [Fix] Fix probability calculations for fuzzy redis backendVsevolod Stakhov2017-01-051-40/+46
| |
| * [CritFix] Do not trust remote shingles countVsevolod Stakhov2017-01-051-2/+1
| | | | | | | | MFH: true
| * [Fix] Fix buildVsevolod Stakhov2017-01-051-2/+1
| |
| * [Fix] Fix fuzzy hashes countVsevolod Stakhov2017-01-051-0/+26
|/
* Merge pull request #1313 from fatalbanana/rspamd-1.4Vsevolod Stakhov2017-01-053-5/+25
|\ | | | | [Minor] Add `compat_messages` for compatibility with legacy protocol
| * [Minor] Add `compat_messages` for compatibility with legacy protocolVsevolod Stakhov2017-01-053-5/+25
|/ | | | MFH: true
* Merge pull request #1303 from fatalbanana/rspamd-1.4Vsevolod Stakhov2017-01-041-126/+170
|\ | | | | Rspamd 1.4: fann_redis fixes
| * [Fix] Fix keys namesVsevolod Stakhov2017-01-041-5/+5
| |
| * [Fix] Use checksum to avoid intersection between different ANNsVsevolod Stakhov2017-01-041-24/+28
| |
| * [Fix] Really increase lock lifetimeVsevolod Stakhov2017-01-041-1/+1
| |
| * [Minor] fann_redis: Try harder to reload redis scripts if neededAndrew Lewis2017-01-041-105/+117
| |
| * [Feature] Extend redis lock when learning spawnedVsevolod Stakhov2017-01-041-0/+28
|/
* Merge pull request #1302 from fatalbanana/rspamd-1.4Vsevolod Stakhov2017-01-043-102/+16
|\ | | | | Rspamd 1.4: backport memory leak fix/other fixes
| * [Fix] Fix name of varVsevolod Stakhov2017-01-041-1/+1
| | | | | | | | MFH: true
| * [Fix] Use rspamd hashes in embedded uclVsevolod Stakhov2017-01-041-99/+10
| |
| * [Fix] Fix matching of the same patterns from different triesVsevolod Stakhov2017-01-041-2/+3
| | | | | | | | MFH: true
| * [Fix] Fix body trie matchingVsevolod Stakhov2017-01-041-1/+1
| | | | | | | | MFH: true
| * [Fix] Plug memory leakVsevolod Stakhov2017-01-041-0/+2
|/ | | | MFH: true
* Merge pull request #1297 from fatalbanana/rspamd-1.4Vsevolod Stakhov2017-01-031-38/+39
|\ | | | | Rspamd 1.4: backport DKIM fixes
| * [Fix] Fix signing headers creation in DKIMVsevolod Stakhov2017-01-031-1/+1
| | | | | | | | MFH: true
| * [CritFix] Deal with absent headers in DKIMVsevolod Stakhov2017-01-031-1/+2
| | | | | | | | MFH: true
| * [CritFix] Fix headers selection in DKIM verificationVsevolod Stakhov2017-01-031-31/+31
| | | | | | | | | | | | | | | | Found by: @moisseev MFH: true Conflicts: src/libserver/dkim.c
| * [Fix] Fix checking of DKIM bodies that needs just `\n` to be addedVsevolod Stakhov2017-01-031-1/+1
| |
| * [Fix] Avoid reusing g_error (Fixes #1262)Andrew Lewis2017-01-031-5/+5
|/ | | | Reported by: @jhejl
* Merge pull request #1223 from fatalbanana/surblVsevolod Stakhov2016-12-051-0/+15
|\ | | | | [Feature] Add toggle for disabling SURBLs
| * [Feature] Add toggle for disabling SURBLsAndrew Lewis2016-12-051-0/+15
|/
* [Minor] Remove unused global varVsevolod Stakhov2016-12-041-7/+0
|
* Merge pull request #1222 from moisseev/patch-4Vsevolod Stakhov2016-12-041-1/+1
|\ | | | | [Minor] Avoid `nil` index
| * [Minor] Avoid `nil` indexAlexander Moisseev2016-12-041-1/+1
|/
* Merge pull request #1221 from moisseev/patch-3Vsevolod Stakhov2016-12-041-2/+2
|\ | | | | [Minor] Fix typo
| * [Minor] Fix typoAlexander Moisseev2016-12-031-2/+2
| |
* | Merge pull request #1219 from moisseev/patch-2Vsevolod Stakhov2016-12-041-8/+10
|\ \ | |/ |/| [Minor] Avoid nil index
| * [Minor] Fix condition, avoid `nil` indexAlexander Moisseev2016-12-041-4/+6
| |
| * [Minor] Avoid nil indexAlexander Moisseev2016-12-041-3/+3
| |
| * [Minor] Avoid nil indexAlexander Moisseev2016-12-031-1/+1
|/
* [Minor] Allow to set lock expire for ANN moduleVsevolod Stakhov2016-12-021-0/+3
|
* [Fix] Fix length calculations for url encoded urlsVsevolod Stakhov2016-12-021-1/+7
|
* [Fix] Fix parsing of URLs with spaces and other bad charsVsevolod Stakhov2016-12-021-20/+42
|
* [Feature] Add EXT_CSS ruleVsevolod Stakhov2016-12-011-0/+32
|
* [Feature] Parse <link> HTML tagsVsevolod Stakhov2016-12-012-1/+4
|
* Merge pull request #1216 from fatalbanana/tVsevolod Stakhov2016-12-012-1/+2
|\ | | | | [Test] Improve SpamAssassin dependencies tests
| * [Test] Improve SpamAssassin dependencies testsAndrew Lewis2016-12-012-1/+2
|/
* [Fix] Do not reset loaded ANN when learning is requestedVsevolod Stakhov2016-12-011-2/+0
|
* [Fix] Yet another change for testing external depsVsevolod Stakhov2016-12-011-20/+9
|
* [Fix] Fix another issue with external deps in SAVsevolod Stakhov2016-12-011-2/+2
|
* Merge pull request #1211 from moisseev/patch-1Vsevolod Stakhov2016-12-011-0/+4
|\ | | | | [WebUI] Load graph data on reconnect if the tab is active
| * [WebUI] Load graph data on reconnect if the tab is activeAlexander Moisseev2016-11-301-0/+4
| |