Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert smtp workers. | Vsevolod Stakhov | 2013-09-30 | 1 | -22/+41 |
| | |||||
* | Allow listening on multiply addresses. | Vsevolod Stakhov | 2013-07-20 | 1 | -14/+4 |
| | | | | | | | Now rspamd can listen on multiply ipv4/ipv6 addresses. Removed legacy workers (lmtp, kvstorage) as they are never used in production. Try to unify workers initialization. | ||||
* | Avoid global variables in map logic. | Vsevolod Stakhov | 2012-09-19 | 1 | -1/+1 |
| | | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...' | ||||
* | * Initial approach to RESTful controller. | Vsevolod Stakhov | 2012-09-14 | 1 | -13/+14 |
| | | | | Fix security issues in fstring handling. | ||||
* | Another debian license fix. | Vsevolod Stakhov | 2012-09-10 | 1 | -1/+1 |
| | | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c. | ||||
* | Update copyright (required by debian). | Vsevolod Stakhov | 2012-09-04 | 1 | -3/+3 |
| | |||||
* | Strict prototypes. | Vsevolod Stakhov | 2012-06-05 | 1 | -1/+1 |
| | |||||
* | * Add initial implementation of proxy object | Vsevolod Stakhov | 2012-03-07 | 1 | -61/+3 |
| | | | | * Add simple smtp proxy worker | ||||
* | Add quarks to events to determine source of event inside rspamd. | Vsevolod Stakhov | 2012-02-13 | 1 | -1/+1 |
| | | | | Another try to fix threading. | ||||
* | Rework events library slightly: | Vsevolod Stakhov | 2012-01-31 | 1 | -2/+1 |
| | | | | | - forced events are no longer checked or created - add async threads to prevent session to be destroyed till all threads are finished | ||||
* | * Introduce new system of worker's and modules initialization: | Vsevolod Stakhov | 2012-01-16 | 1 | -13/+29 |
| | | | | | | | | - Removed legacy limitation of worker's types; - Using GQuarks to identify workers and modules; - Remove modules.sh script; - Add a common system of workers and modules; - Write management and configuration for new architecture. | ||||
* | Allow for post filters to register async events. | Vsevolod Stakhov | 2011-12-16 | 1 | -1/+1 |
| | | | | Some fixes to lua redis library. | ||||
* | * Finally get rid of stupid savepoints system and migrate to async events ↵ | Vsevolod Stakhov | 2011-12-14 | 1 | -1/+1 |
| | | | | | | logic completely Fix lua redis library. | ||||
* | Check for SIGUSR1 by libevent to avoid signals collisions. | Vsevolod Stakhov | 2011-11-30 | 1 | -8/+24 |
| | | | | Remove greylist_storage as it was never used and is actually replaced with basic kvstorage. | ||||
* | * Use event_base thread safe API to allow parallelism based on threads | Vsevolod Stakhov | 2011-10-26 | 1 | -6/+11 |
| | |||||
* | * Fix DNS PTR resolving | Vsevolod Stakhov | 2011-08-22 | 1 | -1/+2 |
| | | | | * Add ability to resolve ip in once_received plugin to avoid temporary DNS fails of SMTP resolving | ||||
* | Fix signness in arithmetic operations. | Vsevolod Stakhov | 2011-08-04 | 1 | -2/+2 |
| | |||||
* | * Rework build process: | Vsevolod Stakhov | 2011-05-10 | 1 | -5/+4 |
| | | | | | | | | | | - 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 | ||||
* | * Add more timeouts: for fuzzy operations, for worker task operations | Vsevolod Stakhov | 2011-03-28 | 1 | -6/+3 |
| | | | | Handle miliseconds using a common macro. | ||||
* | Add module options checker | Vsevolod Stakhov | 2010-12-08 | 1 | -1/+1 |
| | | | | | Improve time limits handling Fix smtp proxy options parsing | ||||
* | * Start new rspamd 0.3.4 | Vsevolod Stakhov | 2010-12-03 | 1 | -47/+48 |
| | | | | * Add ability to manage per-module, per-worker and per-classifier options in XML parser | ||||
* | Fix XCLIENT hostnames when hostname cannot be resolved. | Vsevolod Stakhov | 2010-11-23 | 1 | -5/+8 |
| | |||||
* | Make own strlcpy that does not calculate remaining string length (faster and ↵ | Vsevolod Stakhov | 2010-11-16 | 1 | -2/+2 |
| | | | | | | more safe) Allow only ASCII symbols in logs, escape control chars | ||||
* | Parse smtp_use_xclient option in config | Vsevolod Stakhov | 2010-10-29 | 1 | -0/+3 |
| | |||||
* | Add add_header action to smtp proxy. | Vsevolod Stakhov | 2010-10-26 | 1 | -0/+1 |
| | | | | In raw mode scan stripped html parts when regexp are not 'raw'. | ||||
* | Fix action settings (reported by Anton Nekhoroshih). | Vsevolod Stakhov | 2010-10-25 | 1 | -151/+2 |
| | | | | | Split smtp code to 'utils', 'protocol' and 'worker' functions. * Add support of actions for smtp worker. | ||||
* | Fixes bugs found with clang-static analyser. | Vsevolod Stakhov | 2010-10-11 | 1 | -2/+4 |
| | | | | | Strictly follow c99 standart. Turn on pedantic c99 checks. | ||||
* | Fixes types (use glib ones) no functional change. | Vsevolod Stakhov | 2010-10-06 | 1 | -35/+35 |
| | | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones. | ||||
* | * Reopen log file by USR1 signal | Vsevolod Stakhov | 2010-07-19 | 1 | -0/+3 |
| | | | | * Add reopenlog method to FreeBSD rc script | ||||
* | * Set resolver inside task | Vsevolod Stakhov | 2010-07-12 | 1 | -0/+1 |
| | |||||
* | * Init events before configuring resolver in smtp worker | Vsevolod Stakhov | 2010-07-12 | 1 | -2/+1 |
| | |||||
* | * Fix resolving in smtp module | Vsevolod Stakhov | 2010-07-12 | 1 | -1/+1 |
| | |||||
* | * Remove evdns and use only rspamd resolver | Vsevolod Stakhov | 2010-07-09 | 1 | -23/+30 |
| | |||||
* | * Fix detection of numeric urls (reported by citrin) | Vsevolod Stakhov | 2010-07-05 | 1 | -3/+3 |
| | | | | * Write real time of message's scan to log (not only virtual) | ||||
* | * Add resolv.conf parsing into dns.c | Vsevolod Stakhov | 2010-07-01 | 1 | -4/+4 |
| | | | | * Fix microseconds<->milliseconds conversions | ||||
* | * Add ability to set filters for smtp worker for each smtp stage | Vsevolod Stakhov | 2010-06-29 | 1 | -0/+50 |
| | | | | * Add very initial version of DNS resolver (many things to be done) | ||||
* | * Remove events in handlers | Vsevolod Stakhov | 2010-06-28 | 1 | -2/+5 |
| | |||||
* | * Make session before registering events | Vsevolod Stakhov | 2010-06-28 | 1 | -8/+6 |
| | |||||
* | * Register dns requests in session too | Vsevolod Stakhov | 2010-06-28 | 1 | -0/+6 |
| | |||||
* | * Delay timer must be registered in async session to correctly handle ↵ | Vsevolod Stakhov | 2010-06-28 | 1 | -0/+1 |
| | | | | connection termination | ||||
* | * Fix reconfigure process of surbl module | Vsevolod Stakhov | 2010-06-28 | 1 | -1/+5 |
| | | | | * Fix destroying smtp session (unmap memory and do not delete pool early) | ||||
* | * Use rspamd_snprintf instead of libc one | Vsevolod Stakhov | 2010-06-24 | 1 | -12/+12 |
| | |||||
* | * Fix states in smtp dialog | Vsevolod Stakhov | 2010-06-24 | 1 | -3/+5 |
| | |||||
* | * Check return value of each rspamd_dispatcher_write as in case of write ↵ | Vsevolod Stakhov | 2010-06-24 | 1 | -12/+34 |
| | | | | errors sessions can be destroyed early | ||||
* | * Add more information about why we drop smtp connection | Vsevolod Stakhov | 2010-06-23 | 1 | -0/+4 |
| | | | | * Fix mkstemp call | ||||
* | * Rewrite buffered input for line policy (again) | Vsevolod Stakhov | 2010-06-22 | 1 | -1/+6 |
| | | | | | | | | * Fix issue with links that are ip addresses in numeric form in surbl * On Darwin use BSD style sendfile definition * Reorganize platform specific knobs in CMakeLists * Use gettimeofday on systems that have not clock_getres * Use ftime for dns trans id generation on systems without clock_getres | ||||
* | * New logic of SURBL module: | Vsevolod Stakhov | 2010-06-18 | 1 | -0/+3 |
| | | | | | | | | | | | | | - remove completely 2tld - add option "exception" - for domains from exception list check (level + 1) parts of url: If we have url mail.some.com.ru and have com.ru in exception list then we would check some.com.ru. If we have some.com.ru in exceptions list them mail.some.com.ru would be checked and so on. - optimized parsing of surbl requests * Use system mkstemp(3) on systems where it is available as glib implementation has poor security and generate rather predictable temporary file names. | ||||
* | * Add limit of maximum allowed smtp session errors | Vsevolod Stakhov | 2010-06-18 | 1 | -0/+21 |
| | |||||
* | * Some performance improvements to IO dispatcher (do not drain the whole ↵ | Vsevolod Stakhov | 2010-06-18 | 1 | -53/+10 |
| | | | | | | buffer after a single line readed) * Fix smtp data input | ||||
* | * Copy from and rcpt correctly | Vsevolod Stakhov | 2010-06-18 | 1 | -9/+18 |
| |