]> source.dussan.org Git - rspamd.git/log
rspamd.git
11 years agoRemove ambiguity from url parser.
Vsevolod Stakhov [Mon, 24 Jun 2013 16:54:38 +0000 (17:54 +0100)]
Remove ambiguity from url parser.

11 years agoMore fixes to received parser.
Vsevolod Stakhov [Mon, 24 Jun 2013 16:01:47 +0000 (17:01 +0100)]
More fixes to received parser.

11 years agoHandle another case in received parser.
Vsevolod Stakhov [Mon, 24 Jun 2013 15:36:27 +0000 (16:36 +0100)]
Handle another case in received parser.

11 years agoReceived parser fix.
Vsevolod Stakhov [Mon, 24 Jun 2013 15:32:30 +0000 (16:32 +0100)]
Received parser fix.

11 years agoImprove received headers parser to accept exim style received.
Vsevolod Stakhov [Mon, 24 Jun 2013 15:20:07 +0000 (16:20 +0100)]
Improve received headers parser to accept exim style received.

11 years agoFix urls detection for strings with multiply dots.
Vsevolod Stakhov [Mon, 24 Jun 2013 11:32:54 +0000 (12:32 +0100)]
Fix urls detection for strings with multiply dots.

11 years agoForgotten in the previous commit.
Vsevolod Stakhov [Thu, 20 Jun 2013 14:32:54 +0000 (15:32 +0100)]
Forgotten in the previous commit.

11 years agoAdd a hack to fix libcrypto dependency for Solaris.
Vsevolod Stakhov [Thu, 20 Jun 2013 14:15:57 +0000 (15:15 +0100)]
Add a hack to fix libcrypto dependency for Solaris.

11 years agoMore fixes for Solaris.
Vsevolod Stakhov [Thu, 20 Jun 2013 11:47:11 +0000 (12:47 +0100)]
More fixes for Solaris.

11 years agoFix portability on Solaris.
Vsevolod Stakhov [Thu, 20 Jun 2013 11:21:38 +0000 (12:21 +0100)]
Fix portability on Solaris.

11 years agoClassify task in webui scan method.
Vsevolod Stakhov [Tue, 18 Jun 2013 16:46:03 +0000 (17:46 +0100)]
Classify task in webui scan method.

11 years agoAnother fix for tld urls.
Vsevolod Stakhov [Mon, 17 Jun 2013 15:17:24 +0000 (16:17 +0100)]
Another fix for tld urls.

11 years agoFix url detection at the beginning of a message.
Vsevolod Stakhov [Mon, 17 Jun 2013 15:10:07 +0000 (16:10 +0100)]
Fix url detection at the beginning of a message.

11 years agoImprove urls parsing.
Vsevolod Stakhov [Mon, 17 Jun 2013 15:00:29 +0000 (16:00 +0100)]
Improve urls parsing.

For tld matches use more strict constraint to avoid non-url
objects detection by a suffix trie. For example,

aaa.rum@mail.com could be previously treated as m@mail.com
email. This patch tries to resolve this issue.

11 years agoRework suffix trie implementation.
Vsevolod Stakhov [Fri, 14 Jun 2013 16:43:00 +0000 (17:43 +0100)]
Rework suffix trie implementation.

11 years agoSupport metaoptions in lua configuration.
Vsevolod Stakhov [Fri, 14 Jun 2013 14:49:37 +0000 (15:49 +0100)]
Support metaoptions in lua configuration.

11 years agoAdd a simple test of rsa utils in lua.
Vsevolod Stakhov [Thu, 13 Jun 2013 14:47:32 +0000 (15:47 +0100)]
Add a simple test of rsa utils in lua.

Support RSA signing in lua_rsa module.
Add save function for rsa_signature.
Fix test logic for lua modules.

11 years agoAdd ability to perform lua tests by rspamd.
Vsevolod Stakhov [Thu, 13 Jun 2013 12:59:38 +0000 (13:59 +0100)]
Add ability to perform lua tests by rspamd.

This feature is useful for testing lua modules and writing
unit tests for lua modules.

11 years agoFix RSA signature handling.
Vsevolod Stakhov [Thu, 13 Jun 2013 12:44:09 +0000 (13:44 +0100)]
Fix RSA signature handling.

11 years agoAdd preliminary API for rsa verify to lua.
Vsevolod Stakhov [Wed, 12 Jun 2013 16:50:35 +0000 (17:50 +0100)]
Add preliminary API for rsa verify to lua.

11 years agoExport rspamd paths to lua.
Vsevolod Stakhov [Wed, 12 Jun 2013 14:59:12 +0000 (15:59 +0100)]
Export rspamd paths to lua.

11 years agoThe first step to 0.6.
Vsevolod Stakhov [Wed, 12 Jun 2013 14:41:56 +0000 (15:41 +0100)]
The first step to 0.6.

11 years agoReset mods counter on cache file sync.
Vsevolod Stakhov [Tue, 11 Jun 2013 15:55:22 +0000 (16:55 +0100)]
Reset mods counter on cache file sync.

11 years agoAdd expiration logic.
Vsevolod Stakhov [Tue, 11 Jun 2013 14:14:06 +0000 (15:14 +0100)]
Add expiration logic.

11 years agoUpdate fuzzy storage in a separate thread.
Vsevolod Stakhov [Mon, 10 Jun 2013 23:16:27 +0000 (00:16 +0100)]
Update fuzzy storage in a separate thread.

11 years agoAdded tag 0.5.6 for changeset 34ec644af33c
Vsevolod Stakhov [Mon, 10 Jun 2013 12:57:58 +0000 (13:57 +0100)]
Added tag 0.5.6 for changeset 34ec644af33c

11 years agoUpdate version in specs. 0.5.6
Vsevolod Stakhov [Mon, 10 Jun 2013 12:28:03 +0000 (13:28 +0100)]
Update version in specs.

11 years agoDetect exp2l as well. Update to 0.5.6.
Vsevolod Stakhov [Mon, 10 Jun 2013 12:20:45 +0000 (13:20 +0100)]
Detect exp2l as well. Update to 0.5.6.

11 years agoTest for expl function presence.
Vsevolod Stakhov [Sun, 9 Jun 2013 14:47:34 +0000 (15:47 +0100)]
Test for expl function presence.

11 years agoAdopt to lua 5.2.
Vsevolod Stakhov [Sat, 8 Jun 2013 15:07:25 +0000 (16:07 +0100)]
Adopt to lua 5.2.

11 years agoFix output for counters command.
Vsevolod Stakhov [Fri, 7 Jun 2013 16:30:09 +0000 (17:30 +0100)]
Fix output for counters command.

11 years agoSupport counters in rspamc client.
Vsevolod Stakhov [Fri, 7 Jun 2013 16:12:30 +0000 (17:12 +0100)]
Support counters in rspamc client.

11 years agoAllow explicit turning off of options.
Vsevolod Stakhov [Fri, 7 Jun 2013 14:37:24 +0000 (15:37 +0100)]
Allow explicit turning off of options.

Now there is a way to specify cmake to skip linking with undesired
libraries.

Fix rpm spec to include libevent and optional Judy.

11 years agoDo not add extra useless line for restfull output.
Vsevolod Stakhov [Fri, 7 Jun 2013 13:55:01 +0000 (14:55 +0100)]
Do not add extra useless line for restfull output.

11 years agoImprove counters output in the controller.
Vsevolod Stakhov [Fri, 7 Jun 2013 13:52:25 +0000 (14:52 +0100)]
Improve counters output in the controller.

11 years agoAnother buffers fix.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:36:26 +0000 (17:36 +0100)]
Another buffers fix.

11 years agoUpdate buffers logic for streaming read.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:31:31 +0000 (17:31 +0100)]
Update buffers logic for streaming read.

11 years agoAnother fix to streaming handle.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:21:26 +0000 (17:21 +0100)]
Another fix to streaming handle.

11 years agoFix misprint in operator.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:14:48 +0000 (17:14 +0100)]
Fix misprint in operator.

11 years agoStream read fix.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:12:35 +0000 (17:12 +0100)]
Stream read fix.

11 years agoRemove broken line.
Vsevolod Stakhov [Thu, 6 Jun 2013 16:05:30 +0000 (17:05 +0100)]
Remove broken line.

11 years agoAvoid arrays addresses manipulation.
Vsevolod Stakhov [Thu, 6 Jun 2013 15:57:52 +0000 (16:57 +0100)]
Avoid arrays addresses manipulation.

11 years agoAllow parsing streams without Content-Length.
Vsevolod Stakhov [Thu, 6 Jun 2013 15:48:19 +0000 (16:48 +0100)]
Allow parsing streams without Content-Length.

11 years agoRemove endless counter incrementing.
Vsevolod Stakhov [Thu, 6 Jun 2013 13:35:31 +0000 (14:35 +0100)]
Remove endless counter incrementing.

In some cases it is not enough to perform compare and exchange
and we still can get race condition in atomic incrementing.
Therefore, it is better to loose a history event than to
log error message each time.

11 years agoDo not create TCP socket for fuzzy storage.
Vsevolod Stakhov [Thu, 6 Jun 2013 13:09:17 +0000 (14:09 +0100)]
Do not create TCP socket for fuzzy storage.

11 years agoAdded tag 0.5.5 for changeset 44fecab72df6
Vsevolod Stakhov [Wed, 5 Jun 2013 13:21:29 +0000 (14:21 +0100)]
Added tag 0.5.5 for changeset 44fecab72df6

11 years agoAdded tag 0.5.5 for changeset 88d62b224381 0.5.5
Vsevolod Stakhov [Wed, 5 Jun 2013 13:21:25 +0000 (14:21 +0100)]
Added tag 0.5.5 for changeset 88d62b224381

11 years agoUpdate ChangeLog.
Vsevolod Stakhov [Wed, 5 Jun 2013 13:21:06 +0000 (14:21 +0100)]
Update ChangeLog.

11 years agoAdded tag 0.5.5 for changeset 4c41246d28b0
Vsevolod Stakhov [Wed, 5 Jun 2013 13:13:21 +0000 (14:13 +0100)]
Added tag 0.5.5 for changeset 4c41246d28b0

11 years agoFix fuzzy storage initialization and finalization.
Vsevolod Stakhov [Wed, 5 Jun 2013 11:50:11 +0000 (12:50 +0100)]
Fix fuzzy storage initialization and finalization.

11 years agoFix logging in rspamd-util routines.
Vsevolod Stakhov [Tue, 4 Jun 2013 14:40:02 +0000 (15:40 +0100)]
Fix logging in rspamd-util routines.

11 years agoAdd allow_update example usage.
Vsevolod Stakhov [Tue, 4 Jun 2013 14:08:31 +0000 (15:08 +0100)]
Add allow_update example usage.

11 years agoAllow restriction of update commands for fuzzy storage.
Vsevolod Stakhov [Tue, 4 Jun 2013 13:51:42 +0000 (14:51 +0100)]
Allow restriction of update commands for fuzzy storage.

Now it is possible to specify ip or networks from which fuzzy
updates or removes are possible.

Rework sockets logic while I'm here.

Create universal utility for parsing ipv4/mask strings.

11 years agoDo not add empty fuzzy hashes.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:40:01 +0000 (17:40 +0100)]
Do not add empty fuzzy hashes.

11 years agoFix listening on sockets.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:24:34 +0000 (17:24 +0100)]
Fix listening on sockets.

11 years agoFix UDP sockets creation.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:17:07 +0000 (17:17 +0100)]
Fix UDP sockets creation.

11 years agoCorrectly use ai_family for socket(2) call.
Vsevolod Stakhov [Mon, 3 Jun 2013 16:08:04 +0000 (17:08 +0100)]
Correctly use ai_family for socket(2) call.

11 years agoFix misprint in section name.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:58:23 +0000 (16:58 +0100)]
Fix misprint in section name.

11 years agoFix wildcard addresses in config.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:52:47 +0000 (16:52 +0100)]
Fix wildcard addresses in config.

11 years agoFix some warnings that actually are dangerous.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:24:15 +0000 (16:24 +0100)]
Fix some warnings that actually are dangerous.

11 years agoPrint filename when client scan or learn message from a file.
Vsevolod Stakhov [Mon, 3 Jun 2013 15:04:27 +0000 (16:04 +0100)]
Print filename when client scan or learn message from a file.

11 years agoUse specific fuzzy database.
Vsevolod Stakhov [Mon, 3 Jun 2013 14:55:45 +0000 (15:55 +0100)]
Use specific fuzzy database.

11 years agoExplicit dependency on libJudy has been added in centos spec.
Vsevolod Stakhov [Mon, 3 Jun 2013 14:48:14 +0000 (15:48 +0100)]
Explicit dependency on libJudy has been added in centos spec.

11 years agoCheck for getaddrinfo presence on a build system.
Vsevolod Stakhov [Sun, 2 Jun 2013 22:57:19 +0000 (23:57 +0100)]
Check for getaddrinfo presence on a build system.

11 years agoRework socket creation logic to support both ipv4 and ipv6 sockets.
Vsevolod Stakhov [Sat, 1 Jun 2013 14:52:11 +0000 (15:52 +0100)]
Rework socket creation logic to support both ipv4 and ipv6 sockets.

11 years agoUse getaddrinfo when opening sockets.
Vsevolod Stakhov [Fri, 31 May 2013 16:45:18 +0000 (17:45 +0100)]
Use getaddrinfo when opening sockets.

11 years agoAdd support for meta options for modules.
Vsevolod Stakhov [Thu, 30 May 2013 13:38:24 +0000 (14:38 +0100)]
Add support for meta options for modules.

This is preliminary patch that enables meta options for modules
which would simplify complex options passing.

11 years agoSome fixes to debian dependencies list.
Vsevolod Stakhov [Wed, 29 May 2013 14:50:36 +0000 (15:50 +0100)]
Some fixes to debian dependencies list.

11 years agoFix segfault in a client when controller disappears.
Vsevolod Stakhov [Tue, 28 May 2013 16:35:58 +0000 (17:35 +0100)]
Fix segfault in a client when controller disappears.

11 years agoIncrease default limit, as unloading logic is broken.
Vsevolod Stakhov [Tue, 28 May 2013 14:33:15 +0000 (15:33 +0100)]
Increase default limit, as unloading logic is broken.

11 years agoFix arguments order in system call.
Vsevolod Stakhov [Tue, 28 May 2013 14:23:05 +0000 (15:23 +0100)]
Fix arguments order in system call.

11 years agoTry to avoid exp overflowing.
Vsevolod Stakhov [Mon, 27 May 2013 09:42:04 +0000 (10:42 +0100)]
Try to avoid exp overflowing.

11 years agoFix spec and centos sources.
Vsevolod Stakhov [Sun, 26 May 2013 20:06:42 +0000 (21:06 +0100)]
Fix spec and centos sources.

--HG--
rename : centos/sources/rspam.logrotate => centos/sources/rspamd.logrotate

11 years agoRemove useless file from installation.
Vsevolod Stakhov [Sun, 26 May 2013 19:26:26 +0000 (20:26 +0100)]
Remove useless file from installation.

11 years agoInitial version of centos/rhel spec file.
Vsevolod Stakhov [Sat, 25 May 2013 12:44:33 +0000 (13:44 +0100)]
Initial version of centos/rhel spec file.

11 years agoFix several potential problems found by static analysis.
Vsevolod Stakhov [Fri, 24 May 2013 12:11:52 +0000 (13:11 +0100)]
Fix several potential problems found by static analysis.

11 years agoMark as 0.5.5.
Vsevolod Stakhov [Thu, 23 May 2013 19:43:25 +0000 (20:43 +0100)]
Mark as 0.5.5.

11 years agoFix probability calculations.
Vsevolod Stakhov [Thu, 23 May 2013 16:44:21 +0000 (17:44 +0100)]
Fix probability calculations.

11 years agoFix call to get statfile's revision.
Vsevolod Stakhov [Thu, 23 May 2013 16:35:33 +0000 (17:35 +0100)]
Fix call to get statfile's revision.

11 years agoUse revisions to get total learn numbers.
Vsevolod Stakhov [Thu, 23 May 2013 16:33:32 +0000 (17:33 +0100)]
Use revisions to get total learn numbers.

11 years agoFix calculations.
Vsevolod Stakhov [Thu, 23 May 2013 16:20:02 +0000 (17:20 +0100)]
Fix calculations.

11 years agoNew chi2square based bayes normalizer.
Vsevolod Stakhov [Thu, 23 May 2013 15:15:46 +0000 (16:15 +0100)]
New chi2square based bayes normalizer.

11 years agoBetter support of ipv6 headers.
Vsevolod Stakhov [Thu, 23 May 2013 12:14:09 +0000 (13:14 +0100)]
Better support of ipv6 headers.

11 years agoCalculate Content-Length properly.
Vsevolod Stakhov [Thu, 28 Mar 2013 17:03:26 +0000 (17:03 +0000)]
Calculate Content-Length properly.

11 years agoFix CentOS 5 build.
Vsevolod Stakhov [Wed, 27 Mar 2013 11:53:05 +0000 (11:53 +0000)]
Fix CentOS 5 build.

11 years agoFix comma in json output.
Vsevolod Stakhov [Mon, 4 Mar 2013 17:59:51 +0000 (17:59 +0000)]
Fix comma in json output.

11 years agoAdded tag 0.5.4 for changeset bf9307c5d78b
Vsevolod Stakhov [Tue, 5 Feb 2013 08:20:14 +0000 (12:20 +0400)]
Added tag 0.5.4 for changeset bf9307c5d78b

11 years agoPolish debian copyright, remove unused CGI. 0.5.4
Vsevolod Stakhov [Tue, 5 Feb 2013 08:06:54 +0000 (12:06 +0400)]
Polish debian copyright, remove unused CGI.
Update ChangeLog.

11 years agoFix critical memory leak in settings code.
Vsevolod Stakhov [Sun, 3 Feb 2013 18:32:58 +0000 (22:32 +0400)]
Fix critical memory leak in settings code.
Format HTTP date correctly.
Fix map watch timeout.

11 years agoForgot to change default settings.
Vsevolod Stakhov [Sun, 3 Feb 2013 13:29:24 +0000 (17:29 +0400)]
Forgot to change default settings.

11 years agoUse proper handler for map watch timeout configuration.
Vsevolod Stakhov [Sun, 3 Feb 2013 13:24:37 +0000 (17:24 +0400)]
Use proper handler for map watch timeout configuration.

11 years agoPod and debian control fix.
Vsevolod Stakhov [Sat, 2 Feb 2013 19:52:39 +0000 (23:52 +0400)]
Pod and debian control fix.

11 years agoManpages fix.
Vsevolod Stakhov [Sat, 2 Feb 2013 19:39:35 +0000 (23:39 +0400)]
Manpages fix.

11 years agoDebian fixes.
Vsevolod Stakhov [Sat, 2 Feb 2013 19:35:36 +0000 (23:35 +0400)]
Debian fixes.

11 years agoFinal update for 0.5.4.
Vsevolod Stakhov [Sat, 2 Feb 2013 19:27:55 +0000 (23:27 +0400)]
Final update for 0.5.4.

11 years agoFix misprint in diff function normalizer.
Vsevolod Stakhov [Sat, 26 Jan 2013 15:49:23 +0000 (19:49 +0400)]
Fix misprint in diff function normalizer.

11 years agoPie format update.
Vsevolod Stakhov [Fri, 18 Jan 2013 10:08:13 +0000 (14:08 +0400)]
Pie format update.

11 years agoForgot to merge.
Vsevolod Stakhov [Fri, 18 Jan 2013 09:29:26 +0000 (13:29 +0400)]
Forgot to merge.

11 years agoAdopt for new piechart library.
Vsevolod Stakhov [Fri, 18 Jan 2013 09:28:32 +0000 (13:28 +0400)]
Adopt for new piechart library.

11 years agoAdd /scan path handler.
Vsevolod Stakhov [Mon, 14 Jan 2013 23:46:41 +0000 (03:46 +0400)]
Add /scan path handler.