summaryrefslogtreecommitdiffstats
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* * Adopt printf function from nginx for comfortable printing of some data ↵Vsevolod Stakhov2009-11-301-14/+16
| | | | | | | 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)
* * SI_ code macroses are not BSD compatible, avoid using themVsevolod Stakhov2009-11-051-24/+2
|
* * Add more advanced signal processing routineVsevolod Stakhov2009-11-051-3/+84
|
* * Add ability to add maps from lua scripts and access theirs elementsVsevolod Stakhov2009-11-021-18/+18
| | | | * Add whitelist module for whitelisting score for some ip/from addresses
* * Implement new system of managing rspamd processesVsevolod Stakhov2009-10-301-77/+60
|
* * Fix an issue with workers spawningVsevolod Stakhov2009-10-291-1/+2
| | | | * Fix an issue with initializing radix lists in views
* * Retab, no functional changesVsevolod Stakhov2009-10-021-269/+260
|
* * Cleanify logic of processes dispatcherVsevolod Stakhov2009-09-211-39/+61
|
* * Fix -C flag with lua enabledVsevolod Stakhov2009-09-161-0/+3
|
* * Reorganze lua support in rspamdVsevolod Stakhov2009-08-311-1/+1
|
* * Use buffered IO for loggingVsevolod Stakhov2009-08-251-1/+4
|
* * Migrate fuzzy storage to use UDP instead of TCPVsevolod Stakhov2009-08-251-4/+6
|
* * Fix process dispatcherVsevolod Stakhov2009-08-201-4/+6
| | | | * Use bloom filter in fuzzy storage
* * Implement fuzzy hashes storage workerVsevolod Stakhov2009-07-271-1/+9
| | | | | | | TODO: - implement client as rspamd plugin - add support to controller and rspamc - improve performance by avoiding usage of linked lists
* * Fix some more bugsVsevolod Stakhov2009-07-231-2/+2
|
* * Make modules disableable from configVsevolod Stakhov2009-07-231-9/+30
|
* * Add http maps supportVsevolod Stakhov2009-07-211-1/+1
|
* * Fix stupid error with memory copyingVsevolod Stakhov2009-07-161-2/+2
|
* * Fix order of flags parsingVsevolod Stakhov2009-07-151-25/+26
|
* * Add -C flag to dump cache contentVsevolod Stakhov2009-07-151-4/+33
| | | | * Fix sorting logic
* * Fix symbol planning, add cache_file directive to config fileVsevolod Stakhov2009-07-141-1/+3
| | | | * Fix some errors
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-0/+10
| | | | | | | * Add metrics optimization and symbols cache * Change all plugins [DRAGONS]: not for production usage, some things are still not working!
* * Introduce new system of workers spawning and configuring, now rspamd can ↵Vsevolod Stakhov2009-06-171-65/+69
| | | | | | | be easily extended by new types of wrokers * Rework config system and avoid from using queue (3) lists * Upgrade version to 0.2.0 as config format is now incompatible with older one
* * Use own logging system to use static logging buffer instead of dynamically ↵Vsevolod Stakhov2009-06-161-0/+4
| | | | allocated one
* * Move event and gmime init to mainVsevolod Stakhov2009-05-051-0/+2
|
* * Enable counters interfaceVsevolod Stakhov2009-05-051-2/+8
| | | | * Move modules configuration to init stage
* * Fix shared hashes avoiding its resizingVsevolod Stakhov2009-05-041-1/+1
|
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-0/+5
| | | | * Fix shared hashes
* * Fix daemon (3) callVsevolod Stakhov2009-04-301-1/+1
|
* * Enable gprof supportVsevolod Stakhov2009-04-291-2/+1
|
* * Fix variables substitutionVsevolod Stakhov2009-04-221-1/+0
|
* * Try to convert each text part of messages to utf8 to avoid problems with ↵Vsevolod Stakhov2009-04-151-0/+6
| | | | regexps
* * Add message handling functions to lua APIVsevolod Stakhov2009-03-301-0/+9
| | | | | * Add ability to add lua code in config with .lua and .endlua * Add consolidation functions support that are written in perl or lua
* * Add initial LUA filters supportVsevolod Stakhov2009-03-271-2/+7
|
* * Add ability to build rspamd without perl supportVsevolod Stakhov2009-03-271-2/+12
| | | | | * Fix creating of uinx socket * Improve some build issues
* * Fix variable substitutionVsevolod Stakhov2009-03-241-24/+59
| | | | * Add new command line parameter '-V' allowing to dump all variables of rspamd
* * With flag -t syntax of modules variables is also inspectedVsevolod Stakhov2009-03-191-11/+28
| | | | * Set "C" locale on start to avoid some troubles with logging
* * Fix reload logicVsevolod Stakhov2009-03-131-59/+103
| | | | | * Create listen sock for lmtp in main processes dispatcher to allow multiply lmtp workers * Fix logic of logging
* * Drop privilleges immideately after creating of listen socketVsevolod Stakhov2009-03-041-23/+23
|
* * Add ability to fork multiply lmtp workersVsevolod Stakhov2009-03-031-21/+107
| | | | | | | * 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 functionsVsevolod Stakhov2009-03-031-2/+2
| | | | | | | * 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
* * Remove %m from logging it seems to be unsupported by FreeBSD printf versionVsevolod Stakhov2009-03-021-5/+5
|
* * Fix logging when process is startingVsevolod Stakhov2009-02-261-1/+13
| | | | | * Add -t option for config testing * Try to search default config in install prefix not in current directory
* * Add initial LMTP support and LDA delivery to rspamdVsevolod Stakhov2009-02-241-3/+14
|
* * Improve logger initializationVsevolod Stakhov2009-02-181-42/+66
|
* * Prepare to migrate to cmake (still need to write install target and ↵Vsevolod Stakhov2009-02-161-20/+2
| | | | | | | | 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 textVsevolod Stakhov2009-02-161-0/+24
|
* * Init perl and do all perl specific operations from the single place in codeVsevolod Stakhov2009-02-131-48/+5
| | | | * Push objects correctly to stack (by blessing them and making hash reference)
* * Add log function to perl APIVsevolod Stakhov2009-02-121-0/+20
| | | | * Prepare for more detailed work on rspamd perl API
* * Make surbl checks workingVsevolod Stakhov2009-01-261-6/+9
|