]> source.dussan.org Git - rspamd.git/log
rspamd.git
7 years ago[Fix] Add handling of regexp maps
Vsevolod Stakhov [Thu, 24 Nov 2016 12:14:39 +0000 (12:14 +0000)]
[Fix] Add handling of regexp maps

7 years ago[Rework] Use new maps add function
Vsevolod Stakhov [Thu, 24 Nov 2016 11:58:32 +0000 (11:58 +0000)]
[Rework] Use new maps add function

7 years ago[Fix] Properly get options for ip_score module
Vsevolod Stakhov [Thu, 24 Nov 2016 11:42:39 +0000 (11:42 +0000)]
[Fix] Properly get options for ip_score module

7 years ago[Minor] Propely set map data
Vsevolod Stakhov [Thu, 24 Nov 2016 11:42:22 +0000 (11:42 +0000)]
[Minor] Propely set map data

7 years ago[Feature] Add generic tool to add universal maps for lua modules
Vsevolod Stakhov [Thu, 24 Nov 2016 11:34:42 +0000 (11:34 +0000)]
[Feature] Add generic tool to add universal maps for lua modules

7 years agoMerge pull request #1172 from fatalbanana/f
Vsevolod Stakhov [Thu, 24 Nov 2016 10:53:42 +0000 (10:53 +0000)]
Merge pull request #1172 from fatalbanana/f

Clickhouse plugin

7 years agoMerge pull request #1171 from fatalbanana/e
Vsevolod Stakhov [Thu, 24 Nov 2016 10:53:25 +0000 (10:53 +0000)]
Merge pull request #1171 from fatalbanana/e

[Minor] Fix logging in emails/asn modules

7 years agoMerge pull request #1170 from fatalbanana/av
Vsevolod Stakhov [Thu, 24 Nov 2016 10:53:16 +0000 (10:53 +0000)]
Merge pull request #1170 from fatalbanana/av

[Minor] Fix some logging in antivirus module

7 years ago[Fix] Fix memory leak for task-less redis requests
Vsevolod Stakhov [Thu, 24 Nov 2016 10:05:14 +0000 (10:05 +0000)]
[Fix] Fix memory leak for task-less redis requests

7 years ago[Feature] Clickhouse: support different masks for IPv4/IPv6 1172/head
Andrew Lewis [Thu, 24 Nov 2016 09:58:36 +0000 (11:58 +0200)]
[Feature] Clickhouse: support different masks for IPv4/IPv6

7 years ago[Minor] Fix logline in clickhouse plugin
Andrew Lewis [Thu, 24 Nov 2016 09:27:45 +0000 (11:27 +0200)]
[Minor] Fix logline in clickhouse plugin

7 years ago[Minor] Fix logging in emails/asn modules 1171/head
Andrew Lewis [Thu, 24 Nov 2016 08:50:27 +0000 (10:50 +0200)]
[Minor] Fix logging in emails/asn modules

7 years ago[Minor] Fix some logging in antivirus module 1170/head
Andrew Lewis [Thu, 24 Nov 2016 08:01:48 +0000 (10:01 +0200)]
[Minor] Fix some logging in antivirus module

8 years agoMerge pull request #1168 from fatalbanana/xxx
Vsevolod Stakhov [Wed, 23 Nov 2016 17:52:26 +0000 (17:52 +0000)]
Merge pull request #1168 from fatalbanana/xxx

[Fix] Settings: correctly read redis config

8 years ago[Fix] Settings: correctly read redis config 1168/head
Andrew Lewis [Wed, 23 Nov 2016 16:25:42 +0000 (18:25 +0200)]
[Fix] Settings: correctly read redis config

8 years agoMerge pull request #1167 from fatalbanana/symbols
Vsevolod Stakhov [Wed, 23 Nov 2016 14:28:39 +0000 (14:28 +0000)]
Merge pull request #1167 from fatalbanana/symbols

[Minor] Add missing symbol registration in ASN module

8 years ago[Minor] Add missing symbol registration in ASN module 1167/head
Andrew Lewis [Wed, 23 Nov 2016 14:27:58 +0000 (16:27 +0200)]
[Minor] Add missing symbol registration in ASN module

8 years ago[Minor] Lint plugin
Vsevolod Stakhov [Wed, 23 Nov 2016 13:29:58 +0000 (13:29 +0000)]
[Minor] Lint plugin

8 years ago[Minor] Specify clickhouse schema
Vsevolod Stakhov [Wed, 23 Nov 2016 13:21:23 +0000 (13:21 +0000)]
[Minor] Specify clickhouse schema

8 years ago[Feature] Add clickhouse plugin
Vsevolod Stakhov [Wed, 23 Nov 2016 13:14:01 +0000 (13:14 +0000)]
[Feature] Add clickhouse plugin

8 years ago[Minor] Update tld file
Vsevolod Stakhov [Wed, 23 Nov 2016 13:07:29 +0000 (13:07 +0000)]
[Minor] Update tld file

8 years ago[Minor] Adjust multipattern sizes
Vsevolod Stakhov [Wed, 23 Nov 2016 13:04:11 +0000 (13:04 +0000)]
[Minor] Adjust multipattern sizes

8 years ago[Fix] Do not load tld file to speed up rspamadm
Vsevolod Stakhov [Wed, 23 Nov 2016 13:00:36 +0000 (13:00 +0000)]
[Fix] Do not load tld file to speed up rspamadm

8 years ago[Minor] One more fix
Vsevolod Stakhov [Tue, 22 Nov 2016 17:45:25 +0000 (17:45 +0000)]
[Minor] One more fix

8 years ago[Minor] Some more fixes
Vsevolod Stakhov [Tue, 22 Nov 2016 17:44:25 +0000 (17:44 +0000)]
[Minor] Some more fixes

8 years ago[Fix] Fix various warnings and issues
Vsevolod Stakhov [Tue, 22 Nov 2016 17:39:46 +0000 (17:39 +0000)]
[Fix] Fix various warnings and issues

8 years ago[Minor] Fix format string
Vsevolod Stakhov [Tue, 22 Nov 2016 17:26:22 +0000 (17:26 +0000)]
[Minor] Fix format string

8 years ago[Fix] Fix hyperscan usage for non compatible platforms
Vsevolod Stakhov [Tue, 22 Nov 2016 15:17:16 +0000 (15:17 +0000)]
[Fix] Fix hyperscan usage for non compatible platforms

Issue: #1164
Reported by: @jirireischig

8 years agoMerge pull request #1165 from fatalbanana/mx
Vsevolod Stakhov [Tue, 22 Nov 2016 15:01:24 +0000 (15:01 +0000)]
Merge pull request #1165 from fatalbanana/mx

[Minor] MX check: require redis settings for registration

8 years ago[Minor] MX check: require redis settings for registration 1165/head
Andrew Lewis [Tue, 22 Nov 2016 14:58:04 +0000 (16:58 +0200)]
[Minor] MX check: require redis settings for registration

8 years ago[Minor] Fix variable id -> elt
Vsevolod Stakhov [Tue, 22 Nov 2016 13:21:07 +0000 (13:21 +0000)]
[Minor] Fix variable id -> elt

8 years ago[Fix] Invalidate ANN if training data is incorrect
Vsevolod Stakhov [Tue, 22 Nov 2016 13:13:36 +0000 (13:13 +0000)]
[Fix] Invalidate ANN if training data is incorrect

8 years ago[Fix] Filter incorrect training data
Vsevolod Stakhov [Tue, 22 Nov 2016 13:00:50 +0000 (13:00 +0000)]
[Fix] Filter incorrect training data

8 years ago[Minor] Add ozon.ru to spf_dkim_whitelist
Vsevolod Stakhov [Tue, 22 Nov 2016 12:53:37 +0000 (12:53 +0000)]
[Minor] Add ozon.ru to spf_dkim_whitelist

8 years ago[Minor] Another try to fix change in symbols
Vsevolod Stakhov [Tue, 22 Nov 2016 12:49:52 +0000 (12:49 +0000)]
[Minor] Another try to fix change in symbols

8 years ago[Minor] Another fix to symbols change in fann_redis
Vsevolod Stakhov [Tue, 22 Nov 2016 12:13:15 +0000 (12:13 +0000)]
[Minor] Another fix to symbols change in fann_redis

8 years agoMerge pull request #1162 from fatalbanana/rbl
Vsevolod Stakhov [Tue, 22 Nov 2016 12:07:04 +0000 (12:07 +0000)]
Merge pull request #1162 from fatalbanana/rbl

[Minor] Drop SORBS & Spamhaus Whitelist

8 years ago[Minor] Update version to 1.4.1
Vsevolod Stakhov [Tue, 22 Nov 2016 12:06:14 +0000 (12:06 +0000)]
[Minor] Update version to 1.4.1

8 years ago[Fix] Fix fann_redis when number of scores has been changed
Vsevolod Stakhov [Tue, 22 Nov 2016 12:05:31 +0000 (12:05 +0000)]
[Fix] Fix fann_redis when number of scores has been changed

8 years agoMerge pull request #1158 from fatalbanana/replies
Vsevolod Stakhov [Tue, 22 Nov 2016 10:16:27 +0000 (10:16 +0000)]
Merge pull request #1158 from fatalbanana/replies

[Minor] Improve replies module logging

8 years agoMerge pull request #1161 from fatalbanana/av
Vsevolod Stakhov [Tue, 22 Nov 2016 10:15:29 +0000 (10:15 +0000)]
Merge pull request #1161 from fatalbanana/av

[Minor] Support forcing action in antivirus plugin

8 years agoMerge pull request #1163 from fatalbanana/fc
Vsevolod Stakhov [Tue, 22 Nov 2016 09:34:44 +0000 (09:34 +0000)]
Merge pull request #1163 from fatalbanana/fc

Fix fuzzyconvert tool

8 years ago[Feature] Support forcing action in antivirus plugin 1161/head
Andrew Lewis [Tue, 22 Nov 2016 06:12:14 +0000 (08:12 +0200)]
[Feature] Support forcing action in antivirus plugin

8 years ago[Minor] Drop SORBS & Spamhaus Whitelist 1162/head
Andrew Lewis [Tue, 22 Nov 2016 09:01:24 +0000 (11:01 +0200)]
[Minor] Drop SORBS & Spamhaus Whitelist

8 years ago[Fix] Fix Fuzzyconvert tool when password or DB is given 1163/head
Andrew Lewis [Tue, 22 Nov 2016 08:50:16 +0000 (10:50 +0200)]
[Fix] Fix Fuzzyconvert tool when password or DB is given

Reported-By: @dehnli
8 years ago[Minor] Clean up error handling in fuzzyconvert tool
Andrew Lewis [Tue, 22 Nov 2016 08:36:26 +0000 (10:36 +0200)]
[Minor] Clean up error handling in fuzzyconvert tool

8 years ago[Minor] Add missing symbol registration 1158/head
Andrew Lewis [Mon, 21 Nov 2016 17:43:15 +0000 (19:43 +0200)]
[Minor] Add missing symbol registration

8 years ago[Minor] Improve replies module logging
Andrew Lewis [Mon, 21 Nov 2016 17:27:19 +0000 (19:27 +0200)]
[Minor] Improve replies module logging

8 years agoRelease 1.4.0 1.4.0
Vsevolod Stakhov [Mon, 21 Nov 2016 11:58:39 +0000 (11:58 +0000)]
Release 1.4.0

* [CritFix] Add guards for inactive redis connections
* [CritFix] Another fix for proxying files using rspamd_proxy
* [CritFix] Cleanup inactive redis connections
* [CritFix] Do not sometimes try to exec posfilters before classification
* [CritFix] Fix application of IPv6 mask
* [CritFix] Fix chunked encoding when reading messages
* [CritFix] Fix file mode for rspamd_proxy
* [CritFix] Fix hyperscan compilation on regexp change
* [CritFix] Fix issue with finding of end of lines pointers
* [CritFix] Fix iteration over headers array (introduced in 1.4)
* [CritFix] Fix processing of learned tokens count for redis backend
* [CritFix] Fix race condition in checking of cached maps
* [CritFix] Fix workers scripts by sharing workers configs
* [CritFix] Introduce raw content to text parts
* [CritFix] Plug memory leak and potential memory corruption
* [Feature] Adaptive ratelimits
* [Feature] Add ASN -> rbldnsd script for asn.rspamd.com
* [Feature] Add DMARC_NA symbol
* [Feature] Add F-Prot support to antivirus module
* [Feature] Add HTTP backend to metadata exporter
* [Feature] Add Lua API module for monitored objects
* [Feature] Add R_DKIM_NA / R_SPF_NA / AUTH_NA symbols
* [Feature] Add R_DKIM_PERMFAIL symbol
* [Feature] Add R_SPF_PERMFAIL symbol
* [Feature] Add Sophos antivirus support
* [Feature] Add ZSTD compression to Lua API
* [Feature] Add `mid` Lua module
* [Feature] Add `one_param` flag for metric symbols
* [Feature] Add a generic lua classifier
* [Feature] Add a very basic interface to access workers data from on_load
* [Feature] Add ability to delete a hash by its data to fuzzy_check plugin
* [Feature] Add ability to enable/disable symbols via dynamic_conf
* [Feature] Add ability to lookup settings by key
* [Feature] Add common way to disable Lua modules
* [Feature] Add compression support to rspamd client
* [Feature] Add condition to do antiviral check
* [Feature] Add configuration for lua classifiers
* [Feature] Add configuration knobs for the errors circular buffer
* [Feature] Add decompression support in rspamd client
* [Feature] Add errors exporter to the controller
* [Feature] Add expected value for monitored DNS resources
* [Feature] Add exporter from error ringbuf to ucl
* [Feature] Add extended version for fann creation function
* [Feature] Add ffi friendly version of process_regexp function
* [Feature] Add frequency and time display to webui
* [Feature] Add fuzzy_delhash command to rspamc client
* [Feature] Add implementation of redis connections pool
* [Feature] Add latency and offline time monitoring
* [Feature] Add learning support for lua classifiers
* [Feature] Add max-size and timeout options to CGP helper
* [Feature] Add method to enable/disable symbols in config
* [Feature] Add methods to get metric's actions and symbols from Lua
* [Feature] Add mmap support to lua_text
* [Feature] Add monitored object for surbl plugin
* [Feature] Add more exceptions to surbl whitelist
* [Feature] Add more meta-tokens to bayes
* [Feature] Add neural net classifier to fann_scores module
* [Feature] Add neural net serialization/deserialization
* [Feature] Add new dynamic conf module
* [Feature] Add periodic events support for lua_config
* [Feature] Add plugin to check MX'es for the sender's domain
* [Feature] Add preliminary monitored module
* [Feature] Add preliminary support of dynamic conf updates in Redis
* [Feature] Add preliminary version of clamav plugin
* [Feature] Add redis cache to asn module
* [Feature] Add replies compression
* [Feature] Add spamhaus DROP dnsbl
* [Feature] Add support for dictionary in client compression
* [Feature] Add support for fuzzy learn and unlearn from lua
* [Feature] Add support for input encryption
* [Feature] Add support of min_learns to neural net classifier
* [Feature] Add termination callbacks for workers
* [Feature] Add user-agent for rspamc
* [Feature] Add utility to perform classifier tests
* [Feature] Add zstd compression library
* [Feature] Allow HTTPS requests in lua_http
* [Feature] Allow conditions for pre and postfilters
* [Feature] Allow custom functions for ratelimits
* [Feature] Allow for excluding messages from AV scanning based on size
* [Feature] Allow for getting worker stats from Lua
* [Feature] Allow getting task UID from Lua
* [Feature] Allow parsing of mailbox messages from the commandline
* [Feature] Allow plugins to publish their lua API via rspamd_plugins
* [Feature] Allow to compare other systems with Rspamd
* [Feature] Allow to execute Lua scripts by controller
* [Feature] Allow to have a function to set custom greylist message
* [Feature] Allow to iterate over multiple tags
* [Feature] Allow to pass extra data from plugins to log helper
* [Feature] Allow to plan new periodics at different time
* [Feature] Allow to reset hashes
* [Feature] Allow to run rspamadm lua just as a lua interpreter
* [Feature] Allow to store settings in redis
* [Feature] Allow to update dynamic conf in Redis
* [Feature] Allow to use dictionaries for compression
* [Feature] Allow to use md5, sha1, sha256, sha384 and sha512 hashes in Lua
* [Feature] Allow whitelisting by IP for greylisting plugin
* [Feature] Antivirus: Support whitelists & pattern-matching sig names
* [Feature] Backport pack/unpack routines from Lua 5.3
* [Feature] Check settings with equal priopities in alphabetical order
* [Feature] Compress neural net in redis
* [Feature] Consider more tags when doing WHITE_ON_WHITE rule
* [Feature] Descriptive options for DMARC failure symbols
* [Feature] Descriptive options for RBL symbols
* [Feature] Enable configuration for monitored objects
* [Feature] Execute on_load scripts with ev_base ready
* [Feature] Fann scores now uses metadata from a message
* [Feature] Implement FANN threaded learning
* [Feature] Implement classifying for lua classifiers
* [Feature] Implement finish scripts for worker processes
* [Feature] Implement monitoring for DNS resources
* [Feature] Implement real priorities for pre and post filters
* [Feature] Insert two symbols: FANN_HAM and FANN_SPAM instead of one
* [Feature] Module to push metadata/messages to redis pubsub
* [Feature] Monitor RBL records
* [Feature] Move fann_classifier to a separate plugin
* [Feature] Normalize all ANN inputs
* [Feature] Preliminary version of metric exporter module
* [Feature] Preserve decompression context between tasks
* [Feature] Ratelimit: Support dynamic bucket size/leak rate
* [Feature] Relax FORGED_RECIPIENTS: allow senders to BCC themselves
* [Feature] Remove symbols weights on composites processing
* [Feature] Return symbol scores when getting resulting symbols
* [Feature] Rework lua tcp module
* [Feature] Rule to detect some obvious X-PHP-Originating-Script forgeries
* [Feature] Rule to identify some X-PHP-Script forgeries
* [Feature] Rules for scoring Google Message-ID fixes
* [Feature] Send hashes values to reply
* [Feature] Set expire for dmarc reports
* [Feature] Stop using cymru zone as it is unstable
* [Feature] Stop using of GLists for headers, improve performance
* [Feature] Store `for` in task:get_received_headers
* [Feature] Store `for` part in received headers
* [Feature] Store enabled flag for webui session
* [Feature] Store error messages in ring buffer
* [Feature] Support compressed maps
* [Feature] Support excluding selected users from ratelimits
* [Feature] Support looking up NS records in lua_dns
* [Feature] Support modern style SURBL configuration
* [Feature] Support multiple hashes in delhash path
* [Feature] Support new messages in rspamc
* [Feature] Support requests without reads in lua_tcp
* [Feature] Support setting task message from Lua
* [Feature] Track visibility of HTML elements
* [Feature] Try to add CRLF when checking DKIM
* [Feature] Try to guess line endings when folding headers
* [Feature] Try to improve normalization function for bayes
* [Feature] Use FFI to optimize SA module
* [Feature] Use length based arguments for redis, allow lua_text as arg
* [Feature] Use more layers for fann and another normalization
* [Feature] User-defined ratelimits
* [Feature] Utility to convert fuzzy storage from sqlite to redis
* [Feature] Yield DMARC_DNSFAIL on lookup failure
* [Fix] Adopt fuzzy storage for flexible backends
* [Fix] Allow plain IP addresses in Rspamd maps
* [Fix] Another fix for brain-damaged hiredis
* [Fix] Another fix for rdns write errors
* [Fix] Another fix for rdns_make_request_full invocation
* [Fix] Another fix in DKIM canonicalization
* [Fix] Another memory leak plugged
* [Fix] Another try to deal with posix idiotizm
* [Fix] Another try to fix RDNS events processing logic
* [Fix] Avoid double frees in HEAD requests
* [Fix] Avoid extra symbols for RBLs
* [Fix] Banish table.maxn from Lua parts
* [Fix] Check for socket error before connection in lua_tcp
* [Fix] Correctly propagate redis timeouts to Lua
* [Fix] Do not add extra newline in MIME mode
* [Fix] Do not be cheated by system hiredis
* [Fix] Do not classify when a message has not enough tokens
* [Fix] Do not crash on redis errors
* [Fix] Do not distinguish NXDOMAIN and NOREC for monitored
* [Fix] Do not replan retransmits if merely one server is defined
* [Fix] Do not use headers to calculate messages digests
* [Fix] Don't force action in replies module for authenticated users/local networks
* [Fix] Explicitly ban default passwords in webui
* [Fix] Finally fix ambiguity between parsed and resolved spf elts
* [Fix] Fix 'decoded' value in task:get_header_full()
* [Fix] Fix DKIM calculations
* [Fix] Fix DKIM signing for messages with no newline at the end
* [Fix] Fix DNS request in monitored
* [Fix] Fix DNS write errors processing
* [Fix] Fix HTTP methods other than GET and POST
* [Fix] Fix PERMFAIL for v6/v4 ambiguities
* [Fix] Fix absurdic scores for HFILTER_URL_ONLY
* [Fix] Fix actions in rolling history
* [Fix] Fix actrie patterns
* [Fix] Fix applying of lua dynamic confg
* [Fix] Fix autolearning errors and redis cache
* [Fix] Fix bayes learn_condition
* [Fix] Fix build with the recent OpenSSL
* [Fix] Fix caching and compressed maps
* [Fix] Fix check plain text part
* [Fix] Fix crash on OpenBSD in `url_email_start`
* [Fix] Fix double free in SPF
* [Fix] Fix extraction of shingles from redis fuzzy storage
* [Fix] Fix false sharing for symbols in the cache
* [Fix] Fix float usage in util:get_time
* [Fix] Fix folding algorithm to deal with empty tokens
* [Fix] Fix format string
* [Fix] Fix format string usage in controller errors handling
* [Fix] Fix handling of '\0' in lua_tcp
* [Fix] Fix handling of HTTP HEAD methods
* [Fix] Fix hash creation
* [Fix] Fix hiredis stupidity
* [Fix] Fix implicit settings module settingsup
* [Fix] Fix interaction with lua GC to avoid craches
* [Fix] Fix ip_score module registration
* [Fix] Fix issue with empty messages and dkim
* [Fix] Fix issues with CGP helper
* [Fix] Fix issues with the recent SPF changes
* [Fix] Fix key name to load ANN correctly
* [Fix] Fix lua tcp module by saving `do_read` in callback data
* [Fix] Fix memory leak in client when using compression
* [Fix] Fix min_learns option
* [Fix] Fix on_finish scripts and async handlers
* [Fix] Fix options for SPF dnsfail symbol
* [Fix] Fix parsing includes and redirects in SPF
* [Fix] Fix parsing of lua comments with empty lines
* [Fix] Fix parsing of unquoted HTML attributes
* [Fix] Fix periodic events and redis
* [Fix] Fix processing of fuzzy learns from Lua
* [Fix] Fix processing of redirect in SPF includes
* [Fix] Fix processing of symbols when reject limit is reached
* [Fix] Fix refcounts when map is specified by IP
* [Fix] Fix rspamd{session} class in Lua API
* [Fix] Fix setting ratelimit key for 'ip' bucket
* [Fix] Fix some cases of TLD urls detector
* [Fix] Fix statconvert tool
* [Fix] Fix stats for backend-less classifiers
* [Fix] Fix training script for fann_redis
* [Fix] Fix variable in ann module
* [Fix] Fix various errors in lua dynamic conf plugin
* [Fix] Forget old ANN when max_usages is reached to avoid overtrain
* [Fix] Further canonicalization fixes
* [Fix] Further fixes for fann_redis prefixes
* [Fix] Handle failures for inactive pooled connections
* [Fix] Improve multimap info message
* [Fix] More fixes in ANN loading
* [Fix] More fixes to fann_redis
* [Fix] More issues in fann_redis
* [Fix] More spaces fix in DKIM signature
* [Fix] Multiple fixes to asn script, add IPv6 support
* [Fix] Multiple issues in fann_redis
* [Fix] No greylist rejected messages
* [Fix] One more attempt to fix lua_redis
* [Fix] One more check for readdir...
* [Fix] Params should be treated as a hash
* [Fix] Plug memory leak in regexp desctructor
* [Fix] Process headers only once
* [Fix] Properly handle nil values in ratelimit plugin
* [Fix] Really fix redis shingles check
* [Fix] Remove fann with incorrect layers count
* [Fix] Remove mentions of deleted include
* [Fix] Remove some incompatible functions
* [Fix] Settings: fix `authenticated` parameter (#886)
* [Fix] Skip MX check for authenticated users and local networks
* [Fix] Slightly fix ANN routines
* [Fix] Stop caching records with DNS failures
* [Fix] Treat all errors in redis_pool as fatal errors for a connection
* [Fix] Try avoid false-positives in HEADER_FORGED_MDN rule
* [Fix] Try to avoid race condition when using rrd
* [Fix] Try to reload redis scripts if they are missing
* [Fix] Unbreak once_received skipping for local networks
* [Fix] Unlock ANN on error
* [Fix] Use memmove for overlapping regions
* [Fix] Use real size instead of displayed for core limits
* [Fix] Use the correct macro to get the size of control
* [Fix] Various fixes for errors ringbuffer
* [Fix] Yield R_SPF_DNSFAIL if lookup of included record fails
* [Fix] mid: fix map initialization
* [Fix] mid: handle incorrect rgexps in the map
* [Rework] Add extract training data function to fann_redis
* [Rework] Add preliminary train tests
* [Rework] Add redis storage feature to fann_redis
* [Rework] Adopt fuzzy storage for abstract backend
* [Rework] Adopt plugins
* [Rework] First reiteration on fann scores
* [Rework] Implement loading/invalidating
* [Rework] Make lua_redis task agnostic
* [Rework] Make rspamd protocol messages useful
* [Rework] Massive removal of legacy code
* [Rework] More cleanup actions
* [Rework] Remove legacy code never used for classifiers
* [Rework] Remove outdated and unused lua_session module
* [Rework] Reorganize fuzzy backend structure
* [Rework] Reorganize the internal backend structure
* [Rework] Restore old fann_scores, move common parts
* [Rework] Rework and simplify rbl plugin
* [Rework] Rework parsing of DMARC records

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
8 years ago[Conf] Increase limit for URIBL group
Vsevolod Stakhov [Sun, 20 Nov 2016 18:31:33 +0000 (18:31 +0000)]
[Conf] Increase limit for URIBL group

8 years ago[Fix] Another fix for brain-damaged hiredis
Vsevolod Stakhov [Sun, 20 Nov 2016 17:52:55 +0000 (17:52 +0000)]
[Fix] Another fix for brain-damaged hiredis

8 years ago[Minor] Fix build
Vsevolod Stakhov [Sun, 20 Nov 2016 17:38:19 +0000 (17:38 +0000)]
[Minor] Fix build

8 years ago[CritFix] Add guards for inactive redis connections
Vsevolod Stakhov [Sun, 20 Nov 2016 17:31:42 +0000 (17:31 +0000)]
[CritFix] Add guards for inactive redis connections

8 years ago[Minor] Remove unused variable
Vsevolod Stakhov [Sun, 20 Nov 2016 15:39:52 +0000 (15:39 +0000)]
[Minor] Remove unused variable

8 years ago[Feature] Set expire for dmarc reports
Vsevolod Stakhov [Sun, 20 Nov 2016 15:32:05 +0000 (15:32 +0000)]
[Feature] Set expire for dmarc reports

8 years ago[Minor] Store replies for local networks as well
Vsevolod Stakhov [Sun, 20 Nov 2016 15:28:03 +0000 (15:28 +0000)]
[Minor] Store replies for local networks as well

8 years ago[Fix] Further canonicalization fixes
Vsevolod Stakhov [Sat, 19 Nov 2016 16:54:21 +0000 (16:54 +0000)]
[Fix] Further canonicalization fixes

8 years ago[Minor] Correctly set is_enable for permitted networks
Vsevolod Stakhov [Sat, 19 Nov 2016 16:33:29 +0000 (16:33 +0000)]
[Minor] Correctly set is_enable for permitted networks

8 years agoMerge pull request #1153 from moisseev/patch-1
Vsevolod Stakhov [Sat, 19 Nov 2016 14:25:41 +0000 (14:25 +0000)]
Merge pull request #1153 from moisseev/patch-1

[Config] Remove extra spaces and commas from default log format

8 years ago[Conf] Add default configuration for Redis
Vsevolod Stakhov [Sat, 19 Nov 2016 12:35:08 +0000 (12:35 +0000)]
[Conf] Add default configuration for Redis

8 years ago[Minor] Add default fann_redis config
Vsevolod Stakhov [Sat, 19 Nov 2016 12:30:08 +0000 (12:30 +0000)]
[Minor] Add default fann_redis config

8 years ago[Minor] Disable invalid unref for inactive connections
Vsevolod Stakhov [Sat, 19 Nov 2016 11:04:26 +0000 (11:04 +0000)]
[Minor] Disable invalid unref for inactive connections

8 years ago[CritFix] Cleanup inactive redis connections
Vsevolod Stakhov [Sat, 19 Nov 2016 10:50:22 +0000 (10:50 +0000)]
[CritFix] Cleanup inactive redis connections

8 years ago[Minor] Add refcounts to the debug log
Vsevolod Stakhov [Sat, 19 Nov 2016 10:22:17 +0000 (10:22 +0000)]
[Minor] Add refcounts to the debug log

8 years ago[Config] Remove extra spaces and commas from default log format 1153/head
Alexander Moisseev [Sat, 19 Nov 2016 07:35:54 +0000 (10:35 +0300)]
[Config] Remove extra spaces and commas from default log format

8 years agoAllow processing MTA-Tag header from Rmilter and saving it under 'MTA-Tag' name insid...
Andrej Zverev [Fri, 18 Nov 2016 19:59:27 +0000 (22:59 +0300)]
Allow processing MTA-Tag header from Rmilter and saving it under 'MTA-Tag' name inside mempool. Your can access it from lua via task:get_mempool():get_variable("MTA-Tag")

8 years agoMerge pull request #1152 from fatalbanana/s
Vsevolod Stakhov [Fri, 18 Nov 2016 19:43:54 +0000 (19:43 +0000)]
Merge pull request #1152 from fatalbanana/s

[Minor] Trim whitespace

8 years ago[Minor] Trim whitespace 1152/head
Andrew Lewis [Fri, 18 Nov 2016 18:06:22 +0000 (20:06 +0200)]
[Minor] Trim whitespace

8 years agoMerge pull request #1061 from moisseev/patch-1
Vsevolod Stakhov [Fri, 18 Nov 2016 17:42:43 +0000 (17:42 +0000)]
Merge pull request #1061 from moisseev/patch-1

[Minor] Limit "surbl" group's max score

8 years agoMerge pull request #1151 from fatalbanana/testhashes
Vsevolod Stakhov [Fri, 18 Nov 2016 16:53:19 +0000 (16:53 +0000)]
Merge pull request #1151 from fatalbanana/testhashes

[Test] Some basic tests for hashes in Lua

8 years ago[Feature] Try to add CRLF when checking DKIM
Vsevolod Stakhov [Fri, 18 Nov 2016 16:40:47 +0000 (16:40 +0000)]
[Feature] Try to add CRLF when checking DKIM

8 years ago[Fix] Do not crash on redis errors
Vsevolod Stakhov [Fri, 18 Nov 2016 16:40:32 +0000 (16:40 +0000)]
[Fix] Do not crash on redis errors

8 years ago[Minor] Do not set shmem body for empty HTTP requests
Vsevolod Stakhov [Fri, 18 Nov 2016 14:47:41 +0000 (14:47 +0000)]
[Minor] Do not set shmem body for empty HTTP requests

8 years ago[CritFix] Another fix for proxying files using rspamd_proxy
Vsevolod Stakhov [Fri, 18 Nov 2016 13:38:28 +0000 (13:38 +0000)]
[CritFix] Another fix for proxying files using rspamd_proxy

8 years ago[Minor] Init urls in rspamadm
Vsevolod Stakhov [Fri, 18 Nov 2016 11:07:50 +0000 (11:07 +0000)]
[Minor] Init urls in rspamadm

8 years ago[Minor] More fixes for bloody openssl 1.1
Vsevolod Stakhov [Fri, 18 Nov 2016 10:51:56 +0000 (10:51 +0000)]
[Minor] More fixes for bloody openssl 1.1

8 years ago[Test] Some basic tests for hashes in Lua 1151/head
Andrew Lewis [Fri, 18 Nov 2016 09:59:32 +0000 (11:59 +0200)]
[Test] Some basic tests for hashes in Lua

8 years ago[Feature] Allow to reset hashes
Vsevolod Stakhov [Fri, 18 Nov 2016 09:37:35 +0000 (09:37 +0000)]
[Feature] Allow to reset hashes

8 years ago[Fix] Fix hash creation
Vsevolod Stakhov [Fri, 18 Nov 2016 09:26:59 +0000 (09:26 +0000)]
[Fix] Fix hash creation

8 years ago[Feature] Allow to use md5, sha1, sha256, sha384 and sha512 hashes in Lua
Vsevolod Stakhov [Thu, 17 Nov 2016 18:52:41 +0000 (18:52 +0000)]
[Feature] Allow to use md5, sha1, sha256, sha384 and sha512 hashes in Lua

8 years ago[Config] Modernize SURBL config
Vsevolod Stakhov [Thu, 17 Nov 2016 18:13:33 +0000 (18:13 +0000)]
[Config] Modernize SURBL config

8 years ago[Minor] Allow `rules` alias for consistency in SURBL
Vsevolod Stakhov [Thu, 17 Nov 2016 18:10:23 +0000 (18:10 +0000)]
[Minor] Allow `rules` alias for consistency in SURBL

8 years ago[Feature] Support modern style SURBL configuration
Vsevolod Stakhov [Thu, 17 Nov 2016 18:09:20 +0000 (18:09 +0000)]
[Feature] Support modern style SURBL configuration

8 years ago[Config] Further improvements to the logging configuration
Vsevolod Stakhov [Thu, 17 Nov 2016 17:33:47 +0000 (17:33 +0000)]
[Config] Further improvements to the logging configuration

8 years ago[Config] Improve default logging
Vsevolod Stakhov [Thu, 17 Nov 2016 17:31:38 +0000 (17:31 +0000)]
[Config] Improve default logging

8 years ago[Config] Enable checking for text attachments by default
Vsevolod Stakhov [Thu, 17 Nov 2016 17:27:24 +0000 (17:27 +0000)]
[Config] Enable checking for text attachments by default

8 years ago[Minor] Allways compile with symbols
Vsevolod Stakhov [Thu, 17 Nov 2016 15:55:10 +0000 (15:55 +0000)]
[Minor] Allways compile with symbols

8 years ago[Minor] Fix hyperscan-less build
Vsevolod Stakhov [Thu, 17 Nov 2016 13:42:16 +0000 (13:42 +0000)]
[Minor] Fix hyperscan-less build

8 years ago[Minor] Improve debugging for re_cache
Vsevolod Stakhov [Thu, 17 Nov 2016 13:31:12 +0000 (13:31 +0000)]
[Minor] Improve debugging for re_cache

8 years ago[Minor] Do not add maps from weird data
Vsevolod Stakhov [Thu, 17 Nov 2016 13:03:36 +0000 (13:03 +0000)]
[Minor] Do not add maps from weird data

Issue: #1143
Reported by: @AlexeySa

8 years ago[Minor] Do not assert on non-initialized classifiers
Vsevolod Stakhov [Thu, 17 Nov 2016 13:03:21 +0000 (13:03 +0000)]
[Minor] Do not assert on non-initialized classifiers

8 years agoMerge pull request #1148 from fatalbanana/luacheck
Vsevolod Stakhov [Thu, 17 Nov 2016 12:43:19 +0000 (12:43 +0000)]
Merge pull request #1148 from fatalbanana/luacheck

[Test] Integrate luacheck into test suite

8 years agoMerge pull request #1146 from fatalbanana/log
Vsevolod Stakhov [Thu, 17 Nov 2016 12:43:09 +0000 (12:43 +0000)]
Merge pull request #1146 from fatalbanana/log

[Minor] Use new logging API everywhere

8 years agoMerge pull request #1145 from moisseev/settings-i
Vsevolod Stakhov [Thu, 17 Nov 2016 12:42:51 +0000 (12:42 +0000)]
Merge pull request #1145 from moisseev/settings-i

[Minor] settings: make string matches case insensitive

8 years ago[CritFix] Fix file mode for rspamd_proxy
Vsevolod Stakhov [Thu, 17 Nov 2016 12:00:34 +0000 (12:00 +0000)]
[CritFix] Fix file mode for rspamd_proxy

8 years ago[Test] Integrate luacheck into test suite 1148/head
Andrew Lewis [Thu, 17 Nov 2016 11:56:31 +0000 (13:56 +0200)]
[Test] Integrate luacheck into test suite

8 years ago[Minor] Use new logging API everywhere 1146/head
Andrew Lewis [Thu, 17 Nov 2016 10:46:02 +0000 (12:46 +0200)]
[Minor] Use new logging API everywhere

8 years ago[Minor] settings: make string matches case insensitive 1145/head
Alexander Moisseev [Thu, 17 Nov 2016 07:28:18 +0000 (10:28 +0300)]
[Minor] settings: make string matches case insensitive

Resolves: #1136
Reported by: @gibzer

8 years agoMerge pull request #1144 from AlexeySa/patch-11
Vsevolod Stakhov [Wed, 16 Nov 2016 21:08:20 +0000 (21:08 +0000)]
Merge pull request #1144 from AlexeySa/patch-11

[Fix] Fix check plain text part

8 years agoFix local variable definition 1144/head
AL [Wed, 16 Nov 2016 17:51:24 +0000 (20:51 +0300)]
Fix local variable definition