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

9 years agoMerge pull request #218 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Fri, 13 Mar 2015 10:37:31 +0000 (10:37 +0000)]
Merge pull request #218 from fatalbanana/rspamd-0.8

RPM: clean up & fixes for CentOS7/Fedora

9 years agoMerge pull request #217 from andrejzverev/rspamdconf
Vsevolod Stakhov [Fri, 13 Mar 2015 10:37:25 +0000 (10:37 +0000)]
Merge pull request #217 from andrejzverev/rspamdconf

Use Systemd for Linux family and SysV for other systems.

9 years agoRPM: Clean up and unbreak future upgrades on Fedora/CentOS7 218/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 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 agoMerge pull request #213 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Thu, 12 Mar 2015 16:59:22 +0000 (16:59 +0000)]
Merge pull request #213 from fatalbanana/rspamd-0.8

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

9 years agoFix condrestart in CentOS init script 213/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 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 agoUse Systemd for Linux family and SysV for other systems. 217/head
Andrej Zverev [Wed, 11 Mar 2015 22:25:26 +0000 (01:25 +0300)]
Use Systemd for Linux family and SysV for other systems.
We are creating conf/rspamd.conf.in as template and
declaring two new variables for CMake:
DEFAULTS (for SysV):
 RSPAMD_WORKER_NORMAL = "*:11333"
 RSPAMD_WORKER_CONTROLLER = "*:11334"
For Linux (for Systemd):
 RSPAMD_WORKER_NORMAL = "systemd:0"
 RSPAMD_WORKER_CONTROLLER = "systemd:1"

During build we replace template with correct values.

9 years agoMerge pull request #211 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Wed, 11 Mar 2015 21:39:59 +0000 (21:39 +0000)]
Merge pull request #211 from fatalbanana/rspamd-0.8

More RPM...

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

9 years agoMerge pull request #209 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Wed, 11 Mar 2015 19:50:29 +0000 (19:50 +0000)]
Merge pull request #209 from fatalbanana/rspamd-0.8

Fix RPM packaging properly

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

9 years agoMerge pull request #207 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Wed, 11 Mar 2015 17:40:17 +0000 (17:40 +0000)]
Merge pull request #207 from fatalbanana/rspamd-0.8

Fixes for RPM packaging

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

9 years agoMerge pull request #205 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Wed, 11 Mar 2015 16:05:41 +0000 (16:05 +0000)]
Merge pull request #205 from fatalbanana/rspamd-0.8

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 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.

Conflicts:
src/libutil/http.c

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.

Conflicts:
src/libutil/http.c

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 205/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 agoUpdate ucl submodule.
Vsevolod Stakhov [Wed, 11 Mar 2015 11:56:08 +0000 (11:56 +0000)]
Update ucl submodule.

9 years agoRelease 0.8.2 0.8.2
Vsevolod Stakhov [Tue, 10 Mar 2015 16:47:53 +0000 (16:47 +0000)]
Release 0.8.2

* Create fuzzy db if it does not exist
* Fix: Centos init script: configtest() (by @AlexeySa)
* Enable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102 (by @fatalbanana)
* Update Exim patch (by @fatalbanana)
* Fix processing of unix sockets.
* Allow applying settings to authenticated users (by @fatalbanana)
* Make settings priorities work as documented (by @fatalbanana)
* Fix race condition in symbols planner
* Add DNSWL_BLOCKED symbol (by @fatalbanana)
* Make Exim pass usernames to rspamd (by @fatalbanana)
* Update RBL module (by @fatalbanana):
- fix indentation;
- collapse loops;
- avoid calling for un-needed information;
- allow disabling RBLs for authenticated users
* once_received.lua: Fix indentation & add exclusion for authenticated users (by @fatalbanana)
* hfilter.lua: Add exclusion for authenticated users (by @AlexeySa)
* Updates to hfilter rules (by @AlexeySa)
* Set empty <> user or addr for msgs without FROM (by @eneq123)
* Fix: attempt to index field '?' (a nil value) (by @eneq123)
* Fix: if not exist Date-header (by @AlexeySa)
* Add task:get_content() method.
* rbl.lua: Ignore private IP space (by @fatalbanana)
* Allow to check radix maps from lua by rspamd{ip}
* Make local exclusions configurable per-RBL (by @fatalbanana)
* Add rspamd_config:radix_from_config() (by @fatalbanana)
* Support emails dnsbl in rbl (by @fatalbanana)
* Complete rework of url extraction logic
* Allow customizations for unix sockets. (fixes #182)
* Set lua path according to rspamd settings.
* Import lua-functional for plugins stuff.
* Completely rewrite multimap plugin in functional style.
* Fix FORGED_MUA_THUNDERBIRD_MSGID (fixes #186)
* Check IPv6 addresses at dnswl.org and Spamhaus whitelist (by @fatalbanana)
* Add lowercase utility for utf8 strings.
* Various fixes to build system
* Updated debian configuration infrastructure (by @dottedmag)

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
9 years agoFix build under Darwin.
Vsevolod Stakhov [Tue, 10 Mar 2015 16:45:34 +0000 (16:45 +0000)]
Fix build under Darwin.

9 years agoMerge pull request #204 from dottedmag/rspamd-0.8
Vsevolod Stakhov [Sun, 8 Mar 2015 22:42:18 +0000 (22:42 +0000)]
Merge pull request #204 from dottedmag/rspamd-0.8

systemd support for Debian packages in rspamd

9 years agoMerge pull request #203 from dottedmag/rspamd-0.8
Vsevolod Stakhov [Sun, 8 Mar 2015 16:13:54 +0000 (16:13 +0000)]
Merge pull request #203 from dottedmag/rspamd-0.8

Reorganize configuration files for systemd

9 years agoMerge pull request #200 from AlexeySa/patch-4
Vsevolod Stakhov [Sat, 7 Mar 2015 19:12:58 +0000 (19:12 +0000)]
Merge pull request #200 from AlexeySa/patch-4

Update Hfilter for Rspamd-0.8

9 years agoMerge pull request #201 from AlexeySa/patch-5
Vsevolod Stakhov [Sat, 7 Mar 2015 19:12:44 +0000 (19:12 +0000)]
Merge pull request #201 from AlexeySa/patch-5

Update metrics for hfilter

9 years agoUpdate debian/changelog 204/head
Mikhail Gusarov [Sat, 7 Mar 2015 10:55:59 +0000 (10:55 +0000)]
Update debian/changelog

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 agoRemove obsolete conffiles on upgrade
Mikhail Gusarov [Sat, 7 Mar 2015 10:45:32 +0000 (10:45 +0000)]
Remove obsolete conffiles on upgrade

9 years agoExplicitly set tmpdir in config file
Mikhail Gusarov [Sat, 7 Mar 2015 10:41:05 +0000 (10:41 +0000)]
Explicitly set tmpdir in config file

9 years agoWork around Debian mishandling of systemd socket-activated units
Mikhail Gusarov [Sat, 7 Mar 2015 10:23:13 +0000 (10:23 +0000)]
Work around Debian mishandling of systemd socket-activated units

If there is a backward compatibility sysvinit script, then
even socket-activated services are started automatically after
install/upgrade.

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 syntax error in worker-normal.inc
Mikhail Gusarov [Sat, 7 Mar 2015 10:12:47 +0000 (10:12 +0000)]
Fix syntax error in worker-normal.inc

9 years agoUpdate debian/copyright: duplicate paragraph, non-matching pattern
Mikhail Gusarov [Sat, 7 Mar 2015 10:08:38 +0000 (10:08 +0000)]
Update debian/copyright: duplicate paragraph, non-matching pattern

9 years agoBump Standards-Version
Mikhail Gusarov [Sat, 7 Mar 2015 10:02:11 +0000 (10:02 +0000)]
Bump Standards-Version

9 years agoFix installing conf/ files
Mikhail Gusarov [Sat, 7 Mar 2015 09:58:58 +0000 (09:58 +0000)]
Fix installing conf/ files

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 agoReorganize configuration files for systemd 203/head
Mikhail Gusarov [Fri, 6 Mar 2015 23:09:04 +0000 (23:09 +0000)]
Reorganize configuration files for systemd

Common systemd/non-systemd options were moved to .inc
files. rspamd.conf is systemd-enabled one,
rspamd.sysvinit.conf is sysvinit-compatible one.

9 years agoUpdate metrics for hfilter 201/head
Alexey AL [Fri, 6 Mar 2015 14:07:04 +0000 (17:07 +0300)]
Update metrics for hfilter

9 years agoUpdate Hfilter for Rspamd-0.8 200/head
Alexey AL [Fri, 6 Mar 2015 14:05:08 +0000 (17:05 +0300)]
Update Hfilter for Rspamd-0.8

9 years agoMerge pull request #198 from AlexeySa/patch-2
Vsevolod Stakhov [Fri, 6 Mar 2015 12:04:19 +0000 (12:04 +0000)]
Merge pull request #198 from AlexeySa/patch-2

Fix lua_task_get_raw_headers()

9 years agoFix lua_task_get_raw_headers() 198/head
Alexey AL [Fri, 6 Mar 2015 12:03:26 +0000 (15:03 +0300)]
Fix lua_task_get_raw_headers()

9 years agoAdd method to get all raw headers in LUA.
Vsevolod Stakhov [Tue, 3 Mar 2015 00:17:27 +0000 (00:17 +0000)]
Add method to get all raw headers in LUA.

9 years agoFix build under Darwin.
Vsevolod Stakhov [Tue, 3 Mar 2015 16:49:21 +0000 (16:49 +0000)]
Fix build under Darwin.

9 years agoFix linkage with luajit on osx.
Vsevolod Stakhov [Thu, 5 Mar 2015 10:38:40 +0000 (10:38 +0000)]
Fix linkage with luajit on osx.

9 years agoFix iconv detection.
Vsevolod Stakhov [Tue, 3 Mar 2015 18:22:09 +0000 (18:22 +0000)]
Fix iconv detection.

Conflicts:
CMakeLists.txt

9 years agoAdd utf lc test case and fix the bug.
Vsevolod Stakhov [Sat, 28 Feb 2015 10:31:47 +0000 (10:31 +0000)]
Add utf lc test case and fix the bug.

9 years agoAdd lowercase utility for utf8 strings.
Vsevolod Stakhov [Mon, 23 Feb 2015 13:45:44 +0000 (13:45 +0000)]
Add lowercase utility for utf8 strings.

9 years agoFix external hiredis operations.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:19:19 +0000 (14:19 +0000)]
Fix external hiredis operations.

9 years agoFix issues found by unit testing.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:14:01 +0000 (14:14 +0000)]
Fix issues found by unit testing.

9 years agoFix bug with port setup.
Vsevolod Stakhov [Mon, 2 Mar 2015 10:15:49 +0000 (10:15 +0000)]
Fix bug with port setup.

9 years agoMerge pull request #189 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Fri, 27 Feb 2015 09:52:09 +0000 (09:52 +0000)]
Merge pull request #189 from fatalbanana/rspamd-0.8

Fix luajit detection.

9 years agoFix luajit detection. 189/head
Vsevolod Stakhov [Wed, 18 Feb 2015 17:31:40 +0000 (17:31 +0000)]
Fix luajit detection.

Conflicts:
CMakeLists.txt

9 years agoFix state machine rewind.
Vsevolod Stakhov [Fri, 27 Feb 2015 09:30:38 +0000 (09:30 +0000)]
Fix state machine rewind.

9 years agoMerge pull request #187 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Thu, 26 Feb 2015 22:09:37 +0000 (22:09 +0000)]
Merge pull request #187 from fatalbanana/rspamd-0.8

Check IPv6 addresses at dnswl.org and Spamhaus whitelist

9 years agoCheck IPv6 addresses at dnswl.org and Spamhaus whitelist 187/head
Andrew Lewis [Thu, 26 Feb 2015 21:31:56 +0000 (23:31 +0200)]
Check IPv6 addresses at dnswl.org and Spamhaus whitelist

9 years agoFix FORGED_MUA_THUNDERBIRD_MSGID.
Vsevolod Stakhov [Thu, 26 Feb 2015 18:01:27 +0000 (18:01 +0000)]
Fix FORGED_MUA_THUNDERBIRD_MSGID.

Issue: #186
Reported by: @moiseev

9 years agoFixes to the url parser.
Vsevolod Stakhov [Thu, 26 Feb 2015 17:18:04 +0000 (17:18 +0000)]
Fixes to the url parser.

9 years agoFix emails parser.
Vsevolod Stakhov [Thu, 26 Feb 2015 16:48:40 +0000 (16:48 +0000)]
Fix emails parser.

9 years agoImport the proper version of lua-functional.
Vsevolod Stakhov [Thu, 26 Feb 2015 14:06:01 +0000 (14:06 +0000)]
Import the proper version of lua-functional.

9 years agoMerge pull request #185 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Wed, 25 Feb 2015 14:06:58 +0000 (14:06 +0000)]
Merge pull request #185 from fatalbanana/rspamd-0.8

Rspamd 0.8: new multimap, fun.lua etc.

9 years agoFix url parsing.
Vsevolod Stakhov [Wed, 25 Feb 2015 12:51:46 +0000 (12:51 +0000)]
Fix url parsing.

9 years agoFix default lua package path 185/head
Andrew Lewis [Wed, 25 Feb 2015 12:47:11 +0000 (14:47 +0200)]
Fix default lua package path

9 years agoInstall fun.lua to correct location
Andrew Lewis [Wed, 25 Feb 2015 12:13:45 +0000 (14:13 +0200)]
Install fun.lua to correct location

9 years agorbl.lua: Housekeeping
Andrew Lewis [Thu, 19 Feb 2015 13:38:28 +0000 (15:38 +0200)]
rbl.lua: Housekeeping

9 years agoCompletely rewrite multimap plugin.
Vsevolod Stakhov [Mon, 23 Feb 2015 17:42:29 +0000 (17:42 +0000)]
Completely rewrite multimap plugin.

9 years agoRemove forgotten variables in lua stack.
Vsevolod Stakhov [Wed, 25 Feb 2015 11:52:02 +0000 (11:52 +0000)]
Remove forgotten variables in lua stack.

Conflicts:
src/lua/lua_common.c

9 years agoDo not set lua path when cfg is not loaded.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:50:05 +0000 (16:50 +0000)]
Do not set lua path when cfg is not loaded.

9 years agoImport lua-functional for plugins stuff.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:35:18 +0000 (16:35 +0000)]
Import lua-functional for plugins stuff.

9 years agoSet lua path according to rspamd settings.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:34:54 +0000 (16:34 +0000)]
Set lua path according to rspamd settings.

9 years agoUpdate copyrights.
Vsevolod Stakhov [Fri, 20 Feb 2015 13:52:07 +0000 (13:52 +0000)]
Update copyrights.

9 years agoAllow customizations for unix sockets.
Vsevolod Stakhov [Fri, 20 Feb 2015 16:48:51 +0000 (16:48 +0000)]
Allow customizations for unix sockets.

Issue: #182
Reported by: @AlexeySa

9 years agoMore fixes to urls parser.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:57:20 +0000 (12:57 +0000)]
More fixes to urls parser.

9 years agoInitialize variable earlier.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:05:00 +0000 (12:05 +0000)]
Initialize variable earlier.

9 years agoRework url detection and decoding.
Vsevolod Stakhov [Fri, 20 Feb 2015 12:01:44 +0000 (12:01 +0000)]
Rework url detection and decoding.

9 years agoAdd uri unescape from nginx.
Vsevolod Stakhov [Thu, 19 Feb 2015 22:40:59 +0000 (22:40 +0000)]
Add uri unescape from nginx.

9 years agoAllow url parser seting the end of url.
Vsevolod Stakhov [Thu, 19 Feb 2015 22:30:31 +0000 (22:30 +0000)]
Allow url parser seting the end of url.

9 years agoImprove emails parsing (mentioned at #181).
Vsevolod Stakhov [Wed, 18 Feb 2015 10:28:24 +0000 (10:28 +0000)]
Improve emails parsing (mentioned at #181).

Conflicts:
src/libserver/url.c

9 years agoImprove some cases of IDN urls.
Vsevolod Stakhov [Thu, 19 Feb 2015 16:34:03 +0000 (16:34 +0000)]
Improve some cases of IDN urls.

9 years agoWrite parser for urls.
Vsevolod Stakhov [Thu, 19 Feb 2015 16:18:06 +0000 (16:18 +0000)]
Write parser for urls.

Conflicts:
src/libserver/url.c

9 years agoFix radix comparision for partial masks.
Vsevolod Stakhov [Thu, 19 Feb 2015 12:35:14 +0000 (12:35 +0000)]
Fix radix comparision for partial masks.

9 years agoFix emails parsing.
Vsevolod Stakhov [Tue, 17 Feb 2015 15:05:49 +0000 (15:05 +0000)]
Fix emails parsing.

9 years agoEmail usernames can contain atom symbols.
Vsevolod Stakhov [Tue, 17 Feb 2015 12:35:13 +0000 (12:35 +0000)]
Email usernames can contain atom symbols.

9 years agoFix urls interaction.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:55:14 +0000 (17:55 +0000)]
Fix urls interaction.

9 years agoRemove old crap functions from url parser code.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:39:03 +0000 (17:39 +0000)]
Remove old crap functions from url parser code.

9 years agoMerge pull request #178 from fatalbanana/rspamd-0.8
Vsevolod Stakhov [Tue, 17 Feb 2015 13:41:30 +0000 (13:41 +0000)]
Merge pull request #178 from fatalbanana/rspamd-0.8

Rspamd 0.8: More fixes & improvements for RBL module

9 years agoSince exclude_private_ips requires config to change behaviour now we can make it... 178/head
Andrew Lewis [Tue, 17 Feb 2015 11:12:05 +0000 (13:12 +0200)]
Since exclude_private_ips requires config to change behaviour now we can make it default true

9 years agoForgot to update documentation for emails dnsbl
Andrew Lewis [Tue, 17 Feb 2015 11:03:41 +0000 (13:03 +0200)]
Forgot to update documentation for emails dnsbl

9 years agoSupport emails dnsbl
Andrew Lewis [Tue, 17 Feb 2015 10:47:17 +0000 (12:47 +0200)]
Support emails dnsbl

9 years agoMake local/private IP exclusions work for all RBL types
Andrew Lewis [Tue, 17 Feb 2015 08:22:19 +0000 (10:22 +0200)]
Make local/private IP exclusions work for all RBL types