aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * Process raw headers by FSM.Vsevolod Stakhov2011-02-211-94/+67
| | | | * Add methods for accessing raw_headers from lua and C
* * Add ability to call lua function from regexp expressionsVsevolod Stakhov2011-02-211-0/+33
|
* * Add function regexp_occurs_number that allows to test how much occurs of ↵Vsevolod Stakhov2011-02-181-22/+214
| | | | | | | | | regexp can be found in a message Fix composites logic. [1] Fix composites registration from lua. [1] Reported by: Victor Ustugov [1]
* * Add ability to specify 'S' flag to regexp that means that headers checks ↵Vsevolod Stakhov2011-02-151-1/+1
| | | | | | must be case sensitive * Add lua function message:get_header_strong
* Call lua functions correctly as well.Vsevolod Stakhov2011-02-081-1/+1
|
* * Many fixes to fuzzy hashes logic and tokenization.Vsevolod Stakhov2011-01-241-2/+4
|
* Implement checking options for modulesVsevolod Stakhov2010-12-131-0/+3
| | | | | | Implement checking for classifier options Fix redirector to handle timeouts and invalid replies properly Fix surbl module not to check each url
* Add add_header action to smtp proxy.Vsevolod Stakhov2010-10-261-2/+11
| | | | In raw mode scan stripped html parts when regexp are not 'raw'.
* Fixes bugs found with clang-static analyser.Vsevolod Stakhov2010-10-111-1/+1
| | | | | Strictly follow c99 standart. Turn on pedantic c99 checks.
* Init regexp library statically.Vsevolod Stakhov2010-10-061-2/+1
|
* * Add ability to check rspamd regexp from lua modulesVsevolod Stakhov2010-10-061-1/+51
|
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-50/+50
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Add error handling for regexps0.3.1Vsevolod Stakhov2010-07-291-6/+22
|
* * Another try to save regexps in cache correctlyVsevolod Stakhov2010-07-281-32/+38
| | | | * Improve test logs for regexps
* * Fix check_smtp_data functionVsevolod Stakhov2010-07-151-6/+38
|
* * Remove evdns and use only rspamd resolverVsevolod Stakhov2010-07-091-1/+0
|
* * Add ability to test regexp with 'T' flagVsevolod Stakhov2010-07-061-1/+40
| | | | | | | * Write more code for DNS resolver: - initial RR parser - name compression - replies handler
* * Fix -lintl detectionVsevolod Stakhov2010-06-231-1/+6
| | | | * Init some variables to avoid problems
* * Fix compatibility issuesVsevolod Stakhov2010-06-231-1/+1
|
* * Change metric logicVsevolod Stakhov2010-06-161-34/+7
| | | | | | | * 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
* * Add more logic for dynamic rulesVsevolod Stakhov2010-06-081-0/+24
| | | | | * Add documentation for dynamic rules * Add ability to make negations in networks in dynamic rules
* * Add experimental support of dynamic rules to regexp moduleVsevolod Stakhov2010-06-011-16/+295
|
* * Fix config reloadingVsevolod Stakhov2010-05-131-2/+2
| | | | | * Add ability to register variables in memory pools (hash with known lifetime) * Avoid of using of some global variables
* * Insert fuzzy check symbol correctly as it depends not only on factor but ↵Vsevolod Stakhov2010-04-081-1/+10
| | | | also to normalizer
* * Regexp module now can understand lua variables and functionsVsevolod Stakhov2010-04-081-5/+27
|
* * Fix freeing of module parameters (they should NOT be freed)Vsevolod Stakhov2010-03-231-2/+0
| | | | | | | * Add minimum hash length to check with fuzzy module as well as whitelisting for fuzzy checks: min_length = "300"; <- messages with more than 300 characters would be checked with fuzzy check whitelist = "http://somehost/somefile"; <- ip addresses whitelisted * Extend comments about module options for comfortable usage
* * Add ability to add normalizers for statfiles (custom functions written in ↵cebka@lenovo-laptop2010-01-131-1/+1
| | | | lua or simple internal normalizer)
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-38/+38
| | | | | | | | | - 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
* * Add check_smtp_data function for checking some fields from SMTP dialogVsevolod Stakhov2009-11-221-5/+140
|
* * Add ability to register rspamd functions from LUAVsevolod Stakhov2009-10-131-6/+6
| | | | | | * Add ability to access recipients list and sender information * Add plugin for checking forged recipients and sender * Sync documentation
* * Retab, no functional changesVsevolod Stakhov2009-10-021-238/+240
|
* * Fix some memory issues with lua (strings that are returned from lua can be ↵Vsevolod Stakhov2009-10-021-0/+2
| | | | freed early)
* * Add time out for sync IO as it can cause unpredictable errorsVsevolod Stakhov2009-09-211-2/+1
|
* * Fix processing of empty partsVsevolod Stakhov2009-08-211-11/+2
| | | | * Fix memory problems in controller
* * Fix bug with parsing raw headers for messages that have mixed line ending ↵Vsevolod Stakhov2009-08-101-1/+3
| | | | style
* * Fix some more bugs with empty partsVsevolod Stakhov2009-07-301-4/+4
|
* * Add support for empty text or html partsVsevolod Stakhov2009-07-291-0/+10
|
* * Fix symbol planning, add cache_file directive to config fileVsevolod Stakhov2009-07-141-2/+2
| | | | * Fix some errors
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-47/+30
| | | | | | | * Add metrics optimization and symbols cache * Change all plugins [DRAGONS]: not for production usage, some things are still not working!
* * Try to search for headers in multipart parts if headers are not found in ↵Vsevolod Stakhov2009-07-081-1/+1
| | | | | | parent part * Fix raw header's search
* * Add views support (not completely tested yet)Vsevolod Stakhov2009-06-291-12/+14
|
* * Introduce new system of workers spawning and configuring, now rspamd can ↵Vsevolod Stakhov2009-06-171-18/+18
| | | | | | | be easily extended by new types of wrokers * Rework config system and avoid from using queue (3) lists * Upgrade version to 0.2.0 as config format is now incompatible with older one
* * Add function "raw_header_exists" for finding headers that are not parsed ↵Vsevolod Stakhov2009-06-111-0/+23
| | | | by gmime (Mime-Version for example)
* * Rework url parsing algorithmsVsevolod Stakhov2009-06-021-6/+45
| | | | | | | * Adopt all parts of rspamd for new url parser * Improve url-extracter utility by avoiding cut&paste of mime parsing * Small fixes to rspamc client * Bump version to 0.1.3
* * Fix stripping header when matching raw headersVsevolod Stakhov2009-05-141-2/+1
|
* * Fix work with raw headers and with senders in messageVsevolod Stakhov2009-05-141-1/+37
|
* * Fix expression optimizatorVsevolod Stakhov2009-05-051-3/+2
|
* * Enable counters interfaceVsevolod Stakhov2009-05-051-0/+1
| | | | * Move modules configuration to init stage
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-1/+25
| | | | * Fix shared hashes
* * Implement new optimization methodVsevolod Stakhov2009-04-281-19/+49
|