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
Vsevolod Stakhov
1085ddb9c0
* Fix reload logic
* Create listen sock for lmtp in main processes dispatcher to allow multiply lmtp workers
* Fix logic of logging
15 years ago
Vsevolod Stakhov
89f264624c
* Add ability to configure sections in statfiles
* Add ability to define variables in modules blocks
* Add symbolic aliases for statfile sections
15 years ago
Vsevolod Stakhov
9a03626473
* Some fixes to regexp module
* Add documentation for rspamd regexp module
15 years ago
Vsevolod Stakhov
2003dce624
* Add sections support to rspamd statfiles API
* Change logic of statfile pool:
- statfiles hash is no longer shared hash as we have per-process uniq things like current section or offset in statfile
- introduce shared hash of statfiles mmapped areas to avoid multiply mmaps of the same file
15 years ago
Vsevolod Stakhov
512154c538
* Add log line for each message in SA style
15 years ago
Vsevolod Stakhov
847e20651f
* Fix FreeBSD start script for redirector
15 years ago
Vsevolod Stakhov
580710d624
* Fixes to redirector:
- move memcached servers setting to config hash
- eval config file before any actions
- move daemonization code after all subs
- fix searching in domains for redirector's check
15 years ago
Vsevolod Stakhov
e7017a518b
* Fix redirector connection procedure
* Add more strict login
* Add new header Queue-ID to protocol
* Log message id or queue id
* Add config file for redirector
* Add ability to set regexp and domains list to check with redirector
15 years ago
Vsevolod Stakhov
9cfc5813c0
* Not increase save point counter when we actually do not send requests
15 years ago
Vsevolod Stakhov
f209c7c4f6
* Avoid extra requests to surbls saving them into requests cache
* Lower debug level for some errors (INFO to DEBUG)
15 years ago
Vsevolod Stakhov
db2aa89316
* Fix 2 memory issues:
- NULL string when trying to check url regexp
- double free of message byte array as mime_stream frees memory in array if it thinks that stream is
owner of array's memory
15 years ago
Vsevolod Stakhov
0f3ffee800
* Fix logic of parsing hoster's domains in surbl module
15 years ago
Vsevolod Stakhov
555778c43a
* Remove several memory leaks (found by valgrind)
15 years ago
Vsevolod Stakhov
4d932e105a
* Add some broken urls to check list, in fact skip only urls without host part and empty urls (thought empty urls are
totally impossible in that code)
15 years ago
Vsevolod Stakhov
6e382e5e70
* Fix bad memory leaks and memory corruption in url detecting module
15 years ago
Vsevolod Stakhov
514d83c13d
* Fix initialization procedure of redirector
* Do not write to log file if we cannot open it
15 years ago
Vsevolod Stakhov
8c09632127
* Fix bug in url parser with freeing memory allocated by memory_pool allocator
* Do not write to log if we don't do any read operation in dispatcher library
15 years ago
Vsevolod Stakhov
b4e3c96659
* Change method of dropping privilleges
15 years ago
Vsevolod Stakhov
8ad17a5762
* Drop privilleges immideately after creating of listen socket
15 years ago
Vsevolod Stakhov
c70c853ce5
* Fix misprint in surbl module
15 years ago