aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.c
Commit message (Collapse)AuthorAgeFilesLines
* Use ucl variables.Vsevolod Stakhov2013-11-241-1/+1
|
* Expand path in file maps.Vsevolod Stakhov2013-11-131-1/+8
|
* Fix timeouts in map watch.Vsevolod Stakhov2013-10-261-11/+11
|
* Parse HTTP date in map requests.Vsevolod Stakhov2013-06-261-4/+18
|
* Allow restriction of update commands for fuzzy storage.Vsevolod Stakhov2013-06-041-1/+1
| | | | | | | | | Now it is possible to specify ip or networks from which fuzzy updates or removes are possible. Rework sockets logic while I'm here. Create universal utility for parsing ipv4/mask strings.
* Use getaddrinfo when opening sockets.Vsevolod Stakhov2013-05-311-14/+21
|
* Fix critical memory leak in settings code.Vsevolod Stakhov2013-02-031-10/+22
| | | | | Format HTTP date correctly. Fix map watch timeout.
* Add locking for maps.Vsevolod Stakhov2013-01-081-0/+10
| | | | Add ability to save rolling history in a file.
* Add /maps and /getmap commands to webui.Vsevolod Stakhov2013-01-061-9/+15
| | | | | | Identify maps by id. Initialize secure random numbers using openssl. Add description to maps.
* * Add support for dynamic configuration to the controller's interface.Vsevolod Stakhov2012-10-021-8/+21
| | | | | * File maps are now being watched even if they don't exist on rspamd start. Several fixes to dynamic configuration logic.
* * Add map_watch_interval configurable.Vsevolod Stakhov2012-09-191-124/+124
| | | | Support floating point values for time intervals.
* Avoid global variables in map logic.Vsevolod Stakhov2012-09-191-27/+29
| | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'
* Another debian license fix.Vsevolod Stakhov2012-09-101-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 Stakhov2012-09-041-3/+3
|
* * Allow keys without values in kv mapsVsevolod Stakhov2012-05-311-2/+14
| | | | Some fixes to dkim_check strict logic.
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-1/+8
|
* Remove some warnings.Vsevolod Stakhov2011-10-141-8/+0
|
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-9/+9
|
* Rework http chunked encoding parsing.Vsevolod Stakhov2011-07-201-75/+93
|
* Fix coredumps on some specific messages with specific urls.Vsevolod Stakhov2011-07-191-3/+10
| | | | | Fix coredumps while closing log file. Fix parsing of chunked HTTP replies.
* Another fix with reload command.Vsevolod Stakhov2011-06-201-3/+4
|
* * Add new key-value mapVsevolod Stakhov2011-05-251-0/+109
| | | | | * Add lua api support for key-value map * Fix problem in lua configuration initialization to allow `rspamd_config' global work properly
* Add module options checkerVsevolod Stakhov2010-12-081-10/+24
| | | | | Improve time limits handling Fix smtp proxy options parsing
* Add some comments about maps and logging internals.Vsevolod Stakhov2010-11-261-1/+62
|
* Make own strlcpy that does not calculate remaining string length (faster and ↵Vsevolod Stakhov2010-11-161-3/+3
| | | | | | more safe) Allow only ASCII symbols in logs, escape control chars
* * Add ability to obtain phished url from luaVsevolod Stakhov2010-11-121-1/+1
| | | | * Add ability to specify check domains for phishing check with 'domains' option
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-34/+34
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Fix stupid error with surbl module reconfig (another one, blame me)Vsevolod Stakhov2010-07-051-0/+19
| | | | * Do not show duplicate urls in url header
* * Fix stupid bug in calculating buffer length while reading file mapsVsevolod Stakhov2010-07-011-2/+3
|
* * Use rspamd_snprintf instead of libc oneVsevolod Stakhov2010-06-241-4/+4
|
* * New logic of SURBL module:Vsevolod Stakhov2010-06-181-3/+1
| | | | | | | | | | | | | - 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.
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-26/+25
| | | | | | | | | - 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
* * Updates to spf system:Vsevolod Stakhov2009-12-041-2/+13
| | | | | | | - add plugin to work with spf records (initial version) - make all spf types working (except include and redirect that still need some attention) - add support of MX records to evdns - some major fixes and testing of the whole spf subsystem
* * Adopt printf function from nginx for comfortable printing of some data ↵Vsevolod Stakhov2009-11-301-28/+29
| | | | | | | types (fixed strings, pids etc) * Fix work of http maps (they were broken in some places before) * Fix sync of statfiles (not fully tested yet)
* * Retab, no functional changesVsevolod Stakhov2009-10-021-221/+218
|
* * Do not read http reply when we got 304 reply codeVsevolod Stakhov2009-09-231-0/+4
|
* * Add time out for sync IO as it can cause unpredictable errorsVsevolod Stakhov2009-09-211-3/+3
|
* * Remove assertVsevolod Stakhov2009-09-161-1/+0
| | | | | | * Fix build WITH_LUA * Fix calling of classifier * Fix autolearn
* * Add lua plugin for checking received headersVsevolod Stakhov2009-09-151-1/+4
| | | | | | * Some tunes to lua API * Fix bug with http maps * Optimize installation and make custom prefix for configs
* * Add chunked replies support for http mapsVsevolod Stakhov2009-09-151-6/+98
|
* * Various bugfixes in map and radix codeVsevolod Stakhov2009-09-031-31/+42
|
* * Make port working in http map definitionVsevolod Stakhov2009-07-291-3/+6
|
* * Fix initializing of http reply structure to avoid core dumps when we got ↵Vsevolod Stakhov2009-07-281-0/+1
| | | | connection errors
* * Add received headers parserVsevolod Stakhov2009-07-221-0/+1
|
* * Add http maps supportVsevolod Stakhov2009-07-211-18/+365
|
* * Introduce new common system of map files, that can be used for different ↵Vsevolod Stakhov2009-07-201-0/+365
types of maps. This includes new logic of callbacks and callbacks calling, files are monitored with evtimers with jittering. HTTP support would be included soon as well.