Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
2 years ago
Anton Yuzhaninov
3789d5c1d3
[Fix] ASN: fix _FAIL symbol for when main symbol is disabled
Fix error:
lua_dns_resolver_callback: call to dns callback failed: /usr/share/rspamd/plugins/asn.lua:74: attempt to concatenate field 'symbol' (a boolean value); trace: [1]:{/usr/share/rspamd/plugins/asn.lua:74 - <unknown> [Lua]};
Which happen when the main asn symbol is disabled in asn.conf using
symbol = false;
While here add nostat flag for ASN symbols (we cannot use them as
spam/ham signs).
2 years ago
Vsevolod Stakhov
6adab61b4a
[Minor] Fix confusion
2 years ago
Jan-Philipp Benecke
122970bed1
[FIX]: ASN: register symbol & minor change suggested by vstakhov
2 years ago
Jan-Philipp Benecke
7117a1f315
[Fix]: ASN: dns cb func should also return in case of an error
2 years ago
Vsevolod Stakhov
55e758f714
[Minor] Use standard utility to get check_local/authed
3 years ago
Vsevolod Stakhov
1c748c7439
[Minor] Register some missing symbols
3 years ago
Vsevolod Stakhov
f6722f0534
[Fix] Distinguish type from flags in register_symbol
4 years ago
Vsevolod Stakhov
b711239c11
Revert "[Fix] Fix empty prefilters that require mime structures"
This reverts commit c3c8d4d133
.
4 years ago
Vsevolod Stakhov
c3c8d4d133
[Fix] Fix empty prefilters that require mime structures
4 years ago
Anton Yuzhaninov
4977a84b18
[Minor] Check that ASN extracted from DNS record is numeris
4 years ago
Vsevolod Stakhov
0141607ec2
[Minor] Increase priority of the asn module
5 years ago
Vsevolod Stakhov
7ccec2afee
[Minor] ASN: Treat ASN record miss as a failurE
5 years ago
Vsevolod Stakhov
aacb706648
[Fix] Use proper syntax for making DNS requests
5 years ago
Vsevolod Stakhov
704d1496b6
[Minor] Allow to restore the previous behaviour in asn module
5 years ago
Vsevolod Stakhov
71a419f1ba
[Minor] Skip ASN checks for local IPs
5 years ago
Vsevolod Stakhov
4653f1e903
[Minor] Slightly improve logging
6 years ago
Andrew Lewis
4915488566
[Fix] Fix various modules in case of empty message
6 years ago
Vsevolod Stakhov
f5e2a84b69
[Feature] Store plugins state
6 years ago
Vsevolod Stakhov
48c027506d
[Feature] Skip certain symbols from ANN classify
6 years ago
Vsevolod Stakhov
a1dc1fd059
[Fix] Detect confighelp in plugins initialisation
7 years ago
Vsevolod Stakhov
c356b89f8c
[Minor] Disable redis cache for ASN module
7 years ago
Vsevolod Stakhov
a477739081
[Minor] Reduce priority for ASN module
7 years ago
Andrew Lewis
63e5a6fa8d
[Minor] Fix logging in emails/asn modules
7 years ago
Andrew Lewis
11fcf5d6f3
[Minor] Add missing symbol registration in ASN module
7 years ago
Andrew Lewis
fd4d021a48
[Minor] Use new logging API everywhere
7 years ago
Andrew Lewis
16f2de7c82
[Minor] Move upstream handling into rspamd_redis_make_request
7 years ago
Andrew Lewis
24f4313ef8
[Minor] Fix warnings
7 years ago
Andrew Lewis
56cc6c85ad
[Minor] Fix upstreams handling
7 years ago
Andrew Lewis
03e3d70633
[Minor] Small polishes for Lua parts
7 years ago
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
7 years ago
Andrew Lewis
36d11e2e6f
[Minor] Get rid of some global variables
- Also fix some bugs along the way
7 years ago
Vsevolod Stakhov
ec65afa2ef
[Rework] Adopt plugins
7 years ago
Vsevolod Stakhov
96d6c35403
[Minor] Finally kill cymru
7 years ago
Vsevolod Stakhov
c1c880f360
[Feature] Stop using cymru zone as it is unstable
7 years ago
Vsevolod Stakhov
b3dee65ba6
[Minor] Fix ASN caching
7 years ago
Vsevolod Stakhov
bd49e8182c
[Feature] Add redis cache to asn module
7 years ago
Andrew Lewis
68d3c2f3f3
Revert "[Feature] Add common way to disable Lua modules"
This reverts commit f552edd887
.
Conflicts:
src/plugins/lua/antivirus.lua
src/plugins/lua/asn.lua
src/plugins/lua/dcc.lua
src/plugins/lua/dmarc.lua
src/plugins/lua/emails.lua
src/plugins/lua/forged_recipients.lua
src/plugins/lua/greylist.lua
src/plugins/lua/hfilter.lua
src/plugins/lua/ip_score.lua
src/plugins/lua/maillist.lua
src/plugins/lua/mime_types.lua
src/plugins/lua/multimap.lua
src/plugins/lua/once_received.lua
src/plugins/lua/ratelimit.lua
src/plugins/lua/rbl.lua
src/plugins/lua/replies.lua
src/plugins/lua/rspamd_update.lua
src/plugins/lua/trie.lua
src/plugins/lua/whitelist.lua
7 years ago
Vsevolod Stakhov
1d0ad06316
[Minor] Use infox instead of info in logging
7 years ago
Andrew Lewis
f552edd887
[Feature] Add common way to disable Lua modules
7 years ago
Andrew Lewis
d65ff98044
[Feature] Adaptive ratelimits
- Also per-IP and per-ASN ratelimits
- Minor rework of some parts
7 years ago
Andrew Lewis
643ca8d0da
[Feature] ASN module; support matching ASN/country in multimap
- Also removed stuff from ip_score
- Updated tests
7 years ago