]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoSet length accordingly to stipped size.
Vsevolod Stakhov [Fri, 13 Mar 2015 13:41:04 +0000 (13:41 +0000)]
Set length accordingly to stipped size.

9 years agoAdd default host and helo for a client.
Vsevolod Stakhov [Fri, 13 Mar 2015 13:09:15 +0000 (13:09 +0000)]
Add default host and helo for a client.

9 years agoAdd workaround for certain types of urls.
Vsevolod Stakhov [Fri, 13 Mar 2015 12:59:19 +0000 (12:59 +0000)]
Add workaround for certain types of urls.

9 years agoCleanup shit.
Vsevolod Stakhov [Fri, 13 Mar 2015 12:05:43 +0000 (12:05 +0000)]
Cleanup shit.

9 years agoFixes to spec.
Vsevolod Stakhov [Fri, 13 Mar 2015 12:01:16 +0000 (12:01 +0000)]
Fixes to spec.

9 years agoAdd specific workaround for debian.
Vsevolod Stakhov [Fri, 13 Mar 2015 11:23:31 +0000 (11:23 +0000)]
Add specific workaround for debian.

9 years agoReiterate on systemd.
Vsevolod Stakhov [Fri, 13 Mar 2015 11:11:58 +0000 (11:11 +0000)]
Reiterate on systemd.

Conflicts:
CMakeLists.txt
conf/rspamd.systemd.conf

9 years agoMerge pull request #219 from fatalbanana/master
Vsevolod Stakhov [Fri, 13 Mar 2015 10:37:36 +0000 (10:37 +0000)]
Merge pull request #219 from fatalbanana/master

 RPM: clean up & fixes for CentOS7/Fedora

9 years agoTry to workaround V6_V6ONLY.
Vsevolod Stakhov [Fri, 13 Mar 2015 10:28:02 +0000 (10:28 +0000)]
Try to workaround V6_V6ONLY.

9 years agoRPM: Clean up and unbreak future upgrades on Fedora/CentOS7 219/head
Andrew Lewis [Fri, 13 Mar 2015 10:12:38 +0000 (12:12 +0200)]
RPM: Clean up and unbreak future upgrades on Fedora/CentOS7

9 years agoFix sockets initialization.
Vsevolod Stakhov [Fri, 13 Mar 2015 10:21:19 +0000 (10:21 +0000)]
Fix sockets initialization.

9 years agoRPM: move patch out of wrong part of specfile
Andrew Lewis [Fri, 13 Mar 2015 08:15:47 +0000 (10:15 +0200)]
RPM: move patch out of wrong part of specfile

9 years agoFix sorting order and unit test for upstreams.
Vsevolod Stakhov [Thu, 12 Mar 2015 19:08:42 +0000 (19:08 +0000)]
Fix sorting order and unit test for upstreams.

9 years agoFix order of upstream in test rotation.
Vsevolod Stakhov [Thu, 12 Mar 2015 18:32:59 +0000 (18:32 +0000)]
Fix order of upstream in test rotation.

9 years agoMerge pull request #214 from fatalbanana/master
Vsevolod Stakhov [Thu, 12 Mar 2015 16:59:15 +0000 (16:59 +0000)]
Merge pull request #214 from fatalbanana/master

RPM: Patch systemd service for CentOS7 & fix broken filesystem attribute...

9 years agoMerge branch 'inet_addr-rework'
Vsevolod Stakhov [Thu, 12 Mar 2015 16:57:37 +0000 (16:57 +0000)]
Merge branch 'inet_addr-rework'

9 years agoFix setting pointer.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:56:59 +0000 (16:56 +0000)]
Fix setting pointer.

9 years agoFix test framework.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:48:02 +0000 (16:48 +0000)]
Fix test framework.

9 years agoImplement missing function.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:43:56 +0000 (16:43 +0000)]
Implement missing function.

9 years agoFix fuzzy_check module.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:42:19 +0000 (16:42 +0000)]
Fix fuzzy_check module.

9 years agoFix debug_task macro.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:41:18 +0000 (16:41 +0000)]
Fix debug_task macro.

9 years agoFix spf and dkim plugins.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:39:18 +0000 (16:39 +0000)]
Fix spf and dkim plugins.

9 years agoFix smtp proxy and generic worker code.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:30:33 +0000 (16:30 +0000)]
Fix smtp proxy and generic worker code.

9 years agoFix main routine for new inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:27:56 +0000 (16:27 +0000)]
Fix main routine for new inet_addr.

9 years agoFix lua worker.
Vsevolod Stakhov [Thu, 12 Mar 2015 16:12:02 +0000 (16:12 +0000)]
Fix lua worker.

9 years agoFixes for protocol and spf code.
Vsevolod Stakhov [Thu, 12 Mar 2015 15:55:05 +0000 (15:55 +0000)]
Fixes for protocol and spf code.

9 years agoBind line configuration adoptation for inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 15:52:46 +0000 (15:52 +0000)]
Bind line configuration adoptation for inet_addr.

9 years agoAdopt lua-ip for new inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 15:41:16 +0000 (15:41 +0000)]
Adopt lua-ip for new inet_addr.

9 years agoAdd more utility functions required.
Vsevolod Stakhov [Thu, 12 Mar 2015 15:34:48 +0000 (15:34 +0000)]
Add more utility functions required.

9 years agoAdopt lua-redis for new inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:33:09 +0000 (14:33 +0000)]
Adopt lua-redis for new inet_addr.

9 years agoRework lua-http for new inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:29:48 +0000 (14:29 +0000)]
Rework lua-http for new inet_addr.

9 years agoRework lua basic API for new IP.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:29:33 +0000 (14:29 +0000)]
Rework lua basic API for new IP.

9 years agoRework task structure for new inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:22:04 +0000 (14:22 +0000)]
Rework task structure for new inet_addr.

9 years agoRework rolling history.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:21:24 +0000 (14:21 +0000)]
Rework rolling history.

- Store inet_addr as string, not structure.
- Add history magic for versioning and sanity.

9 years agoRework upstreams code for new inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:20:13 +0000 (14:20 +0000)]
Rework upstreams code for new inet_addr.

9 years agoUse opaque inet_address.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:20:02 +0000 (14:20 +0000)]
Use opaque inet_address.

9 years agoAdd routine to free PtrArray from mempool destructors.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:19:42 +0000 (14:19 +0000)]
Add routine to free PtrArray from mempool destructors.

9 years agoAdopt worker for new inet_address.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:19:26 +0000 (14:19 +0000)]
Adopt worker for new inet_address.

9 years agoAdopt fuzzy storage for new inet_address.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:19:10 +0000 (14:19 +0000)]
Adopt fuzzy storage for new inet_address.

9 years agoAdopt controller for new inet_addr.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:18:57 +0000 (14:18 +0000)]
Adopt controller for new inet_addr.

9 years agoRequire glib 2.30 at least.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:18:38 +0000 (14:18 +0000)]
Require glib 2.30 at least.

9 years agoRework inet_address structure.
Vsevolod Stakhov [Thu, 12 Mar 2015 14:17:14 +0000 (14:17 +0000)]
Rework inet_address structure.

- Now addresses are opaque.
- Save memory by splitting unix and inet sockaddrs.
- Rework all functions related to inet addrs.
- Use ptr arrays instead of home-made static arrays.

9 years agoFix condrestart in CentOS init script 214/head
Andrew Lewis [Thu, 12 Mar 2015 13:28:25 +0000 (15:28 +0200)]
Fix condrestart in CentOS init script

9 years agoRPM: don't break rspamd on upgrade
Andrew Lewis [Thu, 12 Mar 2015 12:06:59 +0000 (14:06 +0200)]
RPM: don't break rspamd on upgrade

9 years agoSave some space inside rspamd task by using bit flags.
Vsevolod Stakhov [Thu, 12 Mar 2015 09:52:33 +0000 (09:52 +0000)]
Save some space inside rspamd task by using bit flags.

9 years agoRPM: Patch systemd service for CentOS7 & fix broken filesystem attributes
Andrew Lewis [Thu, 12 Mar 2015 06:05:57 +0000 (08:05 +0200)]
RPM: Patch systemd service for CentOS7 & fix broken filesystem attributes

9 years agoMerge pull request #212 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Mar 2015 21:39:54 +0000 (21:39 +0000)]
Merge pull request #212 from fatalbanana/master

More RPM...

9 years agoMore RPM... 212/head
Andrew Lewis [Wed, 11 Mar 2015 20:27:27 +0000 (22:27 +0200)]
More RPM...

9 years agoMerge pull request #210 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Mar 2015 19:54:50 +0000 (19:54 +0000)]
Merge pull request #210 from fatalbanana/master

Fix RPM packaging properly

9 years agoFix RPM packaging properly 210/head
Andrew Lewis [Wed, 11 Mar 2015 19:45:06 +0000 (21:45 +0200)]
Fix RPM packaging properly

9 years agoUnify systemd support
Mikhail Gusarov [Sat, 7 Mar 2015 09:53:04 +0000 (09:53 +0000)]
Unify systemd support

- Move it from debian/ and centos/
- Ensure Debian package installs .service/.socket
- Enable socket-activated service
- Clean up redundant CentOS config files

9 years agoMerge pull request #208 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Mar 2015 17:40:27 +0000 (17:40 +0000)]
Merge pull request #208 from fatalbanana/master

Fixes for RPM packaging

9 years agoFixes for RPM packaging 208/head
Andrew Lewis [Wed, 11 Mar 2015 17:34:11 +0000 (19:34 +0200)]
Fixes for RPM packaging

9 years agoUse rspamd.sysvinit.conf for sysvinit init scripts
Mikhail Gusarov [Sat, 7 Mar 2015 10:53:16 +0000 (10:53 +0000)]
Use rspamd.sysvinit.conf for sysvinit init scripts

9 years agoMerge pull request #206 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Mar 2015 16:05:31 +0000 (16:05 +0000)]
Merge pull request #206 from fatalbanana/master

Fix missing symbol registration

9 years agoImprove systemd support diagnostic.
Vsevolod Stakhov [Wed, 11 Mar 2015 16:01:27 +0000 (16:01 +0000)]
Improve systemd support diagnostic.

9 years agoFix issue with raw regexp processing.
Vsevolod Stakhov [Wed, 11 Mar 2015 15:43:30 +0000 (15:43 +0000)]
Fix issue with raw regexp processing.

9 years agoAdd some raw regexp tests.
Vsevolod Stakhov [Wed, 11 Mar 2015 15:43:18 +0000 (15:43 +0000)]
Add some raw regexp tests.

9 years agoAdd support of spamc compatible output.
Vsevolod Stakhov [Wed, 11 Mar 2015 15:19:15 +0000 (15:19 +0000)]
Add support of spamc compatible output.

9 years agoTry to fit options in 6 bits.
Vsevolod Stakhov [Wed, 11 Mar 2015 15:18:49 +0000 (15:18 +0000)]
Try to fit options in 6 bits.

9 years agoSet flags to zero initially.
Vsevolod Stakhov [Wed, 11 Mar 2015 14:52:17 +0000 (14:52 +0000)]
Set flags to zero initially.

9 years agoDistinguish spamc/rspamc in http code.
Vsevolod Stakhov [Wed, 11 Mar 2015 14:28:34 +0000 (14:28 +0000)]
Distinguish spamc/rspamc in http code.

9 years agoDistinguish RSPAMC from SPAMC.
Vsevolod Stakhov [Wed, 11 Mar 2015 14:18:19 +0000 (14:18 +0000)]
Distinguish RSPAMC from SPAMC.

9 years agoFilter double-dots in rbl.lua validate_dns 206/head
Andrew Lewis [Wed, 11 Mar 2015 12:35:22 +0000 (14:35 +0200)]
Filter double-dots in rbl.lua validate_dns

9 years agoFix missing symbol registration
Andrew Lewis [Wed, 11 Mar 2015 12:22:33 +0000 (14:22 +0200)]
Fix missing symbol registration

9 years agoBackport fix from libucl.
Vsevolod Stakhov [Wed, 11 Mar 2015 11:57:17 +0000 (11:57 +0000)]
Backport fix from libucl.

9 years agoDo not check for lua5.2 when luajit is enabled.
Vsevolod Stakhov [Wed, 11 Mar 2015 10:26:58 +0000 (10:26 +0000)]
Do not check for lua5.2 when luajit is enabled.

9 years agoEliminate GRegexp in surbl module.
Vsevolod Stakhov [Tue, 10 Mar 2015 18:21:07 +0000 (18:21 +0000)]
Eliminate GRegexp in surbl module.

9 years agoFix flags in pcre jit fast path.
Vsevolod Stakhov [Tue, 10 Mar 2015 11:51:54 +0000 (11:51 +0000)]
Fix flags in pcre jit fast path.

9 years agoFix allocated_len calculation found by fuzz testing.
Vsevolod Stakhov [Mon, 9 Mar 2015 23:44:28 +0000 (23:44 +0000)]
Fix allocated_len calculation found by fuzz testing.

9 years agoAdd fuzz testing for base32.
Vsevolod Stakhov [Mon, 9 Mar 2015 23:44:19 +0000 (23:44 +0000)]
Add fuzz testing for base32.

9 years agoAdd basic base32 tests.
Vsevolod Stakhov [Mon, 9 Mar 2015 23:01:05 +0000 (23:01 +0000)]
Add basic base32 tests.

9 years agoUse portable macro to get global variable.
Vsevolod Stakhov [Sun, 8 Mar 2015 23:45:29 +0000 (23:45 +0000)]
Use portable macro to get global variable.

9 years agoDo not fail if pid file is not specified in config
Mikhail Gusarov [Sat, 7 Mar 2015 10:15:16 +0000 (10:15 +0000)]
Do not fail if pid file is not specified in config

9 years agoFix cache usage for rspamd_regexp.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:46:13 +0000 (22:46 +0000)]
Fix cache usage for rspamd_regexp.

9 years agoAllow storage of auxiliary userdata inside regexp structure.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:43:23 +0000 (22:43 +0000)]
Allow storage of auxiliary userdata inside regexp structure.

9 years agoMore additions to the regexp module.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:21:31 +0000 (22:21 +0000)]
More additions to the regexp module.

9 years agoStart moving to the rspamd regexps.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:00:14 +0000 (22:00 +0000)]
Start moving to the rspamd regexps.

9 years agoMerge pull request #199 from AlexeySa/patch-3
Vsevolod Stakhov [Sat, 7 Mar 2015 19:13:11 +0000 (19:13 +0000)]
Merge pull request #199 from AlexeySa/patch-3

Hfilter: Fix FQDN check expression

9 years agoHfilter: Fix FQDN check expression 199/head
Alexey AL [Fri, 6 Mar 2015 13:59:58 +0000 (16:59 +0300)]
Hfilter: Fix FQDN check expression

9 years agoImplement lua regexp split, write test case.
Vsevolod Stakhov [Fri, 6 Mar 2015 13:59:07 +0000 (13:59 +0000)]
Implement lua regexp split, write test case.

9 years agoMore fixes to SA plugin.
Vsevolod Stakhov [Fri, 6 Mar 2015 13:30:32 +0000 (13:30 +0000)]
More fixes to SA plugin.

9 years agoDistinguish match and search in lua regexp.
Vsevolod Stakhov [Fri, 6 Mar 2015 13:07:30 +0000 (13:07 +0000)]
Distinguish match and search in lua regexp.

9 years agoFix some issues in rspamd_regexp.
Vsevolod Stakhov [Fri, 6 Mar 2015 12:40:15 +0000 (12:40 +0000)]
Fix some issues in rspamd_regexp.

9 years agom,, regexps are to be treated as strict match.
Vsevolod Stakhov [Fri, 6 Mar 2015 11:41:28 +0000 (11:41 +0000)]
m,, regexps are to be treated as strict match.

9 years agoInitialize regexp library.
Vsevolod Stakhov [Fri, 6 Mar 2015 11:27:17 +0000 (11:27 +0000)]
Initialize regexp library.

9 years agoMore fixes to regexp module.
Vsevolod Stakhov [Fri, 6 Mar 2015 00:25:39 +0000 (00:25 +0000)]
More fixes to regexp module.

9 years agopcre_free_study is only valid when JIT is supported.
Vsevolod Stakhov [Thu, 5 Mar 2015 23:40:49 +0000 (23:40 +0000)]
pcre_free_study is only valid when JIT is supported.

9 years agoAdopt lua regexps for rspamd_regexp.
Vsevolod Stakhov [Thu, 5 Mar 2015 23:32:14 +0000 (23:32 +0000)]
Adopt lua regexps for rspamd_regexp.

9 years agoInitialize regexp library.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:58:00 +0000 (18:58 +0000)]
Initialize regexp library.

9 years agoFix study invocation.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:56:59 +0000 (18:56 +0000)]
Fix study invocation.

9 years agoProperly link rspamd_server on darwin.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:33:25 +0000 (18:33 +0000)]
Properly link rspamd_server on darwin.

9 years agoFix linking on Darwin.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:29:46 +0000 (18:29 +0000)]
Fix linking on Darwin.

9 years agoFix clock_gettime invocation.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:25:13 +0000 (18:25 +0000)]
Fix clock_gettime invocation.

9 years agoAdd portable get_ticks function.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:16:28 +0000 (18:16 +0000)]
Add portable get_ticks function.

9 years agoImplement match.
Vsevolod Stakhov [Thu, 5 Mar 2015 16:51:36 +0000 (16:51 +0000)]
Implement match.

9 years agoImplement regexp search.
Vsevolod Stakhov [Thu, 5 Mar 2015 16:49:27 +0000 (16:49 +0000)]
Implement regexp search.

9 years agoInitialization code for JIT regexps.
Vsevolod Stakhov [Thu, 5 Mar 2015 14:40:19 +0000 (14:40 +0000)]
Initialization code for JIT regexps.

9 years agoFix initialization.
Vsevolod Stakhov [Thu, 5 Mar 2015 14:40:10 +0000 (14:40 +0000)]
Fix initialization.

9 years agoAdd JIT detection macro.
Vsevolod Stakhov [Thu, 5 Mar 2015 14:39:49 +0000 (14:39 +0000)]
Add JIT detection macro.