Vsevolod Stakhov
655afcbbe9
[Feature] Support metrics command in normal/proxy workers
il y a 1 jour
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
il y a 3 mois
Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
il y a 3 mois
Vsevolod Stakhov
9b78be4f03
[Feature] Support reply in message pack format
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.
il y a 3 mois
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
il y a 11 mois
Vsevolod Stakhov
41e28d1148
[Rework] Further project structure reorganisation
il y a 4 ans
Vsevolod Stakhov
d4d921a97e
[Rework] Rename filter.h to a more sane name
il y a 4 ans
Vsevolod Stakhov
c271eb3665
[Rework] Add C++ guards to all headers
il y a 5 ans
Vsevolod Stakhov
d5a36f4f75
[Project] Another iteration
il y a 5 ans
Vsevolod Stakhov
81bc945a76
[Rework] Start rework of the HTTP library
il y a 5 ans
Vsevolod Stakhov
b0274f0521
[Fix] Fix spamc support in rspamd proxy
il y a 7 ans
Vsevolod Stakhov
906eff799f
[Feature] Initial support of self-scan in Rspamd proxy
il y a 7 ans
Vsevolod Stakhov
7156236d9d
[Fix] Fix passing data to log helper when many symbols defined
il y a 7 ans
Vsevolod Stakhov
81eb3c648e
[Feature] Allow to cache and use flexible protocol reply
il y a 7 ans
Vsevolod Stakhov
da4453ce4c
[Rework] Refactor struct names
il y a 7 ans
Vsevolod Stakhov
50c9bd3d09
[Feature] Allow to pass extra data from plugins to log helper
il y a 7 ans
Vsevolod Stakhov
4ea9e0293d
[Minor] Simplify rspamc conversion routines
il y a 8 ans
Vsevolod Stakhov
f0b0d219cb
[Minor] Declare function non-static
il y a 8 ans
Vsevolod Stakhov
56482018b4
[Feature] Pass settings id to log helper
il y a 8 ans
Vsevolod Stakhov
5cb2fe9654
[Feature] Extend log structure
il y a 8 ans
Vsevolod Stakhov
21608c3677
[Feature] Start client implementation for logging pipes in rspamd
il y a 8 ans
Vsevolod Stakhov
24ae78bec4
[Minor] Remove legacy interface
il y a 8 ans
Vsevolod Stakhov
1b34354919
Start implementation of flexible task logging
il y a 8 ans
Vsevolod Stakhov
1a0025def0
Fix protocols processing.
il y a 8 ans
Vsevolod Stakhov
7dbf705472
Split task -> ucl result transition.
il y a 9 ans
Vsevolod Stakhov
7cdfdccdd8
Add control section parsing.
il y a 9 ans
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
il y a 10 ans
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
il y a 10 ans
Vsevolod Stakhov
e0483657ff
Unify code style.
il y a 10 ans
Vsevolod Stakhov
de4532aba2
Handle HTTP headers during task processing.
il y a 10 ans
Vsevolod Stakhov
e6ddee95a7
Move protocol functions to libserver.
il y a 10 ans
Vsevolod Stakhov
e7507e024d
Fix issues with scanning messages via controller.
il y a 10 ans
Vsevolod Stakhov
61555065f3
Rework project structure, remove trash files.
il y a 10 ans
Vsevolod Stakhov
0b70166de4
Fix includes.
il y a 10 ans
Vsevolod Stakhov
5f25b69c03
Refactor worker task structure and API.
il y a 10 ans
Vsevolod Stakhov
7e4a21dc55
Simplify states of task. Disable broken code.
il y a 10 ans
Vsevolod Stakhov
e2f2eed337
Parse HTTP requests, cleanup the code.
--HG--
extra : rebase_source : 6b35fbf55f
il y a 10 ans
Vsevolod Stakhov
2d81eded1e
* Initial approach to RESTful controller.
Fix security issues in fstring handling.
il y a 11 ans
Vsevolod Stakhov
e414be4059
* Add ability to learn rspamd via worker (without password)
il y a 13 ans
Vsevolod Stakhov
a93dd7892f
* Preload statfiles at the early beginning in the main process
* Add JSON output for rspamd worker
* Add HTTP protocol support for rspamd worker
il y a 13 ans
Vsevolod Stakhov
beab78097d
* Add ability to add descriptions for symbols
il y a 13 ans
Vsevolod Stakhov
7a09c641f8
* Add ability to recursive scan over multipart's parts for functions:
- content_type_is_type
- content_type_is_subtype
- content_type_compare_param
- content_type_has_param
* Add ability to specify any of actions in user's settings, not only reject.
il y a 13 ans
Vsevolod Stakhov
dbee2f63ee
Fixes bugs found with clang-static analyser.
Strictly follow c99 standart.
Turn on pedantic c99 checks.
il y a 13 ans
Vsevolod Stakhov
6b306ab875
Fixes types (use glib ones) no functional change.
Now all comments in commit logs beginning with '*' would be included in changelog, so
important changes would be separated from small ones.
il y a 13 ans
Vsevolod Stakhov
671bbfa9cc
* Add post filters to lua API - filters that would be called after all message's processing
* Add ability to check for specified symbol in task results from lua
* Add ability to check for metric's results from lua
* Add ability to learn specified statfile form lua
il y a 14 ans
Vsevolod Stakhov
2a8b8ce671
* Write symbols weights to rspamc output
* Improve logic of selecting rspamc version
* Do not try to parse broken DNS replies
* Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
il y a 14 ans
Vsevolod Stakhov
9727678e70
* Check return value of each rspamd_dispatcher_write as in case of write errors sessions can be destroyed early
il y a 14 ans
Vsevolod Stakhov
ce482fbf8e
* Add reject score setting for hard rejecting of mail (by Anton Nekhoroshin)
* Add rspamc protocol 1.1 (3 marks instead of 2)
il y a 14 ans
Vsevolod Stakhov
b29cec5f64
* Improve logic of urls command to extract only those urls that would be checked against surbl lists
* Fix surbl whitelisting
* Fix bug with processing custom commands
* Update version to 0.2.1
il y a 15 ans
Vsevolod Stakhov
c76bd2e9ab
* Add module for blacklisting emails (self documented in sample config)
* Add command 'emails' for extracting emails from a message
* Rework protocol layout to allow expanding rspamd protocol by custom commands that can be added from anywhere in code
* Allow rspamc to work without strictly parameter 'command'. Command by default is 'symbols'.
* Update version to 0.1.8
il y a 15 ans