]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Thu, 4 Feb 2016 22:28:57 +0000 (22:28 +0000)]
Start 1.2 branching
Vsevolod Stakhov [Thu, 4 Feb 2016 22:25:30 +0000 (22:25 +0000)]
Release 1.1.3
* Fix DSN rules when SMTP from is unavailable
* Fix statconvert routine to avoid lua module usage
* Set a sane quark for configtest to avoid NULL to be printed in logs
* Support c11 if available
* Fix parsing of ip:port strings
* Add more diagnostic for lua subr errors
* Fix task:set_from_ip lua method
* Add basic routines for digital signatures
* Add tool for digital signatures
* Add plain open file API method for atomic open
* Fix parsing nested braces inside logger vars
* Pre filters now actually skip processing
* Add pre-filter mode for multimap
* Switch to apache 2 license
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Thu, 4 Feb 2016 17:38:06 +0000 (17:38 +0000)]
Document pre-filtering for maps
Vsevolod Stakhov [Thu, 4 Feb 2016 16:58:02 +0000 (16:58 +0000)]
Add possibility to set pre-result using multimap
Vsevolod Stakhov [Thu, 4 Feb 2016 15:49:45 +0000 (15:49 +0000)]
Pre filters should actually skip processing
Vsevolod Stakhov [Thu, 4 Feb 2016 09:59:49 +0000 (09:59 +0000)]
Add notice in the contributions file
Vsevolod Stakhov [Thu, 4 Feb 2016 09:37:21 +0000 (09:37 +0000)]
Switch the rest to apache 2
Vsevolod Stakhov [Thu, 4 Feb 2016 09:19:12 +0000 (09:19 +0000)]
Switch project to the apache2 license
Vsevolod Stakhov [Wed, 3 Feb 2016 11:29:34 +0000 (11:29 +0000)]
Fix parsing nested braces inside logger vars
Vsevolod Stakhov [Wed, 3 Feb 2016 00:41:01 +0000 (00:41 +0000)]
Add utility to manage digital signatures
Vsevolod Stakhov [Wed, 3 Feb 2016 00:40:43 +0000 (00:40 +0000)]
Fix eddsa keys generation
Vsevolod Stakhov [Tue, 2 Feb 2016 23:54:37 +0000 (23:54 +0000)]
Remove realpath call
Vsevolod Stakhov [Tue, 2 Feb 2016 23:42:42 +0000 (23:42 +0000)]
Add plain open file API method
Vsevolod Stakhov [Tue, 2 Feb 2016 18:02:10 +0000 (18:02 +0000)]
Add more fields to ucl definition of the keypair
Vsevolod Stakhov [Tue, 2 Feb 2016 17:43:28 +0000 (17:43 +0000)]
Fix keypair output
Vsevolod Stakhov [Tue, 2 Feb 2016 17:43:15 +0000 (17:43 +0000)]
Fix hex encoding
Vsevolod Stakhov [Tue, 2 Feb 2016 16:42:55 +0000 (16:42 +0000)]
Implement keypairs generation for signing
Vsevolod Stakhov [Tue, 2 Feb 2016 13:51:37 +0000 (13:51 +0000)]
Add ECDSA signatures as well
Vsevolod Stakhov [Tue, 2 Feb 2016 13:28:31 +0000 (13:28 +0000)]
Add test vectors for eddsa
Vsevolod Stakhov [Tue, 2 Feb 2016 12:47:10 +0000 (12:47 +0000)]
Add hex encoding/decoding routines
Vsevolod Stakhov [Tue, 2 Feb 2016 12:20:53 +0000 (12:20 +0000)]
Add basic routines for digital signatures
Vsevolod Stakhov [Tue, 2 Feb 2016 11:57:46 +0000 (11:57 +0000)]
Reserve rspamd_sig_t for signatures
Vsevolod Stakhov [Mon, 1 Feb 2016 11:35:27 +0000 (11:35 +0000)]
Fix set_from_ip method
Vsevolod Stakhov [Mon, 1 Feb 2016 11:34:42 +0000 (11:34 +0000)]
Fix warnings
Vsevolod Stakhov [Sun, 31 Jan 2016 14:53:38 +0000 (15:53 +0100)]
Add more diagnostic for lua subr errors
Vsevolod Stakhov [Sun, 31 Jan 2016 14:53:25 +0000 (15:53 +0100)]
Fix parsing of ip:port strings
Vsevolod Stakhov [Sat, 30 Jan 2016 10:36:24 +0000 (11:36 +0100)]
Another workaround to avoid __int128 warning
Vsevolod Stakhov [Sat, 30 Jan 2016 10:32:07 +0000 (11:32 +0100)]
Fix couple of compiler warnings
Vsevolod Stakhov [Sat, 30 Jan 2016 09:55:32 +0000 (10:55 +0100)]
Support c11 if available
Vsevolod Stakhov [Sat, 30 Jan 2016 09:45:55 +0000 (10:45 +0100)]
Set a sane quark for configtest to avoid NULL
Vsevolod Stakhov [Fri, 29 Jan 2016 19:39:05 +0000 (19:39 +0000)]
Avoid using of lua functional
Vsevolod Stakhov [Fri, 29 Jan 2016 18:31:45 +0000 (18:31 +0000)]
Fix rule when SMTP from is unavailable
Vsevolod Stakhov [Fri, 29 Jan 2016 18:13:56 +0000 (18:13 +0000)]
Update version to 1.1.3
Vsevolod Stakhov [Fri, 29 Jan 2016 15:15:37 +0000 (15:15 +0000)]
Release 1.1.2
* Fix stat_cache closing
* Add checkpoints to sqlite3 learn cache
* Do not recompile lua generated headers all the time
* Increase number of messages learned
* Fix issues with dual stack and hfilter
* Disable MID checks for hfilter by default
* Fix cache definitions in multiple classifier and no type
* Don't crash if learn cache failed to initialize
* Fix googlegroups support in maillist plugin
* Rework flags LUA API:
- Allow to check for a specific flag
- Add `learn_spam`, `learn_ham` and `broken_headers` flags
- Unify internal functions
* Add `BROKEN_HEADERS` rule
* Add support for forged confirmation headers (by @AdUser)
* Allow `any`, `mime` and `smtp` for get_from/get_recipients
* Add mime types checking plugin
* Add rule to detect spammers attempts to cheat mime parsing
* Rework parsing of IP addresses in configuration (better IPv6 support)
* Add `util.parse_mail_address` function to LUA API
* Add lua sqlite3 module
* Implement synchronous redis call
* Ratelimit: avoid possible indexing of nil value (Fixes #498) (by @fatalbanana)
* Add stat_convert command to convert stats tokens from sqlite3 to redis
* Implement redis advanced lua api with pipelining
* Fix memory leak on redis stat (#500)
* Fix user/language learn count in sqlite statistics (#496) (by @fatalbanana)
* Fix build with custom pcre
* Fix fuzzy relearning (#498)
* Improve planning of asynchronous tasks
* Show slow rules in log
* Add warning for slow regexps
* Add base32 decode/encode routines to lua util
* Allow converting of learn cache from sqlite to redis
* Add methods to check if a messages has from/rcpts
* Improve and fix multimap plugin:
- Restore 'header' maps
- Add filters for headers
- Add 'email:addr', 'email:user', 'email:domain' and 'email:name' filters
- Add generic regexp filters
* Disable reload command in rc scripts
* Improve runtime CPU dispatcher for libcryptobox
* Add preliminary support of digital signatures via
ed25519
* Add detection for RDRAND support
* Print configuration of crypto on start
* A in SPF presumes AAAA lookup as well
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 29 Jan 2016 14:47:52 +0000 (14:47 +0000)]
Add
ed25519 reference implementation
Vsevolod Stakhov [Fri, 29 Jan 2016 14:47:23 +0000 (14:47 +0000)]
Cleanup blake2 state on final iteration
Vsevolod Stakhov [Fri, 29 Jan 2016 13:43:10 +0000 (13:43 +0000)]
Properly detect avx set.
Vsevolod Stakhov [Fri, 29 Jan 2016 13:27:09 +0000 (13:27 +0000)]
Use fstring instead of gstring
Vsevolod Stakhov [Fri, 29 Jan 2016 11:27:40 +0000 (11:27 +0000)]
A in SPF presumes AAAA lookup as well
Vsevolod Stakhov [Fri, 29 Jan 2016 10:43:42 +0000 (10:43 +0000)]
Fix CPU features detection
Vsevolod Stakhov [Fri, 29 Jan 2016 10:22:12 +0000 (10:22 +0000)]
Print configuration of crypto on start
Vsevolod Stakhov [Fri, 29 Jan 2016 10:17:54 +0000 (10:17 +0000)]
Fix other usages of ottery_init
Vsevolod Stakhov [Fri, 29 Jan 2016 10:14:02 +0000 (10:14 +0000)]
Use cryptobox rdrand detection for ottery
Vsevolod Stakhov [Fri, 29 Jan 2016 10:08:04 +0000 (10:08 +0000)]
Add detection for RDRAND support
Vsevolod Stakhov [Fri, 29 Jan 2016 09:53:19 +0000 (09:53 +0000)]
Output configuration of libcryptobox
Vsevolod Stakhov [Thu, 28 Jan 2016 17:45:10 +0000 (17:45 +0000)]
Migrate to ref10 curve25519 implmentation
Vsevolod Stakhov [Thu, 28 Jan 2016 15:12:37 +0000 (15:12 +0000)]
Disable reload command in rc scripts
Vsevolod Stakhov [Thu, 28 Jan 2016 14:56:55 +0000 (14:56 +0000)]
Document new filters in multimap
Vsevolod Stakhov [Thu, 28 Jan 2016 14:51:08 +0000 (14:51 +0000)]
Improve and fix multimap plugin
- Restore 'header' maps
- Add filters for headers
- Add 'email:addr', 'email:user', 'email:domain' and 'email:name'
filters
- Add generic regexp filters
Vsevolod Stakhov [Thu, 28 Jan 2016 12:13:02 +0000 (12:13 +0000)]
Fix rules to avoid nil indexing
Vsevolod Stakhov [Thu, 28 Jan 2016 12:12:46 +0000 (12:12 +0000)]
Add methods to check if a messages has from/rcpts
Vsevolod Stakhov [Wed, 27 Jan 2016 17:39:17 +0000 (17:39 +0000)]
Allow converting of learn cache from sqlite to redis
Vsevolod Stakhov [Wed, 27 Jan 2016 17:37:30 +0000 (17:37 +0000)]
Add base32 decode/encode routines to lua util
Vsevolod Stakhov [Wed, 27 Jan 2016 14:33:44 +0000 (14:33 +0000)]
Add warning for slow regexps
Vsevolod Stakhov [Wed, 27 Jan 2016 14:06:17 +0000 (14:06 +0000)]
Never set negative learn counts
Issue: #496
Vsevolod Stakhov [Tue, 26 Jan 2016 23:11:44 +0000 (23:11 +0000)]
Show slow rules in log
Vsevolod Stakhov [Tue, 26 Jan 2016 22:40:30 +0000 (22:40 +0000)]
Improve planning of asynchronous tasks
Vsevolod Stakhov [Tue, 26 Jan 2016 21:23:41 +0000 (21:23 +0000)]
Try to fix build issue
Vsevolod Stakhov [Tue, 26 Jan 2016 18:00:52 +0000 (18:00 +0000)]
Try to read from HTTP socket even if we have timeout
Vsevolod Stakhov [Tue, 26 Jan 2016 17:50:47 +0000 (17:50 +0000)]
Merge pull request #504 from fatalbanana/master
Fix user/language learn count in sqlite statistics (#496)
Vsevolod Stakhov [Tue, 26 Jan 2016 17:48:39 +0000 (17:48 +0000)]
Fix fuzzy relearning
Issue: #489
Investigated by: @moisseev
Vsevolod Stakhov [Tue, 26 Jan 2016 17:11:52 +0000 (17:11 +0000)]
Fix build with custom pcre
Andrew Lewis [Tue, 26 Jan 2016 16:11:14 +0000 (18:11 +0200)]
Fix user/language learn count in sqlite statistics (#496)
Vsevolod Stakhov [Tue, 26 Jan 2016 16:04:47 +0000 (16:04 +0000)]
Temporary enable pcre jit fast path
Vsevolod Stakhov [Tue, 26 Jan 2016 14:18:14 +0000 (14:18 +0000)]
Increase severity of sqlite errors
Vsevolod Stakhov [Tue, 26 Jan 2016 14:00:43 +0000 (14:00 +0000)]
Another fix to redis events logic
Vsevolod Stakhov [Tue, 26 Jan 2016 13:57:28 +0000 (13:57 +0000)]
Try to fix memory leak on redis stat
Issue: #500
Reported by: @mozzan
Vsevolod Stakhov [Tue, 26 Jan 2016 13:55:32 +0000 (13:55 +0000)]
Fix redis stats
Vsevolod Stakhov [Tue, 26 Jan 2016 13:16:42 +0000 (13:16 +0000)]
Use pipelined HINCRBY
Vsevolod Stakhov [Tue, 26 Jan 2016 12:44:26 +0000 (12:44 +0000)]
Fix various issues
Vsevolod Stakhov [Tue, 26 Jan 2016 12:14:10 +0000 (12:14 +0000)]
Implement redis advanced lua api
Vsevolod Stakhov [Tue, 26 Jan 2016 10:04:45 +0000 (10:04 +0000)]
Start improved redis lua api
Vsevolod Stakhov [Mon, 25 Jan 2016 23:40:49 +0000 (23:40 +0000)]
Fix stat migration script
Vsevolod Stakhov [Mon, 25 Jan 2016 23:40:09 +0000 (23:40 +0000)]
Store int64 as strings
There are no 64 bits integers in lua, so store them as strings
Vsevolod Stakhov [Mon, 25 Jan 2016 22:59:59 +0000 (22:59 +0000)]
Merge pull request #499 from fatalbanana/master
ratelimit: avoid possible indexing of nil value (Fixes #498)
Vsevolod Stakhov [Mon, 25 Jan 2016 20:13:48 +0000 (20:13 +0000)]
Add stat_convert command
New command is intended to convert sqlite stats to redis stats
Vsevolod Stakhov [Mon, 25 Jan 2016 20:13:26 +0000 (20:13 +0000)]
Fix parsing of redis args
Andrew Lewis [Mon, 25 Jan 2016 17:31:51 +0000 (19:31 +0200)]
ratelimit: avoid possible indexing of nil value (Fixes #498)
Vsevolod Stakhov [Mon, 25 Jan 2016 16:36:36 +0000 (16:36 +0000)]
Implement synchronous redis call
Vsevolod Stakhov [Mon, 25 Jan 2016 16:16:19 +0000 (16:16 +0000)]
Add lua_sqlite3 unit tests
Vsevolod Stakhov [Mon, 25 Jan 2016 16:10:21 +0000 (16:10 +0000)]
Fix locking issues with sqlite
Vsevolod Stakhov [Mon, 25 Jan 2016 15:49:27 +0000 (15:49 +0000)]
Fix more issues
Vsevolod Stakhov [Mon, 25 Jan 2016 15:26:49 +0000 (15:26 +0000)]
Fix sqlite3 API initialization
Vsevolod Stakhov [Mon, 25 Jan 2016 15:15:01 +0000 (15:15 +0000)]
Add lua sqlite3 module
Vsevolod Stakhov [Mon, 25 Jan 2016 14:34:16 +0000 (14:34 +0000)]
Fix HEADER_FORGED_MDN rule
Vsevolod Stakhov [Mon, 25 Jan 2016 13:23:29 +0000 (13:23 +0000)]
Do not require mempool to open sqlite3 db
Vsevolod Stakhov [Mon, 25 Jan 2016 11:37:36 +0000 (11:37 +0000)]
Add parsing to MDN rules
Issue: #480
Vsevolod Stakhov [Mon, 25 Jan 2016 11:31:34 +0000 (11:31 +0000)]
Add util.parse_mail_address function to LUA API
Vsevolod Stakhov [Mon, 25 Jan 2016 11:23:35 +0000 (11:23 +0000)]
Move internet address pushing to common routines
Vsevolod Stakhov [Mon, 25 Jan 2016 11:08:54 +0000 (11:08 +0000)]
Disable bad hfilter symbols in metrics
Issue: #497
Reported by: @MisterM74
Vsevolod Stakhov [Mon, 25 Jan 2016 00:12:17 +0000 (00:12 +0000)]
Same issue for [] addresses
Vsevolod Stakhov [Sun, 24 Jan 2016 23:51:57 +0000 (23:51 +0000)]
Erm, fix issue with length calculation
Vsevolod Stakhov [Sun, 24 Jan 2016 23:50:42 +0000 (23:50 +0000)]
Fix names for parsed addresses
Vsevolod Stakhov [Sun, 24 Jan 2016 23:31:45 +0000 (23:31 +0000)]
Add logging macroes with guards
Vsevolod Stakhov [Sun, 24 Jan 2016 23:23:37 +0000 (23:23 +0000)]
Rework parsing of IP addresses
Vsevolod Stakhov [Sun, 24 Jan 2016 14:10:33 +0000 (14:10 +0000)]
Add rule to detect spammers attempts to cheat mime parsing
Vsevolod Stakhov [Sat, 23 Jan 2016 22:16:13 +0000 (22:16 +0000)]
Fix misprint in the path
Vsevolod Stakhov [Sat, 23 Jan 2016 14:36:25 +0000 (14:36 +0000)]
Add symbols for mime_types to the default config
Vsevolod Stakhov [Sat, 23 Jan 2016 13:44:49 +0000 (13:44 +0000)]
Add mime types checking plugin
Vsevolod Stakhov [Fri, 22 Jan 2016 19:00:45 +0000 (19:00 +0000)]
Use `task:get_from()` to get sender