]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years agoAdd documentation for URLs maps
Vsevolod Stakhov [Wed, 10 Feb 2016 22:01:04 +0000 (22:01 +0000)]
Add documentation for URLs maps

8 years agoImplement URL maps in multimap module
Vsevolod Stakhov [Wed, 10 Feb 2016 21:54:26 +0000 (21:54 +0000)]
Implement URL maps in multimap module

8 years agoAdd task:has_urls method
Vsevolod Stakhov [Wed, 10 Feb 2016 21:39:27 +0000 (21:39 +0000)]
Add task:has_urls method

8 years agoFix some issues found by coverity
Vsevolod Stakhov [Tue, 9 Feb 2016 16:43:40 +0000 (16:43 +0000)]
Fix some issues found by coverity

8 years agoFix error in printing hex
Vsevolod Stakhov [Tue, 9 Feb 2016 16:33:23 +0000 (16:33 +0000)]
Fix error in printing hex

8 years agoFix varargs processing (found by coverity)
Vsevolod Stakhov [Tue, 9 Feb 2016 16:27:29 +0000 (16:27 +0000)]
Fix varargs processing (found by coverity)

8 years agoReduce weights for some hfilter patterns
Vsevolod Stakhov [Tue, 9 Feb 2016 14:43:54 +0000 (14:43 +0000)]
Reduce weights for some hfilter patterns

8 years agoFix for old pcre
Vsevolod Stakhov [Tue, 9 Feb 2016 14:40:56 +0000 (14:40 +0000)]
Fix for old pcre

8 years agoFix more pcre2 issues
Vsevolod Stakhov [Tue, 9 Feb 2016 14:31:51 +0000 (14:31 +0000)]
Fix more pcre2 issues

8 years agoFix couple of issues with pcre migration
Vsevolod Stakhov [Tue, 9 Feb 2016 13:54:29 +0000 (13:54 +0000)]
Fix couple of issues with pcre migration

8 years agoImplement searching using pcre 2
Vsevolod Stakhov [Tue, 9 Feb 2016 13:12:58 +0000 (13:12 +0000)]
Implement searching using pcre 2

8 years agoPcre2 compilation support
Vsevolod Stakhov [Tue, 9 Feb 2016 12:39:35 +0000 (12:39 +0000)]
Pcre2 compilation support

8 years agoAdd pcre2 detection
Vsevolod Stakhov [Tue, 9 Feb 2016 11:26:16 +0000 (11:26 +0000)]
Add pcre2 detection

8 years agoFix setting include variable in the cache
Vsevolod Stakhov [Tue, 9 Feb 2016 11:26:05 +0000 (11:26 +0000)]
Fix setting include variable in the cache

8 years agoAllow to dump configuration with help comments
Vsevolod Stakhov [Mon, 8 Feb 2016 21:54:55 +0000 (21:54 +0000)]
Allow to dump configuration with help comments

8 years agoUnbreak function pointer passing
Vsevolod Stakhov [Mon, 8 Feb 2016 20:25:49 +0000 (20:25 +0000)]
Unbreak function pointer passing

8 years agoStart rework of configdump
Vsevolod Stakhov [Mon, 8 Feb 2016 19:17:49 +0000 (19:17 +0000)]
Start rework of configdump

- Add support of paths
- Add initial support of help
- Fix options

8 years agoFix for the new libucl API
Vsevolod Stakhov [Mon, 8 Feb 2016 18:45:08 +0000 (18:45 +0000)]
Fix for the new libucl API

8 years agoUpdate libucl
Vsevolod Stakhov [Mon, 8 Feb 2016 18:26:58 +0000 (18:26 +0000)]
Update libucl

8 years agoAdd manpages
Vsevolod Stakhov [Mon, 8 Feb 2016 15:46:55 +0000 (15:46 +0000)]
Add manpages

8 years agoFix one shot mode for SA metas
Vsevolod Stakhov [Mon, 8 Feb 2016 11:30:12 +0000 (11:30 +0000)]
Fix one shot mode for SA metas

8 years agoFix bad lua stack leak caused by returning numbers from SA plugin
Vsevolod Stakhov [Mon, 8 Feb 2016 11:09:22 +0000 (11:09 +0000)]
Fix bad lua stack leak caused by returning numbers from SA plugin

8 years agoUse has symbol when no need to get extra data for a symbol
Vsevolod Stakhov [Mon, 8 Feb 2016 00:18:01 +0000 (00:18 +0000)]
Use has symbol when no need to get extra data for a symbol

8 years agoAdd fast path for checking symbols
Vsevolod Stakhov [Mon, 8 Feb 2016 00:10:04 +0000 (00:10 +0000)]
Add fast path for checking symbols

8 years agoRemove stupid locks that are unused for a long time
Vsevolod Stakhov [Mon, 8 Feb 2016 00:06:18 +0000 (00:06 +0000)]
Remove stupid locks that are unused for a long time

8 years agoMerge pull request #509 from djc/patch-1
Vsevolod Stakhov [Sun, 7 Feb 2016 23:55:40 +0000 (23:55 +0000)]
Merge pull request #509 from djc/patch-1

Improve web UI by adding some more whitespace

8 years agoMerge pull request #517 from fatalbanana/master
Vsevolod Stakhov [Sun, 7 Feb 2016 23:55:29 +0000 (23:55 +0000)]
Merge pull request #517 from fatalbanana/master

RPM fixes

8 years agoFix couple of memory leaks
Vsevolod Stakhov [Sun, 7 Feb 2016 15:38:01 +0000 (15:38 +0000)]
Fix couple of memory leaks

8 years agoFix error message
Vsevolod Stakhov [Sun, 7 Feb 2016 14:00:00 +0000 (14:00 +0000)]
Fix error message

8 years agoRPM: Add missing file to spec (Fixes #516) 517/head
Andrew Lewis [Sat, 6 Feb 2016 18:41:50 +0000 (20:41 +0200)]
RPM: Add missing file to spec (Fixes #516)

8 years agoFix more issues remaining
Vsevolod Stakhov [Sat, 6 Feb 2016 14:31:22 +0000 (14:31 +0000)]
Fix more issues remaining

8 years agoAdd routines to print pubkey components
Vsevolod Stakhov [Sat, 6 Feb 2016 14:09:21 +0000 (14:09 +0000)]
Add routines to print pubkey components

8 years agoFix loading of pubkeys
Vsevolod Stakhov [Sat, 6 Feb 2016 13:30:20 +0000 (13:30 +0000)]
Fix loading of pubkeys

8 years agoCheck sanity of a key
Vsevolod Stakhov [Sat, 6 Feb 2016 13:30:13 +0000 (13:30 +0000)]
Check sanity of a key

8 years agoFix benchmarks
Vsevolod Stakhov [Sat, 6 Feb 2016 13:22:42 +0000 (13:22 +0000)]
Fix benchmarks

8 years agoNIST p256 pubkey is 65 bytes length
Vsevolod Stakhov [Sat, 6 Feb 2016 13:13:30 +0000 (13:13 +0000)]
NIST p256 pubkey is 65 bytes length

8 years agoFix metas memoization in SA plugin
Vsevolod Stakhov [Sat, 6 Feb 2016 03:04:52 +0000 (03:04 +0000)]
Fix metas memoization in SA plugin

8 years agoFix some errors
Vsevolod Stakhov [Sat, 6 Feb 2016 02:32:50 +0000 (02:32 +0000)]
Fix some errors

8 years agoTemporary disable benchmarks
Vsevolod Stakhov [Sat, 6 Feb 2016 01:58:12 +0000 (01:58 +0000)]
Temporary disable benchmarks

8 years agoFix rspamadm
Vsevolod Stakhov [Sat, 6 Feb 2016 01:56:47 +0000 (01:56 +0000)]
Fix rspamadm

8 years agoFix client
Vsevolod Stakhov [Sat, 6 Feb 2016 01:41:39 +0000 (01:41 +0000)]
Fix client

8 years agoFix the rest sources
Vsevolod Stakhov [Sat, 6 Feb 2016 01:38:33 +0000 (01:38 +0000)]
Fix the rest sources

8 years agoAdd more methods to keypair management
Vsevolod Stakhov [Sat, 6 Feb 2016 01:29:49 +0000 (01:29 +0000)]
Add more methods to keypair management

8 years agoFix fuzzy check plugin
Vsevolod Stakhov [Fri, 5 Feb 2016 23:54:22 +0000 (23:54 +0000)]
Fix fuzzy check plugin

8 years agoAdd more utilities to operate with keypairs
Vsevolod Stakhov [Fri, 5 Feb 2016 23:53:57 +0000 (23:53 +0000)]
Add more utilities to operate with keypairs

8 years agoRework HTTP encryption
Vsevolod Stakhov [Fri, 5 Feb 2016 23:20:10 +0000 (23:20 +0000)]
Rework HTTP encryption

8 years agoFix couple of issues with new encoding functions
Vsevolod Stakhov [Fri, 5 Feb 2016 23:19:46 +0000 (23:19 +0000)]
Fix couple of issues with new encoding functions

8 years agoAdd fixed hex/base32 encode and decode routines
Vsevolod Stakhov [Fri, 5 Feb 2016 23:05:13 +0000 (23:05 +0000)]
Add fixed hex/base32 encode and decode routines

8 years agoDrop unneeded `require`
Andrew Lewis [Fri, 5 Feb 2016 18:44:10 +0000 (20:44 +0200)]
Drop unneeded `require`

8 years agoRPM BuildRequires: s/perl/perl-Digest-MD5/
Andrew Lewis [Wed, 3 Feb 2016 20:12:24 +0000 (22:12 +0200)]
RPM BuildRequires: s/perl/perl-Digest-MD5/

8 years agoAdd basic routines to create and manage keypairs
Vsevolod Stakhov [Fri, 5 Feb 2016 18:20:40 +0000 (18:20 +0000)]
Add basic routines to create and manage keypairs

8 years agoImplement keypairs creation
Vsevolod Stakhov [Fri, 5 Feb 2016 17:27:24 +0000 (17:27 +0000)]
Implement keypairs creation

8 years agoBetter name for public keys
Vsevolod Stakhov [Fri, 5 Feb 2016 15:55:48 +0000 (15:55 +0000)]
Better name for public keys

8 years agoRework keypairs cache
Vsevolod Stakhov [Fri, 5 Feb 2016 15:49:44 +0000 (15:49 +0000)]
Rework keypairs cache

8 years agoAdd flexible x25519/nist modes for cryptobox
Vsevolod Stakhov [Fri, 5 Feb 2016 14:47:25 +0000 (14:47 +0000)]
Add flexible x25519/nist modes for cryptobox

8 years agoStart keypair framework conversion
Vsevolod Stakhov [Fri, 5 Feb 2016 14:21:24 +0000 (14:21 +0000)]
Start keypair framework conversion

8 years agoErm, fix warning
Vsevolod Stakhov [Fri, 5 Feb 2016 14:15:25 +0000 (14:15 +0000)]
Erm, fix warning

8 years agoMore sanity checks
Vsevolod Stakhov [Fri, 5 Feb 2016 12:53:52 +0000 (12:53 +0000)]
More sanity checks

8 years agoAdd safety guard for rule
Vsevolod Stakhov [Fri, 5 Feb 2016 12:49:25 +0000 (12:49 +0000)]
Add safety guard for rule

8 years agoFix leaks in lua error paths
Vsevolod Stakhov [Fri, 5 Feb 2016 12:42:43 +0000 (12:42 +0000)]
Fix leaks in lua error paths

8 years agoPrint traceback on lua errors in lua config
Vsevolod Stakhov [Fri, 5 Feb 2016 11:30:45 +0000 (11:30 +0000)]
Print traceback on lua errors in lua config

8 years agoStart 1.2 branching
Vsevolod Stakhov [Thu, 4 Feb 2016 22:28:57 +0000 (22:28 +0000)]
Start 1.2 branching

8 years agoRelease 1.1.3 1.1.3
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>
8 years agoDocument pre-filtering for maps
Vsevolod Stakhov [Thu, 4 Feb 2016 17:38:06 +0000 (17:38 +0000)]
Document pre-filtering for maps

8 years agoAdd possibility to set pre-result using multimap
Vsevolod Stakhov [Thu, 4 Feb 2016 16:58:02 +0000 (16:58 +0000)]
Add possibility to set pre-result using multimap

8 years agoPre filters should actually skip processing
Vsevolod Stakhov [Thu, 4 Feb 2016 15:49:45 +0000 (15:49 +0000)]
Pre filters should actually skip processing

8 years agoAdd notice in the contributions file
Vsevolod Stakhov [Thu, 4 Feb 2016 09:59:49 +0000 (09:59 +0000)]
Add notice in the contributions file

8 years agoSwitch the rest to apache 2
Vsevolod Stakhov [Thu, 4 Feb 2016 09:37:21 +0000 (09:37 +0000)]
Switch the rest to apache 2

8 years agoSwitch project to the apache2 license
Vsevolod Stakhov [Thu, 4 Feb 2016 09:19:12 +0000 (09:19 +0000)]
Switch project to the apache2 license

8 years agoFix parsing nested braces inside logger vars
Vsevolod Stakhov [Wed, 3 Feb 2016 11:29:34 +0000 (11:29 +0000)]
Fix parsing nested braces inside logger vars

8 years agoAdd utility to manage digital signatures
Vsevolod Stakhov [Wed, 3 Feb 2016 00:41:01 +0000 (00:41 +0000)]
Add utility to manage digital signatures

8 years agoFix eddsa keys generation
Vsevolod Stakhov [Wed, 3 Feb 2016 00:40:43 +0000 (00:40 +0000)]
Fix eddsa keys generation

8 years agoRemove realpath call
Vsevolod Stakhov [Tue, 2 Feb 2016 23:54:37 +0000 (23:54 +0000)]
Remove realpath call

8 years agoAdd plain open file API method
Vsevolod Stakhov [Tue, 2 Feb 2016 23:42:42 +0000 (23:42 +0000)]
Add plain open file API method

8 years agoAdd more fields to ucl definition of the keypair
Vsevolod Stakhov [Tue, 2 Feb 2016 18:02:10 +0000 (18:02 +0000)]
Add more fields to ucl definition of the keypair

8 years agoFix keypair output
Vsevolod Stakhov [Tue, 2 Feb 2016 17:43:28 +0000 (17:43 +0000)]
Fix keypair output

8 years agoFix hex encoding
Vsevolod Stakhov [Tue, 2 Feb 2016 17:43:15 +0000 (17:43 +0000)]
Fix hex encoding

8 years agoImplement keypairs generation for signing
Vsevolod Stakhov [Tue, 2 Feb 2016 16:42:55 +0000 (16:42 +0000)]
Implement keypairs generation for signing

8 years agoAdd ECDSA signatures as well
Vsevolod Stakhov [Tue, 2 Feb 2016 13:51:37 +0000 (13:51 +0000)]
Add ECDSA signatures as well

8 years agoAdd test vectors for eddsa
Vsevolod Stakhov [Tue, 2 Feb 2016 13:28:31 +0000 (13:28 +0000)]
Add test vectors for eddsa

8 years agoAdd hex encoding/decoding routines
Vsevolod Stakhov [Tue, 2 Feb 2016 12:47:10 +0000 (12:47 +0000)]
Add hex encoding/decoding routines

8 years agoAdd basic routines for digital signatures
Vsevolod Stakhov [Tue, 2 Feb 2016 12:20:53 +0000 (12:20 +0000)]
Add basic routines for digital signatures

8 years agoReserve rspamd_sig_t for signatures
Vsevolod Stakhov [Tue, 2 Feb 2016 11:57:46 +0000 (11:57 +0000)]
Reserve rspamd_sig_t for signatures

8 years agoFix set_from_ip method
Vsevolod Stakhov [Mon, 1 Feb 2016 11:35:27 +0000 (11:35 +0000)]
Fix set_from_ip method

8 years agoFix warnings
Vsevolod Stakhov [Mon, 1 Feb 2016 11:34:42 +0000 (11:34 +0000)]
Fix warnings

8 years agoAdd more diagnostic for lua subr errors
Vsevolod Stakhov [Sun, 31 Jan 2016 14:53:38 +0000 (15:53 +0100)]
Add more diagnostic for lua subr errors

8 years agoFix parsing of ip:port strings
Vsevolod Stakhov [Sun, 31 Jan 2016 14:53:25 +0000 (15:53 +0100)]
Fix parsing of ip:port strings

8 years agoImprove web UI by adding some more whitespace 509/head
Dirkjan Ochtman [Sun, 31 Jan 2016 13:05:56 +0000 (14:05 +0100)]
Improve web UI by adding some more whitespace

8 years agoAnother workaround to avoid __int128 warning
Vsevolod Stakhov [Sat, 30 Jan 2016 10:36:24 +0000 (11:36 +0100)]
Another workaround to avoid __int128 warning

8 years agoFix couple of compiler warnings
Vsevolod Stakhov [Sat, 30 Jan 2016 10:32:07 +0000 (11:32 +0100)]
Fix couple of compiler warnings

8 years agoSupport c11 if available
Vsevolod Stakhov [Sat, 30 Jan 2016 09:55:32 +0000 (10:55 +0100)]
Support c11 if available

8 years agoSet a sane quark for configtest to avoid NULL
Vsevolod Stakhov [Sat, 30 Jan 2016 09:45:55 +0000 (10:45 +0100)]
Set a sane quark for configtest to avoid NULL

8 years agoAvoid using of lua functional
Vsevolod Stakhov [Fri, 29 Jan 2016 19:39:05 +0000 (19:39 +0000)]
Avoid using of lua functional

8 years agoFix rule when SMTP from is unavailable
Vsevolod Stakhov [Fri, 29 Jan 2016 18:31:45 +0000 (18:31 +0000)]
Fix rule when SMTP from is unavailable

8 years agoUpdate version to 1.1.3
Vsevolod Stakhov [Fri, 29 Jan 2016 18:13:56 +0000 (18:13 +0000)]
Update version to 1.1.3

8 years agoRelease 1.1.2 1.1.2
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>
8 years agoAdd ed25519 reference implementation
Vsevolod Stakhov [Fri, 29 Jan 2016 14:47:52 +0000 (14:47 +0000)]
Add ed25519 reference implementation

8 years agoCleanup blake2 state on final iteration
Vsevolod Stakhov [Fri, 29 Jan 2016 14:47:23 +0000 (14:47 +0000)]
Cleanup blake2 state on final iteration

8 years agoProperly detect avx set.
Vsevolod Stakhov [Fri, 29 Jan 2016 13:43:10 +0000 (13:43 +0000)]
Properly detect avx set.

8 years agoUse fstring instead of gstring
Vsevolod Stakhov [Fri, 29 Jan 2016 13:27:09 +0000 (13:27 +0000)]
Use fstring instead of gstring