Vsevolod Stakhov
4325ace0ad
Merge pull request #622 from moisseev/patch-1
[Minor] Fix percent sign in statistics learning condition
8 vuotta sitten
Vsevolod Stakhov
9a73e8142a
[Fix] Reduce the default thresholds for learning
Issue: #624
Reported by: @moisseev
8 vuotta sitten
Alexander Moisseev
e53fd5ab0c
[Minor] Fix percent sign in statistics learning condition
8 vuotta sitten
Vsevolod Stakhov
5c040a0e5e
[Feature] Sort symbols when displaying them in log
8 vuotta sitten
Vsevolod Stakhov
647d5d2a8f
[Fix] Another rework for lua_redis events handling
Issue: #609
8 vuotta sitten
Vsevolod Stakhov
dedb850663
[Feature] Use rspamd specific type checks for userdata
8 vuotta sitten
Vsevolod Stakhov
a4c9f20fa7
[Fix] Improve lua redis handling
8 vuotta sitten
Vsevolod Stakhov
d5e7487568
[CritFix] Fix redis structure by adding {NULL, NULL} member
Issue: #609
Reported by: @moisseev
8 vuotta sitten
Vsevolod Stakhov
b124774815
[Feature] Add better method to check lua userdata types
8 vuotta sitten
Larry Hynes
9a31b96dd1
Merge remote-tracking branch 'upstream/master'
* upstream/master:
[Fix] Try to fix redis crashes
[Fix] Cleanup stack from global vars
[Feature] Improve logging lua types
8 vuotta sitten
Vsevolod Stakhov
9666a3a441
[Fix] Use custom error function for pre and post filters
8 vuotta sitten
Vsevolod Stakhov
12bc237bca
[Fix] Initialize vars to avoid warnings
8 vuotta sitten
Vsevolod Stakhov
ab8a64957e
[Fix] Fix order of arguments
8 vuotta sitten
Vsevolod Stakhov
5eab8882c8
[Fix] Try to fix redis crashes
8 vuotta sitten
Vsevolod Stakhov
28a0930150
[Fix] Cleanup stack from global vars
8 vuotta sitten
Vsevolod Stakhov
839e4775b7
[Feature] Improve logging lua types
8 vuotta sitten
Larry Hynes
2610dec749
Merge remote-tracking branch 'upstream/master'
* upstream/master:
[Feature] Add more domains to redirectors list
[Doc] Add preliminary FANN documentation
[Feature] Print userdata using tostring if possible
[Feature] Improve phishing plugin
[Feature] Improve levenshtein distance function
[Fix] Repair optional dependencies
[Minor] Slighlty reduce PHISHING score
[Minor] Always return constant number of results from lua redis
[Minor] Improve string to action function
[Fix] Do not greylist on rejection
[Minor] Add whitelist for phishing module
[Minor fix] Limit PHISHING to one shot
[Minor] Add redirector's TLD to PHISHING symbol options
8 vuotta sitten
Vsevolod Stakhov
d2b0976bc8
[Feature] Add more domains to redirectors list
8 vuotta sitten
Vsevolod Stakhov
b6d614d98b
[Doc] Add preliminary FANN documentation
8 vuotta sitten
Vsevolod Stakhov
db51a9071a
[Feature] Print userdata using tostring if possible
8 vuotta sitten
Vsevolod Stakhov
4bdef6885b
[Feature] Improve phishing plugin
- Ignore redirected URLs
- Fix levenshtein distance calculations
8 vuotta sitten
Vsevolod Stakhov
798bd5e86f
[Feature] Improve levenshtein distance function
- Use g_malloc instead of alloca
- Allow to set variable replacement cost
- Update lua util.levenshtein_distance
8 vuotta sitten
Vsevolod Stakhov
6bb2daddb0
[Fix] Repair optional dependencies
8 vuotta sitten
Vsevolod Stakhov
bcf9dc3ae6
[Minor] Slighlty reduce PHISHING score
8 vuotta sitten
Vsevolod Stakhov
640f6eec01
[Minor] Always return constant number of results from lua redis
8 vuotta sitten
Vsevolod Stakhov
eef8d4eabe
[Minor] Improve string to action function
8 vuotta sitten
Vsevolod Stakhov
c48231eb96
Merge pull request #618 from moisseev/phishing
Updates to phishing module
8 vuotta sitten
Vsevolod Stakhov
675bd739a6
[Fix] Do not greylist on rejection
8 vuotta sitten
Vsevolod Stakhov
59e81754e6
[Fix] Fix ratelimit initialization
8 vuotta sitten
Vsevolod Stakhov
36d8785fd0
[Feature] Various improvements in greylist module
8 vuotta sitten
Vsevolod Stakhov
6ea9d773ac
Revert "[CritFix] Pre-filters and post-filters were completely broken"
This reverts commit 88c10484ff
.
8 vuotta sitten
Vsevolod Stakhov
a65d9460ee
[CritFix] Really skip filters in case of pre-result set
8 vuotta sitten
Vsevolod Stakhov
88c10484ff
[CritFix] Pre-filters and post-filters were completely broken
8 vuotta sitten
Vsevolod Stakhov
5dea259459
[CritFix] Restore the intended pre-filters behaviour
Previously, filters and post-filters were checked even if pre-filter has
set some result. Now pre-result efficienly makes a trapdoor to writing
reply (as it was before 1.0).
8 vuotta sitten
Vsevolod Stakhov
c7ae2de054
[Feature] Implement order of pre/post filters
8 vuotta sitten
Vsevolod Stakhov
37dcda40cc
[Feature] Add preliminary greylist plugin
Issue: #611
8 vuotta sitten
Vsevolod Stakhov
d9282bbd54
[Fix] One more fix in redis destructor
8 vuotta sitten
Vsevolod Stakhov
cb9a80f165
[Fix] Fix ipv6 mask application
8 vuotta sitten
Vsevolod Stakhov
a0c16f60f7
[Fix] Reverse options when received
8 vuotta sitten
Vsevolod Stakhov
cf13c6d210
[Feature] Allow setting scores and actions from lua
8 vuotta sitten
Vsevolod Stakhov
dfb304e588
[Feature] Add more encodingsto cryptobox hash API
8 vuotta sitten
Vsevolod Stakhov
773ef1f741
[Feature] Allow partial hash updates
8 vuotta sitten
Vsevolod Stakhov
a9ea7aeacc
[Feature] Add task:get_rawbody method
8 vuotta sitten
Vsevolod Stakhov
5c478aeebc
[Feature] Now cryptobox lua API accepts rspamd text as input
8 vuotta sitten
Vsevolod Stakhov
8082c4bc4b
[Feature] Add some time manipulation functions for lua APi
8 vuotta sitten
Alexander Moisseev
b641a36b6b
[Minor] Add whitelist for phishing module
8 vuotta sitten
Alexander Moisseev
5c91754812
[Minor fix] Limit PHISHING to one shot
8 vuotta sitten
Alexander Moisseev
8f9c79be50
[Minor] Add redirector's TLD to PHISHING symbol options
8 vuotta sitten
Vsevolod Stakhov
ee5ce1e90b
[Fix] Do not send NaN in json
Issue: #615
Reported by: @moisseev
8 vuotta sitten
Vsevolod Stakhov
9afd92715f
[Feature] Add 'symbols_enabled' and 'groups_enabled' to settings
8 vuotta sitten