summaryrefslogtreecommitdiffstats
path: root/src/controller.c
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Remove stupid threshold for saving symbol valueVsevolod Stakhov2023-12-151-1/+1
|
* [Minor] Fix format stringVsevolod Stakhov2023-11-211-1/+1
|
* [Rework] Use a more sane data structure and refactorVsevolod Stakhov2023-11-211-6/+10
|
* [Rework] More abstractions to hide C++ internalsVsevolod Stakhov2023-08-141-16/+20
|
* [Rework] Finish utils reworkVsevolod Stakhov2023-08-141-4/+3
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-1748/+1729
| | | | No meaningful changes.
* [Minor] Plug memory leak for sigaltstackVsevolod Stakhov2022-10-291-0/+1
|
* [Rework] Make http normalize path function a generic functionVsevolod Stakhov2022-10-231-6/+6
|
* [Fix] Another fix for the enable passwordVsevolod Stakhov2022-10-111-0/+4
|
* [Fix] Try to fix the case where password == enable_passwordVsevolod Stakhov2022-10-101-10/+26
| | | | Issue: #4306
* [Minor] Declare variable where it is usedVsevolod Stakhov2022-09-051-6/+4
|
* [Minor] Add utility function for task timeoutsVsevolod Stakhov2022-08-191-9/+2
|
* [Fix] Try to fix the mess with read only flagVsevolod Stakhov2022-07-251-9/+24
| | | | Issue: #4219
* [Minor] Return 401 error code on `Unauthorized` errorVsevolod Stakhov2022-07-201-1/+1
| | | | Issue: #4218
* [Minor] Try to fix passwords case in the controllerVsevolod Stakhov2022-05-311-13/+1
| | | | Issue: #4186
* [Minor] Replace some of macro usesVsevolod Stakhov2022-05-071-7/+7
|
* [Minor] Do not add stats for invalid requestsVsevolod Stakhov2022-04-251-0/+1
|
* [Minor] Add average scan time metricVsevolod Stakhov2022-03-051-0/+11
| | | | Issue: #4096
* [Minor] Fix printingVsevolod Stakhov2022-03-051-1/+1
|
* [Minor] Move common stuff to a functionVsevolod Stakhov2022-03-041-73/+102
|
* [Feature] Output average scan time in /stat endpointVsevolod Stakhov2022-02-261-0/+6
|
* [Minor] Always report actions countVsevolod Stakhov2022-02-261-16/+14
|
* [Minor] Align rspamd_stat structureVsevolod Stakhov2022-02-261-10/+10
|
* Spelling (#4086)Josh Soref2022-02-221-3/+3
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-251-0/+2
| | | | Found by: coverity scan
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-181-0/+4
| | | | Found by: coverity scan
* [Minor] Plug some leaks on error pathsVsevolod Stakhov2021-09-181-1/+2
| | | | Found by: coverity scan
* [Minor] Cleanup metrics outputVsevolod Stakhov2021-09-081-17/+28
|
* [Fix] Namespace and add metadata for OpenMetrics, fix interleavingPeter Fern2021-09-081-27/+114
|
* [Minor] Slightly improve health checksVsevolod Stakhov2021-07-211-14/+66
|
* Merge pull request #3788 from mrueg/healthcheckVsevolod Stakhov2021-07-211-0/+48
|\ | | | | Add health and readiness checks
| * controller.c: Implement ready/health endpointsManuel Rüger2021-06-091-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These endpoints allow an orchestrator like kubernetes to verify the status of rspamd (https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) Current implementation is very minimal. The health endpoint allows to verify rspamd internally. It could check for internal configuration and ensure that rspamd itself is healthy and available. The ready endpoint signals that rspamd is ready to receive and process traffic and thus ensures that configured external components are available. The readiness check could for example test if configured redis servers or at least one rspamd upstreams is available.
* | src/controller.c: Replace formatterManuel Rüger2021-06-091-1/+1
|/ | | | | | | | | Otherwise the endpoint will output: pools_freed 53d instead of pools_freed 53
* [Fix] Rework metrics handlingVsevolod Stakhov2021-05-181-60/+75
| | | | Issue: #3754
* Implement an endpoint for OpenMetricsManuel Rüger2021-05-171-0/+276
| | | | Now /metrics provides an endpoint that is openmetrics compatible.
* [Minor] Various fixes for display link detectionVsevolod Stakhov2021-03-051-2/+2
|
* [Rework] Track maps originsVsevolod Stakhov2020-10-261-1/+1
|
* [Minor] Extend /stat responsemoisseev2020-08-051-0/+8
|
* [Minor] Check message field before dereferencingVsevolod Stakhov2020-07-261-1/+1
|
* [Minor] Allow empty body in the controllerVsevolod Stakhov2020-07-261-8/+0
|
* [Minor] Log source IPVsevolod Stakhov2020-05-071-4/+8
|
* [Minor] Workaround for \0 character (poor API choice)Vsevolod Stakhov2020-04-241-1/+4
|
* [Feature] Controller: Allow to pass query arguments to the lua webui pluginsVsevolod Stakhov2020-04-241-16/+57
|
* [Minor] Prevent controller results from being cachedVsevolod Stakhov2020-04-221-0/+4
| | | | Issue: #3330
* [Minor] Enable missing_noreturn compiler warningChristian Göttsche2020-04-111-0/+1
|
* [Feature] Add multiple base32 alphabets for decodingVsevolod Stakhov2020-04-091-2/+2
|
* [Rework] Further project structure reorganisationVsevolod Stakhov2020-02-111-5/+5
|
* [Rework] Logger: Fix issues found so farVsevolod Stakhov2020-02-101-1/+1
|
* [Project] Add logic to break execution when processing symbolsVsevolod Stakhov2019-12-241-0/+1
|
* [Project] Allow to enable mempool debugging from the protocolVsevolod Stakhov2019-12-231-6/+6
|