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

9 years agoFix workers.
Vsevolod Stakhov [Tue, 6 Oct 2015 15:45:47 +0000 (16:45 +0100)]
Fix workers.

9 years agoFix plugins.
Vsevolod Stakhov [Tue, 6 Oct 2015 15:38:48 +0000 (16:38 +0100)]
Fix plugins.

9 years agoFix other mime library modules.
Vsevolod Stakhov [Tue, 6 Oct 2015 15:30:52 +0000 (16:30 +0100)]
Fix other mime library modules.

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

9 years agoFix statistics.
Vsevolod Stakhov [Tue, 6 Oct 2015 15:14:29 +0000 (16:14 +0100)]
Fix statistics.

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

9 years agoAdd pool token dup utility.
Vsevolod Stakhov [Tue, 6 Oct 2015 15:02:32 +0000 (16:02 +0100)]
Add pool token dup utility.

9 years agoFix dkim code.
Vsevolod Stakhov [Tue, 6 Oct 2015 14:56:30 +0000 (15:56 +0100)]
Fix dkim code.

9 years agoFix buffers code.
Vsevolod Stakhov [Tue, 6 Oct 2015 14:55:24 +0000 (15:55 +0100)]
Fix buffers code.

9 years agoStart miration to the new strings.
Vsevolod Stakhov [Tue, 6 Oct 2015 14:41:16 +0000 (15:41 +0100)]
Start miration to the new strings.

9 years agoStart new fixed strings library.
Vsevolod Stakhov [Tue, 6 Oct 2015 14:24:32 +0000 (15:24 +0100)]
Start new fixed strings library.

9 years agoEnable mmap in sqlite3.
Vsevolod Stakhov [Mon, 5 Oct 2015 17:58:13 +0000 (18:58 +0100)]
Enable mmap in sqlite3.

9 years agoUpdate version.
Vsevolod Stakhov [Mon, 5 Oct 2015 16:20:23 +0000 (17:20 +0100)]
Update version.

9 years agoRelease 1.0.4 1.0.4
Vsevolod Stakhov [Mon, 5 Oct 2015 14:10:52 +0000 (15:10 +0100)]
Release 1.0.4

* Add configdump routine to rspamadm
* Implement retransmits for fuzzy_check plugin
* Fix events processing for learning anf checking fuzzy hashes
* Avoid dependency on unneeded and uncompatible glib include
* Add `historyreset` command to the controller
* Fix loading of tokenizer config from dump (#389)
* Add sorting hints for the history
* Allow custom lua scripts for users/languages extraction (#388)
* Do not add FORGED_RECIPIENTS when 'To' is missing (#387)
* Do not add R_UNDISC_RCPT when 'To' is missing (#387)
* Add encryption to fuzzy check plugin
* Add encryption for fuzzy storage
* Add new epoch for encrypted fuzzy request
* Add encryption for `rspamd.com` storage
* Remove gmime processing for LDA mode as it is deadly broken
* Add routine to find end of headers position in mime messages
* Fix LDA headers folding
* Init libraries in rspamc client as well to avoid locale issues
* Avoid collision with locally installed includes
* Allocate and free memory with the same allocator in rspamadm (#385)
* Preserve expired fuzzy hashes counter
* Improvements in webui:
- Add favicon.ico
- Rework history table
- Fix sorting for the history
- Migrate to bootstrap 3 and jquery 2
- Fix css bugs
- Add glyphicons
- Add reset history
- Improve history buttons
- Redraw graph to avoid display issues
- Webui is now MIT licensed to match licensing policy of rspamd

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoUpdate copyright notices.
Vsevolod Stakhov [Mon, 5 Oct 2015 13:52:59 +0000 (14:52 +0100)]
Update copyright notices.

9 years agoCatch up interface changes.
Vsevolod Stakhov [Mon, 5 Oct 2015 13:17:21 +0000 (14:17 +0100)]
Catch up interface changes.

9 years agoTry to fix fuzzy learning states (not fully completed).
Vsevolod Stakhov [Mon, 5 Oct 2015 12:50:51 +0000 (13:50 +0100)]
Try to fix fuzzy learning states (not fully completed).

9 years agoUpdate manpage.
Vsevolod Stakhov [Mon, 5 Oct 2015 11:40:12 +0000 (12:40 +0100)]
Update manpage.

9 years agoAdd configdump routine.
Vsevolod Stakhov [Mon, 5 Oct 2015 11:38:44 +0000 (12:38 +0100)]
Add configdump routine.

9 years agoImplement retransmits for fuzzy_check plugin.
Vsevolod Stakhov [Mon, 5 Oct 2015 11:08:32 +0000 (12:08 +0100)]
Implement retransmits for fuzzy_check plugin.

9 years agoUpdate webui.
Vsevolod Stakhov [Sun, 4 Oct 2015 19:55:34 +0000 (20:55 +0100)]
Update webui.

9 years agoFix dirent include.
Vsevolod Stakhov [Sat, 3 Oct 2015 15:09:58 +0000 (16:09 +0100)]
Fix dirent include.

9 years agoAvoid dependency on unneeded and uncompatible glib include.
Vsevolod Stakhov [Sat, 3 Oct 2015 15:03:12 +0000 (16:03 +0100)]
Avoid dependency on unneeded and uncompatible glib include.

9 years agoUpdate interface.
Vsevolod Stakhov [Sat, 3 Oct 2015 13:21:49 +0000 (14:21 +0100)]
Update interface.

9 years agoAdd '/historyreset' command.
Vsevolod Stakhov [Sat, 3 Oct 2015 13:20:55 +0000 (14:20 +0100)]
Add '/historyreset' command.

9 years agoFix loading of tokenizer config from dump.
Vsevolod Stakhov [Sat, 3 Oct 2015 13:05:27 +0000 (14:05 +0100)]
Fix loading of tokenizer config from dump.

Issue: #389

9 years agoUpdate webui.
Vsevolod Stakhov [Fri, 2 Oct 2015 15:54:02 +0000 (16:54 +0100)]
Update webui.

9 years agoAdd sorting hints for the history.
Vsevolod Stakhov [Fri, 2 Oct 2015 13:42:40 +0000 (14:42 +0100)]
Add sorting hints for the history.

9 years agoAllow custom lua scripts for users/languages extraction.
Vsevolod Stakhov [Fri, 2 Oct 2015 12:23:03 +0000 (13:23 +0100)]
Allow custom lua scripts for users/languages extraction.

Issue: #388

9 years agoDo not use relative path for linkage.
Vsevolod Stakhov [Fri, 2 Oct 2015 11:30:39 +0000 (12:30 +0100)]
Do not use relative path for linkage.

Issue: #386

9 years agoDo not add FORGED_RECIPIENTS when 'To' is missing.
Vsevolod Stakhov [Thu, 1 Oct 2015 21:20:15 +0000 (22:20 +0100)]
Do not add FORGED_RECIPIENTS when 'To' is missing.

Issue: #387

9 years agoDo not add R_UNDISC_RCPT when 'To' is missing.
Vsevolod Stakhov [Thu, 1 Oct 2015 21:19:10 +0000 (22:19 +0100)]
Do not add R_UNDISC_RCPT when 'To' is missing.

Issue: #387

9 years agoAdd key for rspamd.com fuzzy storage.
Vsevolod Stakhov [Thu, 1 Oct 2015 13:23:15 +0000 (14:23 +0100)]
Add key for rspamd.com fuzzy storage.

9 years agoDo not try to decrypt when no local key defined.
Vsevolod Stakhov [Thu, 1 Oct 2015 12:56:30 +0000 (13:56 +0100)]
Do not try to decrypt when no local key defined.

9 years agoSet the correct epoch for encrypted requests.
Vsevolod Stakhov [Wed, 30 Sep 2015 17:39:48 +0000 (18:39 +0100)]
Set the correct epoch for encrypted requests.

9 years agoFix events calculations.
Vsevolod Stakhov [Wed, 30 Sep 2015 17:13:23 +0000 (18:13 +0100)]
Fix events calculations.

9 years agoAdd encryption to fuzzy check plugin.
Vsevolod Stakhov [Wed, 30 Sep 2015 16:47:29 +0000 (17:47 +0100)]
Add encryption to fuzzy check plugin.

9 years agoRemove gmime processing for LDA mode as it is deadly broken.
Vsevolod Stakhov [Wed, 30 Sep 2015 14:58:02 +0000 (15:58 +0100)]
Remove gmime processing for LDA mode as it is deadly broken.

9 years agoAdd routine to find end of headers position in mime messages.
Vsevolod Stakhov [Wed, 30 Sep 2015 14:57:58 +0000 (15:57 +0100)]
Add routine to find end of headers position in mime messages.

9 years agoInit libraries in rspamc client as well.
Vsevolod Stakhov [Wed, 30 Sep 2015 13:41:08 +0000 (14:41 +0100)]
Init libraries in rspamc client as well.