Vsevolod Stakhov
|
54480f21f1
|
* By default number of workers is number of active processors in system
* Fix macro detection in configure system
|
15 years ago |
Vsevolod Stakhov
|
c07cd514e4
|
* Avoid division by zero
|
15 years ago |
Vsevolod Stakhov
|
092996070f
|
* Fill hash buckets with zeroes to avoid invalid pointer usage
|
15 years ago |
Vsevolod Stakhov
|
acec2b4228
|
* Try to fix reading a line from user (using pools)
|
15 years ago |
Vsevolod Stakhov
|
7f8de78794
|
* Make doxygen happy about structures members
|
15 years ago |
Vsevolod Stakhov
|
a3c3fb96d1
|
* Move config parse errors from stderr output to standart logging functions
|
15 years ago |
Vsevolod Stakhov
|
bf6f283840
|
* Add some comments and documentation
|
15 years ago |
Vsevolod Stakhov
|
32a96e82d0
|
* Do another rework of filters/metrics and statfiles processing
* Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability
|
15 years ago |
Vsevolod Stakhov
|
24e7403974
|
* Fix bug with calling consolidation function after stop_point
* Use shared memory for storing pool allocator statistics
* Fix bug with processing statfiles results
|
15 years ago |
Vsevolod Stakhov
|
5a21d1f8f5
|
* Use prime number for hash nodes initial value
|
15 years ago |
Vsevolod Stakhov
|
a450d0faa8
|
* Add new hash for storing hash data in shared memory
* Add rwlocks implementation (primitive) in memory pool library
|
15 years ago |
Vsevolod Stakhov
|
ec5b7a84cf
|
* Make surbl checks working
|
15 years ago |
Vsevolod Stakhov
|
f411d46ff2
|
* Rework statfiles result processing
* Fix small bug in protocol implementation (\r -> \r\n)
|
15 years ago |
Vsevolod Stakhov
|
480899d784
|
* Add memory pool allocator statistics to 'stat' report output
|
15 years ago |
Vsevolod Stakhov
|
1dc0f6ad2c
|
* Rewrite message parser
* Change mime parts storage
* Add html tags striping (ported from php code)
* Rework learning to process only text and striped html parts
|
15 years ago |
Vsevolod Stakhov
|
87c9659fdd
|
* Rewrite perl client for rspamd, now it allows access to both normal and control interfaces
* Fix small errors in tokenizer and controller interface
|
15 years ago |
Vsevolod Stakhov
|
fe5ad5874a
|
* Add simple utility for sending mail to rspamd
* Fix some errors in freeing message object
|
15 years ago |
Vsevolod Stakhov
|
d068127206
|
* Add new system of getting and setting config parameters from perl code
|
15 years ago |
Vsevolod Stakhov
|
2dd1125642
|
* Try to fix output from delayed filters processing
|
15 years ago |
Vsevolod Stakhov
|
640b2981e1
|
* Implement statistic output in control interface
|
15 years ago |
Vsevolod Stakhov
|
37d3605fa0
|
* Fix errors in learning implementation
|
15 years ago |
Vsevolod Stakhov
|
f7639eb2dc
|
* Implement delayed fork of dead workers (to avoid fork bombs)
* Implement refork of controller
* Log time to console in normal view
|
15 years ago |
Vsevolod Stakhov
|
5f0da61541
|
* Make sample config more complete
* Fix bugs with config file parsing
* Fix bugs with creating sockets and reading commands
|
15 years ago |
Vsevolod Stakhov
|
9e9ced3252
|
* Add function for adding rspamd report headers
|
15 years ago |
Vsevolod Stakhov
|
87f0454e57
|
* Fix build under FreeBSD (forgotten include)
|
15 years ago |
Vsevolod Stakhov
|
93e2e9d2fa
|
* Add logic for filtering messages with tokenizer/classifier pair
|
15 years ago |
Vsevolod Stakhov
|
c9df6177c0
|
* Implement learning using classifiers and tokenizers API
|
15 years ago |
Vsevolod Stakhov
|
1162170387
|
* Add simple implementation of classifiers abstraction and winnow classifier
* Force statfile to work with float values
|
15 years ago |
Vsevolod Stakhov
|
249c0583d2
|
* Use binary tree in tokenizers, that would provide us fast checking for unique tokens and have O(log n) difficulty
|
15 years ago |
Vsevolod Stakhov
|
42b81716ec
|
* Remove strlcpy code and replace it with glib alternative
* Polish code and remove bugs found
|
15 years ago |
Vsevolod Stakhov
|
d62fb36650
|
* Add learning interface to rspamd (still requires classifier to work)
|
15 years ago |
Vsevolod Stakhov
|
9a1ba2296d
|
* Add config routines for stat files
* Add function to resolve stat file name
|
15 years ago |
Vsevolod Stakhov
|
06661f20cb
|
* Write functions to operate blocks in stat files
* Write test case for statistics files API
|
15 years ago |
Vsevolod Stakhov
|
f1fdc9c6c1
|
* Add initial implementation of statistics files handling API
|
15 years ago |
Vsevolod Stakhov
|
4c75854954
|
* Add simple locking interface to mem_pool library
|
15 years ago |
Vsevolod Stakhov
|
62cdcc73c4
|
* Add simple implementation of OSB tokenizer
|
15 years ago |
Vsevolod Stakhov
|
2175980532
|
* Use utf8 in description files
--HG--
rename : README-classify.koi8.txt => README-classify.utf8.txt
rename : README.koi8.txt => README.utf8.txt
|
15 years ago |
Vsevolod Stakhov
|
31395157b1
|
* Add description of classifying process
|
15 years ago |
Vsevolod Stakhov
|
f8e0edcfeb
|
* Add simple hash function for hashing tokens
|
15 years ago |
Vsevolod Stakhov
|
a2af801eea
|
* Optimize configure by using caching of determined options (more than 2 times faster than before)
|
15 years ago |
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
|
15 years ago |
Vsevolod Stakhov
|
cc5343692b
|
* Add determining page size function to mem_pool library
* Add simple statistic structure that is placed in shared memory and used for gathering server's stats
|
15 years ago |
Vsevolod Stakhov
|
c52d0879cc
|
* Add main logging functions (log to file, syslog and console)
* Handle log reopening
|
15 years ago |
Vsevolod Stakhov
|
9a7ba3e09a
|
* Add ability to handle multiply recipients
* Reflect changes to perl library
|
15 years ago |
Vsevolod Stakhov
|
fb659154cb
|
* Stylify and fix util functions that was gathered from libutil code (memory allocation)
* Fix protocol and network functions
* Fix some memory allocation issues
|
15 years ago |
Vsevolod Stakhov
|
e5f01249a3
|
* Add initial implementation of control interface
|
15 years ago |
Vsevolod Stakhov
|
9d6f80f8a3
|
* Add initial implementation of regexp module
|
15 years ago |
Vsevolod Stakhov
|
6224f2a347
|
* Parse header regexps in other way (header_name=/some_regexp/flags)
|
15 years ago |
Vsevolod Stakhov
|
802890f0f2
|
* Add support of shared memory chunks to memory pool allocator. Also add locking support (spin mutexes)
* Add simple test case for shared memory allocation
|
15 years ago |
cebka@cebka-laptop
|
cd9b528a22
|
* Implement composite symbols
|
15 years ago |