Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
2 months ago
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.
2 months ago
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.
2 months ago
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10 months ago
Vsevolod Stakhov
41e28d1148
[Rework] Further project structure reorganisation
4 years ago
Vsevolod Stakhov
d4d921a97e
[Rework] Rename filter.h to a more sane name
4 years ago
Vsevolod Stakhov
c271eb3665
[Rework] Add C++ guards to all headers
4 years ago
Vsevolod Stakhov
d5a36f4f75
[Project] Another iteration
5 years ago
Vsevolod Stakhov
81bc945a76
[Rework] Start rework of the HTTP library
5 years ago
Vsevolod Stakhov
b0274f0521
[Fix] Fix spamc support in rspamd proxy
7 years ago
Vsevolod Stakhov
906eff799f
[Feature] Initial support of self-scan in Rspamd proxy
7 years ago
Vsevolod Stakhov
7156236d9d
[Fix] Fix passing data to log helper when many symbols defined
7 years ago
Vsevolod Stakhov
81eb3c648e
[Feature] Allow to cache and use flexible protocol reply
7 years ago
Vsevolod Stakhov
da4453ce4c
[Rework] Refactor struct names
7 years ago
Vsevolod Stakhov
50c9bd3d09
[Feature] Allow to pass extra data from plugins to log helper
7 years ago
Vsevolod Stakhov
4ea9e0293d
[Minor] Simplify rspamc conversion routines
8 years ago
Vsevolod Stakhov
f0b0d219cb
[Minor] Declare function non-static
8 years ago
Vsevolod Stakhov
56482018b4
[Feature] Pass settings id to log helper
8 years ago
Vsevolod Stakhov
5cb2fe9654
[Feature] Extend log structure
8 years ago
Vsevolod Stakhov
21608c3677
[Feature] Start client implementation for logging pipes in rspamd
8 years ago
Vsevolod Stakhov
24ae78bec4
[Minor] Remove legacy interface
8 years ago
Vsevolod Stakhov
1b34354919
Start implementation of flexible task logging
8 years ago
Vsevolod Stakhov
1a0025def0
Fix protocols processing.
8 years ago
Vsevolod Stakhov
7dbf705472
Split task -> ucl result transition.
9 years ago
Vsevolod Stakhov
7cdfdccdd8
Add control section parsing.
9 years ago
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
9 years ago
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
9 years ago
Vsevolod Stakhov
e0483657ff
Unify code style.
9 years ago
Vsevolod Stakhov
de4532aba2
Handle HTTP headers during task processing.
10 years ago
Vsevolod Stakhov
e6ddee95a7
Move protocol functions to libserver.
10 years ago
Vsevolod Stakhov
e7507e024d
Fix issues with scanning messages via controller.
10 years ago
Vsevolod Stakhov
61555065f3
Rework project structure, remove trash files.
10 years ago
Vsevolod Stakhov
0b70166de4
Fix includes.
10 years ago
Vsevolod Stakhov
5f25b69c03
Refactor worker task structure and API.
10 years ago
Vsevolod Stakhov
7e4a21dc55
Simplify states of task. Disable broken code.
10 years ago
Vsevolod Stakhov
e2f2eed337
Parse HTTP requests, cleanup the code.
--HG--
extra : rebase_source : 6b35fbf55f
10 years ago
Vsevolod Stakhov
2d81eded1e
* Initial approach to RESTful controller.
Fix security issues in fstring handling.
11 years ago
Vsevolod Stakhov
e414be4059
* Add ability to learn rspamd via worker (without password)
13 years ago
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
13 years ago
Vsevolod Stakhov
beab78097d
* Add ability to add descriptions for symbols
13 years ago
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.
13 years ago
Vsevolod Stakhov
dbee2f63ee
Fixes bugs found with clang-static analyser.
Strictly follow c99 standart.
Turn on pedantic c99 checks.
13 years ago
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.
13 years ago
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
13 years ago
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)
14 years ago
Vsevolod Stakhov
9727678e70
* Check return value of each rspamd_dispatcher_write as in case of write errors sessions can be destroyed early
14 years ago
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)
14 years ago
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
15 years ago
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
15 years ago
Vsevolod Stakhov
58f19b0656
* Add urls command for extracting urls
15 years ago