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

11 years agoDo not panic when json buffer is NULL or empty.
Vsevolod Stakhov [Sat, 12 Jan 2013 13:38:21 +0000 (17:38 +0400)]
Do not panic when json buffer is NULL or empty.

11 years agoUse temporary list to avoid stupid comma problems.
Vsevolod Stakhov [Wed, 9 Jan 2013 16:00:40 +0000 (20:00 +0400)]
Use temporary list to avoid stupid comma problems.

11 years agoStore weight of symbol properly allowing dynamic conf code to modify a single pointer...
Vsevolod Stakhov [Wed, 9 Jan 2013 15:07:32 +0000 (19:07 +0400)]
Store weight of symbol properly allowing dynamic conf code to modify a single pointer in metrics section.

11 years agoUpdate required score according to default metric's action.
Vsevolod Stakhov [Wed, 9 Jan 2013 15:02:50 +0000 (19:02 +0400)]
Update required score according to default metric's action.

11 years agoCopy hash table utility function.
Vsevolod Stakhov [Wed, 9 Jan 2013 14:50:49 +0000 (18:50 +0400)]
Copy hash table utility function.
Slight fix for /symbols handler.

11 years agoAdd saving of actions, symbols and maps.
Vsevolod Stakhov [Wed, 9 Jan 2013 12:35:03 +0000 (16:35 +0400)]
Add saving of actions, symbols and maps.

11 years agoRework /login handler.
Vsevolod Stakhov [Tue, 8 Jan 2013 17:58:20 +0000 (21:58 +0400)]
Rework /login handler.
Add skeleton for /savemap handler.

11 years agoAdd real learning via web interface.
Vsevolod Stakhov [Tue, 8 Jan 2013 16:08:17 +0000 (20:08 +0400)]
Add real learning via web interface.
Add sekeleton of save actions and symbols paths.

11 years agoFix ',' in /history handler.
Vsevolod Stakhov [Tue, 8 Jan 2013 14:33:37 +0000 (18:33 +0400)]
Fix ',' in /history handler.

11 years agoAdd locking for maps.
Vsevolod Stakhov [Tue, 8 Jan 2013 14:24:24 +0000 (18:24 +0400)]
Add locking for maps.
Add ability to save rolling history in a file.

11 years agoAdd password checking to all commands.
Vsevolod Stakhov [Mon, 7 Jan 2013 15:46:27 +0000 (19:46 +0400)]
Add password checking to all commands.
Add actions command handler.

11 years agoFix for fineuploader.
Vsevolod Stakhov [Mon, 7 Jan 2013 14:58:15 +0000 (18:58 +0400)]
Fix for fineuploader.

11 years agoAdd skeleton for learning commands.
Vsevolod Stakhov [Mon, 7 Jan 2013 14:48:50 +0000 (18:48 +0400)]
Add skeleton for learning commands.

11 years ago* Add rolling history feature saving last 200 scanned messages.
Vsevolod Stakhov [Mon, 7 Jan 2013 14:32:15 +0000 (18:32 +0400)]
* Add rolling history feature saving last 200 scanned messages.
Add /history command handler in webui.

11 years agoAnother json format fix.
Vsevolod Stakhov [Sun, 6 Jan 2013 18:15:00 +0000 (22:15 +0400)]
Another json format fix.

11 years agoAdd colors to graphs.
Vsevolod Stakhov [Sun, 6 Jan 2013 18:08:28 +0000 (22:08 +0400)]
Add colors to graphs.

11 years agoMore smooth graph.
Vsevolod Stakhov [Sun, 6 Jan 2013 17:46:13 +0000 (21:46 +0400)]
More smooth graph.

11 years agoAdd sample graph function (no real data still).
Vsevolod Stakhov [Sun, 6 Jan 2013 17:31:12 +0000 (21:31 +0400)]
Add sample graph function (no real data still).

11 years agoJson...
Vsevolod Stakhov [Sun, 6 Jan 2013 16:57:15 +0000 (20:57 +0400)]
Json...

11 years agoJson ',' fix...
Vsevolod Stakhov [Sun, 6 Jan 2013 16:48:32 +0000 (20:48 +0400)]
Json ',' fix...

11 years agoJson ',' fix.
Vsevolod Stakhov [Sun, 6 Jan 2013 16:39:47 +0000 (20:39 +0400)]
Json ',' fix.

11 years agoAnother workaround for libevent 1.x
Vsevolod Stakhov [Sun, 6 Jan 2013 16:35:49 +0000 (20:35 +0400)]
Another workaround for libevent 1.x

11 years agoAdd /maps and /getmap commands to webui.
Vsevolod Stakhov [Sun, 6 Jan 2013 16:33:31 +0000 (20:33 +0400)]
Add /maps and /getmap commands to webui.
Identify maps by id.
Initialize secure random numbers using openssl.
Add description to maps.

11 years agoFix for old libevent.
Vsevolod Stakhov [Sun, 6 Jan 2013 13:32:45 +0000 (17:32 +0400)]
Fix for old libevent.

11 years ago* Add symbols command for webui.
Vsevolod Stakhov [Sun, 6 Jan 2013 13:26:17 +0000 (17:26 +0400)]
* Add symbols command for webui.

11 years agoAdd webui handler for rspamd (skeleton).
Vsevolod Stakhov [Sat, 5 Jan 2013 16:29:26 +0000 (20:29 +0400)]
Add webui handler for rspamd (skeleton).
Fix url detector.
Add group option for modules options.
Some fixes in controller and rrd code.

11 years agoFix rrd update.
Vsevolod Stakhov [Fri, 21 Dec 2012 16:55:22 +0000 (20:55 +0400)]
Fix rrd update.

11 years agoImplement rra writing.
Vsevolod Stakhov [Tue, 18 Dec 2012 18:12:45 +0000 (22:12 +0400)]
Implement rra writing.

11 years agoAdd CDP updates.
Vsevolod Stakhov [Mon, 17 Dec 2012 18:56:03 +0000 (22:56 +0400)]
Add CDP updates.

11 years agoMore logic to rrd update method.
Vsevolod Stakhov [Sun, 16 Dec 2012 23:34:29 +0000 (03:34 +0400)]
More logic to rrd update method.

11 years agoFix test build and shlibs depends.
Vsevolod Stakhov [Sat, 15 Dec 2012 10:41:15 +0000 (14:41 +0400)]
Fix test build and shlibs depends.

11 years ago* Add simple test for rrd.
Vsevolod Stakhov [Sat, 15 Dec 2012 00:17:10 +0000 (04:17 +0400)]
* Add simple test for rrd.
Several fixes to RRD API.

TODO: fix test building
TODO: improve update of rrd files
TODO: rework shared libraries again

11 years ago* RRD API initial implementation.
Vsevolod Stakhov [Fri, 14 Dec 2012 18:26:27 +0000 (22:26 +0400)]
* RRD API initial implementation.

11 years agoAdd skeleton for rrd files format and basic API for writing data to rrd files.
Vsevolod Stakhov [Wed, 12 Dec 2012 15:33:39 +0000 (19:33 +0400)]
Add skeleton for rrd files format and basic API for writing data to rrd files.

11 years agoFix diff normalization.
Vsevolod Stakhov [Mon, 3 Dec 2012 12:30:09 +0000 (16:30 +0400)]
Fix diff normalization.
Fix redirector call in surbl module.

11 years agoFix to_resolve field filling in lua dns resolver.
Vsevolod Stakhov [Fri, 30 Nov 2012 13:41:44 +0000 (17:41 +0400)]
Fix to_resolve field filling in lua dns resolver.

12 years agoUpdate ChangeLog
Vsevolod Stakhov [Wed, 21 Nov 2012 12:58:18 +0000 (16:58 +0400)]
Update ChangeLog

12 years agoAdded tag 0.5.3 for changeset 4ad023f896ce
Vsevolod Stakhov [Wed, 21 Nov 2012 12:53:44 +0000 (16:53 +0400)]
Added tag 0.5.3 for changeset 4ad023f896ce

12 years agoUpdate version to 0.5.3. 0.5.3
Vsevolod Stakhov [Wed, 21 Nov 2012 12:53:39 +0000 (16:53 +0400)]
Update version to 0.5.3.

12 years agoFix issue with client output in case of non-tty output.
Vsevolod Stakhov [Mon, 19 Nov 2012 11:40:30 +0000 (15:40 +0400)]
Fix issue with client output in case of non-tty output.

12 years agoGet rid of some false-positive urls detections.
Vsevolod Stakhov [Fri, 12 Oct 2012 17:49:44 +0000 (21:49 +0400)]
Get rid of some false-positive urls detections.

12 years agoForgot in previous commit.
Vsevolod Stakhov [Fri, 12 Oct 2012 14:43:07 +0000 (18:43 +0400)]
Forgot in previous commit.

12 years ago* Compare parts distance normalized in diff algorithm that reduces number of
Vsevolod Stakhov [Tue, 9 Oct 2012 17:15:49 +0000 (21:15 +0400)]
* Compare parts distance normalized in diff algorithm that reduces number of
  false positives for this function.

12 years ago* Use murmur hash for all hashes as it is more efficient and provides more uniform...
Vsevolod Stakhov [Mon, 8 Oct 2012 17:21:53 +0000 (21:21 +0400)]
* Use murmur hash for all hashes as it is more efficient and provides more uniform distribution as glib's default one.
* Fix probability renormalization while using advanced classification.

12 years agoMake mlock option as tunable.
Vsevolod Stakhov [Mon, 8 Oct 2012 15:09:51 +0000 (19:09 +0400)]
Make mlock option as tunable.

12 years ago* Use mlock to speed up classifiers by locking statfiles in the RAM.
Vsevolod Stakhov [Fri, 5 Oct 2012 16:37:54 +0000 (20:37 +0400)]
* Use mlock to speed up classifiers by locking statfiles in the RAM.

12 years ago* Add meta-classification example.
Vsevolod Stakhov [Thu, 4 Oct 2012 18:14:10 +0000 (22:14 +0400)]
* Add meta-classification example.
Many changes to advanced statistic and meta-classification logic.
Add example of complex meta-classification.

12 years ago* Add support for dynamic configuration to the client.
Vsevolod Stakhov [Tue, 2 Oct 2012 16:32:49 +0000 (20:32 +0400)]
* Add support for dynamic configuration to the client.
Cleanup client's code.
Update manual page for client.
Make 'bayes' as the default classifier for client learning operations.

12 years ago* Add support for dynamic configuration to the controller's interface.
Vsevolod Stakhov [Tue, 2 Oct 2012 15:44:49 +0000 (19:44 +0400)]
* Add support for dynamic configuration to the controller's interface.
* File maps are now being watched even if they don't exist on rspamd start.
Several fixes to dynamic configuration logic.

12 years agoAllow multiply statfiles with a same label.
Vsevolod Stakhov [Tue, 2 Oct 2012 13:35:42 +0000 (17:35 +0400)]
Allow multiply statfiles with a same label.

12 years ago* Add dynamic configuration dumping.
Vsevolod Stakhov [Mon, 1 Oct 2012 18:08:36 +0000 (22:08 +0400)]
* Add dynamic configuration dumping.
* Add labels support to the statfiles (would be used for meta-classification)
* Rewrite exim spam.c patch to work with both rspamd and SA by using 'variant=rspamd' option
  in spam_server line.

12 years ago* Link dynamic configuration to the main build.
Vsevolod Stakhov [Tue, 25 Sep 2012 18:12:07 +0000 (22:12 +0400)]
* Link dynamic configuration to the main build.
Add utility functions for dynamic config.

12 years agoAdd skeleton of dynamic configuration logic.
Vsevolod Stakhov [Wed, 19 Sep 2012 18:24:57 +0000 (22:24 +0400)]
Add skeleton of dynamic configuration logic.

12 years ago* Add map_watch_interval configurable.
Vsevolod Stakhov [Wed, 19 Sep 2012 16:42:30 +0000 (20:42 +0400)]
* Add map_watch_interval configurable.
Support floating point values for time intervals.

12 years agoAvoid global variables in map logic.
Vsevolod Stakhov [Wed, 19 Sep 2012 16:29:58 +0000 (20:29 +0400)]
Avoid global variables in map logic.
* Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'