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

9 years agoFix scan file functional test.
Vsevolod Stakhov [Wed, 7 Oct 2015 16:17:02 +0000 (17:17 +0100)]
Fix scan file functional test.

9 years agoFix parsing of query arguments.
Vsevolod Stakhov [Wed, 7 Oct 2015 16:16:53 +0000 (17:16 +0100)]
Fix parsing of query arguments.

9 years agoFix encryption in controller.
Vsevolod Stakhov [Wed, 7 Oct 2015 16:00:06 +0000 (17:00 +0100)]
Fix encryption in controller.

9 years agoFix encryption in client.
Vsevolod Stakhov [Wed, 7 Oct 2015 15:57:04 +0000 (16:57 +0100)]
Fix encryption in client.

9 years agoFix encryption in HTTP.
Vsevolod Stakhov [Wed, 7 Oct 2015 15:56:02 +0000 (16:56 +0100)]
Fix encryption in HTTP.

9 years agoFix headers operation in lua_task.
Vsevolod Stakhov [Wed, 7 Oct 2015 15:38:12 +0000 (16:38 +0100)]
Fix headers operation in lua_task.

9 years agoFix issues in http code.
Vsevolod Stakhov [Wed, 7 Oct 2015 15:30:20 +0000 (16:30 +0100)]
Fix issues in http code.

9 years agoFix more client issues.
Vsevolod Stakhov [Wed, 7 Oct 2015 15:15:34 +0000 (16:15 +0100)]
Fix more client issues.

9 years agoFix comparision method.
Vsevolod Stakhov [Wed, 7 Oct 2015 15:15:22 +0000 (16:15 +0100)]
Fix comparision method.

9 years agoFix client.
Vsevolod Stakhov [Wed, 7 Oct 2015 15:01:40 +0000 (16:01 +0100)]
Fix client.

9 years agoFix the code for updated strings in HTTP library.
Vsevolod Stakhov [Wed, 7 Oct 2015 14:58:57 +0000 (15:58 +0100)]
Fix the code for updated strings in HTTP library.

9 years agoAllow enabling rspamd during boot 395/head
Skibbi [Wed, 7 Oct 2015 13:39:49 +0000 (15:39 +0200)]
Allow enabling rspamd during boot

Currently it's not possible to enable rspamd during boot.

9 years agoFix protocols processing.
Vsevolod Stakhov [Wed, 7 Oct 2015 13:28:53 +0000 (14:28 +0100)]
Fix protocols processing.

9 years agoFix a couple of issues.
Vsevolod Stakhov [Wed, 7 Oct 2015 13:25:53 +0000 (14:25 +0100)]
Fix a couple of issues.

9 years agoAdd emitting of ucl object to rspamd_fstring_t.
Vsevolod Stakhov [Wed, 7 Oct 2015 13:24:15 +0000 (14:24 +0100)]
Add emitting of ucl object to rspamd_fstring_t.

9 years agoFix lua_http.
Vsevolod Stakhov [Wed, 7 Oct 2015 12:25:49 +0000 (13:25 +0100)]
Fix lua_http.

9 years agoRework HTTP code to rspamd_fstring_t.
Vsevolod Stakhov [Wed, 7 Oct 2015 12:18:01 +0000 (13:18 +0100)]
Rework HTTP code to rspamd_fstring_t.

9 years agoUse rspamd_lc_cmp for fixed strings comparisions.
Vsevolod Stakhov [Wed, 7 Oct 2015 12:10:37 +0000 (13:10 +0100)]
Use rspamd_lc_cmp for fixed strings comparisions.

9 years agoAdd routine to free fstring mapped ftoks.
Vsevolod Stakhov [Wed, 7 Oct 2015 12:10:17 +0000 (13:10 +0100)]
Add routine to free fstring mapped ftoks.

9 years agoGeneralize lowercase comparision.
Vsevolod Stakhov [Wed, 7 Oct 2015 11:26:38 +0000 (12:26 +0100)]
Generalize lowercase comparision.

9 years agoAdd tokens comparision routines.
Vsevolod Stakhov [Wed, 7 Oct 2015 11:24:07 +0000 (12:24 +0100)]
Add tokens comparision routines.

9 years agoSkip NULL fstrings and gstrings on printing.
Vsevolod Stakhov [Wed, 7 Oct 2015 10:59:56 +0000 (11:59 +0100)]
Skip NULL fstrings and gstrings on printing.

9 years agoAdd fixed strings assigning utility function.
Vsevolod Stakhov [Wed, 7 Oct 2015 10:44:15 +0000 (11:44 +0100)]
Add fixed strings assigning utility function.

9 years agoAdd fixed strings comparision routines.
Vsevolod Stakhov [Wed, 7 Oct 2015 10:19:00 +0000 (11:19 +0100)]
Add fixed strings comparision routines.

9 years agoMerge branch 'strings-rework'
Vsevolod Stakhov [Tue, 6 Oct 2015 16:45:28 +0000 (17:45 +0100)]
Merge branch 'strings-rework'

9 years agoFix tests.
Vsevolod Stakhov [Tue, 6 Oct 2015 16:15:04 +0000 (17:15 +0100)]
Fix tests.

9 years agoAdd printing to rspamd_fstring_t.
Vsevolod Stakhov [Tue, 6 Oct 2015 16:11:56 +0000 (17:11 +0100)]
Add printing to rspamd_fstring_t.

9 years agoFix printing of fixed strings.
Vsevolod Stakhov [Tue, 6 Oct 2015 15:51:51 +0000 (16:51 +0100)]
Fix printing of fixed strings.

9 years agoAdd %T for printing rspamd_ftok_t
Vsevolod Stakhov [Tue, 6 Oct 2015 15:51:35 +0000 (16:51 +0100)]
Add %T for printing rspamd_ftok_t