summaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
* * Add phishing detector (now just compares <a href> with tag's data).Vsevolod Stakhov2010-11-023-10/+126
|
* Remove G_INLINE_FUNC definitions as I misunderstood its purposes.Vsevolod Stakhov2010-10-151-1/+1
|
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-067-164/+164
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Add trie interface to lua apiVsevolod Stakhov2010-09-223-0/+147
|
* * Add ability to extract filename and size of images from luaVsevolod Stakhov2010-08-251-0/+34
|
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-253-1/+244
| | | | | | | | message's processing * Add ability to check for specified symbol in task results from lua * Add ability to check for metric's results from lua * Add ability to learn specified statfile form lua
* * Move images library to core rspamdVsevolod Stakhov2010-08-233-0/+106
| | | | * Add lua api to access images properties
* * Consider lua plugins errors as fatal configuration errorsVsevolod Stakhov2010-08-042-4/+15
|
* * Fix lua representing of invalid ip (nil, not 255.255.255.255)Vsevolod Stakhov2010-07-271-3/+3
| | | | | * Fix R_TO_SEEMS_AUTO rule (by citrin) * Add multimap lua plugin
* * Improve lua loggingVsevolod Stakhov2010-07-261-4/+35
|
* * Turn off debug_ip during reload if it was disabled by new configVsevolod Stakhov2010-07-261-6/+0
|
* * Fix extracting arguments in lua logger interfaceVsevolod Stakhov2010-07-261-4/+4
|
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-1/+8
| | | | | | | | | * Each part in rspamd task now can have parent part * Check for parts distance only for multipart/alternative subparts * Do not check attachements even if they are text (but attached as file) * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second) * Add ability to turn on debug for specific symbols * Add ability to configure dns timeouts and dns retransmits in config file
* * Fix lua DNS codeVsevolod Stakhov2010-07-131-0/+3
| | | | * Decompress labels in DNS packets more strictly
* * Remove evdns and use only rspamd resolverVsevolod Stakhov2010-07-091-19/+58
|
* * Change metric logicVsevolod Stakhov2010-06-163-61/+11
| | | | | | | * Completely remove lex/yacc readers for config * Make common sense of metric/action and symbols * Sync changes with all plugins TODO: add this to documentation
* * Convert statistic sums to use long double for countersVsevolod Stakhov2010-05-272-3/+3
| | | | * Use hyperbolic tangent for internal normalizer
* * Bugfixes:Vsevolod Stakhov2010-04-203-34/+24
| | | | | | | | | | - handle '\' characters in lua strings correctly - fix lua initialization - avoid of using global lua state (global L) - fix listen sockets hash to allow multiply workers of same type but on different listen sockets - fix modules options inserting to allow multiply options of the same name - fix parsing of lua options - fix lua rules
* * Add lua config for most common rulesVsevolod Stakhov2010-04-131-0/+1
| | | | * Reset lua state while reloading
* * Call lua functions like C functions in expressionsVsevolod Stakhov2010-04-082-0/+55
|
* * Handle modules configurationVsevolod Stakhov2010-04-081-4/+5
|
* * Add lua functions parsing for module optionsVsevolod Stakhov2010-04-063-5/+107
| | | | | | | * Add missing sections to XML parser (classifier, statfile, view, settings) * Add missing params to XML parser * Implement new commandline options parser (using glib) * Set version to 0.3.0 as new rspamd would use new config system
* * Add initial version of lua configuration systemVsevolod Stakhov2010-04-054-3/+210
|
* * Add ability to add normalizers for statfiles (custom functions written in ↵cebka@lenovo-laptop2010-01-132-1/+51
| | | | lua or simple internal normalizer)
* * Introduce new logging system:Vsevolod Stakhov2009-12-225-17/+18
| | | | | | | | | - independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system
* * Implement pre and post classify callbacks for checking specific statfiles ↵Vsevolod Stakhov2009-12-165-1/+302
| | | | | | | | | | for this task TODO: - add properties to get all parameters of input task - add properties to statfile object - add some normalization function for calling from classify process - document changes
* * Add right way to pass config params with common names to lua scriptsVsevolod Stakhov2009-11-111-5/+57
|
* * Add ability to add maps from lua scripts and access theirs elementsVsevolod Stakhov2009-11-024-1/+198
| | | | * Add whitelist module for whitelisting score for some ip/from addresses
* * Add growing coefficient to factors consolidation callbackVsevolod Stakhov2009-10-161-1/+1
| | | | * Fix registering functions from lua
* * Fix getting of message headers from lua pluginsVsevolod Stakhov2009-10-141-11/+11
| | | | * Fix forged recipients plugin
* * Fix loopVsevolod Stakhov2009-10-141-0/+1
|
* * Add ability to register rspamd functions from LUAVsevolod Stakhov2009-10-132-3/+142
| | | | | | * Add ability to access recipients list and sender information * Add plugin for checking forged recipients and sender * Sync documentation
* * Port evdns with TXT patch into rspamd and adopt it to work separately from ↵Vsevolod Stakhov2009-10-071-1/+1
| | | | | | libevent * Add skeleton for spf parser
* * Retab, no functional changesVsevolod Stakhov2009-10-024-376/+372
|
* * Fix some memory issues with lua (strings that are returned from lua can be ↵Vsevolod Stakhov2009-10-022-3/+3
| | | | freed early)
* * Add events to lua resolverVsevolod Stakhov2009-09-251-0/+3
| | | | * Do not classify non-text messages
* * Fix double free of memoryVsevolod Stakhov2009-09-161-3/+0
| | | | * Fix symbols output
* * Add lua plugin for checking received headersVsevolod Stakhov2009-09-151-2/+14
| | | | | | * Some tunes to lua API * Fix bug with http maps * Optimize installation and make custom prefix for configs
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-1/+4
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Add ability to call rspamd fucntions from lua apiVsevolod Stakhov2009-09-062-3/+67
| | | | | | * Make logging adaptive based on log speed (buffered vs unbuffered IO) * Fix lua API docs * Now lua modules can be loaded with glob patterns
* * Add asynchronous DNS resolver to lua APIVsevolod Stakhov2009-09-042-0/+173
| | | | | * Add access to received headers to lua API * Some code polishing
* * More fixes to lua apiVsevolod Stakhov2009-09-045-39/+81
|
* * Make lua api object orientedVsevolod Stakhov2009-09-035-42/+61
|
* * Fix lua APIVsevolod Stakhov2009-09-025-14/+17
|
* * New functionality to lua api:Vsevolod Stakhov2009-09-016-2/+336
| | | | | | | - config class - metric class - textpart class * Add documentation for lua module
* * Reorganze lua support in rspamdVsevolod Stakhov2009-08-316-0/+706