Vsevolod Stakhov
b06c9c6e18
* Optimize speed of regexp_match_number function by avoid of regexp checks when threshold is already reached
15 years ago
Vsevolod Stakhov
638d137e49
* Fix comparing of internet addresses
15 years ago
Vsevolod Stakhov
625a7e5e69
* Fix order of functions arguments
* Do not try to check non-regexp expressions
15 years ago
Vsevolod Stakhov
7408d6fd0f
* Fix error in regexp processing
15 years ago
Vsevolod Stakhov
ed1438755d
* Fix misprint
15 years ago
Vsevolod Stakhov
579c4aa001
* Try to fix expression parser to support ',' inside regexp arguments of functions
15 years ago
Vsevolod Stakhov
f579fed1de
* Add 3 functions:
- is_recipients_sorted
- has_only_html_part
- compare_recipients_distance
* Update documentation
* Fix build
15 years ago
Vsevolod Stakhov
dd2fbb7a5b
* Add message handling functions to lua API
* Add ability to add lua code in config with .lua and .endlua
* Add consolidation functions support that are written in perl or lua
15 years ago
Vsevolod Stakhov
c72912310c
* Make regexp cache functions public for using them in other places
* Add function regexp_match_number that checks number of matched arguments:
e.g.: regexp_match_number(2, ${__RE1}, ${__RE2}, header_exists(Subject))
15 years ago
Vsevolod Stakhov
bbe772242e
* Add ability for plugins to register its own functions in expression's parser
15 years ago
Vsevolod Stakhov
5d37c7aab5
* Fix error in parser when parsing last ')' we need to remove '(' from stack as well
15 years ago
Vsevolod Stakhov
7c2d282297
* Another fix of uptime command
15 years ago
Vsevolod Stakhov
182b158dc8
* Fix variables substitution
* Add simple lua interface to access task structures
* Improve error reporting for regexp module
15 years ago
Vsevolod Stakhov
89a83f2ef6
* Add initial LUA filters support
15 years ago
Vsevolod Stakhov
4e3304bed4
* Fix linking with libutil
15 years ago
Vsevolod Stakhov
f08474cf29
* Fix build without perl
15 years ago
Vsevolod Stakhov
7ca00ea032
* Fix parsing regexp with '=' symbol inside
* Fix config file syntax checking
15 years ago
Vsevolod Stakhov
a83e5f18a2
* Add ability to build rspamd without perl support
* Fix creating of uinx socket
* Improve some build issues
15 years ago
Vsevolod Stakhov
fdccb337ed
* Fix 2 memory leaks
* Fix uptime command output
15 years ago
Vsevolod Stakhov
251d13cc56
* Add statictics for all allocated pools
15 years ago
Vsevolod Stakhov
bd1213bba4
* Unref wrapper as well
15 years ago
Vsevolod Stakhov
f944fabe35
* Do not try to process empty parts
15 years ago
Vsevolod Stakhov
4bcd83f0bb
* Unref stream to avoid memory leaking
15 years ago
Vsevolod Stakhov
7751755b6f
* Fix using of local variable
15 years ago
Vsevolod Stakhov
89af4cfb3a
* Fix log line
15 years ago
Vsevolod Stakhov
b539b43249
* More accurate work with clock
15 years ago
Vsevolod Stakhov
62aaf7da57
* Log scan time and scan length of messages
* Remove 2 memory leaks
15 years ago
Vsevolod Stakhov
f592edf20b
* Fix multiply accept issues
15 years ago
Vsevolod Stakhov
fb67ab386b
* Polish socket utility functions
15 years ago
Vsevolod Stakhov
5603346685
* Fix bug in expressions parser and optimizer
15 years ago
Vsevolod Stakhov
474a08d028
* Fix issue with including sys/uio.h for writev and readv
15 years ago
Vsevolod Stakhov
5dbf570b7d
* Fix many compile time warnings and polish code
15 years ago
Vsevolod Stakhov
616e4a7d03
* Fix obtaining of content-type
15 years ago
Vsevolod Stakhov
f179926436
* Add functions to operate with content-type header and describe them in documentation
15 years ago
Vsevolod Stakhov
cd4a2c85d9
* Fix expression optimizator
15 years ago
Vsevolod Stakhov
5497b1213a
* Fix XS module to work with current type of memory allocation
15 years ago
Vsevolod Stakhov
c9c29d4163
* Use pool allocator for temp strings in headers
15 years ago
Vsevolod Stakhov
a0320ce847
* Add smart handling of message headers
15 years ago
Vsevolod Stakhov
e894cd18cf
* Fix variable substitution
* Add new command line parameter '-V' allowing to dump all variables of rspamd
15 years ago
Vsevolod Stakhov
c79b5ccd22
* Fix error in expression parser that causes bad errors with expressions that have regexp at the end
* Improve test for fuzzy hashes
* Add new object - TextPart to perl XS library that allows access to stripped parts and fuzzy hashes
* Add documentation for expressions parser and fot Mail::Rspamd::TextPart
* Allways calculate fuzzy hash for text parts
* Store text parts separately from other parts
* Add compare_parts_distance for expressions that calculates difference in 2 parts messages
* Do not try to substitute variables in empty strings
15 years ago
Vsevolod Stakhov
afdaddc4d0
* Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)
* Add test case for fuzzy hashing check
15 years ago
Vsevolod Stakhov
fb00c75abd
* Misprint in optimizer function
15 years ago
Vsevolod Stakhov
625169e939
* Fix bug in redirector
* Do not write info about redirects to log file as this info is already in redirector's log file
15 years ago
Vsevolod Stakhov
4ab332a14d
* Add optimization support for regexps
15 years ago
Vsevolod Stakhov
e1250bcf59
* Add functions support to rspamd regexps
* Parse expressions with state machine which allows different kinds of arguments in expressions
* Fix test to accord current data
* Add support of fucntions to regexp module
* Move all regexp logic to separate file, describe its API
* Fix descriptors leakage in surbl module
15 years ago
Vsevolod Stakhov
5f4f8d4703
* While printing symbols list on log strip last ',' from logline
15 years ago
Vsevolod Stakhov
6088008d6c
* With flag -t syntax of modules variables is also inspected
* Set "C" locale on start to avoid some troubles with logging
15 years ago
Vsevolod Stakhov
9c455404d4
* Allow escaped quotes in quoted strings, for example "\"some string\""
* Add warnings when we got errors while parsing rexeps
15 years ago
Vsevolod Stakhov
8cc2228880
* Add ability to match raw headers
* Update documentation
15 years ago
Vsevolod Stakhov
cfd2ff7bb5
* Add functions to parse headers and urls into statfile tokens
15 years ago