aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Another workaround for old glib.Vsevolod Stakhov2012-02-211-1/+3
|
* More fixes to thread-safe processing.Vsevolod Stakhov2012-02-141-5/+66
|
* Fixes to threading (still incomplete).Vsevolod Stakhov2012-01-311-38/+45
|
* Rework events library slightly:Vsevolod Stakhov2012-01-311-0/+2
| | | | | - forced events are no longer checked or created - add async threads to prevent session to be destroyed till all threads are finished
* Adopt rspamd for the next glib release.Vsevolod Stakhov2012-01-311-5/+18
| | | | | Fix several issues in threads handling inside keystorage. Fix sigsuspend usage in keystorage.
* * Add support to process regexp in multiply threads by using thread pool.Vsevolod Stakhov2012-01-301-9/+66
|
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-0/+12
| | | | | | | | - Removed legacy limitation of worker's types; - Using GQuarks to identify workers and modules; - Remove modules.sh script; - Add a common system of workers and modules; - Write management and configuration for new architecture.
* Do not try to validate empty headers.Vsevolod Stakhov2011-10-251-2/+2
| | | | Write symbols to log in case of HTTP/Json output.
* * Add configuration utils for kvstorageVsevolod Stakhov2011-10-171-1/+1
|
* Check utf8 characters before gregex checks as they assume input to be a utf8 ↵Vsevolod Stakhov2011-10-171-0/+15
| | | | valid string.
* Remove some warnings.Vsevolod Stakhov2011-10-141-2/+0
|
* Fix critical bug with lua stack cleaning that caused heavy memory leaks.0.4.3Vsevolod Stakhov2011-08-121-2/+7
| | | | Update to 0.4.3.
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-4/+4
|
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-291-12/+12
| | | | | * Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
* Update a sample config file.0.4.1Vsevolod Stakhov2011-07-261-0/+4
| | | | Set version to 0.4.1.
* * Add option max_size for regexp module to skip expensive regexp on long ↵Vsevolod Stakhov2011-07-261-2/+20
| | | | messages
* Add workaround for clang under linux.Vsevolod Stakhov2011-07-211-10/+11
| | | | Fix problems found by static analyzing.
* Rework http chunked encoding parsing.Vsevolod Stakhov2011-07-201-5/+5
|
* * Fixes to fuzzy hashing logic, skip urls while estimating fuzzy hashVsevolod Stakhov2011-06-231-25/+10
| | | | | Fix tags stripping. Fix phishing checks (ignore img tags).
* * Fix error in raw headers parsingVsevolod Stakhov2011-05-241-12/+1
| | | | * Improve speed of raw headers access
* Fix memory access.Vsevolod Stakhov2011-03-051-1/+1
|
* Try to fix memory issues.Vsevolod Stakhov2011-03-021-1/+1
|
* Fix several memory leaks in rspamd.Vsevolod Stakhov2011-02-241-1/+1
|
* * 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)