cebka@cebka-laptop
fee5af783e
* Configure modules when worker starts for simplifying reconfig procedure
* Add two behaviour types of memory allocator: greedy and ungreedy
* Adopt surbl module for new configure style
před 15 roky
cebka@mailsupport.rambler.ru
3f8572f209
* Implement destructors stack in memory pool, so there is now
convinient way to free objects in pool that was allocated by other
memory allocation mechanics (e.g. GObject).
Destructors must be added in pool manually by calling memory_pool_add_destructor
function.
před 15 roky
cebka@mailsupport.rambler.ru
fd84d363d8
* Add utility function for parsing regexp from given string (type flags and pcre flags)
před 15 roky
cebka@cebka-laptop
da93e9d635
* Implement expression parser (convertor to inverse polish record)
* Improve configure system by implementing dependencies
* Add .depend files for subdirs that requre it
* Write simple test for expressions parser
před 15 roky
cebka@cebka-laptop
6c55c3314c
* Write protocol output functions
* Fix test suite build under linux
před 15 roky
cebka@mailsupport.rambler.ru
9571811836
* Add routines to perl api to access new results adding function and getting param function
this allows accessing to modules config from perl modules
před 15 roky
cebka@mailsupport.rambler.ru
e117181e29
* Remove unused debug messages from url library
před 15 roky
cebka@mailsupport.rambler.ru
2709f44666
* Add filter processing function which implements new filter's logic
před 15 roky
cebka@mailsupport.rambler.ru
0c1b3da90d
* Rework config file memory allocation to separate memory pool for easy reloading
without calling of ~1000 free syscalls
* Add memory_pool_alloc0 for initializing newly allocated space in pool with zeroes
před 15 roky
cebka@mailsupport.rambler.ru
774c6c63fa
* Implement factors consolidation function (default consolidation function for metrics)
před 15 roky
cebka@mailsupport.rambler.ru
ffe2b54bd0
* Rework logic of filters
* Add some documentation to rspamd (about new filters logic and about protocol)
před 15 roky
cebka@mailsupport.rambler.ru
193acf73e5
* Small updates to memory pool library
- fix cases when new chunk is allocated
- add memory pool allocator statistics
- let it work in multi-threaded environment
- add strdup function for convinience
* Use memory pool allocator more widely to avoid memory leaks in future and optimize performance
* Task pool chunk size is now pre-defined constant (16 Kb currently)
před 15 roky
cebka@mailsupport.rambler.ru
2b65ae425b
* Optimize memory pools allocator
* Add test case for memory pools
před 16 roky
cebka@mailsupport.rambler.ru
82e2d7ab53
* Use internal task pool for memcached operation exported for perl
* Make AV reference mortal as it is described in perlxs (3)
před 16 roky
cebka@mailsupport.rambler.ru
f67c28af2a
* Place all protocol logic in separate file
- simplify protocol parsing logic
- add compatibility with sa-spamd
- TODO: add protocol output for all commands
před 16 roky
cebka@mailsupport.rambler.ru
db82a6ee3a
* Avoid realloc for memory pools by making memory pool chains
před 16 roky
cebka@mailsupport.rambler.ru
2c879bedd2
* Add memory pool support.
- memory pools would be used in modules for allocating task specific data without freeing it separately
- memory pools growth is implemented as multiplying by 2 its length (for avoiding multiply reallocs)
- when memory pool is freed all data that was allocated from this pool is freed too
před 16 roky
cebka@mailsupport.rambler.ru
bb2e8a89d2
* Add support of variables and variable substitution in config file
před 16 roky
cebka@mailsupport.rambler.ru
4ad814a6c6
* Write test case for async memcached library
* Fix memcached async library to pass test :)
před 16 roky
cebka@mailsupport.rambler.ru
9e442d87b2
* Fix include dependencies
před 16 roky
Vsevolod Stakhov
fe7ebd5be9
* Add utility for extracting urls from message
* Rework build system
před 16 roky
Vsevolod Stakhov
57e765ce78
* Fix url parser (get regexp from our mail system)
* Add some more tests to url testcase
před 16 roky
Vsevolod Stakhov
f1e17a0d63
* Fix url length while passing them to normalizer
TODO: fix html parsing regexp (now it doesn't work)
před 16 roky
Vsevolod Stakhov
5237a66576
* Use glib logger and regexp matching functions
před 16 roky
Vsevolod Stakhov
946ddcfbc4
* Add initial test suite using glib test suite
před 16 roky
Vsevolod Stakhov
32d41689d6
* Add SURBL logic to surbl plugin
* Add whitelist and hosters list to params
před 16 roky
Vsevolod Stakhov
b58d2b7e4d
* Add initial implementation of surbl check module
před 16 roky
Vsevolod Stakhov
2809ad4747
* Add ability to pass options to rspamd modules via flex start conditions
před 16 roky
Vsevolod Stakhov
bacc295862
* Update URL normalizer (partially taken from GNU wget)
před 16 roky
Vsevolod Stakhov
a4473aedcb
* Add implementation of save point for async events in rspamd filters
před 16 roky
Vsevolod Stakhov
f3b6712e04
* Add filters logic
* Perl should use separate memcached context for its operations (just do memcpy with the same socket)
TODO: add block mechanics here to avoid memcached connection closing before perl operation is finished
* Change logic of perl chain filter
před 16 roky
Vsevolod Stakhov
e90352d20a
* Rewrite perl module for new XS, now perl filters got only object of rspamd module that provides access to every part of message
* Add memcached access api for perl
* Reorganize Makefile, add .PHONY targets
* Fix memcached module as now we cannot write or read several keys in async mode
před 16 roky
Vsevolod Stakhov
86fd197a95
* Add initial implementation of rspamd XS module
před 16 roky
Vsevolod Stakhov
4fcd073731
* Add additional headers support in protocol
před 16 roky
Vsevolod Stakhov
8b8ae0cf7a
* Add initial implementation of C modules API
před 16 roky
Vsevolod Stakhov
5014f7e7cb
* Add checking of tempdir (ported from rpop)
před 16 roky
Vsevolod Stakhov
eab76d300d
* Add C api for calling perl filters
před 16 roky
Vsevolod Stakhov
5c04a3b816
* Init perl XS correctly
před 16 roky
Vsevolod Stakhov
bcf147f18f
* Add initial support of perl filters
před 16 roky
Vsevolod Stakhov
daca72b007
* Rewrite memcached library to work with events (async model)
* Add simple test for new memcached library
* Use glib variants of malloc and free functions in rspamd
před 16 roky
Vsevolod Stakhov
e92bfae6a1
* Add extracting urls from messages
před 16 roky
Vsevolod Stakhov
7cd13c464f
* Add initial version of URLs parser (still need to make PCRE parse all pattern matches)
* Link with PCRE
před 16 roky
Vsevolod Stakhov
25395e554e
* Remove warning from main.c
* Add perl detection and perl linker's and cflags
* Modify configure to work with BSD sed (stupid and ugly)
před 16 roky
Vsevolod Stakhov
2564777f53
* Add gnome mime parser to rspamd
* Add some protocol parser with evbuffer
* Add pkg-check to configure script for detecting gmime and glib
před 16 roky
Vsevolod Stakhov
8dbb9984ed
* Add initial release of mime parser. Now can only decode base64 and quoted-printable.
před 16 roky
Vsevolod Stakhov
2da7593c28
* Add fixed string library
před 16 roky
Vsevolod Stakhov
70c78281e3
* Add skeleton
před 16 roky