Vsevolod Stakhov
662145d055
[Minor] Reformat all Lua code, no functional changes
il y a 10 mois
Vsevolod Stakhov
05fd471df5
[Rework] Reiterate on priorities
il y a 1 an
Vsevolod Stakhov
57e500a029
[Minor] Register some more timeouts
il y a 1 an
Vsevolod Stakhov
17cb2c06fd
[Minor] Asn: Improve log message
Issue: #4235
il y a 1 an
Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
il y a 2 ans
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).
il y a 2 ans
Vsevolod Stakhov
6adab61b4a
[Minor] Fix confusion
il y a 3 ans
Jan-Philipp Benecke
122970bed1
[FIX]: ASN: register symbol & minor change suggested by vstakhov
il y a 3 ans
Jan-Philipp Benecke
7117a1f315
[Fix]: ASN: dns cb func should also return in case of an error
il y a 3 ans
Vsevolod Stakhov
55e758f714
[Minor] Use standard utility to get check_local/authed
il y a 3 ans
Vsevolod Stakhov
1c748c7439
[Minor] Register some missing symbols
il y a 4 ans
Vsevolod Stakhov
f6722f0534
[Fix] Distinguish type from flags in register_symbol
il y a 4 ans
Vsevolod Stakhov
b711239c11
Revert "[Fix] Fix empty prefilters that require mime structures"
This reverts commit c3c8d4d133
.
il y a 4 ans
Vsevolod Stakhov
c3c8d4d133
[Fix] Fix empty prefilters that require mime structures
il y a 4 ans
Anton Yuzhaninov
4977a84b18
[Minor] Check that ASN extracted from DNS record is numeris
il y a 5 ans
Vsevolod Stakhov
0141607ec2
[Minor] Increase priority of the asn module
il y a 5 ans
Vsevolod Stakhov
7ccec2afee
[Minor] ASN: Treat ASN record miss as a failurE
il y a 5 ans
Vsevolod Stakhov
aacb706648
[Fix] Use proper syntax for making DNS requests
il y a 5 ans
Vsevolod Stakhov
704d1496b6
[Minor] Allow to restore the previous behaviour in asn module
il y a 6 ans
Vsevolod Stakhov
71a419f1ba
[Minor] Skip ASN checks for local IPs
il y a 6 ans
Vsevolod Stakhov
4653f1e903
[Minor] Slightly improve logging
il y a 6 ans
Andrew Lewis
4915488566
[Fix] Fix various modules in case of empty message
il y a 6 ans
Vsevolod Stakhov
f5e2a84b69
[Feature] Store plugins state
il y a 6 ans
Vsevolod Stakhov
48c027506d
[Feature] Skip certain symbols from ANN classify
il y a 7 ans
Vsevolod Stakhov
a1dc1fd059
[Fix] Detect confighelp in plugins initialisation
il y a 7 ans
Vsevolod Stakhov
c356b89f8c
[Minor] Disable redis cache for ASN module
il y a 7 ans
Vsevolod Stakhov
a477739081
[Minor] Reduce priority for ASN module
il y a 7 ans
Andrew Lewis
63e5a6fa8d
[Minor] Fix logging in emails/asn modules
il y a 7 ans
Andrew Lewis
11fcf5d6f3
[Minor] Add missing symbol registration in ASN module
il y a 7 ans
Andrew Lewis
fd4d021a48
[Minor] Use new logging API everywhere
il y a 7 ans
Andrew Lewis
16f2de7c82
[Minor] Move upstream handling into rspamd_redis_make_request
il y a 7 ans
Andrew Lewis
24f4313ef8
[Minor] Fix warnings
il y a 7 ans
Andrew Lewis
56cc6c85ad
[Minor] Fix upstreams handling
il y a 7 ans
Andrew Lewis
03e3d70633
[Minor] Small polishes for Lua parts
il y a 7 ans
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
il y a 7 ans
Andrew Lewis
36d11e2e6f
[Minor] Get rid of some global variables
- Also fix some bugs along the way
il y a 7 ans
Vsevolod Stakhov
ec65afa2ef
[Rework] Adopt plugins
il y a 7 ans
Vsevolod Stakhov
96d6c35403
[Minor] Finally kill cymru
il y a 7 ans
Vsevolod Stakhov
c1c880f360
[Feature] Stop using cymru zone as it is unstable
il y a 7 ans
Vsevolod Stakhov
b3dee65ba6
[Minor] Fix ASN caching
il y a 7 ans
Vsevolod Stakhov
bd49e8182c
[Feature] Add redis cache to asn module
il y a 7 ans
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
il y a 7 ans
Vsevolod Stakhov
1d0ad06316
[Minor] Use infox instead of info in logging
il y a 7 ans
Andrew Lewis
f552edd887
[Feature] Add common way to disable Lua modules
il y a 7 ans
Andrew Lewis
d65ff98044
[Feature] Adaptive ratelimits
- Also per-IP and per-ASN ratelimits
- Minor rework of some parts
il y a 7 ans
Andrew Lewis
643ca8d0da
[Feature] ASN module; support matching ASN/country in multimap
- Also removed stuff from ip_score
- Updated tests
il y a 7 ans