Vsevolod Stakhov
eb1eaf0f10
[Minor] Fix memory allocation
2016-06-14 23:05:07 +01:00
Vsevolod Stakhov
1c356c51a9
[Minor] Add a simple received parser benchmark routine
2016-06-14 22:40:31 +01:00
Vsevolod Stakhov
bc6a03a108
[Feature] Implement SSL support in http client
2016-06-13 17:31:29 +01:00
Vsevolod Stakhov
5bbd698d96
[Rework] Finish rework for the rest of places that use HTTP
2016-06-10 16:38:29 +01:00
Vsevolod Stakhov
0988e1b1b1
[Feature] Add protection against open files limit and accepting sockets
2016-06-09 16:35:31 +01:00
Vsevolod Stakhov
1cf6562bcc
[Feature] Add a simple script to evaluate rspamd rules in the logs
2016-05-11 14:23:36 +01:00
Vsevolod Stakhov
cddd684078
[Feature] Add support for regexp maps
2016-03-15 17:40:39 +00:00
Vsevolod Stakhov
4394fa14de
Fix some more issues found by coverity
2016-02-22 23:39:49 +00:00
Vsevolod Stakhov
81e728813b
Fix benchmarks
2016-02-06 13:22:42 +00:00
Vsevolod Stakhov
0ca1ac02f4
Temporary disable benchmarks
2016-02-06 01:58:12 +00:00
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
2016-02-04 09:37:21 +00:00
Vsevolod Stakhov
a0902bd2ac
Add a simple script to learn fann from rspamd logs
2015-12-22 00:17:59 +00:00
Vsevolod Stakhov
84a964398c
Fix csv issues.
2015-10-21 14:16:58 +01:00
Vsevolod Stakhov
0f01129985
Add CSV output for http-bench
2015-10-21 13:55:43 +01:00
Vsevolod Stakhov
8c8f20b0e6
Allow static key for a server
2015-10-21 13:42:41 +01:00
Vsevolod Stakhov
c784381ff5
Fix multiple sigchld processing
2015-10-20 23:31:28 +01:00
Vsevolod Stakhov
1027e57ab8
Rework test framework to use timeout instead of tests number
2015-10-20 19:10:19 +01:00
Vsevolod Stakhov
ef10b62427
Allow writing latencies to a separate file
2015-10-20 17:32:02 +01:00
Vsevolod Stakhov
7ffc61d7ef
Fix variable in command line options
2015-10-20 16:55:10 +01:00
Vsevolod Stakhov
b146b1cc7c
Rework benchmark to processes from threads
2015-10-20 16:30:14 +01:00
Vsevolod Stakhov
e4336fe612
Implement batch accept in server.
2015-10-20 15:24:51 +01:00
Vsevolod Stakhov
afc786bb1c
Implement benchmark.
2015-10-20 15:04:53 +01:00
Vsevolod Stakhov
13678bed5f
Fix benchmarking server
2015-10-20 11:47:41 +01:00
Vsevolod Stakhov
c0864168aa
Add a simple http server for benchmarks
2015-10-20 10:10:35 +01:00
Vsevolod Stakhov
5efd0c7fe5
Sort dependencies.
2015-06-16 19:13:53 +01:00
Vsevolod Stakhov
5ad7492c72
Store partial results in memcached.
2015-06-16 19:09:36 +01:00
Vsevolod Stakhov
72cd49153a
Fix loops in POE.
2015-06-16 19:09:27 +01:00
Vsevolod Stakhov
b5f194d795
Reformat redirector code (no functional changes).
2015-06-16 18:24:20 +01:00
Vsevolod Stakhov
90d1e9ebe5
Fix numerous issues with redirector startup.
2015-06-16 18:20:30 +01:00
Vsevolod Stakhov
52c2a6746e
Fix shebang.
2015-06-16 16:31:39 +01:00
Vsevolod Stakhov
7a62e828f7
Update->add
2015-06-16 16:18:31 +01:00
Vsevolod Stakhov
fcfe6de1da
Fix digest invocation.
2015-06-16 16:18:31 +01:00
Vsevolod Stakhov
f2334aeb87
Fix variable name.
2015-06-16 16:18:31 +01:00
Vsevolod Stakhov
d8e4c70241
Fix issues with redirector HTTP response.
2015-06-16 16:18:31 +01:00
Vsevolod Stakhov
ea6b0baf7a
Do not store redirects to the same url.
2015-04-21 16:48:32 +01:00
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