Vsevolod Stakhov
5a9e00e56e
[Minor] Switch to buffered IO + fix memory leak on reload
3 lat temu
Vsevolod Stakhov
557c870057
[Project] CDB maps: Start making cdb a first class citizen
4 lat temu
Vsevolod Stakhov
41e28d1148
[Rework] Further project structure reorganisation
4 lat temu
Vsevolod Stakhov
3c4d373392
[Feature] Allow to limit maps per specific worker
4 lat temu
Vsevolod Stakhov
d4d921a97e
[Rework] Rename filter.h to a more sane name
4 lat temu
Vsevolod Stakhov
2c316e86a1
[Fix] Fix maps object update race condition
Issue: #2467
5 lat temu
Vsevolod Stakhov
137f4b1e53
[Project] Fix setting of actions score
5 lat temu
Vsevolod Stakhov
7425878cfa
[Fix] Fix reload crash
6 lat temu
Vsevolod Stakhov
52a9a2eed6
[Fix] Fix destruction logic
Issue: #2295
6 lat temu
Vsevolod Stakhov
c08f35e976
[Minor] More init leaks
6 lat temu
Vsevolod Stakhov
3c68296565
[Minor] Fix leak in dynamic cfg init
6 lat temu
Vsevolod Stakhov
7406e60b74
[Fix] Cleanup maps data on shutdown
6 lat temu
Vsevolod Stakhov
cdc100b748
[Fix] Fix dynamic settings application
Issue: #769
Closes: #769
6 lat temu
Vsevolod Stakhov
8fd4189a09
[Fix] Make dynamic conf more NaN aware
6 lat temu
Vsevolod Stakhov
70c5a7b688
[Rework] Kill metrics!11
6 lat temu
Vsevolod Stakhov
4656f5525d
[Minor] More g_slice cleanups
6 lat temu
Vsevolod Stakhov
ecd357f4b0
[Minor] Further steps to get rid of metrics support
6 lat temu
Vsevolod Stakhov
c11152d9ec
[Feature] Allow to specify maximum number of shots for symbols
7 lat temu
Vsevolod Stakhov
fe3edc0dfa
[Fix] Fix usage of unsafe ucl iterators
7 lat temu
Vsevolod Stakhov
da4453ce4c
[Rework] Refactor struct names
7 lat temu
Vsevolod Stakhov
b2cfa63b1f
[Fix] Fix applying of lua dynamic confg
7 lat temu
Vsevolod Stakhov
0edaed34e4
[Feature] Allow to update dynamic conf in Redis
7 lat temu
Vsevolod Stakhov
1321e13e3d
[Rework] Adopt new maps code
Issue: #616
8 lat temu
Vsevolod Stakhov
d1e49accf9
[Feature] Show map URLs in webui
8 lat temu
Vsevolod Stakhov
e8fab1263b
[Fix] Fix resetting symbols to their default values in WebUI
8 lat temu
Vsevolod Stakhov
3740caa96e
[Fix] Rework map reading state machine
8 lat temu
Vsevolod Stakhov
0c9184dcbd
[Feature] Add priorities for actions
Add dedicated API to modify action limits with priorities from different
configuration place. This follows the logic of symbols' priorities and
will be used for dynamic rules and override definitions.
8 lat temu
Vsevolod Stakhov
512d64b8f3
[Feature] Rework dynamic symbols for new metrics API
8 lat temu
Vsevolod Stakhov
6bc5286496
Refactor UCL API
8 lat temu
Vsevolod Stakhov
3c870de8e3
Fix for the new libucl API
8 lat temu
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 lat temu
Vsevolod Stakhov
eb737947eb
Reorganize includes to reduce namespace pollution.
8 lat temu
Vsevolod Stakhov
3afc4aba24
Rename main.h and main.c to `rspamd.X`
8 lat temu
Vsevolod Stakhov
3c1e2d179c
Fix number of issues with webui interaction.
9 lat temu
Vsevolod Stakhov
1e08514471
Fix potential issues as found by coverity.
9 lat temu
Vsevolod Stakhov
d2150fc165
Refactor function names.
9 lat temu
Vsevolod Stakhov
aeb484cac6
Place symbol definition in metric->symbols hash.
9 lat temu
Vsevolod Stakhov
614767d4fe
Refactor function names.
9 lat temu
Vsevolod Stakhov
110e204fd1
More fixes to dynamic settings.
9 lat temu
Vsevolod Stakhov
a3ecb2533c
Rework dynamic configuration to use ucl.
9 lat temu
Vsevolod Stakhov
6cef19905c
Use ucl instead of jansson.
10 lat temu
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
10 lat temu
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
10 lat temu
Vsevolod Stakhov
e0483657ff
Unify code style.
10 lat temu
Vsevolod Stakhov
d6643f35d7
Refactor config API.
10 lat temu
Vsevolod Stakhov
61555065f3
Rework project structure, remove trash files.
10 lat temu
Vsevolod Stakhov
ad837700b8
Refactor memory pool naming.
10 lat temu
Vsevolod Stakhov
5edc7624ce
Refactor metric actions handling.
Use array of actions instead of a linked list to speed up processing.
* Removed required_score, reject_score and action in metric config,
now REJECT is the only default action for a metric.
10 lat temu
Vsevolod Stakhov
366dcda9e7
Update required score according to default metric's action.
11 lat temu
Vsevolod Stakhov
823c263b9d
Add saving of actions, symbols and maps.
11 lat temu