Vsevolod Stakhov
311ad52ad6
[Minor] Check version header that is absent sometimes
1 year ago
Vsevolod Stakhov
4c12780d9d
[Minor] Add is_avalanching type hint
1 year ago
Vsevolod Stakhov
788b7d345f
[Minor] Add a workaround for old clang
1 year ago
Vsevolod Stakhov
65c81144f8
[Minor] Remove noexcept qualifier as it interferes with ankerl::unordered_dense
1 year ago
Vsevolod Stakhov
635709b5ac
[Minor] Fix hash usage after rework to address pointer stability issue
1 year ago
Vsevolod Stakhov
2089d0e3f2
[Rework] Use hash map for id->symbol mappings
1 year ago
Vsevolod Stakhov
f0f53c0fa6
[Minor] Simplify id_list by using of the small vector
1 year ago
Vsevolod Stakhov
b82a361ad2
[Minor] Follow-up for static disabling of the symbols
1 year ago
Vsevolod Stakhov
adeaf41e3b
[Feature] Add ability to statically maintain disabled/enabled patterns
1 year ago
Vsevolod Stakhov
969902f045
[Rework] Use another version of hash table from the same author
1 year ago
Vsevolod Stakhov
93022e6207
[Test] Check the decoded length when doing base32 fuzz test
1 year ago
Vsevolod Stakhov
f8f9f36379
Merge pull request #4216 from JasonStephenson/fix_empty_objects_are_arrays
[Fix] Empty envelopes should not be emitted as arrays, drop from schema instead
1 year ago
Vsevolod Stakhov
ca32640e23
[Minor] Try to fix unpadded base32 decoding
1 year ago
Jason Stephenson
815256cc7d
Fix missing require statement for ucl.null
1 year ago
Jason Stephenson
758be4ce1f
Explicitly emit null instead of dropping from output
1 year ago
Jason Stephenson
d4979648e9
[Fix] Empty envelopes should not be emitted as arrays (json+messagepack) when populated envelopes are objects. This greatly complicates decoding in strictly typed languages.
1 year ago
Vsevolod Stakhov
1aef384f62
Merge pull request #4214 from fatalbanana/rspamc_messages
[Minor] rspamc: fix crash on non-string element in `messages`
1 year ago
Andrew Lewis
43c8a6d8fe
[Minor] rspamc: fix crash on non-string element in `messages`
1 year ago
Vsevolod Stakhov
312c615323
[Fix] Fix reading of the cached maps
Issue: #4213
1 year ago
Vsevolod Stakhov
cebd539c17
[Minor] Fix format string
1 year ago
Vsevolod Stakhov
1335e63597
[Test] Add unit test for keepalive timeout parsing
1 year ago
Vsevolod Stakhov
41d4dbca11
[Fix] Fix several issues with the HTTP keepalive parsing
1 year ago
Vsevolod Stakhov
3bf1e3a890
[Minor] Fix several issues in the parsing of the timeout in Keep-Alive header
1 year ago
Vsevolod Stakhov
1da2169a07
[Minor] Eh, one more fix for the format string
Noticed by: @citrin
1 year ago
Vsevolod Stakhov
00ba1b52b7
[Fix] Remove check for a score with no symbol being registered
This check is redundant and has proven to confuse users who want to disable some rules.
Indeed, if we are looking for a way to hint a user that the registered symbol `example`
does not match with the scored symbol `exmaple` (e.g. incorrect spelling), then this
error will be detected when we match symcache entries and the scores. The opposite check
is useless to prevent such an error. And since it is much harder to define a dangling score
with no real symbol, we can just ignore this possibility in general, since the FP for this check,
specifically when some rule got intentionally disabled but a score is not removed just annoys
users for no good reason.
1 year ago
Vsevolod Stakhov
7374691f84
[Minor] Some more fixes towards hyperscan obsoletion reasoning
1 year ago
Vsevolod Stakhov
62f2b93753
[Minor] Reduce log level
1 year ago
Vsevolod Stakhov
d6b4e64f6d
[Minor] Add some extra error reporting to hyperscan cache checks
1 year ago
Vsevolod Stakhov
cafe81d757
[Minor] Save list of children for normal symbols with dependent virtual symbols
1 year ago
Vsevolod Stakhov
cc656e6ecc
[Minor] Use upstream in the dkim signing tools
1 year ago
Vsevolod Stakhov
d11874893e
Merge pull request #4211 from ghtm2/master
[Minor] Update rspamd.spec to fix Fedora 36 build
1 year ago
ghtm2
c7a79b1247
Use ld.bfd on Fedora 36
Link to upstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=2043178
1 year ago
Vsevolod Stakhov
bcc19a2fa7
[Minor] Use upstreams in aws_s3 plugin
1 year ago
Vsevolod Stakhov
36ca24fd2f
[Feature] Add function to store upstreams for HTTP urls
1 year ago
Vsevolod Stakhov
b6f01cfb0c
[Rework] Pass upstream when sending TCP requests
2 years ago
Vsevolod Stakhov
84e869eb4b
[Minor] Initialise variable
2 years ago
Vsevolod Stakhov
a2e5eef9c9
[Feature] Accept upstream in lua_tcp
2 years ago
Vsevolod Stakhov
d0c8549bc3
[Minor] Set ok flag on success
2 years ago
Vsevolod Stakhov
df2c48232b
[Minor] Check for NULL first for sanity
2 years ago
Vsevolod Stakhov
d6f8ba8d1e
[Minor] Use upstreams refcounts
2 years ago
Vsevolod Stakhov
dccf92aa82
[Feature] Allow lua_http module to accept upstreams
2 years ago
Vsevolod Stakhov
d87f4e9f57
[Feature] Check content for binary stuff before dumping it to Lua
Issue: #4204
2 years ago
Vsevolod Stakhov
060810317e
[Minor] Inverse logic
2 years ago
Vsevolod Stakhov
eb28cc845c
[Minor] Implement binary string checks
Issue: #4204
2 years ago
Vsevolod Stakhov
e002ae90a1
[Minor] Set binary flag on binary texts
2 years ago
Vsevolod Stakhov
d3baaae8ac
[Test] Use fake record for testing
2 years ago
Vsevolod Stakhov
f8c12e5b43
[Test] Add a test to ensure that DKIM verifier ignores unknown tags
Obtained from: John Levine
2 years ago
Vsevolod Stakhov
573fa76154
Merge pull request #4206 from ghtm2/master
Update rspamd.spec, delete old el6 files
2 years ago
Vsevolod Stakhov
f7c44dea2e
[Minor] Oops, my clang plugin tells me something that I have ignored
2 years ago
Vsevolod Stakhov
cd615af744
[Minor] Fix confusing with variable type and re-use
2 years ago