]> source.dussan.org Git - rspamd.git/log
rspamd.git
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.

9 years agoImplement reply writing for control socket.
Vsevolod Stakhov [Mon, 12 Oct 2015 08:17:03 +0000 (09:17 +0100)]
Implement reply writing for control socket.

9 years agoBroadcast control command to workers.
Vsevolod Stakhov [Sun, 11 Oct 2015 20:07:07 +0000 (21:07 +0100)]
Broadcast control command to workers.

9 years agoStart control interface implementation.
Vsevolod Stakhov [Sat, 10 Oct 2015 13:20:14 +0000 (14:20 +0100)]
Start control interface implementation.

9 years agoUpdate includes.
Vsevolod Stakhov [Fri, 9 Oct 2015 20:57:27 +0000 (21:57 +0100)]
Update includes.

9 years agoRemove global rspamd_main.
Vsevolod Stakhov [Fri, 9 Oct 2015 16:35:44 +0000 (17:35 +0100)]
Remove global rspamd_main.

9 years agoMove forking of worker to worker_util.
Vsevolod Stakhov [Fri, 9 Oct 2015 16:16:01 +0000 (17:16 +0100)]
Move forking of worker to worker_util.

9 years agoHandle controller socket.
Vsevolod Stakhov [Fri, 9 Oct 2015 15:53:26 +0000 (16:53 +0100)]
Handle controller socket.

9 years agoRework delayed fork.
Vsevolod Stakhov [Fri, 9 Oct 2015 15:17:12 +0000 (16:17 +0100)]
Rework delayed fork.

9 years agoRework delayed termination.
Vsevolod Stakhov [Fri, 9 Oct 2015 14:46:21 +0000 (15:46 +0100)]
Rework delayed termination.

9 years agoRemove extra tools from rspamd (they live in rspamadm now).
Vsevolod Stakhov [Fri, 9 Oct 2015 14:34:10 +0000 (15:34 +0100)]
Remove extra tools from rspamd (they live in rspamadm now).

9 years agoRework signals processing in main.
Vsevolod Stakhov [Fri, 9 Oct 2015 13:46:04 +0000 (14:46 +0100)]
Rework signals processing in main.

9 years agoFix ownership when listening on UNIX sockets.
Vsevolod Stakhov [Fri, 9 Oct 2015 12:02:37 +0000 (13:02 +0100)]
Fix ownership when listening on UNIX sockets.

9 years agoHandle SIGIO/SIGPOLL.
Vsevolod Stakhov [Thu, 8 Oct 2015 17:51:12 +0000 (18:51 +0100)]
Handle SIGIO/SIGPOLL.

9 years agoAdd control_path option.
Vsevolod Stakhov [Thu, 8 Oct 2015 17:50:58 +0000 (18:50 +0100)]
Add control_path option.

9 years agoCheck for async IO support.
Vsevolod Stakhov [Thu, 8 Oct 2015 17:50:39 +0000 (18:50 +0100)]
Check for async IO support.

9 years agoUpdate socketpair utility function.
Vsevolod Stakhov [Thu, 8 Oct 2015 16:22:37 +0000 (17:22 +0100)]
Update socketpair utility function.

9 years agoUpdate socketpair utility function.
Vsevolod Stakhov [Thu, 8 Oct 2015 16:22:30 +0000 (17:22 +0100)]
Update socketpair utility function.

9 years agoCheck for SOCK_SEQPACKET definition.
Vsevolod Stakhov [Thu, 8 Oct 2015 15:56:50 +0000 (16:56 +0100)]
Check for SOCK_SEQPACKET definition.

9 years agoRework workers signals handlers to be nested if needed.
Vsevolod Stakhov [Thu, 8 Oct 2015 15:38:29 +0000 (16:38 +0100)]
Rework workers signals handlers to be nested if needed.

9 years agoAllow opening of fuzzy storage with no vacuum.
Vsevolod Stakhov [Thu, 8 Oct 2015 15:36:02 +0000 (16:36 +0100)]
Allow opening of fuzzy storage with no vacuum.

9 years agoAllow specific sections printing in configdump command.
Vsevolod Stakhov [Thu, 8 Oct 2015 14:04:57 +0000 (15:04 +0100)]
Allow specific sections printing in configdump command.

9 years agoUse const ucl_object_t for dump.
Vsevolod Stakhov [Thu, 8 Oct 2015 13:29:56 +0000 (14:29 +0100)]
Use const ucl_object_t for dump.

9 years agoFix decrypt results checking.
Vsevolod Stakhov [Thu, 8 Oct 2015 13:29:40 +0000 (14:29 +0100)]
Fix decrypt results checking.

9 years agoReorganize includes to reduce namespace pollution.
Vsevolod Stakhov [Thu, 8 Oct 2015 12:15:15 +0000 (13:15 +0100)]
Reorganize includes to reduce namespace pollution.

9 years agoImprove performance profiling in http test.
Vsevolod Stakhov [Wed, 7 Oct 2015 22:16:39 +0000 (23:16 +0100)]
Improve performance profiling in http test.

9 years agoImprove google perftools invocation.
Vsevolod Stakhov [Wed, 7 Oct 2015 21:23:40 +0000 (22:23 +0100)]
Improve google perftools invocation.

9 years agoFix http test.
Vsevolod Stakhov [Wed, 7 Oct 2015 17:08:55 +0000 (18:08 +0100)]
Fix http test.

9 years agoMore fixes to url.
Vsevolod Stakhov [Wed, 7 Oct 2015 17:04:49 +0000 (18:04 +0100)]
More fixes to url.

9 years agoFix stupid misprint.
Vsevolod Stakhov [Wed, 7 Oct 2015 16:45:01 +0000 (17:45 +0100)]
Fix stupid misprint.

9 years agoMerge pull request #395 from skibbipl/patch-1
Vsevolod Stakhov [Wed, 7 Oct 2015 16:18:37 +0000 (17:18 +0100)]
Merge pull request #395 from skibbipl/patch-1

Allow enabling rspamd during boot in systemd

9 years agoMerge branch 'http-fstr'
Vsevolod Stakhov [Wed, 7 Oct 2015 16:17:25 +0000 (17:17 +0100)]
Merge branch 'http-fstr'