]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years agoMerge pull request #816 from moisseev/patch-1
Vsevolod Stakhov [Sat, 6 Aug 2016 13:17:54 +0000 (14:17 +0100)]
Merge pull request #816 from moisseev/patch-1

[Fix] Fix HFILTER_URL_ONELINE rule

8 years agoMerge pull request #813 from moisseev/hfilter-helo
Vsevolod Stakhov [Sat, 6 Aug 2016 13:17:38 +0000 (14:17 +0100)]
Merge pull request #813 from moisseev/hfilter-helo

Remove symbol HFILTER_HELO_UNKNOWN from mertics.conf

8 years ago[Fix] Fix HFILTER_URL_ONELINE rule 816/head
Alexander Moisseev [Fri, 5 Aug 2016 19:17:39 +0000 (22:17 +0300)]
[Fix] Fix HFILTER_URL_ONELINE rule

8 years ago[Minor] Remove unnecessary dependency
Vsevolod Stakhov [Fri, 5 Aug 2016 16:26:51 +0000 (17:26 +0100)]
[Minor] Remove unnecessary dependency

8 years agoMerge pull request #815 from fatalbanana/unknown2
Vsevolod Stakhov [Fri, 5 Aug 2016 15:16:50 +0000 (16:16 +0100)]
Merge pull request #815 from fatalbanana/unknown2

[Minor] Fix multimap hostname check

8 years ago[Minor] Fix multimap hostname check 815/head
Andrew Lewis [Fri, 5 Aug 2016 15:10:11 +0000 (16:10 +0100)]
[Minor] Fix multimap hostname check

8 years agoMerge pull request #812 from fatalbanana/circleci
Vsevolod Stakhov [Fri, 5 Aug 2016 15:09:33 +0000 (16:09 +0100)]
Merge pull request #812 from fatalbanana/circleci

[Minor] Small improvement for coverage flags

8 years ago[Feature] Properly implement R_WHITE_ON_WHITE rule
Vsevolod Stakhov [Fri, 5 Aug 2016 15:05:54 +0000 (16:05 +0100)]
[Feature] Properly implement R_WHITE_ON_WHITE rule

8 years ago[Feature] Remove old ugly rules
Vsevolod Stakhov [Fri, 5 Aug 2016 15:05:42 +0000 (16:05 +0100)]
[Feature] Remove old ugly rules

8 years ago[Minor] Small fixes to lua stack management
Vsevolod Stakhov [Fri, 5 Aug 2016 15:05:13 +0000 (16:05 +0100)]
[Minor] Small fixes to lua stack management

8 years ago[Fix] Further fixes for HTML colors
Vsevolod Stakhov [Fri, 5 Aug 2016 14:38:37 +0000 (15:38 +0100)]
[Fix] Further fixes for HTML colors

8 years ago[Minor] Forgotten to save file
Vsevolod Stakhov [Fri, 5 Aug 2016 13:36:40 +0000 (14:36 +0100)]
[Minor] Forgotten to save file

8 years ago[Feature] Allow to get block content for HTML tags
Vsevolod Stakhov [Fri, 5 Aug 2016 13:36:08 +0000 (14:36 +0100)]
[Feature] Allow to get block content for HTML tags

8 years ago[Fix] Propagate colors in HTML
Vsevolod Stakhov [Fri, 5 Aug 2016 13:35:53 +0000 (14:35 +0100)]
[Fix] Propagate colors in HTML

8 years ago[Fix] Fix parsing of background color
Vsevolod Stakhov [Fri, 5 Aug 2016 13:15:51 +0000 (14:15 +0100)]
[Fix] Fix parsing of background color

8 years ago[Fix] Trigger HTML_SHORT_LINK_IMG on any external image
Vsevolod Stakhov [Fri, 5 Aug 2016 12:57:52 +0000 (13:57 +0100)]
[Fix] Trigger HTML_SHORT_LINK_IMG on any external image

8 years agoRemove symbol HFILTER_HELO_UNKNOWN from mertics.conf 813/head
Alexander Moisseev [Fri, 5 Aug 2016 14:13:30 +0000 (18:13 +0400)]
Remove symbol HFILTER_HELO_UNKNOWN from mertics.conf

The symbol is not used anymore.

8 years ago[Minor] Small improvement for coverage flags 812/head
Andrew Lewis [Fri, 5 Aug 2016 13:05:02 +0000 (14:05 +0100)]
[Minor] Small improvement for coverage flags

8 years agoMerge pull request #811 from fatalbanana/spamassassin
Vsevolod Stakhov [Fri, 5 Aug 2016 12:08:00 +0000 (13:08 +0100)]
Merge pull request #811 from fatalbanana/spamassassin

[Test] Add SpamAssassin metas/foreign dependencies test

8 years ago[Minor] Increase HFILTER_URL scores as FP rate should be reduced now
Vsevolod Stakhov [Fri, 5 Aug 2016 12:01:31 +0000 (13:01 +0100)]
[Minor] Increase HFILTER_URL scores as FP rate should be reduced now

8 years ago[Fix] Do not set absent hostname to "unknown"
Vsevolod Stakhov [Fri, 5 Aug 2016 12:00:31 +0000 (13:00 +0100)]
[Fix] Do not set absent hostname to "unknown"

8 years ago[Fix] Fix HFILTER_URL module
Vsevolod Stakhov [Fri, 5 Aug 2016 11:57:45 +0000 (12:57 +0100)]
[Fix] Fix HFILTER_URL module

8 years ago[Fix] Do not insert HELO/HOSTNAME unknown when they are not passed
Vsevolod Stakhov [Fri, 5 Aug 2016 11:57:10 +0000 (12:57 +0100)]
[Fix] Do not insert HELO/HOSTNAME unknown when they are not passed

8 years ago[Feature] Add method to get urls length in a text part
Vsevolod Stakhov [Fri, 5 Aug 2016 11:56:31 +0000 (12:56 +0100)]
[Feature] Add method to get urls length in a text part

8 years ago[Fix] Fix printing from field in log_urls
Vsevolod Stakhov [Fri, 5 Aug 2016 11:56:15 +0000 (12:56 +0100)]
[Fix] Fix printing from field in log_urls

8 years ago[Fix] Some more changes to tag's content length calculations
Vsevolod Stakhov [Fri, 5 Aug 2016 11:15:31 +0000 (12:15 +0100)]
[Fix] Some more changes to tag's content length calculations

8 years ago[Test] Add SpamAssassin metas/foreign dependencies test 811/head
Andrew Lewis [Fri, 5 Aug 2016 10:35:02 +0000 (11:35 +0100)]
[Test] Add SpamAssassin metas/foreign dependencies test

8 years agoMerge pull request #810 from fatalbanana/dmarc
Vsevolod Stakhov [Fri, 5 Aug 2016 10:12:38 +0000 (11:12 +0100)]
Merge pull request #810 from fatalbanana/dmarc

[Fix] Fix processing of last element of DMARC policies

8 years ago[Feature] Add new methods to lua_html to access HTML tags
Vsevolod Stakhov [Fri, 5 Aug 2016 10:11:27 +0000 (11:11 +0100)]
[Feature] Add new methods to lua_html to access HTML tags

8 years ago[Fix] Further fixes in HTML tags parsing
Vsevolod Stakhov [Fri, 5 Aug 2016 10:11:12 +0000 (11:11 +0100)]
[Fix] Further fixes in HTML tags parsing

8 years ago[Fix] Fix processing of last element of DMARC policies 810/head
Andrew Lewis [Fri, 5 Aug 2016 09:05:24 +0000 (11:05 +0200)]
[Fix] Fix processing of last element of DMARC policies

8 years ago[Feature] Store content length for HTML tags
Vsevolod Stakhov [Fri, 5 Aug 2016 08:45:32 +0000 (09:45 +0100)]
[Feature] Store content length for HTML tags

8 years ago[Test] Fix recipients test
Vsevolod Stakhov [Thu, 4 Aug 2016 17:31:57 +0000 (18:31 +0100)]
[Test] Fix recipients test

8 years ago[Fix] Fix multiple request headers structure
Vsevolod Stakhov [Thu, 4 Aug 2016 17:31:28 +0000 (18:31 +0100)]
[Fix] Fix multiple request headers structure

8 years agoMerge pull request #809 from fatalbanana/rcpt
Vsevolod Stakhov [Thu, 4 Aug 2016 16:34:56 +0000 (17:34 +0100)]
Merge pull request #809 from fatalbanana/rcpt

[Test] Add test for recipient parsing sanity

8 years agoMerge pull request #808 from fatalbanana/spamassassin
Vsevolod Stakhov [Thu, 4 Aug 2016 16:34:44 +0000 (17:34 +0100)]
Merge pull request #808 from fatalbanana/spamassassin

Spamassassin plugin stuffs

8 years ago[Fix] Further fixes for multiple values headers
Vsevolod Stakhov [Thu, 4 Aug 2016 16:33:21 +0000 (17:33 +0100)]
[Fix] Further fixes for multiple values headers

8 years ago[Test] Add test for recipient parsing sanity 809/head
Andrew Lewis [Thu, 4 Aug 2016 15:18:19 +0000 (16:18 +0100)]
[Test] Add test for recipient parsing sanity

8 years ago[Fix] Restore multiple values headers in protocol
Vsevolod Stakhov [Thu, 4 Aug 2016 15:39:16 +0000 (16:39 +0100)]
[Fix] Restore multiple values headers in protocol

8 years ago[Fix] Fix multiple values headers freeing
Vsevolod Stakhov [Thu, 4 Aug 2016 15:38:52 +0000 (16:38 +0100)]
[Fix] Fix multiple values headers freeing

8 years ago[Fix] Restore multiple values in headers processing
Vsevolod Stakhov [Thu, 4 Aug 2016 15:00:14 +0000 (16:00 +0100)]
[Fix] Restore multiple values in headers processing

8 years ago[Feature] Add correlations report in fuzzy stats
Vsevolod Stakhov [Thu, 4 Aug 2016 14:39:16 +0000 (15:39 +0100)]
[Feature] Add correlations report in fuzzy stats

8 years ago[Fix] SpamAssassin plugin: support check_freemail_header('EnvelopeFrom', [..]) 808/head
Andrew Lewis [Thu, 4 Aug 2016 13:51:12 +0000 (14:51 +0100)]
[Fix] SpamAssassin plugin: support check_freemail_header('EnvelopeFrom', [..])

8 years ago[Test] Beginnings of tests for SpamAssassin plugin
Andrew Lewis [Thu, 4 Aug 2016 13:39:19 +0000 (14:39 +0100)]
[Test] Beginnings of tests for SpamAssassin plugin

8 years ago[Minor] Reformat test data
Andrew Lewis [Thu, 4 Aug 2016 11:30:18 +0000 (12:30 +0100)]
[Minor] Reformat test data

8 years ago[Fix] Do not crash on cyclic depends
Vsevolod Stakhov [Thu, 4 Aug 2016 12:03:41 +0000 (13:03 +0100)]
[Fix] Do not crash on cyclic depends

8 years ago[Minor] Add some debug for multimap depends
Vsevolod Stakhov [Thu, 4 Aug 2016 12:03:19 +0000 (13:03 +0100)]
[Minor] Add some debug for multimap depends

8 years ago[Test] Unify some configs
Andrew Lewis [Thu, 4 Aug 2016 10:29:45 +0000 (11:29 +0100)]
[Test] Unify some configs

8 years agoMerge pull request #805 from fatalbanana/cdb
Vsevolod Stakhov [Thu, 4 Aug 2016 11:20:05 +0000 (12:20 +0100)]
Merge pull request #805 from fatalbanana/cdb

[Test] Add test for CDB maps

8 years agoMerge pull request #804 from fatalbanana/warnings
Vsevolod Stakhov [Thu, 4 Aug 2016 11:19:47 +0000 (12:19 +0100)]
Merge pull request #804 from fatalbanana/warnings

[Minor] Silence warning

8 years agoMerge pull request #803 from fatalbanana/lua
Vsevolod Stakhov [Thu, 4 Aug 2016 11:19:41 +0000 (12:19 +0100)]
Merge pull request #803 from fatalbanana/lua

[Minor] Remove duplicated element from task:get_metric_score()

8 years ago[Feature] Allow all types of symbols to be added via __newindex method
Vsevolod Stakhov [Thu, 4 Aug 2016 11:17:37 +0000 (12:17 +0100)]
[Feature] Allow all types of symbols to be added via __newindex method

8 years ago[Test] Add test for CDB maps 805/head
Andrew Lewis [Thu, 4 Aug 2016 09:48:48 +0000 (10:48 +0100)]
[Test] Add test for CDB maps

8 years ago[Fix] Parse CGP envelope data
Vsevolod Stakhov [Thu, 4 Aug 2016 09:42:33 +0000 (10:42 +0100)]
[Fix] Parse CGP envelope data

8 years ago[Minor] Silence warning 804/head
Andrew Lewis [Wed, 3 Aug 2016 21:23:23 +0000 (23:23 +0200)]
[Minor] Silence warning

8 years ago[Minor] Remove duplicated element from task:get_metric_score() 803/head
Andrew Lewis [Wed, 3 Aug 2016 19:35:39 +0000 (21:35 +0200)]
[Minor] Remove duplicated element from task:get_metric_score()

8 years ago[Fix] Fix buffering in CGP integration
Vsevolod Stakhov [Wed, 3 Aug 2016 17:10:57 +0000 (18:10 +0100)]
[Fix] Fix buffering in CGP integration

8 years ago[Minor] Print the real version of rspamd in Server header
Vsevolod Stakhov [Wed, 3 Aug 2016 14:33:26 +0000 (15:33 +0100)]
[Minor] Print the real version of rspamd in Server header

8 years ago[Fix] Decode entitles in href parts
Vsevolod Stakhov [Wed, 3 Aug 2016 13:12:23 +0000 (14:12 +0100)]
[Fix] Decode entitles in href parts

8 years agoMerge pull request #800 from fatalbanana/json
Vsevolod Stakhov [Wed, 3 Aug 2016 11:42:42 +0000 (12:42 +0100)]
Merge pull request #800 from fatalbanana/json

[Test] Some basic tests for JSON sanity

8 years ago[Test] Some basic tests for JSON sanity 800/head
Andrew Lewis [Wed, 3 Aug 2016 10:38:45 +0000 (11:38 +0100)]
[Test] Some basic tests for JSON sanity

8 years ago[Fix] Fix largest possible TLD behaviour
Vsevolod Stakhov [Wed, 3 Aug 2016 10:27:28 +0000 (11:27 +0100)]
[Fix] Fix largest possible TLD behaviour

8 years agoMerge pull request #798 from fatalbanana/nan
Vsevolod Stakhov [Wed, 3 Aug 2016 09:51:21 +0000 (10:51 +0100)]
Merge pull request #798 from fatalbanana/nan

[Fix] Avoid returning NaN as score on scan

8 years agoMerge pull request #796 from bryongloden/patch-2
Vsevolod Stakhov [Wed, 3 Aug 2016 09:51:05 +0000 (10:51 +0100)]
Merge pull request #796 from bryongloden/patch-2

Update local_scan.c

8 years agoMerge pull request #794 from bryongloden/patch-1
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:58 +0000 (10:50 +0100)]
Merge pull request #794 from bryongloden/patch-1

Update acism_create.c

8 years agoMerge pull request #793 from fatalbanana/dmarc
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:33 +0000 (10:50 +0100)]
Merge pull request #793 from fatalbanana/dmarc

[Fix] Fix DMARC_BAD_POLICY symbol

8 years agoMerge pull request #792 from fatalbanana/tests
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:18 +0000 (10:50 +0100)]
Merge pull request #792 from fatalbanana/tests

[Test] Add DKIM sign + verify tests

8 years agoMerge pull request #789 from moisseev/defined-array
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:00 +0000 (10:50 +0100)]
Merge pull request #789 from moisseev/defined-array

[Fix] rspamd_stats: remove deprecated defined(@array)

8 years agoMerge pull request #795 from fatalbanana/ci
Vsevolod Stakhov [Wed, 3 Aug 2016 09:49:42 +0000 (10:49 +0100)]
Merge pull request #795 from fatalbanana/ci

[Minor] Unbreak tests on pull requests

8 years ago[Minor] Do not abort on empty input for regexp maps
Vsevolod Stakhov [Wed, 3 Aug 2016 09:17:18 +0000 (10:17 +0100)]
[Minor] Do not abort on empty input for regexp maps

8 years ago[Fix] Avoid returning NaN as score on scan 798/head
Andrew Lewis [Tue, 2 Aug 2016 23:46:38 +0000 (01:46 +0200)]
[Fix] Avoid returning NaN as score on scan

8 years agoUpdate local_scan.c 796/head
Bryon Gloden, CISSP® [Tue, 2 Aug 2016 21:49:49 +0000 (17:49 -0400)]
Update local_scan.c

[../rspamd-master/contrib/exim/local_scan.c:630]: (error) Uninitialized variable: rej

It's always good to initialize integer variables, at least to 0, because if you try to retrieve its value before it gets assigned any actual (non-garbage) value, then it results in undefined behavior.

Found by https://github.com/bryongloden/cppcheck

8 years ago[Minor] Unbreak tests on pull requests 795/head
Andrew Lewis [Tue, 2 Aug 2016 21:34:37 +0000 (22:34 +0100)]
[Minor] Unbreak tests on pull requests

8 years agoUpdate acism_create.c 794/head
Bryon Gloden, CISSP® [Tue, 2 Aug 2016 21:19:19 +0000 (17:19 -0400)]
Update acism_create.c

Passing one pointer into realloc() and assigning the result directly into that same pointer variable can cause a memory leak if the reallocation fails, because the original allocation will still exist. The correct way to do this is to use a temporary pointer variable.

Credit: http://stackoverflow.com/a/11548901

Found by https://github.com/bryongloden/cppcheck

8 years ago[Test] Add DKIM sign + verify tests 792/head
Andrew Lewis [Tue, 2 Aug 2016 18:22:53 +0000 (19:22 +0100)]
[Test] Add DKIM sign + verify tests

8 years ago[Fix] Fix DMARC_BAD_POLICY symbol 793/head
Andrew Lewis [Tue, 2 Aug 2016 19:45:57 +0000 (21:45 +0200)]
[Fix] Fix DMARC_BAD_POLICY symbol

8 years ago[Fix] Fix last token folding
Vsevolod Stakhov [Tue, 2 Aug 2016 16:16:28 +0000 (17:16 +0100)]
[Fix] Fix last token folding

8 years ago[Fix] Add spaces to dkim signature to allow folding
Vsevolod Stakhov [Tue, 2 Aug 2016 16:06:29 +0000 (17:06 +0100)]
[Fix] Add spaces to dkim signature to allow folding

8 years ago[Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey
Vsevolod Stakhov [Tue, 2 Aug 2016 15:50:33 +0000 (16:50 +0100)]
[Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey

8 years ago[Minor] Really save privkey in file
Vsevolod Stakhov [Tue, 2 Aug 2016 15:50:21 +0000 (16:50 +0100)]
[Minor] Really save privkey in file

8 years ago[Fix] Fix folding for semicolon separated tokens
Vsevolod Stakhov [Tue, 2 Aug 2016 15:32:33 +0000 (16:32 +0100)]
[Fix] Fix folding for semicolon separated tokens

8 years ago[Feature] Rspamc can now add dkim signature in mime mode
Vsevolod Stakhov [Tue, 2 Aug 2016 15:28:49 +0000 (16:28 +0100)]
[Feature] Rspamc can now add dkim signature in mime mode

8 years ago[Fix] Do not stress redis with KEYS command (#791)
Vsevolod Stakhov [Tue, 2 Aug 2016 15:09:42 +0000 (16:09 +0100)]
[Fix] Do not stress redis with KEYS command (#791)

Issue: #791
Reported by: @wociscz

8 years agoMerge pull request #790 from fatalbanana/coverage
Vsevolod Stakhov [Tue, 2 Aug 2016 14:33:10 +0000 (15:33 +0100)]
Merge pull request #790 from fatalbanana/coverage

[Minor] Integrate coveralls

8 years ago[Minor] Integrate coveralls 790/head
Andrew Lewis [Tue, 2 Aug 2016 14:18:29 +0000 (15:18 +0100)]
[Minor] Integrate coveralls

8 years ago[Fix] rspamd_stats: remove deprecated defined(@array) 789/head
Alexander Moisseev [Tue, 2 Aug 2016 14:13:33 +0000 (17:13 +0300)]
[Fix] rspamd_stats: remove deprecated defined(@array)

8 years ago[Feature] Allow to create settings for authenticated users
Vsevolod Stakhov [Tue, 2 Aug 2016 13:49:03 +0000 (14:49 +0100)]
[Feature] Allow to create settings for authenticated users

Use `authenticated = true;` for this feature

8 years ago[Feature] Add experimental CGP integration
Vsevolod Stakhov [Tue, 2 Aug 2016 13:13:45 +0000 (14:13 +0100)]
[Feature] Add experimental CGP integration

8 years agoMerge pull request #786 from fatalbanana/www
Vsevolod Stakhov [Tue, 2 Aug 2016 09:13:28 +0000 (10:13 +0100)]
Merge pull request #786 from fatalbanana/www

[WebUI] Try harder to clear password on disconnect

8 years agoMerge pull request #788 from moisseev/ct-case
Vsevolod Stakhov [Tue, 2 Aug 2016 09:13:16 +0000 (10:13 +0100)]
Merge pull request #788 from moisseev/ct-case

[Fix] Ignore content type/subtype case

8 years agoMerge pull request #787 from fatalbanana/tests
Vsevolod Stakhov [Tue, 2 Aug 2016 09:13:08 +0000 (10:13 +0100)]
Merge pull request #787 from fatalbanana/tests

[Test] Replace get_process_children with psutil function

8 years ago[Fix] Ignore content type/subtype case 788/head
Alexander Moisseev [Tue, 2 Aug 2016 08:26:49 +0000 (11:26 +0300)]
[Fix] Ignore content type/subtype case

to comply with RFC 2045

8 years ago[Test] Replace get_process_children with psutil function 787/head
Andrew Lewis [Mon, 1 Aug 2016 23:10:19 +0000 (01:10 +0200)]
[Test] Replace get_process_children with psutil function

8 years ago[WebUI] Try harder to clear password on disconnect 786/head
Andrew Lewis [Mon, 1 Aug 2016 17:35:28 +0000 (19:35 +0200)]
[WebUI] Try harder to clear password on disconnect

8 years agoMerge pull request #785 from fatalbanana/www
Vsevolod Stakhov [Mon, 1 Aug 2016 16:41:31 +0000 (17:41 +0100)]
Merge pull request #785 from fatalbanana/www

[WebUI] Clear connect password (#783)

8 years ago[Feature] Add a special symbol for SPF DNS errors: R_SPF_DNSFAIL
Vsevolod Stakhov [Mon, 1 Aug 2016 16:05:21 +0000 (17:05 +0100)]
[Feature] Add a special symbol for SPF DNS errors: R_SPF_DNSFAIL

8 years ago[Fix] Do not cache SPF records with DNS errors
Vsevolod Stakhov [Mon, 1 Aug 2016 16:04:58 +0000 (17:04 +0100)]
[Fix] Do not cache SPF records with DNS errors

8 years ago[Feature] Improve DNS failures when dealing with SPF
Vsevolod Stakhov [Mon, 1 Aug 2016 15:51:12 +0000 (16:51 +0100)]
[Feature] Improve DNS failures when dealing with SPF

8 years ago[WebUI] Clear connect password (#783) 785/head
Andrew Lewis [Mon, 1 Aug 2016 15:21:24 +0000 (17:21 +0200)]
[WebUI] Clear connect password (#783)

8 years ago[Minor] Update version to 1.3.2
Vsevolod Stakhov [Mon, 1 Aug 2016 13:27:15 +0000 (14:27 +0100)]
[Minor] Update version to 1.3.2