Vsevolod Stakhov
ee49822dc4
Cleanup.
2014-01-29 17:35:18 +00:00
Vsevolod Stakhov
cfd88fa9ea
Remove dependency on deprecated Digest::SHA256.
2011-12-06 18:39:58 +03:00
Vsevolod Stakhov
e284ad4bdf
Fix statshow utility.
2011-06-27 20:26:21 +04:00
Vsevolod Stakhov
92de380c2c
* Skip short utf words in statistics
2011-06-03 20:23:13 +04:00
Vsevolod Stakhov
f7595acb30
Fix dependencies in cmake.
2011-05-11 19:11:05 +04:00
Vsevolod Stakhov
1fd435e5d4
* Rework build process:
...
- add librspamdserver
- link this library to all daemons and utils of rspamd
- use subdirectories more often
* Rework global variables logic - move them to the main process
* Fix logging to handle utf-8 correctly
* Add statshow utility and make it working
* Move printf functions to separate source file
2011-05-10 19:15:03 +04:00
Vsevolod Stakhov
683b90f4c6
* Major cleanup of cmake build system
...
* Add initial version of statshow utility for statfiles debugging
* Add debugging for statistics
* Remove unused utilities
2011-05-06 19:18:40 +04:00
Vsevolod Stakhov
dbc8bb8dbc
Implement checking options for modules
...
Implement checking for classifier options
Fix redirector to handle timeouts and invalid replies properly
Fix surbl module not to check each url
2010-12-13 20:54:22 +03:00
Vsevolod Stakhov
8d0053734f
* Use syslog for logging
...
* Reworking logging logic
* Fixes some tabulation
2010-10-06 17:26:35 +04:00
Vsevolod Stakhov
dc42a41c5e
* Improve definitions of redirector domains
...
* Add support of regexp to check only specific urls for each domains
* Check redirector in trie and not extract specific domains parts
* Add POE errors handling for redirector
2010-10-01 21:13:32 +04:00
Vsevolod Stakhov
a62ddb9677
* Call has_forked method to inform POE about fork
2010-07-13 16:14:47 +04:00
Vsevolod Stakhov
44c8c04604
* Some improvements to redirector
2010-07-13 15:38:15 +04:00
Vsevolod Stakhov
e413f4ee9c
* Introduce new logging system:
...
- 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
2009-12-22 01:32:18 +03:00
Vsevolod Stakhov
a0f41f7c57
* New system of classifiers interface and statfiles processing
...
* Fix sample config
* Fix compile warnings
* Fix building without lua support
* Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
2009-09-14 19:11:19 +04:00
Vsevolod Stakhov
188018fe88
* One more fix to default redirector's settings
2009-07-28 15:38:34 +04:00
Vsevolod Stakhov
1b007aafd2
* Add new map 'redirector_hosts_map' for determining which hosts should be checked with redirector
2009-07-28 15:33:45 +04:00
Vsevolod Stakhov
fc5c006ccb
* Avoid using static variables for callbacks
...
* Do not write to redirector logs not checked urls
2009-06-26 15:30:55 +04:00
Vsevolod Stakhov
7bae787900
* Rework url parsing algorithms
...
* 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
2009-06-02 19:32:34 +04:00
Vsevolod Stakhov
05556b30f9
* Add counters for rspamd symbols
...
* Fix shared hashes
2009-05-04 18:55:12 +04:00
Vsevolod Stakhov
b9baa0d48d
* Add expression parser utility
...
* Temporaly switch off expression optimizer as it should be reworked
2009-04-27 19:03:11 +04:00
Vsevolod Stakhov
c0cd8e414a
* Fix urls extracting, avoid code repeating
2009-04-17 19:04:04 +04:00
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
2009-03-11 12:08:11 +03:00
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
2009-03-10 19:54:20 +03:00
Vsevolod Stakhov
514d83c13d
* Fix initialization procedure of redirector
...
* Do not write to log file if we cannot open it
2009-03-06 13:09:32 +03:00
Vsevolod Stakhov
b4e3c96659
* Change method of dropping privilleges
2009-03-04 13:58:20 +03:00
Vsevolod Stakhov
8956934199
* Add ability to fork multiply lmtp workers
...
* Add ability to drop privilleges of rspamd processes
* Add ability to install redirector with rspamd
* Add FreeBSD start scripts for rspamd and redirector
* Remove command line parsing from util.c as it has specific usage only in main process
2009-03-03 18:56:10 +03:00
Vsevolod Stakhov
def8d3d1a9
* Add compatibility with gmime24
2009-03-02 13:09:33 +03:00
Vsevolod Stakhov
de7c8a550a
* Add debug for mime parsing
...
* Fill task structure with zeroes in url-extracter
2009-03-02 01:39:40 +03:00
Vsevolod Stakhov
080af17704
* Fix url-extracter
...
* Fix soft-shutdown of dispacther
* Turn debug on by default in cmake
* Change logic of save points
2009-02-27 20:06:15 +03:00
Vsevolod Stakhov
2300ff7346
* Add issue to cmake to make perl module as well
...
* Fix some portability issues (to FreeBSD mainly)
* Add script to make modules list
2009-02-17 15:04:24 +03:00
Vsevolod Stakhov
a450d0faa8
* Add new hash for storing hash data in shared memory
...
* Add rwlocks implementation (primitive) in memory pool library
2009-01-27 19:15:51 +03:00
Vsevolod Stakhov
42b81716ec
* Remove strlcpy code and replace it with glib alternative
...
* Polish code and remove bugs found
2008-12-03 19:48:15 +03:00
Vsevolod Stakhov
2aa9c74f1c
* Reorganize structure of source files
...
* Adopt build system for new structure
--HG--
rename : cfg_file.h => src/cfg_file.h
rename : cfg_file.l => src/cfg_file.l
rename : cfg_file.y => src/cfg_file.y
rename : cfg_utils.c => src/cfg_utils.c
rename : controller.c => src/controller.c
rename : filter.c => src/filter.c
rename : filter.h => src/filter.h
rename : fstring.c => src/fstring.c
rename : fstring.h => src/fstring.h
rename : main.c => src/main.c
rename : main.h => src/main.h
rename : mem_pool.c => src/mem_pool.c
rename : mem_pool.h => src/mem_pool.h
rename : memcached-test.c => src/memcached-test.c
rename : memcached.c => src/memcached.c
rename : memcached.h => src/memcached.h
rename : perl.c => src/perl.c
rename : perl.h => src/perl.h
rename : plugins/regexp.c => src/plugins/regexp.c
rename : plugins/surbl.c => src/plugins/surbl.c
rename : protocol.c => src/protocol.c
rename : protocol.h => src/protocol.h
rename : upstream.c => src/upstream.c
rename : upstream.h => src/upstream.h
rename : url.c => src/url.c
rename : url.h => src/url.h
rename : util.c => src/util.c
rename : util.h => src/util.h
rename : worker.c => src/worker.c
2008-11-01 18:01:05 +03:00
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
2008-10-13 19:06:07 +04:00
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)
2008-09-23 11:47:56 +04:00
cebka@mailsupport.rambler.ru
4ad814a6c6
* Write test case for async memcached library
...
* Fix memcached async library to pass test :)
2008-09-16 18:42:02 +04:00
cebka@mailsupport.rambler.ru
9e442d87b2
* Fix include dependencies
2008-09-16 15:47:40 +04:00
Vsevolod Stakhov
fe7ebd5be9
* Add utility for extracting urls from message
...
* Rework build system
2008-09-10 17:58:54 +04:00