Alexander Moisseev
8f9c79be50
[Minor] Add redirector's TLD to PHISHING symbol options
пре 8 година
Vsevolod Stakhov
ee5ce1e90b
[Fix] Do not send NaN in json
Issue: #615
Reported by: @moisseev
пре 8 година
Vsevolod Stakhov
9afd92715f
[Feature] Add 'symbols_enabled' and 'groups_enabled' to settings
пре 8 година
Vsevolod Stakhov
5cda7efaff
Merge pull request #614 from Sp1l/patch-1
Fix build with unmodified LibreSSL opensslv.h
пре 8 година
Bernard Spil
3d048db398
Fix build with unmodified LibreSSL opensslv.h
Add test for LibreSSL to use "old" methods when OPENSSL_VERSION_NUMBER is 0x20000000L
пре 8 година
Vsevolod Stakhov
07483bda3b
[Feature] Add learn condition to the default configuration
пре 8 година
Vsevolod Stakhov
9806fa5b24
[Fix] Fix conditional learning
пре 8 година
Vsevolod Stakhov
81d0a5ac60
[Fix] Fix return value for couple of lua functions
пре 8 година
Vsevolod Stakhov
d66a1af145
[Fix] Fix setting of the lua top
пре 8 година
Vsevolod Stakhov
3607dc8eb2
[Minor] Add 'learn_condition' alias
пре 8 година
Vsevolod Stakhov
aeb6b4cffa
[Feature] Implement conditional learning for classifiers
Issue: #613
пре 8 година
Vsevolod Stakhov
121f9e8b54
[Minor] Remove deprecated lua functions
пре 8 година
Vsevolod Stakhov
dad973b08c
[Feature] Add learn conditions for classifiers
Issue: #613
пре 8 година
Vsevolod Stakhov
69c9402d15
[Feature] Save bayes probability in memory pool var
Issue: #613
пре 8 година
Vsevolod Stakhov
0591ed1478
[Fix] More guards for redis free
пре 8 година
Vsevolod Stakhov
bb58ea6af4
Release 1.2.6
* Fix parsing of URLs in texts
* Fix creating of URLs from LUA
* Fix some more URL detector issues
* Fix unit tests
* Fix JIT compilation for PCRE2 expressions
* Fix JIT usage for PCRE2
* Fix UTF8 mode in PCRE2
* Add workaround for pre-historic compilers (#605 )
* Fix and rescore R_PARTS_DIFFER logic
* Properly set lua paths for tests
* Fix SA rawbody processing - exclude top part
* Store text parts content with newlines stripped
* Properly support SA body regexps
* Fix body rules in SA plugin
* Fix setting of score for parts differ
* More fixes to parts distance calculations
- Use hashed words instead of full words for speed
- Improve levenstein distance calculations and penalise replaces
- Always return number from 0 to 1
- Use g_malloc instead of alloca
* Fix percents output in R_PARTS_DIFFER
* Plug memory leak in dkim module
* Plug minor memory leak in regexps creation
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
пре 8 година
Vsevolod Stakhov
206ec754dc
[Fix] Inverse logic for saving ANN
пре 8 година
Vsevolod Stakhov
f679ec111c
[Minor] Plug minor memory leak in regexps creation
пре 8 година
Vsevolod Stakhov
35c1a939f4
[Fix] Further tweaks to redis garbadge collection
пре 8 година
Vsevolod Stakhov
47fc9abba0
[CritFix] Plug memory leak in dkim module
пре 8 година
Vsevolod Stakhov
d13a61fd95
[Minor] Fix percents output in R_PARTS_DIFFER
пре 8 година
Vsevolod Stakhov
af4041d576
[Fix] More fixes to parts distance calculations
- Use hashed words instead of full words for speed
- Improve levenstein distance calculations and penalise replaces
- Always return number from 0 to 1
- Use g_malloc instead of alloca
пре 8 година
Vsevolod Stakhov
41330a043b
[Minor] Use more portable constants for uint64_t
пре 8 година
Vsevolod Stakhov
a8c3900892
[Fix] Fix fann rewrite
пре 8 година
Vsevolod Stakhov
46a9c398ef
[Fix] Fix body rules in SA plugin
пре 8 година
Vsevolod Stakhov
97a7b98cb0
[CritFix] Properly support SA body regexps
пре 8 година
Vsevolod Stakhov
2e5fc80627
[Feature] Store text parts content with newlines stripped
пре 8 година
Vsevolod Stakhov
9f218324e0
[CritFix] Fix SA rawbody processing - exclude top part
пре 8 година
Vsevolod Stakhov
ef82676590
[Fix] Fix setting of score for parts differ
пре 8 година
Vsevolod Stakhov
cff60f6a8f
[Fix] Fix dynamic scoring of subject symbols
Reported by: @moisseev
пре 8 година
Vsevolod Stakhov
0a154408b6
[Minor] Rework subject rules as lua rules
пре 8 година
Vsevolod Stakhov
02ef2639aa
Merge pull request #608 from moisseev/subject
[Minor] Improve subject rules
пре 8 година
Vsevolod Stakhov
c9b8761d7f
[Test] Properly set lua paths for tests
пре 8 година
Vsevolod Stakhov
f3d15b0d92
[Test] Disable broken tests
пре 8 година
Alexander Moisseev
70c01c990a
[Minor] Improve subject rules
Make scores depend on subject length
Also resolves #548
пре 8 година
Vsevolod Stakhov
f79fdbdd27
[Minor] Reduce debug level
пре 8 година
Vsevolod Stakhov
31a7f47219
[Fix] Fix varargs loop
пре 8 година
Vsevolod Stakhov
1ed9f282a5
[Fix] Fix and rescore R_PARTS_DIFFER logic
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
пре 8 година
Vsevolod Stakhov
781af32099
[Fix] Fix timeouts processing in lua_redis
пре 8 година
Vsevolod Stakhov
627cf5036c
[Feature] Lock ANN file when loading
пре 8 година
Vsevolod Stakhov
5bcdb685d2
[Feature] Add more file utilities to lua_util
пре 8 година
Vsevolod Stakhov
fc2cc89525
[Feature] Add locking routines for lua_util
пре 8 година
Vsevolod Stakhov
4d5404b49c
[Feature] Rework fann module to understand settings
пре 8 година
Vsevolod Stakhov
3ec4cb2dd9
[Feature] Save settings id hash for convenience
пре 8 година
Vsevolod Stakhov
da867bccbf
[Feature] Allow to get settings and settings id hash from lua_task
пре 8 година
Vsevolod Stakhov
7d7fe81501
[Feature] Pass settings id to lua script from log helper
пре 8 година
Vsevolod Stakhov
56482018b4
[Feature] Pass settings id to log helper
пре 8 година
Vsevolod Stakhov
8187e847a5
[Feature] Rework ratelimit module to set expiration
пре 8 година
Vsevolod Stakhov
f09f80e465
[Fix] Fix refcounts in lua_redis
пре 8 година
Vsevolod Stakhov
37f2f14516
[Feature] Add simplier versions of refcounts
Now REF_RETAIN and REF_RELEASE cannot be used for
interprocess/interthreads refcounting. However, for a single process
their performance should slightly increased.
New REF_RETAIN_ATOMIC and REF_RELEASE_ATOMIC are implemented to replace
old semantics.
пре 8 година