Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Fix] Add a database check function unless we have anything from Hyperscan | Vsevolod Stakhov | 2023-03-02 | 1 | -27/+60 | |
| | | | | Related: https://github.com/intel/hyperscan/issues/389 | |||||
* | [Fix] Normalize glob paths to avoid hash table misses | Vsevolod Stakhov | 2023-03-02 | 1 | -6/+10 | |
| | ||||||
* | [Minor] Avoid to initialise string with nullptr | Vsevolod Stakhov | 2023-02-27 | 1 | -2/+10 | |
| | ||||||
* | [Fix] Add hyperscan databases sanity check | Vsevolod Stakhov | 2023-02-27 | 1 | -1/+22 | |
| | | | | Issue: #4409 | |||||
* | [Fix] Further checks for the hs_scratch_alloc | Vsevolod Stakhov | 2023-02-25 | 4 | -14/+58 | |
| | | | | Issue: #4409 | |||||
* | [Fix] Treat `hs_allocate_scratch` errors as non-fatal | Vsevolod Stakhov | 2023-02-25 | 1 | -2/+16 | |
| | | | | Issue: #4409 | |||||
* | [Minor] Fix some warnings | Vsevolod Stakhov | 2023-02-11 | 3 | -11/+7 | |
| | ||||||
* | [Fix] Finally get rid of RSPAMD_USE_47BIT_LIGHTUSERDATA_HACK | Vsevolod Stakhov | 2023-02-01 | 1 | -1/+1 | |
| | ||||||
* | [Feature] Add `thresholds` field to the scan result | Vsevolod Stakhov | 2023-01-23 | 1 | -1/+16 | |
| | ||||||
* | Fix build with gcc 13 by including <cstdint> | Heiko Becker | 2023-01-19 | 2 | -0/+2 | |
| | | | | | | Like other versions before, gcc 13 moved some includes around and as a result <cstdint> is no longer transitively included. Explicitly include it for uint8_t. | |||||
* | [Minor] Add log line about hyperscan cleanup | Vsevolod Stakhov | 2023-01-07 | 1 | -1/+5 | |
| | ||||||
* | [Minor] Store module that has set the pre-result | Vsevolod Stakhov | 2023-01-02 | 1 | -5/+11 | |
| | ||||||
* | [Minor] Remove unused stuff | Vsevolod Stakhov | 2023-01-01 | 2 | -14/+0 | |
| | ||||||
* | [Minor] Try to fix build | Vsevolod Stakhov | 2022-12-03 | 1 | -4/+4 | |
| | ||||||
* | [Minor] Allow to skip hyperscan cleanup if RSPAMD_NO_CLEANUP env variable is set | Vsevolod Stakhov | 2022-12-01 | 1 | -1/+2 | |
| | ||||||
* | [Fix] Treat hostnames with no dots as eSLD of their own | Vsevolod Stakhov | 2022-11-26 | 1 | -20/+30 | |
| | ||||||
* | [Minor] Deduplicate code | Vsevolod Stakhov | 2022-11-26 | 2 | -0/+69 | |
| | ||||||
* | [CritFix] Fill path field in hyperscan notice command | Vsevolod Stakhov | 2022-11-21 | 1 | -0/+1 | |
| | | | | Reported by: @moisseev | |||||
* | [Fix] Add workaround for ENOBUFS error on sending | Vsevolod Stakhov | 2022-11-21 | 1 | -5/+18 | |
| | ||||||
* | [Fix] Fix off-by-one error in css tokenizer | Vsevolod Stakhov | 2022-11-21 | 1 | -1/+7 | |
| | ||||||
* | [Minor] Fix format string | Vsevolod Stakhov | 2022-11-20 | 1 | -1/+1 | |
| | ||||||
* | [Minor] Add some more logs to the erros in the control path | Vsevolod Stakhov | 2022-11-20 | 2 | -9/+57 | |
| | ||||||
* | [Minor] Add port to the `Host` header if using non-standard ports | Vsevolod Stakhov | 2022-11-19 | 3 | -3/+71 | |
| | ||||||
* | [Minor] Add some fail-safety for hyperscan cache | Vsevolod Stakhov | 2022-11-19 | 1 | -1/+13 | |
| | ||||||
* | [Minor] Allow urls with no tld when no tld file is loaded | Vsevolod Stakhov | 2022-11-19 | 1 | -1/+4 | |
| | ||||||
* | [Minor] Remove unused method | Vsevolod Stakhov | 2022-11-18 | 1 | -1/+0 | |
| | ||||||
* | [Minor] Try to fix potential off-by-one error | Vsevolod Stakhov | 2022-11-17 | 1 | -0/+5 | |
| | ||||||
* | [Minor] Add a simple check when trying to parse urls on config stage | Vsevolod Stakhov | 2022-11-12 | 1 | -0/+9 | |
| | ||||||
* | [CritFix] Deserialise hyperscan to the page-aligned space to prevent ↵ | Vsevolod Stakhov | 2022-11-11 | 1 | -1/+9 | |
| | | | | | | alignment issues Issue: #4329 | |||||
* | [Minor] Get rid of some compiler warnings | Vsevolod Stakhov | 2022-11-04 | 2 | -12/+1 | |
| | ||||||
* | [Minor] Restore non-blocking semantics for the control socket to avoid deadlocks | Vsevolod Stakhov | 2022-10-31 | 1 | -2/+3 | |
| | | | | XXX: it might be osx specific | |||||
* | [Minor] Reserve some more bytes | Vsevolod Stakhov | 2022-10-31 | 1 | -2/+2 | |
| | ||||||
* | [Minor] Simplify legacy calls via glib | Vsevolod Stakhov | 2022-10-30 | 1 | -15/+13 | |
| | ||||||
* | [Minor] Plug memory leak for sigaltstack | Vsevolod Stakhov | 2022-10-29 | 2 | -6/+27 | |
| | ||||||
* | [Minor] Add static log tag for hyperscan cache | Vsevolod Stakhov | 2022-10-29 | 1 | -5/+7 | |
| | ||||||
* | [Minor] Another small neat | Vsevolod Stakhov | 2022-10-25 | 1 | -1/+6 | |
| | ||||||
* | [Fix] Another corner case in url parsing | Vsevolod Stakhov | 2022-10-25 | 1 | -1/+3 | |
| | ||||||
* | [Fix] Try to fix parsing of the unencoded `>` characters in html attributes | Vsevolod Stakhov | 2022-10-25 | 1 | -34/+68 | |
| | ||||||
* | [Minor] Add small additional logging | Vsevolod Stakhov | 2022-10-25 | 1 | -0/+2 | |
| | ||||||
* | [Project] Enable hyperscan tools for re_cache | Vsevolod Stakhov | 2022-10-25 | 1 | -15/+17 | |
| | ||||||
* | [Minor] Fix offset usage | Vsevolod Stakhov | 2022-10-25 | 1 | -10/+14 | |
| | ||||||
* | [Project] Allow offsets in the hyperscan cache | Vsevolod Stakhov | 2022-10-24 | 3 | -5/+5 | |
| | ||||||
* | [Minor] Allow to map files at some offset | Vsevolod Stakhov | 2022-10-24 | 1 | -1/+1 | |
| | ||||||
* | [Minor] Improve logging | Vsevolod Stakhov | 2022-10-23 | 1 | -7/+17 | |
| | ||||||
* | [Rework] Make http normalize path function a generic function | Vsevolod Stakhov | 2022-10-23 | 5 | -239/+6 | |
| | ||||||
* | [Project] Rework cleanup | Vsevolod Stakhov | 2022-10-23 | 3 | -223/+91 | |
| | ||||||
* | [Project] Synchronize hyperscan caches via the main process | Vsevolod Stakhov | 2022-10-23 | 3 | -2/+39 | |
| | ||||||
* | [Rework] Use blocking socket for IPC between main and workers | Vsevolod Stakhov | 2022-10-23 | 1 | -0/+19 | |
| | | | | | | | | | | | | There are no reasons why control pipes are blocking: the messages there are rare and are strictly bounded by command sizes, so if we block on some pipe, it is ok, as we still poll that for all operations. It is also impossible to block on writing in normal conditions. And if the conditions are not normal, e.g. a worker is unresponsive, then we can safely think that the non-blocking behaviour as it is implemented currently will not make things better, as it would lead to incomplete reads/writes that are not handled anyhow and are totally broken from the beginning. | |||||
* | [Rework] Use more predictable size for commands buffers | Vsevolod Stakhov | 2022-10-23 | 1 | -2/+2 | |
| | ||||||
* | [Minor] Use seqpacket for control pipes | Vsevolod Stakhov | 2022-10-23 | 3 | -10/+14 | |
| |