Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
3 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.
3 months ago
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10 months ago
Vsevolod Stakhov
ede28c7e6b
[Minor] Honor RSPAMD_NO_CLEANUP in hs_helper as well
1 year ago
Vsevolod Stakhov
a18c2f7c4b
[Minor] Plug memory leak for sigaltstack
1 year ago
Vsevolod Stakhov
1da2169a07
[Minor] Eh, one more fix for the format string
Noticed by: @citrin
1 year ago
Vsevolod Stakhov
7374691f84
[Minor] Some more fixes towards hyperscan obsoletion reasoning
1 year ago
Vsevolod Stakhov
d6b4e64f6d
[Minor] Add some extra error reporting to hyperscan cache checks
1 year ago
Duncan Bellamy
5c30f34906
[Feature] Allow hyperscan for ppc64, as vectorscan now suports it.
2 years ago
Vsevolod Stakhov
ec76c1fc65
[Minor] Add attribute noreturn to start_hs_helper function
Suggested by: @citrin
2 years ago
Vsevolod Stakhov
967e5ee83c
[Minor] Add some logging
3 years ago
Vsevolod Stakhov
6a183f820f
[Feature] Add race condition protection against hs_helper restarts
3 years ago
Duncan Bellamy
f5a86afd19
[Feature] allow hyperscan for aarch64
3 years ago
Vsevolod Stakhov
797a8e37b9
[Fix] Do not load errored hyperscan database
3 years ago
Vsevolod Stakhov
bb78073cc8
[Minor] Reduce hs load timeout (do we need it still?)
3 years ago
Vsevolod Stakhov
3424122c9d
[Rework] Logger: Fix issues found so far
4 years ago
Vsevolod Stakhov
3ced568c32
[Minor] Implement preliminary termination for hs_helper
4 years ago
Vsevolod Stakhov
e9e7ea8b37
[Minor] Fix timer race in hs_helper
4 years ago
Vsevolod Stakhov
3b3831ccc6
[Minor] Slightly improve log messages
4 years ago
Vsevolod Stakhov
6c76c1728c
[Minor] Strictly check worker context magic
4 years ago
Vsevolod Stakhov
3a4c774243
[Rework] Allow execution of async events when hs compiles regexps
4 years ago
Vsevolod Stakhov
dc96f9b37f
[Project] Make it compileable again...
5 years ago
Vsevolod Stakhov
98897c1797
[Project] First refactoring step libevent->libev
5 years ago
Mikhail Galanin
8748ac7e34
[Minor] Fixed HyperScan worker build
5 years ago
Vsevolod Stakhov
2f0c6e0f26
[Minor] Prevent data corruption when dealing with signals
7 years ago
Vsevolod Stakhov
6b71fcb72f
[Rework] Run post-loads when all initialization is completed
7 years ago
Vsevolod Stakhov
99886642f9
[Fix] Fix abstract context layout
7 years ago
Vsevolod Stakhov
3307ad5d3a
[Fix] Do not compile hyperscan with no SSSE3 support
7 years ago
Vsevolod Stakhov
7672a0ae2e
[Fix] Plug reload leaks
7 years ago
Vsevolod Stakhov
213ea1bc48
[Fix] Fix reload and hyperscan ready event
MFH: true
7 years ago
Vsevolod Stakhov
653ecce56f
[Fix] Plug termination memory leaks
7 years ago
Vsevolod Stakhov
26d6ee9911
[Fix] Fix usage of config during reload
7 years ago
Vsevolod Stakhov
be3414a88c
[Feature] Execute on_load scripts with ev_base ready
7 years ago
Vsevolod Stakhov
49c4849dac
[Fix] Fix reload in some plugins and workers
7 years ago
Vsevolod Stakhov
62b8b657d9
[Fix] Ensure that hyperscan cache written is written properly
8 years ago
Vsevolod Stakhov
8fd0795fef
[Feature] Rework listening system to allow multiple socket types per worker
8 years ago
Vsevolod Stakhov
ee1e8c27b8
[Feature] Add common directory for hyperscan cache to config
8 years ago
Vsevolod Stakhov
6a74976d44
[Feature] Add magic for all workers' contexts
8 years ago
Vsevolod Stakhov
c442adeaa2
[Feature] Rework system of workers' flags
8 years ago
Vsevolod Stakhov
a5bd71440e
[Feature] Allow to send descriptors from workers to main
8 years ago
Vsevolod Stakhov
4bd75d888a
[Feature] Allow to attach file descriptors to control commands
8 years ago
Vsevolod Stakhov
de42879925
Add more sanity checks when loading hyperscan cache
8 years ago
Vsevolod Stakhov
d54124d738
Add versions to rspamd modules and workers
8 years ago
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 years ago
Vsevolod Stakhov
ff463c609b
Fix couple of compiler warnings
8 years ago
Vsevolod Stakhov
dfbf2f58ee
Rework hyperscan notifies to reduce noise level
8 years ago
Vsevolod Stakhov
aac1c37798
Add periodic checks for hyperscan files
8 years ago
Vsevolod Stakhov
100f7dc950
Add extra sleep to avoid race condition
When there are no expressions to compile it is possible that hs_helper
will send notice to no workers. So this sleep should resolve the most of
cases where this race occurs.
8 years ago
Vsevolod Stakhov
2d1e80497f
Improve hyperscan compiler helper logging
8 years ago
Vsevolod Stakhov
49df9c2db6
Add documentation for all workers' options
8 years ago