]> source.dussan.org Git - rspamd.git/log
rspamd.git
10 years agoHfilter: Add new metrics 72/head
Alexey [Sat, 17 May 2014 09:49:17 +0000 (02:49 -0700)]
Hfilter: Add new metrics

10 years agoHfilter: Update and fix
Alexey [Sat, 17 May 2014 09:47:57 +0000 (02:47 -0700)]
Hfilter: Update and fix

- Added checks for message-id host
- small fixes

10 years agoMerge pull request #71 from wiedi/master
Vsevolod Stakhov [Thu, 15 May 2014 02:27:59 +0000 (22:27 -0400)]
Merge pull request #71 from wiedi/master

Help CMake find Lua on pkgsrc systems

10 years agoHelp CMake find Lua on pkgsrc systems 71/head
Sebastian Wiedenroth [Wed, 14 May 2014 16:18:18 +0000 (18:18 +0200)]
Help CMake find Lua on pkgsrc systems

10 years agoSome fixes for OpenBSD.
Vsevolod Stakhov [Tue, 13 May 2014 14:08:05 +0000 (15:08 +0100)]
Some fixes for OpenBSD.

10 years agoFix SIGHUP endless loop.
Vsevolod Stakhov [Tue, 13 May 2014 13:41:51 +0000 (14:41 +0100)]
Fix SIGHUP endless loop.

10 years agoFix issue in task processing.
Vsevolod Stakhov [Mon, 12 May 2014 13:52:39 +0000 (14:52 +0100)]
Fix issue in task processing.

10 years agoImprove logging for fuzzy process errors.
Vsevolod Stakhov [Mon, 12 May 2014 13:51:58 +0000 (14:51 +0100)]
Improve logging for fuzzy process errors.

10 years agoAvoid useless memset.
Vsevolod Stakhov [Sun, 11 May 2014 21:31:29 +0000 (22:31 +0100)]
Avoid useless memset.

10 years agoRemove unused global.
Vsevolod Stakhov [Mon, 5 May 2014 10:57:27 +0000 (11:57 +0100)]
Remove unused global.

10 years agoFix addresses comparision on SPF module.
Vsevolod Stakhov [Sun, 4 May 2014 22:36:14 +0000 (15:36 -0700)]
Fix addresses comparision on SPF module.

10 years agoUse any valid SPF record.
Vsevolod Stakhov [Sun, 4 May 2014 22:29:17 +0000 (15:29 -0700)]
Use any valid SPF record.

10 years agoFix enable_password checking.
Vsevolod Stakhov [Sat, 3 May 2014 20:53:56 +0000 (21:53 +0100)]
Fix enable_password checking.

10 years agoFix actions output in 'stat' command.
Vsevolod Stakhov [Fri, 2 May 2014 14:27:18 +0000 (15:27 +0100)]
Fix actions output in 'stat' command.

10 years agoWrite to stat after scanning.
Vsevolod Stakhov [Fri, 2 May 2014 14:12:07 +0000 (15:12 +0100)]
Write to stat after scanning.

10 years agoMake socket errors non fatal.
Vsevolod Stakhov [Fri, 2 May 2014 13:53:07 +0000 (14:53 +0100)]
Make socket errors non fatal.

If it is impossible to create all sockets from a list of addrinfo treat
it as success if any of sockets have been created.

10 years agoHandle default index append.
Vsevolod Stakhov [Fri, 2 May 2014 12:13:05 +0000 (13:13 +0100)]
Handle default index append.

10 years agoServe files in subdirs.
Vsevolod Stakhov [Fri, 2 May 2014 12:08:47 +0000 (13:08 +0100)]
Serve files in subdirs.

10 years agoFix dirname(3) usage.
Vsevolod Stakhov [Fri, 2 May 2014 11:59:29 +0000 (12:59 +0100)]
Fix dirname(3) usage.

10 years agoApply realpath to static files dir for controller.
Vsevolod Stakhov [Fri, 2 May 2014 11:53:56 +0000 (12:53 +0100)]
Apply realpath to static files dir for controller.

10 years agoFix misprint.
Vsevolod Stakhov [Fri, 2 May 2014 11:51:21 +0000 (12:51 +0100)]
Fix misprint.

10 years agoFix issues with resolving v4/v6 addresses for bind.
Vsevolod Stakhov [Fri, 2 May 2014 11:46:12 +0000 (12:46 +0100)]
Fix issues with resolving v4/v6 addresses for bind.

10 years agoHandle HTTP headers during task processing.
Vsevolod Stakhov [Fri, 2 May 2014 11:28:43 +0000 (12:28 +0100)]
Handle HTTP headers during task processing.

10 years agoMove protocol functions to libserver.
Vsevolod Stakhov [Fri, 2 May 2014 11:16:43 +0000 (12:16 +0100)]
Move protocol functions to libserver.

10 years agoFix braces removing in email addresses.
Vsevolod Stakhov [Fri, 2 May 2014 11:00:48 +0000 (12:00 +0100)]
Fix braces removing in email addresses.

10 years agoRefuse invalid DKIM keys.
Vsevolod Stakhov [Fri, 2 May 2014 00:11:16 +0000 (17:11 -0700)]
Refuse invalid DKIM keys.

10 years agoRemove unused variable.
Vsevolod Stakhov [Thu, 1 May 2014 23:31:03 +0000 (16:31 -0700)]
Remove unused variable.

10 years agoImprove error reporting for HTTP sessions.
Vsevolod Stakhov [Thu, 1 May 2014 14:26:39 +0000 (15:26 +0100)]
Improve error reporting for HTTP sessions.

10 years agoFix race condition in DNS events.
Vsevolod Stakhov [Thu, 1 May 2014 14:20:06 +0000 (15:20 +0100)]
Fix race condition in DNS events.

10 years agoImprove SPF parser.
Vsevolod Stakhov [Thu, 1 May 2014 14:02:11 +0000 (15:02 +0100)]
Improve SPF parser.

- Simplify logic of parsing.
- Allow AAAA records for MX and PTR
- Implement PTR parsing
- Implement multiple addrs for A and AAAA records

10 years agoDo not add weight if not requested.
Vsevolod Stakhov [Thu, 1 May 2014 13:31:09 +0000 (14:31 +0100)]
Do not add weight if not requested.

10 years agoFix spf parsing for A, MX and PTR records.
Vsevolod Stakhov [Thu, 1 May 2014 13:30:33 +0000 (14:30 +0100)]
Fix spf parsing for A, MX and PTR records.

10 years agoFix dkim parser for old glib.
Vsevolod Stakhov [Thu, 1 May 2014 11:05:17 +0000 (12:05 +0100)]
Fix dkim parser for old glib.

Issue: #56
Reported by: @eneq123

10 years agoHandle 'weight' and 'flag' for fuzzy commands.
Vsevolod Stakhov [Wed, 30 Apr 2014 22:44:29 +0000 (15:44 -0700)]
Handle 'weight' and 'flag' for fuzzy commands.

10 years agoWrite custom status in HTTP reply.
Vsevolod Stakhov [Wed, 30 Apr 2014 22:39:36 +0000 (15:39 -0700)]
Write custom status in HTTP reply.

10 years agoUse status line in client.
Vsevolod Stakhov [Wed, 30 Apr 2014 22:35:09 +0000 (15:35 -0700)]
Use status line in client.

10 years agoSave status for HTTP errors.
Vsevolod Stakhov [Wed, 30 Apr 2014 22:33:42 +0000 (15:33 -0700)]
Save status for HTTP errors.

10 years agoFix controller initialization.
Vsevolod Stakhov [Wed, 30 Apr 2014 22:14:03 +0000 (15:14 -0700)]
Fix controller initialization.

10 years agoFix issues with scanning messages via controller.
Vsevolod Stakhov [Wed, 30 Apr 2014 22:09:26 +0000 (15:09 -0700)]
Fix issues with scanning messages via controller.

10 years agoAllow to scan via controller as well.
Vsevolod Stakhov [Wed, 30 Apr 2014 20:28:27 +0000 (13:28 -0700)]
Allow to scan via controller as well.

10 years agoFix issue with command paths.
Vsevolod Stakhov [Wed, 30 Apr 2014 20:24:14 +0000 (13:24 -0700)]
Fix issue with command paths.

10 years agoFix destroy order.
Vsevolod Stakhov [Wed, 30 Apr 2014 17:28:42 +0000 (18:28 +0100)]
Fix destroy order.

10 years agoFix misprint.
Vsevolod Stakhov [Wed, 30 Apr 2014 16:40:23 +0000 (17:40 +0100)]
Fix misprint.

10 years agoWebui is now controller.
Vsevolod Stakhov [Wed, 30 Apr 2014 16:23:58 +0000 (17:23 +0100)]
Webui is now controller.

Old controller is kept in legacy_controller.c.

10 years agoPlace modules.c in BINDIR not SRCDIR.
Vsevolod Stakhov [Wed, 30 Apr 2014 16:23:37 +0000 (17:23 +0100)]
Place modules.c in BINDIR not SRCDIR.

10 years agoIncrease HTTP conn refcount during task processing.
Vsevolod Stakhov [Wed, 30 Apr 2014 16:09:31 +0000 (17:09 +0100)]
Increase HTTP conn refcount during task processing.

10 years agoRework fuzzy_add and fuzzy_del commands.
Vsevolod Stakhov [Wed, 30 Apr 2014 16:07:44 +0000 (17:07 +0100)]
Rework fuzzy_add and fuzzy_del commands.

10 years agoSave module ctx for custom command.
Vsevolod Stakhov [Wed, 30 Apr 2014 15:10:31 +0000 (16:10 +0100)]
Save module ctx for custom command.

10 years agoUnify webui send functions.
Vsevolod Stakhov [Wed, 30 Apr 2014 13:58:42 +0000 (14:58 +0100)]
Unify webui send functions.

10 years agoBe more accurate about msg->body.
Vsevolod Stakhov [Wed, 30 Apr 2014 13:33:48 +0000 (14:33 +0100)]
Be more accurate about msg->body.

10 years agoImplement custom commands in webui.
Vsevolod Stakhov [Wed, 30 Apr 2014 13:31:59 +0000 (14:31 +0100)]
Implement custom commands in webui.

10 years agoAdd attach_controller callback to plugins.
Vsevolod Stakhov [Wed, 30 Apr 2014 13:10:14 +0000 (14:10 +0100)]
Add attach_controller callback to plugins.

10 years agoRemove memcached support.
Vsevolod Stakhov [Wed, 30 Apr 2014 12:32:36 +0000 (13:32 +0100)]
Remove memcached support.

10 years agoRefactor config API.
Vsevolod Stakhov [Wed, 30 Apr 2014 12:26:51 +0000 (13:26 +0100)]
Refactor config API.

10 years agoRework worker utilities.
Vsevolod Stakhov [Wed, 30 Apr 2014 11:45:17 +0000 (12:45 +0100)]
Rework worker utilities.

10 years agoUnify action string.
Vsevolod Stakhov [Tue, 29 Apr 2014 21:26:53 +0000 (14:26 -0700)]
Unify action string.

10 years agoFix printing of floating point values.
Vsevolod Stakhov [Mon, 28 Apr 2014 20:39:08 +0000 (13:39 -0700)]
Fix printing of floating point values.

10 years agoFix pushing octets of lua_ip.
Vsevolod Stakhov [Fri, 25 Apr 2014 13:46:51 +0000 (14:46 +0100)]
Fix pushing octets of lua_ip.

10 years agoFix double free for fuzzy nodes.
Vsevolod Stakhov [Thu, 24 Apr 2014 23:06:17 +0000 (16:06 -0700)]
Fix double free for fuzzy nodes.

10 years agoRestore compatibility with 0.6.9.
Vsevolod Stakhov [Thu, 24 Apr 2014 22:22:52 +0000 (15:22 -0700)]
Restore compatibility with 0.6.9.

10 years agoSync interface.
Vsevolod Stakhov [Thu, 24 Apr 2014 17:16:32 +0000 (18:16 +0100)]
Sync interface.

10 years agoAdd WWWDIR macro to rspamd configuration.
Vsevolod Stakhov [Thu, 24 Apr 2014 17:15:33 +0000 (18:15 +0100)]
Add WWWDIR macro to rspamd configuration.

10 years agoFix events in http one more time.
Vsevolod Stakhov [Wed, 23 Apr 2014 15:37:51 +0000 (16:37 +0100)]
Fix events in http one more time.

10 years agoFix loading of lua_dns module.
Vsevolod Stakhov [Wed, 23 Apr 2014 15:26:11 +0000 (16:26 +0100)]
Fix loading of lua_dns module.

10 years agoHuman readable output of counters command.
Vsevolod Stakhov [Wed, 23 Apr 2014 14:50:31 +0000 (15:50 +0100)]
Human readable output of counters command.

10 years agoAdd `counters` command to webui.
Vsevolod Stakhov [Wed, 23 Apr 2014 14:38:36 +0000 (15:38 +0100)]
Add `counters` command to webui.

10 years agoAnother fix for legacy symbols output.
Vsevolod Stakhov [Wed, 23 Apr 2014 13:52:26 +0000 (14:52 +0100)]
Another fix for legacy symbols output.

10 years agoFix issue with read event in http server.
Vsevolod Stakhov [Wed, 23 Apr 2014 13:48:34 +0000 (14:48 +0100)]
Fix issue with read event in http server.

10 years agoJson output assumes raw flag.
Vsevolod Stakhov [Wed, 23 Apr 2014 13:07:30 +0000 (14:07 +0100)]
Json output assumes raw flag.

10 years agoFix symbols in legacy output.
Vsevolod Stakhov [Wed, 23 Apr 2014 12:53:19 +0000 (13:53 +0100)]
Fix symbols in legacy output.

10 years agoFix spaces formatting.
Vsevolod Stakhov [Wed, 23 Apr 2014 12:30:06 +0000 (13:30 +0100)]
Fix spaces formatting.

10 years agoFix issue with printing empty strings.
Vsevolod Stakhov [Wed, 23 Apr 2014 12:29:48 +0000 (13:29 +0100)]
Fix issue with printing empty strings.

10 years agoMake human readable `uptime` output.
Vsevolod Stakhov [Wed, 23 Apr 2014 12:20:35 +0000 (13:20 +0100)]
Make human readable `uptime` output.

10 years agoAdd `rspamd_printf` utility function.
Vsevolod Stakhov [Wed, 23 Apr 2014 12:20:19 +0000 (13:20 +0100)]
Add `rspamd_printf` utility function.

10 years agoUse '/auth' instead of '/login'
Vsevolod Stakhov [Wed, 23 Apr 2014 11:47:34 +0000 (12:47 +0100)]
Use '/auth' instead of '/login'

10 years agoSupport legacy 'RSPAMC' protocol line.
Vsevolod Stakhov [Wed, 23 Apr 2014 10:58:34 +0000 (11:58 +0100)]
Support legacy 'RSPAMC' protocol line.

10 years agoReset mempool stat on stat_reset as well.
Vsevolod Stakhov [Tue, 22 Apr 2014 17:00:47 +0000 (18:00 +0100)]
Reset mempool stat on stat_reset as well.

10 years agoAllow http path != command name.
Vsevolod Stakhov [Tue, 22 Apr 2014 16:52:29 +0000 (17:52 +0100)]
Allow http path != command name.

10 years agoSave status code in http message.
Vsevolod Stakhov [Tue, 22 Apr 2014 16:49:26 +0000 (17:49 +0100)]
Save status code in http message.

10 years agoFix output for input-less commands.
Vsevolod Stakhov [Tue, 22 Apr 2014 16:32:48 +0000 (17:32 +0100)]
Fix output for input-less commands.

10 years agoAdd password header.
Vsevolod Stakhov [Tue, 22 Apr 2014 16:30:09 +0000 (17:30 +0100)]
Add password header.

10 years agoDo not use http entry after freeing it.
Vsevolod Stakhov [Tue, 22 Apr 2014 16:22:24 +0000 (17:22 +0100)]
Do not use http entry after freeing it.

10 years agoSupport no-input commands for rspamc.
Vsevolod Stakhov [Tue, 22 Apr 2014 16:12:24 +0000 (17:12 +0100)]
Support no-input commands for rspamc.

10 years agoFix issue with writing messages without body.
Vsevolod Stakhov [Tue, 22 Apr 2014 16:12:09 +0000 (17:12 +0100)]
Fix issue with writing messages without body.

10 years agoImplement stat handler.
Vsevolod Stakhov [Tue, 22 Apr 2014 15:57:09 +0000 (16:57 +0100)]
Implement stat handler.

10 years agoUse unified signal handlers.
Vsevolod Stakhov [Tue, 22 Apr 2014 14:33:47 +0000 (15:33 +0100)]
Use unified signal handlers.

10 years agoRemove legacy code.
Vsevolod Stakhov [Tue, 22 Apr 2014 14:01:37 +0000 (15:01 +0100)]
Remove legacy code.

10 years agoReimplement scan command for webui.
Vsevolod Stakhov [Tue, 22 Apr 2014 14:00:30 +0000 (15:00 +0100)]
Reimplement scan command for webui.

10 years agoUnify task scan functions.
Vsevolod Stakhov [Tue, 22 Apr 2014 13:43:00 +0000 (14:43 +0100)]
Unify task scan functions.

10 years agoSave incoming address to webui session.
Vsevolod Stakhov [Mon, 21 Apr 2014 17:04:12 +0000 (18:04 +0100)]
Save incoming address to webui session.

10 years agoIntorduce `enable_password` for webui.
Vsevolod Stakhov [Mon, 21 Apr 2014 17:03:10 +0000 (18:03 +0100)]
Intorduce `enable_password` for webui.

10 years agoAdd function `radix32_tree_find_addr`.
Vsevolod Stakhov [Mon, 21 Apr 2014 16:48:28 +0000 (17:48 +0100)]
Add function `radix32_tree_find_addr`.

10 years agoFix modules.c path.
Vsevolod Stakhov [Mon, 21 Apr 2014 15:33:20 +0000 (16:33 +0100)]
Fix modules.c path.

10 years agoRework project structure, remove trash files.
Vsevolod Stakhov [Mon, 21 Apr 2014 15:25:51 +0000 (16:25 +0100)]
Rework project structure, remove trash files.

10 years agoRefactor task functions.
Vsevolod Stakhov [Mon, 21 Apr 2014 14:57:39 +0000 (15:57 +0100)]
Refactor task functions.

10 years agoFinish conversion to new inet addr structure.
Vsevolod Stakhov [Mon, 21 Apr 2014 14:29:05 +0000 (15:29 +0100)]
Finish conversion to new inet addr structure.

10 years agoDeprecate views: never ever being used.
Vsevolod Stakhov [Mon, 21 Apr 2014 14:04:18 +0000 (15:04 +0100)]
Deprecate views: never ever being used.

10 years agoFix spf module for inet_addr.
Vsevolod Stakhov [Mon, 21 Apr 2014 13:55:50 +0000 (14:55 +0100)]
Fix spf module for inet_addr.

10 years agoFix includes.
Vsevolod Stakhov [Mon, 21 Apr 2014 13:52:35 +0000 (14:52 +0100)]
Fix includes.

10 years agoFix lua API for new inet addr structure.
Vsevolod Stakhov [Mon, 21 Apr 2014 13:52:18 +0000 (14:52 +0100)]
Fix lua API for new inet addr structure.