Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Log scan time and scan length of messages | Vsevolod Stakhov | 2009-03-25 | 6 | -1/+23 |
| | | | | * Remove 2 memory leaks | ||||
* | * Fix multiply accept issues | Vsevolod Stakhov | 2009-03-24 | 2 | -2/+14 |
| | |||||
* | * Polish socket utility functions | Vsevolod Stakhov | 2009-03-24 | 1 | -22/+16 |
| | |||||
* | * Fix bug in expressions parser and optimizer | Vsevolod Stakhov | 2009-03-24 | 2 | -6/+4 |
| | |||||
* | * Fix many compile time warnings and polish code | Vsevolod Stakhov | 2009-03-24 | 16 | -36/+62 |
| | |||||
* | * Fix obtaining of content-type | Vsevolod Stakhov | 2009-03-24 | 1 | -13/+28 |
| | |||||
* | * Add functions to operate with content-type header and describe them in ↵ | Vsevolod Stakhov | 2009-03-24 | 1 | -0/+192 |
| | | | | documentation | ||||
* | * Fix expression optimizator | Vsevolod Stakhov | 2009-03-24 | 1 | -1/+4 |
| | |||||
* | * Fix XS module to work with current type of memory allocation | Vsevolod Stakhov | 2009-03-24 | 1 | -3/+19 |
| | |||||
* | * Use pool allocator for temp strings in headers | Vsevolod Stakhov | 2009-03-24 | 4 | -13/+14 |
| | |||||
* | * Add smart handling of message headers | Vsevolod Stakhov | 2009-03-24 | 4 | -17/+289 |
| | |||||
* | * Fix variable substitution | Vsevolod Stakhov | 2009-03-24 | 2 | -27/+64 |
| | | | | * Add new command line parameter '-V' allowing to dump all variables of rspamd | ||||
* | * Fix error in expression parser that causes bad errors with expressions ↵ | Vsevolod Stakhov | 2009-03-23 | 8 | -13/+110 |
| | | | | | | | | | | | | 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 | ||||
* | * Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash) | Vsevolod Stakhov | 2009-03-20 | 2 | -0/+313 |
| | | | | * Add test case for fuzzy hashing check | ||||
* | * Misprint in optimizer function | Vsevolod Stakhov | 2009-03-19 | 1 | -2/+2 |
| | |||||
* | * Fix bug in redirector | Vsevolod Stakhov | 2009-03-19 | 2 | -1/+2 |
| | | | | * Do not write info about redirects to log file as this info is already in redirector's log file | ||||
* | * Add optimization support for regexps | Vsevolod Stakhov | 2009-03-19 | 1 | -2/+45 |
| | |||||
* | * Add functions support to rspamd regexps | Vsevolod Stakhov | 2009-03-19 | 10 | -362/+683 |
| | | | | | | | | * 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 | ||||
* | * While printing symbols list on log strip last ',' from logline | Vsevolod Stakhov | 2009-03-19 | 1 | -0/+4 |
| | |||||
* | * With flag -t syntax of modules variables is also inspected | Vsevolod Stakhov | 2009-03-19 | 3 | -19/+47 |
| | | | | * Set "C" locale on start to avoid some troubles with logging | ||||
* | * Allow escaped quotes in quoted strings, for example "\"some string\"" | Vsevolod Stakhov | 2009-03-18 | 4 | -2/+35 |
| | | | | * Add warnings when we got errors while parsing rexeps | ||||
* | * Add ability to match raw headers | Vsevolod Stakhov | 2009-03-17 | 5 | -4/+63 |
| | | | | * Update documentation | ||||
* | * Add functions to parse headers and urls into statfile tokens | Vsevolod Stakhov | 2009-03-16 | 3 | -13/+121 |
| | |||||
* | * Fix reload logic | Vsevolod Stakhov | 2009-03-13 | 8 | -109/+152 |
| | | | | | * Create listen sock for lmtp in main processes dispatcher to allow multiply lmtp workers * Fix logic of logging | ||||
* | * Add ability to configure sections in statfiles | Vsevolod Stakhov | 2009-03-13 | 5 | -1/+105 |
| | | | | | * Add ability to define variables in modules blocks * Add symbolic aliases for statfile sections | ||||
* | * Some fixes to regexp module | Vsevolod Stakhov | 2009-03-12 | 3 | -11/+26 |
| | | | | * Add documentation for rspamd regexp module | ||||
* | * Add sections support to rspamd statfiles API | Vsevolod Stakhov | 2009-03-12 | 2 | -26/+190 |
| | | | | | | * 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 | ||||
* | * Add log line for each message in SA style | Vsevolod Stakhov | 2009-03-11 | 4 | -19/+49 |
| | |||||
* | * Fix redirector connection procedure | Vsevolod Stakhov | 2009-03-10 | 5 | -10/+42 |
| | | | | | | | | * 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 | ||||
* | * Not increase save point counter when we actually do not send requests | Vsevolod Stakhov | 2009-03-10 | 1 | -1/+1 |
| | |||||
* | * Avoid extra requests to surbls saving them into requests cache | Vsevolod Stakhov | 2009-03-10 | 4 | -19/+34 |
| | | | | * Lower debug level for some errors (INFO to DEBUG) | ||||
* | * Fix 2 memory issues: | Vsevolod Stakhov | 2009-03-10 | 3 | -0/+33 |
| | | | | | | - 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 | ||||
* | * Fix logic of parsing hoster's domains in surbl module | Vsevolod Stakhov | 2009-03-06 | 1 | -2/+5 |
| | |||||
* | * Remove several memory leaks (found by valgrind) | Vsevolod Stakhov | 2009-03-06 | 2 | -7/+16 |
| | |||||
* | * Add some broken urls to check list, in fact skip only urls without host ↵ | Vsevolod Stakhov | 2009-03-06 | 1 | -2/+2 |
| | | | | | | part and empty urls (thought empty urls are totally impossible in that code) | ||||
* | * Fix bad memory leaks and memory corruption in url detecting module | Vsevolod Stakhov | 2009-03-06 | 3 | -12/+58 |
| | |||||
* | * Fix initialization procedure of redirector | Vsevolod Stakhov | 2009-03-06 | 1 | -1/+1 |
| | | | | * Do not write to log file if we cannot open it | ||||
* | * Fix bug in url parser with freeing memory allocated by memory_pool allocator | Vsevolod Stakhov | 2009-03-04 | 2 | -8/+7 |
| | | | | * Do not write to log if we don't do any read operation in dispatcher library | ||||
* | * Drop privilleges immideately after creating of listen socket | Vsevolod Stakhov | 2009-03-04 | 1 | -23/+23 |
| | |||||
* | * Fix misprint in surbl module | Vsevolod Stakhov | 2009-03-03 | 1 | -2/+2 |
| | |||||
* | * Add ability to fork multiply lmtp workers | Vsevolod Stakhov | 2009-03-03 | 5 | -56/+116 |
| | | | | | | | * 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 | ||||
* | * Unify socket creation and accepting by using utility functions | Vsevolod Stakhov | 2009-03-03 | 8 | -89/+133 |
| | | | | | | | * Check SO_ERROR on socket immideately after connect/bind to avoid resourses allocation for unsuccessful connections * Avoid descriptors leakage when we create sockets and have errors on them * Set on all socket descriptors FD_CLOEXEC flag to avoid problems with executing LDA | ||||
* | * New rspamd protocol (changed replies) | Vsevolod Stakhov | 2009-03-03 | 7 | -90/+170 |
| | | | | | | | | * Add ability to attach string lists to symbols * Check destructors and do not add identical destructors (argument and function) to pool's destructors * Remove 2 warnings when building with gmime22 * Attach url names to surbl symbols * Fix bug with blocking on read (I think it is linux specific thought) | ||||
* | * Add ability to check bits from surbl replies | Vsevolod Stakhov | 2009-03-02 | 5 | -19/+73 |
| | |||||
* | * Properly set initial state for surbl state machine | Vsevolod Stakhov | 2009-03-02 | 2 | -2/+8 |
| | | | | * Ignore SIGPIPE globally as dispatcher performs check of all write (2) calls | ||||
* | * Set read timeout for redirector instead of connect timeout | Vsevolod Stakhov | 2009-03-02 | 1 | -2/+2 |
| | |||||
* | * htonl->htons as port is uint16_t, so lower bytes are zeroed or undefined ↵ | Vsevolod Stakhov | 2009-03-02 | 1 | -3/+3 |
| | | | | when call htonl | ||||
* | * Remove %m from logging it seems to be unsupported by FreeBSD printf version | Vsevolod Stakhov | 2009-03-02 | 12 | -44/+42 |
| | |||||
* | * Fix misprint | Vsevolod Stakhov | 2009-03-02 | 1 | -2/+3 |
| | |||||
* | * Add forgotten file | Vsevolod Stakhov | 2009-03-02 | 1 | -0/+69 |
| |