]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoRemove useless library.
Vsevolod Stakhov [Mon, 16 Feb 2015 15:01:29 +0000 (15:01 +0000)]
Remove useless library.

9 years agoAllow definitions of composite rules from lua.
Vsevolod Stakhov [Sun, 15 Feb 2015 21:57:44 +0000 (21:57 +0000)]
Allow definitions of composite rules from lua.

9 years agoMerge pull request #172 from fatalbanana/master
Vsevolod Stakhov [Sun, 15 Feb 2015 20:53:21 +0000 (20:53 +0000)]
Merge pull request #172 from fatalbanana/master

rbl.lua: Support site-local IP address / subnet exclusions

9 years agoDon't use to_number() when checking radix maps 172/head
Andrew Lewis [Sun, 15 Feb 2015 20:25:57 +0000 (22:25 +0200)]
Don't use to_number() when checking radix maps

9 years agoMerge remote-tracking branch 'upstream/master'
Andrew Lewis [Sun, 15 Feb 2015 20:21:22 +0000 (22:21 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoSupport site-local IP address / subnet exclusions
Andrew Lewis [Sun, 15 Feb 2015 20:15:55 +0000 (22:15 +0200)]
Support site-local IP address / subnet exclusions

9 years agoFix typecast.
Vsevolod Stakhov [Sun, 15 Feb 2015 20:01:36 +0000 (20:01 +0000)]
Fix typecast.

9 years agoAllow to check radix maps from lua by rspamd{ip}
Vsevolod Stakhov [Sun, 15 Feb 2015 19:18:16 +0000 (19:18 +0000)]
Allow to check radix maps from lua by rspamd{ip}

9 years agoAllow && and || in composites.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:46:19 +0000 (17:46 +0000)]
Allow && and || in composites.

9 years agoAlso allow setting description.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:42:20 +0000 (17:42 +0000)]
Also allow setting description.

9 years agoAllow to register metric symbols from lua.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:39:14 +0000 (17:39 +0000)]
Allow to register metric symbols from lua.

9 years agoRemove tweetnacl for now.
Vsevolod Stakhov [Sun, 15 Feb 2015 16:14:20 +0000 (16:14 +0000)]
Remove tweetnacl for now.

9 years agoAdd error codes for statistics.
Vsevolod Stakhov [Sat, 14 Feb 2015 22:22:55 +0000 (22:22 +0000)]
Add error codes for statistics.

9 years agoMerge pull request #170 from fatalbanana/master
Vsevolod Stakhov [Sat, 14 Feb 2015 15:11:03 +0000 (15:11 +0000)]
Merge pull request #170 from fatalbanana/master

rbl.lua: Fix mistake

9 years agoMerge pull request #169 from AlexeySa/master
Vsevolod Stakhov [Sat, 14 Feb 2015 15:10:40 +0000 (15:10 +0000)]
Merge pull request #169 from AlexeySa/master

Update hfilter

9 years agoMerge pull request #167 from AlexeySa/patch-3
Vsevolod Stakhov [Sat, 14 Feb 2015 15:10:18 +0000 (15:10 +0000)]
Merge pull request #167 from AlexeySa/patch-3

Preventing complications for ipv6 in rbl module

9 years agorbl.lua: Fix mistake 170/head
Andrew Lewis [Sat, 14 Feb 2015 13:54:49 +0000 (15:54 +0200)]
rbl.lua: Fix mistake

9 years agoUpdate hfilter.lua 169/head
Alexey AL [Sat, 14 Feb 2015 13:27:51 +0000 (16:27 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Sat, 14 Feb 2015 13:06:26 +0000 (16:06 +0300)]
Update hfilter.lua

9 years agoUpdate metrics for Hfilter
Alexey AL [Sat, 14 Feb 2015 13:02:43 +0000 (16:02 +0300)]
Update metrics for Hfilter

9 years agoHfilter: more fixes for helo checks, new metric
Alexey AL [Sat, 14 Feb 2015 13:00:37 +0000 (16:00 +0300)]
Hfilter: more fixes for helo checks, new metric

9 years agoЗreventing complications for ipv6 in rbl module 167/head
Alexey AL [Sat, 14 Feb 2015 10:50:20 +0000 (13:50 +0300)]
Зreventing complications for ipv6 in rbl module

9 years agoMerge pull request #166 from fatalbanana/master
Vsevolod Stakhov [Sat, 14 Feb 2015 10:23:54 +0000 (10:23 +0000)]
Merge pull request #166 from fatalbanana/master

rbl.lua: Ignore private IP space

9 years agoMake ignoring private IP space configurable; avoid changing plugin default behaviour 166/head
Andrew Lewis [Sat, 14 Feb 2015 08:37:53 +0000 (10:37 +0200)]
Make ignoring private IP space configurable; avoid changing plugin default behaviour

9 years agoBackward compatibility.
Vsevolod Stakhov [Sat, 14 Feb 2015 00:57:41 +0000 (00:57 +0000)]
Backward compatibility.

9 years agoAnother try to fix build.
Vsevolod Stakhov [Sat, 14 Feb 2015 00:49:34 +0000 (00:49 +0000)]
Another try to fix build.

9 years agoInclude directory in all cases.
Vsevolod Stakhov [Fri, 13 Feb 2015 23:56:21 +0000 (23:56 +0000)]
Include directory in all cases.

9 years agoEliminate mess with linking.
Vsevolod Stakhov [Fri, 13 Feb 2015 23:45:06 +0000 (23:45 +0000)]
Eliminate mess with linking.

9 years agorbl.lua: Ignore private IP space
Andrew Lewis [Fri, 13 Feb 2015 21:52:53 +0000 (23:52 +0200)]
rbl.lua: Ignore private IP space

9 years agoAvoid variables conflict.
Vsevolod Stakhov [Fri, 13 Feb 2015 17:12:44 +0000 (17:12 +0000)]
Avoid variables conflict.

9 years agoAdd ignore duplicate learnings logic.
Vsevolod Stakhov [Fri, 13 Feb 2015 17:03:10 +0000 (17:03 +0000)]
Add ignore duplicate learnings logic.

9 years agoConfigure learn caches.
Vsevolod Stakhov [Fri, 13 Feb 2015 16:57:06 +0000 (16:57 +0000)]
Configure learn caches.

9 years agoAdd sqlite3 learn cache.
Vsevolod Stakhov [Fri, 13 Feb 2015 16:46:06 +0000 (16:46 +0000)]
Add sqlite3 learn cache.

9 years agoUse "unknown" for absent hostname.
Vsevolod Stakhov [Fri, 13 Feb 2015 13:31:40 +0000 (13:31 +0000)]
Use "unknown" for absent hostname.

9 years agoAdd task:get_content() method.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:58:45 +0000 (12:58 +0000)]
Add task:get_content() method.

9 years agoClarify a bit.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:08:45 +0000 (12:08 +0000)]
Clarify a bit.

9 years agoDefine contributions policy.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:06:53 +0000 (12:06 +0000)]
Define contributions policy.

9 years agoMerge pull request #164 from fatalbanana/master
Vsevolod Stakhov [Fri, 13 Feb 2015 11:53:23 +0000 (11:53 +0000)]
Merge pull request #164 from fatalbanana/master

Minor nonsense

9 years agoMinor nonsense 164/head
Andrew Lewis [Fri, 13 Feb 2015 11:45:14 +0000 (13:45 +0200)]
Minor nonsense

9 years agoClarify copyright for lua plugins.
Vsevolod Stakhov [Fri, 13 Feb 2015 11:12:54 +0000 (11:12 +0000)]
Clarify copyright for lua plugins.

9 years agoMerge pull request #162 from fatalbanana/master
Vsevolod Stakhov [Fri, 13 Feb 2015 11:05:30 +0000 (11:05 +0000)]
Merge pull request #162 from fatalbanana/master

Exclusions for authenticated users etc

9 years agorbl.lua: remove un-needed character from pattern match 162/head
Andrew Lewis [Fri, 13 Feb 2015 10:22:19 +0000 (12:22 +0200)]
rbl.lua: remove un-needed character from pattern match

9 years agorbl.lua: add reference to documentation
Andrew Lewis [Fri, 13 Feb 2015 09:35:28 +0000 (11:35 +0200)]
rbl.lua: add reference to documentation

9 years agohfilter.lua: Add exclusion for authenticated users (except link checks)
Andrew Lewis [Fri, 13 Feb 2015 09:30:41 +0000 (11:30 +0200)]
hfilter.lua: Add exclusion for authenticated users (except link checks)

9 years agoonce_received.lua: Fix indentation & add exclusion for authenticated users
Andrew Lewis [Fri, 13 Feb 2015 09:24:41 +0000 (11:24 +0200)]
once_received.lua: Fix indentation & add exclusion for authenticated users

9 years agorbl.lua: Try harder to avoid invalid DNS lookups
Andrew Lewis [Fri, 13 Feb 2015 09:23:06 +0000 (11:23 +0200)]
rbl.lua: Try harder to avoid invalid DNS lookups

9 years agoMerge pull request #159 from AlexeySa/master
Vsevolod Stakhov [Thu, 12 Feb 2015 21:24:24 +0000 (21:24 +0000)]
Merge pull request #159 from AlexeySa/master

Update Hfilter and rbl.lua

9 years agoMerge pull request #160 from eneq123/master
Vsevolod Stakhov [Thu, 12 Feb 2015 20:30:15 +0000 (20:30 +0000)]
Merge pull request #160 from eneq123/master

forged_recipients.lua:41: attempt to index field '?' (a nil value)

9 years agofix: attempt to index field '?' (a nil value) 160/head
eneq123 [Thu, 12 Feb 2015 20:18:29 +0000 (23:18 +0300)]
fix: attempt to index field '?' (a nil value)

9 years agoHfilter: Fix metric 159/head
Alexey AL [Thu, 12 Feb 2015 17:51:03 +0000 (20:51 +0300)]
Hfilter: Fix metric

9 years agoFix helo checks in rbl.lua
Alexey AL [Thu, 12 Feb 2015 17:45:28 +0000 (20:45 +0300)]
Fix helo checks in rbl.lua

9 years agoHfilter: New metrics for helo checks
Alexey AL [Thu, 12 Feb 2015 17:44:04 +0000 (20:44 +0300)]
Hfilter: New metrics for helo checks

9 years agoHfilter: Update
Alexey AL [Thu, 12 Feb 2015 17:42:29 +0000 (20:42 +0300)]
Hfilter: Update

Fix: hostname and helo checks
Add: New bad hostnames

9 years agoMerge pull request #154 from fatalbanana/master
Vsevolod Stakhov [Thu, 12 Feb 2015 15:28:17 +0000 (15:28 +0000)]
Merge pull request #154 from fatalbanana/master

rbl.lua: Don't ask for user unless called for by config

9 years agoRename user to exclude_users and invert logic 154/head
Andrew Lewis [Thu, 12 Feb 2015 15:11:58 +0000 (17:11 +0200)]
Rename user to exclude_users and invert logic

9 years agorbl.lua: Don't ask for user unless called for by config
Andrew Lewis [Thu, 12 Feb 2015 13:01:04 +0000 (15:01 +0200)]
rbl.lua: Don't ask for user unless called for by config

9 years agoAdd latency calculations.
Vsevolod Stakhov [Thu, 12 Feb 2015 12:51:34 +0000 (12:51 +0000)]
Add latency calculations.

9 years agoMerge pull request #152 from fatalbanana/master
Vsevolod Stakhov [Thu, 12 Feb 2015 12:18:30 +0000 (12:18 +0000)]
Merge pull request #152 from fatalbanana/master

Another fix for RBL module (Reported by AL)

9 years agoAnother fix for RBL module (Reported by AL) 152/head
Andrew Lewis [Thu, 12 Feb 2015 11:32:24 +0000 (13:32 +0200)]
Another fix for RBL module (Reported by AL)

9 years agoMerge pull request #150 from AlexeySa/patch-2
Vsevolod Stakhov [Thu, 12 Feb 2015 09:54:04 +0000 (09:54 +0000)]
Merge pull request #150 from AlexeySa/patch-2

Fix rbl.lua

9 years agoFix rbl.lua 150/head
Alexey AL [Thu, 12 Feb 2015 00:35:39 +0000 (03:35 +0300)]
Fix rbl.lua

9 years agoAllow to specify keypairs cache externally.
Vsevolod Stakhov [Wed, 11 Feb 2015 22:13:02 +0000 (22:13 +0000)]
Allow to specify keypairs cache externally.

9 years agoMerge pull request #149 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Feb 2015 21:47:36 +0000 (21:47 +0000)]
Merge pull request #149 from fatalbanana/master

Fixes for work on RBL module

9 years agoFurther amendments for changes to RBL module 149/head
Andrew Lewis [Wed, 11 Feb 2015 21:15:25 +0000 (23:15 +0200)]
Further amendments for changes to RBL module

9 years agoFix typo
Andrew Lewis [Wed, 11 Feb 2015 18:42:36 +0000 (20:42 +0200)]
Fix typo

9 years agoMerge pull request #146 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Feb 2015 16:07:56 +0000 (16:07 +0000)]
Merge pull request #146 from fatalbanana/master

Update RBL module etc

9 years agoMerge pull request #145 from eneq123/master
Vsevolod Stakhov [Wed, 11 Feb 2015 16:07:03 +0000 (16:07 +0000)]
Merge pull request #145 from eneq123/master

Various LUA plugin issues

9 years agoWe should check here :is_valid() instead of :to_string() 145/head
eneq123 [Wed, 11 Feb 2015 14:50:14 +0000 (17:50 +0300)]
We should check here :is_valid() instead of :to_string()

9 years agoAmendment for rbl.lua update 146/head
Andrew Lewis [Wed, 11 Feb 2015 14:14:43 +0000 (16:14 +0200)]
Amendment for rbl.lua update

9 years agoUpdate RBL module: fix indentation; collapse loops; avoid calling for un-needed infor...
Andrew Lewis [Wed, 11 Feb 2015 13:43:26 +0000 (15:43 +0200)]
Update RBL module: fix indentation; collapse loops; avoid calling for un-needed information; allow disabling RBLs for authenticated users

9 years agoMake Exim pass usernames to Rspamd
Andrew Lewis [Wed, 11 Feb 2015 13:37:38 +0000 (15:37 +0200)]
Make Exim pass usernames to Rspamd

9 years agoAdd DNSWL_BLOCKED symbol
Andrew Lewis [Wed, 11 Feb 2015 13:36:34 +0000 (15:36 +0200)]
Add DNSWL_BLOCKED symbol

9 years agoset empty <> user or addr for msgs without FROM (the MAIL FROM:<> is RFC 821 defined...
eneq123 [Wed, 11 Feb 2015 13:19:02 +0000 (16:19 +0300)]
set empty <> user or addr for msgs without FROM (the MAIL FROM:<> is RFC 821 defined error message transport)

9 years agofalse if header from is nil
eneq123 [Wed, 11 Feb 2015 13:12:44 +0000 (16:12 +0300)]
false if header from is nil

9 years agoreal_ip to_string should not nil
eneq123 [Wed, 11 Feb 2015 13:10:21 +0000 (16:10 +0300)]
real_ip to_string should not nil

9 years agoAdd preliminary API definition for learn cache.
Vsevolod Stakhov [Wed, 11 Feb 2015 01:37:58 +0000 (01:37 +0000)]
Add preliminary API definition for learn cache.

9 years agoFix race condition.
Vsevolod Stakhov [Mon, 9 Feb 2015 17:28:32 +0000 (17:28 +0000)]
Fix race condition.

This race condition could occur if a message has too high spam score and the
planner decides to stop checking. However, already registered events
pending were not checked, which caused use-after-free for a task object.

9 years agoRemove old UCL workarounds.
Vsevolod Stakhov [Mon, 9 Feb 2015 17:24:32 +0000 (17:24 +0000)]
Remove old UCL workarounds.

9 years agoFix memory leaks in HTTP code.
Vsevolod Stakhov [Mon, 9 Feb 2015 16:23:21 +0000 (16:23 +0000)]
Fix memory leaks in HTTP code.

9 years agoSmall fixes.
Vsevolod Stakhov [Mon, 9 Feb 2015 10:52:31 +0000 (10:52 +0000)]
Small fixes.

9 years agoFind iconv.
Vsevolod Stakhov [Mon, 9 Feb 2015 10:52:23 +0000 (10:52 +0000)]
Find iconv.

9 years agoMacro ambiguity hell.
Vsevolod Stakhov [Mon, 9 Feb 2015 10:23:07 +0000 (10:23 +0000)]
Macro ambiguity hell.

9 years agoSome more BSD fixes.
Vsevolod Stakhov [Mon, 9 Feb 2015 10:20:03 +0000 (10:20 +0000)]
Some more BSD fixes.

9 years agoOne more push to pthread_mutexattr_setpshared
Vsevolod Stakhov [Mon, 9 Feb 2015 10:12:59 +0000 (10:12 +0000)]
One more push to pthread_mutexattr_setpshared

9 years agoMore precise detection of pthread_mutexattr_setpshared.
Vsevolod Stakhov [Mon, 9 Feb 2015 10:04:37 +0000 (10:04 +0000)]
More precise detection of pthread_mutexattr_setpshared.

9 years agoCheck OSXSAVE flag.
Vsevolod Stakhov [Mon, 9 Feb 2015 09:53:15 +0000 (09:53 +0000)]
Check OSXSAVE flag.

9 years agoMerge pull request #144 from AlexeySa/patch-1
Vsevolod Stakhov [Sun, 8 Feb 2015 22:27:39 +0000 (22:27 +0000)]
Merge pull request #144 from AlexeySa/patch-1

Build internal libs static

9 years agoUnify align macro.
Vsevolod Stakhov [Sun, 8 Feb 2015 22:27:04 +0000 (22:27 +0000)]
Unify align macro.

9 years agoAdd static build internal libs 144/head
Alexey AL [Sun, 8 Feb 2015 22:21:43 +0000 (01:21 +0300)]
Add static build internal libs

9 years agoMerge pull request #143 from fatalbanana/master
Vsevolod Stakhov [Sun, 8 Feb 2015 17:32:37 +0000 (17:32 +0000)]
Merge pull request #143 from fatalbanana/master

Make settings work as documented

9 years agoMake settings work as documented 143/head
Andrew Lewis [Sun, 8 Feb 2015 13:55:28 +0000 (15:55 +0200)]
Make settings work as documented

9 years agoFix optimized poly1305.
Vsevolod Stakhov [Sat, 7 Feb 2015 22:28:10 +0000 (22:28 +0000)]
Fix optimized poly1305.

9 years agoUse optimized version of poly1305.
Vsevolod Stakhov [Sat, 7 Feb 2015 22:10:07 +0000 (22:10 +0000)]
Use optimized version of poly1305.

9 years agoMerge pull request #140 from AlexeySa/patch-3
Vsevolod Stakhov [Sat, 7 Feb 2015 17:18:22 +0000 (17:18 +0000)]
Merge pull request #140 from AlexeySa/patch-3

Fix: if not exist Date-header

9 years agoMerge pull request #141 from AlexeySa/master
Vsevolod Stakhov [Sat, 7 Feb 2015 17:18:15 +0000 (17:18 +0000)]
Merge pull request #141 from AlexeySa/master

Add DATE_NOT_EXISTS rule

9 years agoInit cryptobox library properly.
Vsevolod Stakhov [Sat, 7 Feb 2015 16:53:45 +0000 (16:53 +0000)]
Init cryptobox library properly.

9 years agoFix cryptobox logic.
Vsevolod Stakhov [Sat, 7 Feb 2015 16:37:19 +0000 (16:37 +0000)]
Fix cryptobox logic.

9 years agoUse libcryptobox in http.
Vsevolod Stakhov [Sat, 7 Feb 2015 16:08:12 +0000 (16:08 +0000)]
Use libcryptobox in http.

9 years agoUpdate metrics.conf 141/head
Alexey AL [Sat, 7 Feb 2015 16:01:04 +0000 (19:01 +0300)]
Update metrics.conf

9 years agoUpdate rspamd.lua
Alexey AL [Sat, 7 Feb 2015 16:00:20 +0000 (19:00 +0300)]
Update rspamd.lua