]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoAnother bug in format string
Vsevolod Stakhov [Wed, 21 Oct 2015 16:19:29 +0000 (17:19 +0100)]
Another bug in format string

9 years agoFix csv issues.
Vsevolod Stakhov [Wed, 21 Oct 2015 13:16:58 +0000 (14:16 +0100)]
Fix csv issues.

9 years agoAdd CSV output for http-bench
Vsevolod Stakhov [Wed, 21 Oct 2015 12:55:43 +0000 (13:55 +0100)]
Add CSV output for http-bench

9 years agoAllow static key for a server
Vsevolod Stakhov [Wed, 21 Oct 2015 12:42:41 +0000 (13:42 +0100)]
Allow static key for a server

9 years agoAdditional issues with static build.
Vsevolod Stakhov [Wed, 21 Oct 2015 12:17:34 +0000 (13:17 +0100)]
Additional issues with static build.

9 years agoMore fixes to the static build
Vsevolod Stakhov [Wed, 21 Oct 2015 12:05:10 +0000 (13:05 +0100)]
More fixes to the static build

9 years agoAdd special hacks to allow static build.
Vsevolod Stakhov [Wed, 21 Oct 2015 11:57:12 +0000 (12:57 +0100)]
Add special hacks to allow static build.

9 years agoFix multiple sigchld processing
Vsevolod Stakhov [Tue, 20 Oct 2015 22:31:28 +0000 (23:31 +0100)]
Fix multiple sigchld processing

9 years agoRework test framework to use timeout instead of tests number
Vsevolod Stakhov [Tue, 20 Oct 2015 18:10:19 +0000 (19:10 +0100)]
Rework test framework to use timeout instead of tests number

9 years agoAllow writing latencies to a separate file
Vsevolod Stakhov [Tue, 20 Oct 2015 16:32:02 +0000 (17:32 +0100)]
Allow writing latencies to a separate file

9 years agoFix variable in command line options
Vsevolod Stakhov [Tue, 20 Oct 2015 15:55:10 +0000 (16:55 +0100)]
Fix variable in command line options

9 years agoRework benchmark to processes from threads
Vsevolod Stakhov [Tue, 20 Oct 2015 15:30:14 +0000 (16:30 +0100)]
Rework benchmark to processes from threads

9 years agoImplement batch accept in server.
Vsevolod Stakhov [Tue, 20 Oct 2015 14:24:51 +0000 (15:24 +0100)]
Implement batch accept in server.

9 years agoImplement benchmark.
Vsevolod Stakhov [Tue, 20 Oct 2015 14:04:53 +0000 (15:04 +0100)]
Implement benchmark.

9 years agoFix memory allocation in http test
Vsevolod Stakhov [Tue, 20 Oct 2015 12:47:49 +0000 (13:47 +0100)]
Fix memory allocation in http test

9 years agoFix benchmarking server
Vsevolod Stakhov [Tue, 20 Oct 2015 10:47:41 +0000 (11:47 +0100)]
Fix benchmarking server

9 years agoAdd a simple http server for benchmarks
Vsevolod Stakhov [Tue, 20 Oct 2015 09:10:35 +0000 (10:10 +0100)]
Add a simple http server for benchmarks

9 years agoImprove symbols cache time counters
Vsevolod Stakhov [Tue, 20 Oct 2015 08:11:36 +0000 (09:11 +0100)]
Improve symbols cache time counters

9 years agoUpdate manual page.
Vsevolod Stakhov [Mon, 19 Oct 2015 18:07:00 +0000 (19:07 +0100)]
Update manual page.

9 years agoAdd ability to sort counters output.
Vsevolod Stakhov [Mon, 19 Oct 2015 18:04:29 +0000 (19:04 +0100)]
Add ability to sort counters output.

9 years agoFix parsing of the last header in encrypted HTTP messages
Vsevolod Stakhov [Mon, 19 Oct 2015 18:02:59 +0000 (19:02 +0100)]
Fix parsing of the last header in encrypted HTTP messages

9 years agoMerge from libucl.
Vsevolod Stakhov [Mon, 19 Oct 2015 17:53:39 +0000 (18:53 +0100)]
Merge from libucl.

9 years agoFix headers arguments.
Vsevolod Stakhov [Mon, 19 Oct 2015 17:44:30 +0000 (18:44 +0100)]
Fix headers arguments.

9 years agoAdd ability to specify custom headers for rspamc client
Vsevolod Stakhov [Mon, 19 Oct 2015 16:16:21 +0000 (17:16 +0100)]
Add ability to specify custom headers for rspamc client

9 years agoFix parsing of headers
Vsevolod Stakhov [Mon, 19 Oct 2015 16:13:33 +0000 (17:13 +0100)]
Fix parsing of headers

9 years agoAdd module to get data from HTTP headers
Vsevolod Stakhov [Mon, 19 Oct 2015 15:59:08 +0000 (16:59 +0100)]
Add module to get data from HTTP headers

Issue: #285
Reported by: @msimerson

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.