]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoCheck unique redirector calls per SURBL suffix
Vsevolod Stakhov [Mon, 19 Oct 2015 15:21:30 +0000 (16:21 +0100)]
Check unique redirector calls per SURBL suffix

9 years agoFix redirector invocation
Vsevolod Stakhov [Mon, 19 Oct 2015 14:24:27 +0000 (15:24 +0100)]
Fix redirector invocation

9 years agoAllow starting of multiple servers
Vsevolod Stakhov [Mon, 19 Oct 2015 11:55:44 +0000 (12:55 +0100)]
Allow starting of multiple servers

9 years agoFix nonces and pk sizes for openssl mode
Vsevolod Stakhov [Mon, 19 Oct 2015 11:19:42 +0000 (12:19 +0100)]
Fix nonces and pk sizes for openssl mode

9 years agoFix http test.
Vsevolod Stakhov [Mon, 19 Oct 2015 11:16:38 +0000 (12:16 +0100)]
Fix http test.

9 years agoFix cryptobox ECDH
Vsevolod Stakhov [Mon, 19 Oct 2015 10:49:38 +0000 (11:49 +0100)]
Fix cryptobox ECDH

9 years agoFix fuzzy storage constants
Vsevolod Stakhov [Mon, 19 Oct 2015 10:49:26 +0000 (11:49 +0100)]
Fix fuzzy storage constants

9 years agoFix HTTP code.
Vsevolod Stakhov [Mon, 19 Oct 2015 10:40:16 +0000 (11:40 +0100)]
Fix HTTP code.

9 years agoMove to pluggable cryptobox object sizes
Vsevolod Stakhov [Mon, 19 Oct 2015 10:08:50 +0000 (11:08 +0100)]
Move to pluggable cryptobox object sizes

9 years agoFix memory allocation for openssl objects
Vsevolod Stakhov [Mon, 19 Oct 2015 08:27:09 +0000 (09:27 +0100)]
Fix memory allocation for openssl objects

9 years agoEnable openssl mode for rspamadm
Vsevolod Stakhov [Mon, 19 Oct 2015 08:25:52 +0000 (09:25 +0100)]
Enable openssl mode for rspamadm

9 years agoEnable openssl mode for keypair generation
Vsevolod Stakhov [Mon, 19 Oct 2015 08:24:08 +0000 (09:24 +0100)]
Enable openssl mode for keypair generation

9 years agoImprove HTTP test for aes-gcm support.
Vsevolod Stakhov [Sun, 18 Oct 2015 22:48:52 +0000 (23:48 +0100)]
Improve HTTP test for aes-gcm support.

9 years agoEnable openssl AES tests
Vsevolod Stakhov [Sun, 18 Oct 2015 22:29:42 +0000 (23:29 +0100)]
Enable openssl AES tests

9 years agoAdd openssl aes-256-gcm encryption to libcryptobox
Vsevolod Stakhov [Sun, 18 Oct 2015 22:20:18 +0000 (23:20 +0100)]
Add openssl aes-256-gcm encryption to libcryptobox

9 years agoPrepare cryptobox for aes plug.
Vsevolod Stakhov [Sun, 18 Oct 2015 21:12:20 +0000 (22:12 +0100)]
Prepare cryptobox for aes plug.

9 years agoDelete signal events after events processing loop
Vsevolod Stakhov [Sun, 18 Oct 2015 10:24:12 +0000 (11:24 +0100)]
Delete signal events after events processing loop

9 years agoFix build on arm
Vsevolod Stakhov [Sun, 18 Oct 2015 10:17:59 +0000 (11:17 +0100)]
Fix build on arm

Issue: #404
Reported by: @Gottox

9 years agoUse stdio buffering to save symbols cache.
Vsevolod Stakhov [Sun, 18 Oct 2015 10:12:26 +0000 (11:12 +0100)]
Use stdio buffering to save symbols cache.

9 years agoFix HTTP test.
Vsevolod Stakhov [Sun, 18 Oct 2015 10:06:05 +0000 (11:06 +0100)]
Fix HTTP test.

9 years agoImplement output functions for rspamadm control.
Vsevolod Stakhov [Sat, 17 Oct 2015 13:15:08 +0000 (14:15 +0100)]
Implement output functions for rspamadm control.

9 years agoAdd preliminary version of rspamadm control command
Vsevolod Stakhov [Sat, 17 Oct 2015 12:42:12 +0000 (13:42 +0100)]
Add preliminary version of rspamadm control command

9 years agoFix setting the default mask for SPF.
Vsevolod Stakhov [Fri, 16 Oct 2015 15:54:51 +0000 (16:54 +0100)]
Fix setting the default mask for SPF.

9 years agoPrint headers imported from HTTP query
Vsevolod Stakhov [Fri, 16 Oct 2015 14:19:26 +0000 (15:19 +0100)]
Print headers imported from HTTP query

9 years agoRemove quotes in HTTP query values
Vsevolod Stakhov [Fri, 16 Oct 2015 14:13:35 +0000 (15:13 +0100)]
Remove quotes in HTTP query values

9 years agoUpdate version.
Vsevolod Stakhov [Fri, 16 Oct 2015 14:08:26 +0000 (15:08 +0100)]
Update version.

9 years agoRelease 1.0.6 1.0.6
Vsevolod Stakhov [Fri, 16 Oct 2015 13:07:07 +0000 (14:07 +0100)]
Release 1.0.6

* Fix build on i386
* Update CentOS7 service file patch (by @fatalbanana)
* Fix path to rspamadm in Debian init script (by @fatalbanana)
* Fix broken '_SC_GETPW_R_SIZE_MAX' on FreeBSD
* Fix portability issues
* Use cryptobox chacha for libottery
* Better support of 32 bit builds
* Fix header name tokens setup
* Fix levenstein distance method for words
* Add workaround for old libevent (#400)
* Fix microseconds in termination timer
* Fix some more issues with fixed strings
* Explicitly test CPU instructions even after CPUID call
* Do not check out of boundary memory
* Do not output broken emails
* Fix unknown symbols registration
* Handle SIGILL using longjmp
* Block signals when exiting event loop
* Fix incorrect allocation size
* Slightly optimize alignment
* Restore rspamd -t for compatibility
* Add more sanity checks for emails

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoAdd more sanity checks for emails
Vsevolod Stakhov [Fri, 16 Oct 2015 12:57:23 +0000 (13:57 +0100)]
Add more sanity checks for emails

9 years agoRestore rspamd -t for compatibility
Vsevolod Stakhov [Fri, 16 Oct 2015 12:15:16 +0000 (13:15 +0100)]
Restore rspamd -t for compatibility

9 years agoSlightly optimize alignment
Vsevolod Stakhov [Fri, 16 Oct 2015 11:50:56 +0000 (12:50 +0100)]
Slightly optimize alignment

9 years agoFix incorrect allocation size
Vsevolod Stakhov [Thu, 15 Oct 2015 23:21:07 +0000 (00:21 +0100)]
Fix incorrect allocation size

9 years agoFix more fstring migration issues.
Vsevolod Stakhov [Thu, 15 Oct 2015 23:16:03 +0000 (00:16 +0100)]
Fix more fstring migration issues.

9 years agoBlock signals when exiting event loop
Vsevolod Stakhov [Thu, 15 Oct 2015 21:38:34 +0000 (22:38 +0100)]
Block signals when exiting event loop

9 years agoMinor fixes to settings.
Vsevolod Stakhov [Thu, 15 Oct 2015 21:26:01 +0000 (22:26 +0100)]
Minor fixes to settings.

9 years agoFix format string.
Vsevolod Stakhov [Thu, 15 Oct 2015 21:25:49 +0000 (22:25 +0100)]
Fix format string.

9 years agoTry to handle SIGILL properly.
Vsevolod Stakhov [Thu, 15 Oct 2015 17:18:11 +0000 (18:18 +0100)]
Try to handle SIGILL properly.

Issue: #399

9 years agoFix unknown symbols registration.
Vsevolod Stakhov [Thu, 15 Oct 2015 15:13:39 +0000 (16:13 +0100)]
Fix unknown symbols registration.

9 years agoFix termination.
Vsevolod Stakhov [Thu, 15 Oct 2015 15:13:27 +0000 (16:13 +0100)]
Fix termination.

9 years agoDo not output broken emails.
Vsevolod Stakhov [Thu, 15 Oct 2015 14:34:10 +0000 (15:34 +0100)]
Do not output broken emails.

9 years agoDo not check out of boundary memory.
Vsevolod Stakhov [Thu, 15 Oct 2015 14:30:54 +0000 (15:30 +0100)]
Do not check out of boundary memory.

9 years agoFix functional tests.
Vsevolod Stakhov [Thu, 15 Oct 2015 14:11:53 +0000 (15:11 +0100)]
Fix functional tests.

9 years agoFix prototype.
Vsevolod Stakhov [Thu, 15 Oct 2015 13:55:59 +0000 (14:55 +0100)]
Fix prototype.

9 years agoExplicitly test CPU instructions even after CPUID call
Vsevolod Stakhov [Thu, 15 Oct 2015 13:46:43 +0000 (14:46 +0100)]
Explicitly test CPU instructions even after CPUID call

9 years agoFix some more issues with fixed strings
Vsevolod Stakhov [Thu, 15 Oct 2015 13:24:06 +0000 (14:24 +0100)]
Fix some more issues with fixed strings

9 years agoMicro is 1 / 1000000, not 1 / 1000
Vsevolod Stakhov [Thu, 15 Oct 2015 13:15:59 +0000 (14:15 +0100)]
Micro is 1 / 1000000, not 1 / 1000

9 years agoAdd workaround for old libevent.
Vsevolod Stakhov [Thu, 15 Oct 2015 13:03:31 +0000 (14:03 +0100)]
Add workaround for old libevent.

Issue: #400
Reported by: @Nikolay

9 years agoWords are now rspamd_ftok_t
Vsevolod Stakhov [Thu, 15 Oct 2015 12:57:39 +0000 (13:57 +0100)]
Words are now rspamd_ftok_t

9 years agoInitialize variable on use.
Vsevolod Stakhov [Thu, 15 Oct 2015 12:57:28 +0000 (13:57 +0100)]
Initialize variable on use.

9 years agoFix header name tokens setup.
Vsevolod Stakhov [Thu, 15 Oct 2015 12:57:12 +0000 (13:57 +0100)]
Fix header name tokens setup.

9 years agoWe can include either 64 or 32 bits versions of curve25519-donna.
Vsevolod Stakhov [Thu, 15 Oct 2015 12:19:22 +0000 (13:19 +0100)]
We can include either 64 or 32 bits versions of curve25519-donna.

9 years ago128 bit integers are not very portable.
Vsevolod Stakhov [Thu, 15 Oct 2015 12:14:49 +0000 (13:14 +0100)]
128 bit integers are not very portable.

9 years agoUse cryptobox chacha for libottery.
Vsevolod Stakhov [Thu, 15 Oct 2015 11:38:41 +0000 (12:38 +0100)]
Use cryptobox chacha for libottery.

9 years agoMore fixes to libottery.
Vsevolod Stakhov [Thu, 15 Oct 2015 10:46:21 +0000 (11:46 +0100)]
More fixes to libottery.

9 years agoAnother try to fix macro.
Vsevolod Stakhov [Thu, 15 Oct 2015 10:44:59 +0000 (11:44 +0100)]
Another try to fix macro.

9 years agoAnother GCCism.
Vsevolod Stakhov [Thu, 15 Oct 2015 10:43:57 +0000 (11:43 +0100)]
Another GCCism.

9 years agoFix some portability issues.
Vsevolod Stakhov [Thu, 15 Oct 2015 10:28:41 +0000 (11:28 +0100)]
Fix some portability issues.

9 years agoFix broken '_SC_GETPW_R_SIZE_MAX' on FreeBSD
Vsevolod Stakhov [Wed, 14 Oct 2015 21:00:47 +0000 (22:00 +0100)]
Fix broken '_SC_GETPW_R_SIZE_MAX' on FreeBSD

9 years agoMerge pull request #398 from fatalbanana/master
Vsevolod Stakhov [Wed, 14 Oct 2015 20:56:25 +0000 (21:56 +0100)]
Merge pull request #398 from fatalbanana/master

Fix path to rspamadm in Debian init script

9 years agoFix path to rspamadm in Debian init script 398/head
Andrew Lewis [Wed, 14 Oct 2015 20:48:41 +0000 (22:48 +0200)]
Fix path to rspamadm in Debian init script

9 years agoMerge pull request #397 from fatalbanana/master
Vsevolod Stakhov [Wed, 14 Oct 2015 18:48:29 +0000 (19:48 +0100)]
Merge pull request #397 from fatalbanana/master

Update CentOS7 service file patch

9 years agoUpdate CentOS7 service file patch 397/head
Andrew Lewis [Wed, 14 Oct 2015 18:44:10 +0000 (20:44 +0200)]
Update CentOS7 service file patch

9 years agoFix build on i386.
Vsevolod Stakhov [Wed, 14 Oct 2015 16:20:54 +0000 (17:20 +0100)]
Fix build on i386.

9 years agoUpdate version to 1.0.6
Vsevolod Stakhov [Wed, 14 Oct 2015 16:03:23 +0000 (17:03 +0100)]
Update version to 1.0.6

9 years agoFix broken link.
Vsevolod Stakhov [Wed, 14 Oct 2015 15:56:43 +0000 (16:56 +0100)]
Fix broken link.

9 years agoRelease 1.0.5 1.0.5
Vsevolod Stakhov [Wed, 14 Oct 2015 15:48:29 +0000 (16:48 +0100)]
Release 1.0.5

* Add rspamd control interface:
- support `stat` command to get runtime stats of rspamd workers
- support `reload` command to reload runtime elements (e.g. sqlite3 databases)
* Rework curve25519 library for modular design:
- add Sandy2x implementation by Tung Chou
- fix CPU detection for variables loading assembly
- add testing for curve25519 ECDH
* New fixed strings library
* Add `R_SUSPICIOUS_IMAGES` rule
* Enable mmap in sqlite3
* Use new strings in the HTTP code
* Improve google perftools invocation
* Improve performance profiling in http test
* Reorganize includes to reduce namespace pollution
* Allow specific sections printing in configdump command
* Rework workers signals handlers to be chained if needed
* Update socketpair utility function
* Add control_path option for rspamd control protocol
* Fix ownership when listening on UNIX sockets
* Rework signals processing in main
* Remove extra tools from rspamd (they live in rspamadm now)
* Remove global rspamd_main
* Add global timeout for the overall task processing (8 seconds by default)
* Sanitize NULL values for fuzzy backend
* Store NM between encrypt/decrypt
* Add textpart:get_words_count method
* Fix generic DNS request in lua
* Tune hfilter weights
* Add support of IPv6 in hfilter
* Fix parsing of HTTP headers with IP addresses
* Sync with the recent libucl
* Various minor bugfixes

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoSet default task_timeout explicitly.
Vsevolod Stakhov [Wed, 14 Oct 2015 15:47:48 +0000 (16:47 +0100)]
Set default task_timeout explicitly.

9 years agoUpdate documentation.
Vsevolod Stakhov [Wed, 14 Oct 2015 15:47:36 +0000 (16:47 +0100)]
Update documentation.

9 years agoUpdate manpages.
Vsevolod Stakhov [Wed, 14 Oct 2015 15:42:12 +0000 (16:42 +0100)]
Update manpages.

9 years agoImprove signals output
Vsevolod Stakhov [Wed, 14 Oct 2015 15:17:42 +0000 (16:17 +0100)]
Improve signals output

9 years agoAdd total statistics
Vsevolod Stakhov [Wed, 14 Oct 2015 15:09:37 +0000 (16:09 +0100)]
Add total statistics

9 years agoFix rc scripts
Vsevolod Stakhov [Wed, 14 Oct 2015 13:51:22 +0000 (14:51 +0100)]
Fix rc scripts

9 years agoPrint unix socket address when accepting connections
Vsevolod Stakhov [Wed, 14 Oct 2015 13:35:52 +0000 (14:35 +0100)]
Print unix socket address when accepting connections

9 years agoEnable control socket by default
Vsevolod Stakhov [Wed, 14 Oct 2015 12:58:44 +0000 (13:58 +0100)]
Enable control socket by default

9 years agoFix headers parsing.
Vsevolod Stakhov [Wed, 14 Oct 2015 12:57:26 +0000 (13:57 +0100)]
Fix headers parsing.

9 years agoSync with libucl.
Vsevolod Stakhov [Tue, 13 Oct 2015 16:05:19 +0000 (17:05 +0100)]
Sync with libucl.

9 years agoFix handling of custom commands.
Vsevolod Stakhov [Tue, 13 Oct 2015 16:03:33 +0000 (17:03 +0100)]
Fix handling of custom commands.

9 years agoImplement function to convert fixed string to C string
Vsevolod Stakhov [Tue, 13 Oct 2015 16:03:04 +0000 (17:03 +0100)]
Implement function to convert fixed string to C string

9 years agoFix comparision in hfilter
Vsevolod Stakhov [Tue, 13 Oct 2015 15:05:36 +0000 (16:05 +0100)]
Fix comparision in hfilter

9 years agoFix parsing of HTTP headers with IP addresses
Vsevolod Stakhov [Tue, 13 Oct 2015 15:05:22 +0000 (16:05 +0100)]
Fix parsing of HTTP headers with IP addresses

9 years agoFix parsing of fixed length IP addresses.
Vsevolod Stakhov [Tue, 13 Oct 2015 14:17:45 +0000 (15:17 +0100)]
Fix parsing of fixed length IP addresses.

9 years agoCheck ipv6 in hfilter.
Vsevolod Stakhov [Tue, 13 Oct 2015 12:47:53 +0000 (13:47 +0100)]
Check ipv6 in hfilter.

9 years agoFurther reducing of hfilter weights.
Vsevolod Stakhov [Tue, 13 Oct 2015 12:47:44 +0000 (13:47 +0100)]
Further reducing of hfilter weights.

9 years agoFix generic DNS request in lua.
Vsevolod Stakhov [Tue, 13 Oct 2015 12:46:30 +0000 (13:46 +0100)]
Fix generic DNS request in lua.

9 years agoAdd `R_SUSPICIOUS_IMAGES` rule.
Vsevolod Stakhov [Tue, 13 Oct 2015 11:51:23 +0000 (12:51 +0100)]
Add `R_SUSPICIOUS_IMAGES` rule.

9 years agoAdd textpart:get_words_count method
Vsevolod Stakhov [Tue, 13 Oct 2015 11:26:29 +0000 (12:26 +0100)]
Add textpart:get_words_count method

9 years agoStore NM between encrypt/decrypt.
Vsevolod Stakhov [Tue, 13 Oct 2015 11:26:01 +0000 (12:26 +0100)]
Store NM between encrypt/decrypt.

9 years agoImplement reload command for fuzzy storage
Vsevolod Stakhov [Tue, 13 Oct 2015 08:30:23 +0000 (09:30 +0100)]
Implement reload command for fuzzy storage

9 years agoAdd missing <event.h> include
Vsevolod Stakhov [Tue, 13 Oct 2015 08:30:09 +0000 (09:30 +0100)]
Add missing <event.h> include

9 years agoSanitize NULL values for fuzzy backend.
Vsevolod Stakhov [Tue, 13 Oct 2015 08:26:40 +0000 (09:26 +0100)]
Sanitize NULL values for fuzzy backend.

9 years agoAdd global timeout for the overall task processing (8 seconds by default)
Vsevolod Stakhov [Mon, 12 Oct 2015 17:42:32 +0000 (18:42 +0100)]
Add global timeout for the overall task processing (8 seconds by default)

9 years agoAdd testing for curve25519 ECDH.
Vsevolod Stakhov [Mon, 12 Oct 2015 15:18:22 +0000 (16:18 +0100)]
Add testing for curve25519 ECDH.

9 years agoAdd Sandy2x implementation by Tung Chou for curve25519
Vsevolod Stakhov [Mon, 12 Oct 2015 14:24:31 +0000 (15:24 +0100)]
Add Sandy2x implementation by Tung Chou for curve25519

9 years agoFix CPU detection for variables loading assembly.
Vsevolod Stakhov [Mon, 12 Oct 2015 14:24:02 +0000 (15:24 +0100)]
Fix CPU detection for variables loading assembly.

9 years agoRework curve25519 library for modular design.
Vsevolod Stakhov [Mon, 12 Oct 2015 12:57:28 +0000 (13:57 +0100)]
Rework curve25519 library for modular design.

9 years agoFix HTTP reply status.
Vsevolod Stakhov [Mon, 12 Oct 2015 12:02:40 +0000 (13:02 +0100)]
Fix HTTP reply status.

9 years agoFix NULL fixed strings printing.
Vsevolod Stakhov [Mon, 12 Oct 2015 11:40:46 +0000 (12:40 +0100)]
Fix NULL fixed strings printing.

9 years agoImplement connections counters
Vsevolod Stakhov [Mon, 12 Oct 2015 11:19:14 +0000 (12:19 +0100)]
Implement connections counters

9 years agoImplement basic stats support.
Vsevolod Stakhov [Mon, 12 Oct 2015 11:13:16 +0000 (12:13 +0100)]
Implement basic stats support.

9 years agoHandle stats command.
Vsevolod Stakhov [Mon, 12 Oct 2015 10:49:50 +0000 (11:49 +0100)]
Handle stats command.

9 years agoAdd preliminary support for control protocol client.
Vsevolod Stakhov [Mon, 12 Oct 2015 09:11:55 +0000 (10:11 +0100)]
Add preliminary support for control protocol client.