Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * 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 FreeBSD start script for redirector | Vsevolod Stakhov | 2009-03-11 | 1 | -0/+1 |
| | |||||
* | * Fixes to redirector: | Vsevolod Stakhov | 2009-03-11 | 1 | -58/+68 |
| | | | | | | | - 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 | ||||
* | * Fix redirector connection procedure | Vsevolod Stakhov | 2009-03-10 | 6 | -12/+89 |
| | | | | | | | | * 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 | 2 | -9/+8 |
| | | | | * 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 | ||||
* | * Change method of dropping privilleges | Vsevolod Stakhov | 2009-03-04 | 1 | -4/+8 |
| | |||||
* | * 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 | 11 | -57/+677 |
| | | | | | | | * 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 | 10 | -93/+173 |
| | | | | | | | | * 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 | 6 | -21/+87 |
| | |||||
* | * 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 | 2 | -4/+4 |
| | | | | 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 |
| | |||||
* | * Add ability to check multiply SURBL's | Vsevolod Stakhov | 2009-03-02 | 2 | -110/+86 |
| | |||||
* | * Add compatibility with gmime24 | Vsevolod Stakhov | 2009-03-02 | 12 | -17/+353 |
| | |||||
* | * Fix LMTP and DELIVERY parsing in config file while trying to get control ↵ | Vsevolod Stakhov | 2009-03-02 | 1 | -3/+9 |
| | | | | credits | ||||
* | * Fix dispatcher bugs and add some debug output | Vsevolod Stakhov | 2009-03-02 | 3 | -6/+36 |
| | | | | * Fix log output for surbl | ||||
* | * Fix character policy in dispatcher | Vsevolod Stakhov | 2009-03-02 | 2 | -3/+10 |
| | |||||
* | * Try not to unref parser too early | Vsevolod Stakhov | 2009-03-02 | 1 | -6/+4 |
| | |||||
* | * Link with gmime24 if gmime22 is not found | Vsevolod Stakhov | 2009-03-02 | 1 | -1/+6 |
| | |||||
* | * Add debug for mime parsing | Vsevolod Stakhov | 2009-03-02 | 3 | -1/+17 |
| | | | | * Fill task structure with zeroes in url-extracter | ||||
* | * Fix url-extracter | Vsevolod Stakhov | 2009-02-27 | 8 | -45/+61 |
| | | | | | | * Fix soft-shutdown of dispacther * Turn debug on by default in cmake * Change logic of save points | ||||
* | * Fix dependencies on perlxs target (do not rebuild it constantly) | Vsevolod Stakhov | 2009-02-27 | 4 | -6/+44 |
| | | | | | | | | | * Fix rspamc to understand lmtp and delivery sections in config * Fix parser's states when reading module options * Add sample config for surbl module with comments --HG-- rename : rspamc.pl => rspamc.pl.in | ||||
* | * Remove cmake logic for installing targets due to fucking libperl | Vsevolod Stakhov | 2009-02-26 | 1 | -1/+1 |
| | |||||
* | * Fix logging when process is starting | Vsevolod Stakhov | 2009-02-26 | 7 | -7/+26 |
| | | | | | * Add -t option for config testing * Try to search default config in install prefix not in current directory | ||||
* | * Completely rewrite and reorganize perl API | Vsevolod Stakhov | 2009-02-26 | 15 | -507/+2200 |
| | | | | | | | | | * Add documentation for Mail::Rspamd * Add install targets to cmake --HG-- rename : perl/rspamd.pm => perl/Rspamd.pm rename : perl/rspamd.xs => perl/Rspamd.xs | ||||
* | * Add support of LMTP/SMTP delivery | Vsevolod Stakhov | 2009-02-25 | 5 | -25/+249 |
| | |||||
* | * Fix memory corruption and lmtp handling | Vsevolod Stakhov | 2009-02-25 | 8 | -70/+168 |
| | | | | * Add e-mail address validation in lmtp | ||||
* | * Add initial LMTP support and LDA delivery to rspamd | Vsevolod Stakhov | 2009-02-24 | 17 | -66/+1032 |
| | |||||
* | * Fix dispatcher timeouts handling | Vsevolod Stakhov | 2009-02-20 | 5 | -15/+57 |
| | | | | * Add wanna_die flag that can be used in dispatcher's callbacks | ||||
* | * Implement rspamd IO with IO dispatcher (TODO: still some issues with ↵ | Vsevolod Stakhov | 2009-02-19 | 14 | -263/+615 |
| | | | | timeouts must be resolved) | ||||
* | * Improve logger initialization | Vsevolod Stakhov | 2009-02-18 | 1 | -42/+66 |
| | |||||
* | * Fix issue with -fPIC and DynaLoader | Vsevolod Stakhov | 2009-02-18 | 2 | -30/+47 |
| | | | | * Retab perl.c | ||||
* | * Add issue to cmake to make perl module as well | Vsevolod Stakhov | 2009-02-17 | 5 | -10/+150 |
| | | | | | * Fix some portability issues (to FreeBSD mainly) * Add script to make modules list | ||||
* | * Prepare to migrate to cmake (still need to write install target and ↵ | Vsevolod Stakhov | 2009-02-16 | 39 | -1356/+448 |
| | | | | | | | | working with XS implicitly) * Move all system includes to one file where we detect availability of all that includes * Fix license misprint * Fix some issues with perl initializing | ||||
* | * Add BSD license text | Vsevolod Stakhov | 2009-02-16 | 23 | -11/+547 |
| |