]> source.dussan.org Git - rspamd.git/log
rspamd.git
7 years ago[Minor] Add timeouts to dummy socket servers
Andrew Lewis [Fri, 19 May 2017 11:07:21 +0000 (13:07 +0200)]
[Minor] Add timeouts to dummy socket servers

7 years agoMerge pull request #1645 from moisseev/missed-charset
Vsevolod Stakhov [Fri, 19 May 2017 10:18:34 +0000 (11:18 +0100)]
Merge pull request #1645 from moisseev/missed-charset

[Minor] Fix R_MISSING_CHARSET rule

7 years ago[Minor] Fix tests
Vsevolod Stakhov [Fri, 19 May 2017 10:00:22 +0000 (11:00 +0100)]
[Minor] Fix tests

7 years ago[Minor] Fix R_MISSING_CHARSET rule 1645/head
Alexander Moisseev [Fri, 19 May 2017 06:30:35 +0000 (09:30 +0300)]
[Minor] Fix R_MISSING_CHARSET rule

Do not trigger on messages with empty payload body as Content-Type header is not mandatory (RFC7231).

7 years ago[Minor] Fix lua-fun installation path
Vsevolod Stakhov [Thu, 18 May 2017 15:58:50 +0000 (16:58 +0100)]
[Minor] Fix lua-fun installation path

7 years ago[Minor] Add `is_empty_body` regexp function
Vsevolod Stakhov [Thu, 18 May 2017 15:55:42 +0000 (16:55 +0100)]
[Minor] Add `is_empty_body` regexp function

7 years ago[Minor] Fix installation
Vsevolod Stakhov [Thu, 18 May 2017 15:50:34 +0000 (16:50 +0100)]
[Minor] Fix installation

7 years ago[Rework] Continue modularisation for lua library
Vsevolod Stakhov [Thu, 18 May 2017 15:40:24 +0000 (16:40 +0100)]
[Rework] Continue modularisation for lua library

7 years ago[Rework] Propagate ucl variables from the command line
Vsevolod Stakhov [Thu, 18 May 2017 15:32:26 +0000 (16:32 +0100)]
[Rework] Propagate ucl variables from the command line

7 years ago[Minor] Allow to use global functions modularly
Vsevolod Stakhov [Thu, 18 May 2017 15:32:08 +0000 (16:32 +0100)]
[Minor] Allow to use global functions modularly

7 years ago[Rework] Move global functions to a separate directory
Vsevolod Stakhov [Thu, 18 May 2017 15:04:23 +0000 (16:04 +0100)]
[Rework] Move global functions to a separate directory

7 years ago[Minor] Add method to get the whole configuration in Lua
Vsevolod Stakhov [Thu, 18 May 2017 14:47:16 +0000 (15:47 +0100)]
[Minor] Add method to get the whole configuration in Lua

7 years agoMerge pull request #1643 from moisseev/patch-1
Vsevolod Stakhov [Thu, 18 May 2017 13:39:43 +0000 (14:39 +0100)]
Merge pull request #1643 from moisseev/patch-1

[Minor] Add `wsf` and `hta` bad archive extensions

7 years ago[Minor] Allow 'expire' alias for 'expiry'
Vsevolod Stakhov [Thu, 18 May 2017 13:26:46 +0000 (14:26 +0100)]
[Minor] Allow 'expire' alias for 'expiry'

7 years ago[Minor] Fix some issues around new schema
Vsevolod Stakhov [Thu, 18 May 2017 13:09:03 +0000 (14:09 +0100)]
[Minor] Fix some issues around new schema

7 years ago[Feature] Add new schema for bayes tokens
Vsevolod Stakhov [Thu, 18 May 2017 12:50:06 +0000 (13:50 +0100)]
[Feature] Add new schema for bayes tokens

7 years agoMerge pull request #1644 from fatalbanana/disposition
Vsevolod Stakhov [Thu, 18 May 2017 12:58:55 +0000 (13:58 +0100)]
Merge pull request #1644 from fatalbanana/disposition

[Minor] Relax CTYPE_MISSING_DISPOSITION rule

7 years ago[Minor] Relax CTYPE_MISSING_DISPOSITION rule 1644/head
Andrew Lewis [Thu, 18 May 2017 11:29:39 +0000 (13:29 +0200)]
[Minor] Relax CTYPE_MISSING_DISPOSITION rule

7 years ago[Minor] Use mempool tag instead of local one for milter
Vsevolod Stakhov [Wed, 17 May 2017 21:25:16 +0000 (22:25 +0100)]
[Minor] Use mempool tag instead of local one for milter

7 years ago[Fix] Use non-volatile memory for storing data
Vsevolod Stakhov [Wed, 17 May 2017 21:23:35 +0000 (22:23 +0100)]
[Fix] Use non-volatile memory for storing data

7 years ago[Fix] Try to deal with v4 mapped to v6 addresses on accept
Vsevolod Stakhov [Wed, 17 May 2017 17:57:06 +0000 (18:57 +0100)]
[Fix] Try to deal with v4 mapped to v6 addresses on accept

7 years ago[Minor] DMARC: s/type/format/
Andrew Lewis [Wed, 17 May 2017 15:08:38 +0000 (17:08 +0200)]
[Minor] DMARC: s/type/format/

7 years ago[Minor] Warn about get_date misuse
Vsevolod Stakhov [Wed, 17 May 2017 15:04:49 +0000 (16:04 +0100)]
[Minor] Warn about get_date misuse

7 years ago[Minor] Add `wsf` and `hta` bad archive extensions 1643/head
Alexander Moisseev [Wed, 17 May 2017 06:01:15 +0000 (09:01 +0300)]
[Minor] Add `wsf` and `hta` bad archive extensions

7 years ago[Minor] Add support for {auth_authen} macro
Vsevolod Stakhov [Wed, 17 May 2017 09:51:29 +0000 (10:51 +0100)]
[Minor] Add support for {auth_authen} macro

7 years ago[Minor] DMARC: fix schema, add permerrors (reports); fix SPF alignment
Andrew Lewis [Wed, 17 May 2017 08:36:38 +0000 (10:36 +0200)]
[Minor] DMARC: fix schema, add permerrors (reports); fix SPF alignment

7 years ago[Fix] Fix format string in milter
Vsevolod Stakhov [Tue, 16 May 2017 21:50:55 +0000 (22:50 +0100)]
[Fix] Fix format string in milter

7 years ago[Minor] DMARC reports: always use UTC time
Andrew Lewis [Tue, 16 May 2017 14:00:25 +0000 (16:00 +0200)]
[Minor] DMARC reports: always use UTC time

7 years ago[Feature] Multimap: email:domain:tld filter
Andrew Lewis [Tue, 16 May 2017 12:12:02 +0000 (14:12 +0200)]
[Feature] Multimap: email:domain:tld filter

7 years ago[Minor] Further logging improvements
Vsevolod Stakhov [Mon, 15 May 2017 21:29:19 +0000 (22:29 +0100)]
[Minor] Further logging improvements

7 years ago[Minor] Forgot to add a file
Vsevolod Stakhov [Mon, 15 May 2017 17:46:24 +0000 (18:46 +0100)]
[Minor] Forgot to add a file

7 years ago[Minor] Update bundled zstd to version 1.3
Vsevolod Stakhov [Mon, 15 May 2017 17:37:28 +0000 (18:37 +0100)]
[Minor] Update bundled zstd to version 1.3

7 years ago[Minor] Further logging improvements
Vsevolod Stakhov [Mon, 15 May 2017 15:35:49 +0000 (16:35 +0100)]
[Minor] Further logging improvements

7 years ago[Fix] Do not set bayes probability if we don't use it
Vsevolod Stakhov [Mon, 15 May 2017 15:33:15 +0000 (16:33 +0100)]
[Fix] Do not set bayes probability if we don't use it

7 years ago[Feature] Use normal resolv.conf rules of rotation in Rspamd
Vsevolod Stakhov [Mon, 15 May 2017 15:12:07 +0000 (16:12 +0100)]
[Feature] Use normal resolv.conf rules of rotation in Rspamd

7 years ago[Minor] Add some auxiliary functions for upstreams
Vsevolod Stakhov [Mon, 15 May 2017 15:11:55 +0000 (16:11 +0100)]
[Minor] Add some auxiliary functions for upstreams

7 years ago[Feature] Allow to use custom callback when parsing resolv.conf
Vsevolod Stakhov [Mon, 15 May 2017 14:21:08 +0000 (15:21 +0100)]
[Feature] Allow to use custom callback when parsing resolv.conf

7 years ago[Minor] Improve logging of errors
Vsevolod Stakhov [Mon, 15 May 2017 14:02:23 +0000 (15:02 +0100)]
[Minor] Improve logging of errors

7 years ago[Feature] Allow to pass hostname to `-i` flag in Rspamc
Vsevolod Stakhov [Mon, 15 May 2017 12:48:38 +0000 (13:48 +0100)]
[Feature] Allow to pass hostname to `-i` flag in Rspamc

7 years ago[Fix] Fix logging format string
Vsevolod Stakhov [Mon, 15 May 2017 12:41:36 +0000 (13:41 +0100)]
[Fix] Fix logging format string

7 years ago[Minor] Fix test
Andrew Lewis [Mon, 15 May 2017 10:58:01 +0000 (12:58 +0200)]
[Minor] Fix test

7 years ago[Fix] Reresolve upstreams even if there is a single server there
Vsevolod Stakhov [Mon, 15 May 2017 10:24:21 +0000 (11:24 +0100)]
[Fix] Reresolve upstreams even if there is a single server there

7 years ago[Minor] Tell which map has caused errors
Vsevolod Stakhov [Mon, 15 May 2017 09:05:30 +0000 (10:05 +0100)]
[Minor] Tell which map has caused errors

7 years ago[Minor] Remove unused constant
Vsevolod Stakhov [Sun, 14 May 2017 22:26:11 +0000 (23:26 +0100)]
[Minor] Remove unused constant

7 years ago[Minor] Revert debian control cleanup: it breaks build scripts
Vsevolod Stakhov [Sun, 14 May 2017 19:06:19 +0000 (20:06 +0100)]
[Minor] Revert debian control cleanup: it breaks build scripts

7 years ago[Minor] DMARC reporting: remove stray character
Andrew Lewis [Sun, 14 May 2017 18:40:44 +0000 (20:40 +0200)]
[Minor] DMARC reporting: remove stray character

7 years agoMerge pull request #1639 from sbadia/debian-pkg
Vsevolod Stakhov [Sun, 14 May 2017 18:12:56 +0000 (19:12 +0100)]
Merge pull request #1639 from sbadia/debian-pkg

 [Minor] debian: Fix lintian issues and refresh packaging

7 years ago[Minor] DMARC reports: fixes for XML & reporting addresses
Andrew Lewis [Sun, 14 May 2017 12:56:13 +0000 (14:56 +0200)]
[Minor] DMARC reports: fixes for XML & reporting addresses

7 years ago[Fix] Fix LRU elements removal
Vsevolod Stakhov [Sun, 14 May 2017 10:02:30 +0000 (11:02 +0100)]
[Fix] Fix LRU elements removal

7 years ago[Feature] Use headers hash in bayes metatokens
Vsevolod Stakhov [Sat, 13 May 2017 18:03:15 +0000 (19:03 +0100)]
[Feature] Use headers hash in bayes metatokens

7 years ago[Minor] debian: Update BD and refresh packaging 1639/head
Sebastien Badia [Sat, 13 May 2017 15:20:44 +0000 (17:20 +0200)]
[Minor] debian: Update BD and refresh packaging

7 years ago[Minor] doc: Fix spelling errors
Sebastien Badia [Sat, 13 May 2017 15:20:00 +0000 (17:20 +0200)]
[Minor] doc: Fix spelling errors

7 years ago[Minor] src: Fix spelling errors
Sebastien Badia [Sat, 13 May 2017 15:19:42 +0000 (17:19 +0200)]
[Minor] src: Fix spelling errors

7 years ago[Minor] Set explicit type for known headers
Vsevolod Stakhov [Sat, 13 May 2017 13:37:45 +0000 (14:37 +0100)]
[Minor] Set explicit type for known headers

7 years ago[Minor] Renumber evictions list on removal
Vsevolod Stakhov [Sat, 13 May 2017 12:31:51 +0000 (13:31 +0100)]
[Minor] Renumber evictions list on removal

7 years ago[Feature] Reuse stemmers in the cache
Vsevolod Stakhov [Sat, 13 May 2017 12:23:32 +0000 (13:23 +0100)]
[Feature] Reuse stemmers in the cache

7 years ago[Minor] Do not use lowercase for stemmed words unless 1.6 release
Vsevolod Stakhov [Sat, 13 May 2017 12:18:50 +0000 (13:18 +0100)]
[Minor] Do not use lowercase for stemmed words unless 1.6 release

This will decrease efficiency of fuzzy and introduce incompatibility
with 1.5. Hence, delay this change unless 1.6 is finally released.

7 years ago[Fix] Fix lowercasing of stemmed words
Vsevolod Stakhov [Sat, 13 May 2017 11:44:14 +0000 (12:44 +0100)]
[Fix] Fix lowercasing of stemmed words

7 years ago[Minor] Add more sanity guards for evictions
Vsevolod Stakhov [Sat, 13 May 2017 08:58:07 +0000 (09:58 +0100)]
[Minor] Add more sanity guards for evictions

7 years ago[Minor] Check for parts with no words
Vsevolod Stakhov [Sat, 13 May 2017 08:04:28 +0000 (09:04 +0100)]
[Minor] Check for parts with no words

7 years ago[Minor] Move more magic constants to defines
Vsevolod Stakhov [Fri, 12 May 2017 15:57:55 +0000 (16:57 +0100)]
[Minor] Move more magic constants to defines

7 years ago[Fix] Fix calling for peak functions
Vsevolod Stakhov [Fri, 12 May 2017 15:45:01 +0000 (16:45 +0100)]
[Fix] Fix calling for peak functions

7 years ago[Minor] DMARC reporting: couple of small fixes
Andrew Lewis [Fri, 12 May 2017 14:46:42 +0000 (16:46 +0200)]
[Minor] DMARC reporting: couple of small fixes

 - Add policy override to report
 - Check parent domains for DMARC policies
 - Fix log message
 - Also drop formatting from report; apply table.concat

7 years ago[Minor] DMARC recporting: fix stray bracket
Andrew Lewis [Fri, 12 May 2017 13:41:17 +0000 (15:41 +0200)]
[Minor] DMARC recporting: fix stray bracket

7 years ago[Minor] Fix eviction
Vsevolod Stakhov [Fri, 12 May 2017 10:00:13 +0000 (11:00 +0100)]
[Minor] Fix eviction

7 years ago[Fix] Parse rgb[a](x,x,x[,x]) css colors
Vsevolod Stakhov [Thu, 11 May 2017 21:57:42 +0000 (22:57 +0100)]
[Fix] Parse rgb[a](x,x,x[,x]) css colors

7 years ago[Fix] Disable certain checks for utf spoof detection
Vsevolod Stakhov [Thu, 11 May 2017 18:03:21 +0000 (19:03 +0100)]
[Fix] Disable certain checks for utf spoof detection

7 years ago[Minor] Move some of mempool magic constants to a separate file
Vsevolod Stakhov [Thu, 11 May 2017 14:38:27 +0000 (15:38 +0100)]
[Minor] Move some of mempool magic constants to a separate file

7 years ago[Feature] Store average words length and short words count
Vsevolod Stakhov [Thu, 11 May 2017 14:30:48 +0000 (15:30 +0100)]
[Feature] Store average words length and short words count

7 years agoMerge pull request #1634 from moisseev/rspamd_stats
Vsevolod Stakhov [Thu, 11 May 2017 14:13:57 +0000 (15:13 +0100)]
Merge pull request #1634 from moisseev/rspamd_stats

[Minor] rspamd_stats: fix `--alpha-score` option name

7 years agoMerge pull request #1636 from fatalbanana/drm2
Vsevolod Stakhov [Thu, 11 May 2017 14:13:20 +0000 (15:13 +0100)]
Merge pull request #1636 from fatalbanana/drm2

[Minor] DMARC reporting: rework backend

7 years ago[Minor] DMARC reporting: rework backend 1636/head
Andrew Lewis [Thu, 11 May 2017 13:52:55 +0000 (15:52 +0200)]
[Minor] DMARC reporting: rework backend

 - Also fix deletion
 - Support redirecting reports (useful for evaluation)
 - Deal with possibly missing SPF results

7 years ago[Rework] Use LFU algorithm in LRU cache
Vsevolod Stakhov [Thu, 11 May 2017 13:29:18 +0000 (14:29 +0100)]
[Rework] Use LFU algorithm in LRU cache

Avoid usage of heap as its updates are not cheap. Use LFU algorithm
described here: http://antirez.com/news/109

7 years ago[Feature] Store hash of headers order and names
Vsevolod Stakhov [Thu, 11 May 2017 12:05:59 +0000 (13:05 +0100)]
[Feature] Store hash of headers order and names

7 years ago[Minor] rspamd_stats: fix `--alpha-score` option name 1634/head
Alexander Moisseev [Wed, 10 May 2017 14:39:32 +0000 (17:39 +0300)]
[Minor] rspamd_stats: fix `--alpha-score` option name

and synopsis inconsistency with option description

7 years ago[Fix] Do not check DMARC if SPF or DKIM were not checked
Vsevolod Stakhov [Wed, 10 May 2017 11:04:15 +0000 (12:04 +0100)]
[Fix] Do not check DMARC if SPF or DKIM were not checked

Issue: #1629

7 years ago[Minor] Reduce digit->number transmission penalty
Vsevolod Stakhov [Wed, 10 May 2017 10:49:14 +0000 (11:49 +0100)]
[Minor] Reduce digit->number transmission penalty

Issue: #1630

7 years ago[Fix] Allow to follow symlinks when safe
Vsevolod Stakhov [Tue, 9 May 2017 12:59:56 +0000 (13:59 +0100)]
[Fix] Allow to follow symlinks when safe

Issue: #1625

7 years ago[Test] Multimap: Received IP filters with Redis
Andrew Lewis [Tue, 9 May 2017 12:20:39 +0000 (14:20 +0200)]
[Test] Multimap: Received IP filters with Redis

7 years ago[Fix] Multimap: Received IP filters with Redis
Andrew Lewis [Tue, 9 May 2017 12:19:55 +0000 (14:19 +0200)]
[Fix] Multimap: Received IP filters with Redis

 - Issue: #1623
 - Reported by: @andryyy

7 years agoMerge pull request #1624 from fatalbanana/drm1
Vsevolod Stakhov [Tue, 9 May 2017 11:50:52 +0000 (12:50 +0100)]
Merge pull request #1624 from fatalbanana/drm1

[Feature] Preliminary DMARC reporting implementation

7 years ago[Test] Test dkim_signing with redis
Andrew Lewis [Tue, 9 May 2017 10:40:33 +0000 (12:40 +0200)]
[Test] Test dkim_signing with redis

7 years agoMerge branch 'andryyy-patch-5'
Andrew Lewis [Tue, 9 May 2017 10:56:26 +0000 (12:56 +0200)]
Merge branch 'andryyy-patch-5'

7 years ago[Feature] Preliminary DMARC reporting implementation 1624/head
Andrew Lewis [Tue, 9 May 2017 09:53:16 +0000 (11:53 +0200)]
[Feature] Preliminary DMARC reporting implementation

7 years agoAdd ability to read selector from Redis 1622/head
André Peters [Mon, 8 May 2017 17:05:00 +0000 (19:05 +0200)]
Add ability to read selector from Redis

7 years ago[Minor] Fix compression/decompression
Vsevolod Stakhov [Mon, 8 May 2017 16:52:32 +0000 (17:52 +0100)]
[Minor] Fix compression/decompression

7 years ago[Minor] Add implicit Content-Type for milter proxied requests
Vsevolod Stakhov [Mon, 8 May 2017 16:41:55 +0000 (17:41 +0100)]
[Minor] Add implicit Content-Type for milter proxied requests

7 years ago[Minor] Add compression knobs to the proxy config
Vsevolod Stakhov [Mon, 8 May 2017 16:32:45 +0000 (17:32 +0100)]
[Minor] Add compression knobs to the proxy config

7 years ago[Feature] Add compression/decompression to proxy
Vsevolod Stakhov [Mon, 8 May 2017 16:27:18 +0000 (17:27 +0100)]
[Feature] Add compression/decompression to proxy

7 years ago[Minor] Add method to get HTTP message flags
Vsevolod Stakhov [Mon, 8 May 2017 16:15:07 +0000 (17:15 +0100)]
[Minor] Add method to get HTTP message flags

7 years ago[Minor] Do not call compare scripts with no master results
Vsevolod Stakhov [Mon, 8 May 2017 15:48:46 +0000 (16:48 +0100)]
[Minor] Do not call compare scripts with no master results

7 years ago[Feature] Implement milter protocol scan reply
Vsevolod Stakhov [Mon, 8 May 2017 12:17:33 +0000 (13:17 +0100)]
[Feature] Implement milter protocol scan reply

7 years ago[Minor] Do not set implicit content-type in HTTP
Vsevolod Stakhov [Sun, 7 May 2017 14:58:25 +0000 (15:58 +0100)]
[Minor] Do not set implicit content-type in HTTP

7 years ago[Minor] Free priv
Vsevolod Stakhov [Sun, 7 May 2017 14:01:52 +0000 (15:01 +0100)]
[Minor] Free priv

7 years ago[CritFix] Fix memory leak in maps scheduling
Vsevolod Stakhov [Sun, 7 May 2017 13:47:41 +0000 (14:47 +0100)]
[CritFix] Fix memory leak in maps scheduling

7 years ago[Fix] Oops, fix d9d0fa5e86db2f4470d34395a233b450478b2f60
Vsevolod Stakhov [Sun, 7 May 2017 13:32:51 +0000 (14:32 +0100)]
[Fix] Oops, fix d9d0fa5e86db2f4470d34395a233b450478b2f60

7 years ago[CritFix] Fix memory leak in fuzzy check
Vsevolod Stakhov [Sun, 7 May 2017 13:20:29 +0000 (14:20 +0100)]
[CritFix] Fix memory leak in fuzzy check

7 years ago[Minor] Fix leaks and corruption in milter interface
Vsevolod Stakhov [Sun, 7 May 2017 13:00:17 +0000 (14:00 +0100)]
[Minor] Fix leaks and corruption in milter interface

7 years ago[Fix] Fix milter connections persistence
Vsevolod Stakhov [Sun, 7 May 2017 12:27:46 +0000 (13:27 +0100)]
[Fix] Fix milter connections persistence

7 years ago[Minor] Fix append HTTP header routine
Vsevolod Stakhov [Sun, 7 May 2017 12:25:31 +0000 (13:25 +0100)]
[Minor] Fix append HTTP header routine