aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
Commit message (Collapse)AuthorAgeFilesLines
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-1837-217/+217
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Fix] Do not save multipatterns to FS in certain casesVsevolod Stakhov2024-03-151-3/+5
|
* [Minor] Fix invocationVsevolod Stakhov2024-03-111-1/+1
|
* [Feature] Support reply in message pack formatVsevolod Stakhov2024-03-112-7/+34
| | | | | | Rspamd currently sends reply in JSON format. However, message pack seems to be a better choice for a compatible client. It is faster and does not need escaping or even UTF8 validation. This is a surface for further updates.
* [Minor] Add HTTP_MAGIC_SVG keymoisseev2024-03-071-2/+3
|
* [Minor] Serve SVG with the correct CTmoisseev2024-03-071-0/+1
|
* [Project] Convert the remainingVsevolod Stakhov2024-03-053-4/+4
|
* [Project] Start optimization of userdata hashingVsevolod Stakhov2024-03-053-6/+9
|
* [Fix] Fix initial maps loadVsevolod Stakhov2024-02-172-7/+12
|
* [Test] Add unit testsVsevolod Stakhov2024-02-122-3/+15
|
* [Fix] Try to fix url path issueVsevolod Stakhov2024-02-121-4/+18
|
* [Minor] Add LOG_CONS flag to `openlog`Vsevolod Stakhov2024-02-101-1/+1
|
* [Feature] Support JSON logging when in syslog modeVsevolod Stakhov2024-02-091-8/+145
|
* [Fix] Fix potential double free by expclicitly zeroing pointersVsevolod Stakhov2024-01-251-4/+4
|
* Update cfg_utils.cxxJulien Voisin2023-12-291-1/+1
| | | Fix another dumb s/NULL/nullptr/g
* Update cfg_rcl.cxxJulien Voisin2023-12-291-1/+1
| | | Fixed an overzealous s/NULL/nullptr/g
* Merge pull request #4718 from rspamd/vstakhov-bayes-reworkVsevolod Stakhov2023-12-101-6/+6
|\ | | | | Migrate bayes redis backend to Lua scripts
| * [Project] Move the whole backend to C++Vsevolod Stakhov2023-12-051-6/+6
| | | | | | | | Easier to work further.
* | [CritFix] - Fix reported length of logging structureAdam Majer2023-12-071-31/+11
|/ | | | | | | | | | | | The logging code contains one place where the apparent size of the logging structure is defined and then it's actually utilized in another place. Re-writes and refactoring this code ended up with these values to not co-relate what was previously there resulting in a stack overwrite in last version or currently in log truncation. Move assignment of logging structure to the place where it's actually used, reducing future logic de-sync dangers. Also move the g_assert() to the end as it should be a development aid only.
* [Rework] Use a more sane data structure and refactorVsevolod Stakhov2023-11-212-4/+5
|
* [Fix] Fix some corner cases when parsing maps with no newlinesVsevolod Stakhov2023-11-181-0/+3
|
* [Minor] Fix build with no hyperscanVsevolod Stakhov2023-11-151-0/+4
| | | | Issue: #4702
* [Fix] Another try to fix setproctitleVsevolod Stakhov2023-11-131-3/+3
|
* [Fix] Fix various issues with canonicalisation of the pathsVsevolod Stakhov2023-11-101-7/+16
|
* [Fix] Fix bad access when printing pending events on failure pathVsevolod Stakhov2023-11-101-5/+3
|
* [Feature] Support ping command in fuzzy storageVsevolod Stakhov2023-11-091-1/+18
|
* [Minor] Document `gtube_patterns`Vsevolod Stakhov2023-11-091-5/+22
|
* [Feature] Reiterate on gtube patternsVsevolod Stakhov2023-11-083-22/+52
|
* [Minor] Improve diagnostic by rising log levelVsevolod Stakhov2023-11-011-3/+3
|
* Merge pull request #4674 from rspamd/log_jsonVsevolod Stakhov2023-10-306-171/+329
|\ | | | | [Project] Support of JSON logging
| * [Minor] Use floating point ts instead of microsecondslog_jsonVsevolod Stakhov2023-10-301-2/+2
| |
| * [Feature] Escape JSON when neededVsevolod Stakhov2023-10-304-169/+286
| |
| * [Minor] Fix some minor issuesVsevolod Stakhov2023-10-301-2/+6
| |
| * [Project] Preliminary support of JSON loggingVsevolod Stakhov2023-10-304-38/+75
| |
* | [Fix] Do not cleanup hyperscan files unless new ones are loadedVsevolod Stakhov2023-10-303-34/+58
|/
* [Minor] Really fix the issueVsevolod Stakhov2023-10-271-2/+2
|
* [Fix] A workaround for brain-damaged std::filesystem behaviourVsevolod Stakhov2023-10-271-13/+2
| | | | Issue: #4665
* [Minor] Simplify by using <filesystem>Vsevolod Stakhov2023-10-211-64/+33
|
* [Feature] Allow to set HTTP auth parameters for the mapsVsevolod Stakhov2023-10-021-4/+58
|
* [Minor] Refactor logging function to join console and fileVsevolod Stakhov2023-09-164-240/+243
|
* [Fix] Do not pollute public headers with libev internalsVsevolod Stakhov2023-09-132-4/+6
|
* [Feature] Use backward-cpp instead of manual libunwind stuffVsevolod Stakhov2023-09-133-73/+69
|
* [Minor] Use a more standard way to initialize libunwindVsevolod Stakhov2023-09-131-5/+7
|
* Merge pull request #4592 from ln5/formatstringVsevolod Stakhov2023-09-101-3/+3
|\ | | | | [Fix] Correct format string for unw_word_t
| * Update src/libserver/worker_util.cLinus Nordberg2023-09-091-1/+1
| | | | | | Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
| * Update src/libserver/worker_util.cLinus Nordberg2023-09-091-2/+2
| | | | | | Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
| * [Fix] Correct format string for unw_word_tLinus Nordberg2023-09-081-2/+2
| | | | | | | | | | | | On x86_64 unw_word_t is uint64_t. NOTE: Possibly incorrect for !x86_64.
* | [Minor] Fix some warningsVsevolod Stakhov2023-09-083-15/+25
| |
* | [Fix] Correct format pattern for RE tree tempfile nameLinus Nordberg2023-09-081-1/+1
|/ | | | Triggered by -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DENABLE_CLANG_PLUGIN=ON -DENABLE_HYPERSCAN=ON.
* [Minor] Sort lua modules and use GPtrArray instead of GListVsevolod Stakhov2023-09-073-13/+15
|