index
:
rspamd.git
external-maps
libev-migration
log_json
master
mime-rework
rdns-tcp-rework
rework-symcache
rspamd-0.5
rspamd-0.6
rspamd-0.7
rspamd-0.8
rspamd-0.9
rspamd-1.0
rspamd-1.1
rspamd-1.2
rspamd-1.3
rspamd-1.4
rspamd-1.5
rspamd-1.6
rspamd-1.9
rspamd-3.10
rspamd-3.7
rspamd-3.8
rspamd-3.9
torch-removal
vstakhov-anonymize-mime
vstakhov-another-grow-factor-fix
vstakhov-ci-try
vstakhov-conf-reorg
vstakhov-cpu-detection
vstakhov-cumulative-tcp-timeout
vstakhov-fasttext-langdet
vstakhov-fix-2047-encode
vstakhov-fix-dcc
vstakhov-fuzzy-cxx
vstakhov-fuzzy-limits-display
vstakhov-fuzzy-tcp
vstakhov-gpt-ollama
vstakhov-keypair-encoding
vstakhov-known-senders
vstakhov-llm-anonymize
vstakhov-llm-embeddings
vstakhov-lua-text-api
vstakhov-new-hiredis
vstakhov-openssl-provider-message
vstakhov-remove-control-block
vstakhov-some-build-fixes
vstakhov-ssl-fixes
vstakhov-stringzilla
vstakhov-strip-attachments
vstakhov-surbl-conf-fix
vstakhov-universal-hashing-lua
vstakhov-utf8-mime
vstakhov-zstd-headers
Rapid spam filtering system: https://github.com/rspamd/rspamd
www-data
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
lualib
/
lua_magic
/
heuristics.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
[Minor] Reformat all Lua code, no functional changes
Vsevolod Stakhov
2023-08-07
1
-83
/
+92
*
[Minor] Lua_magic: Try to reduce fp rate for html heuristic
Vsevolod Stakhov
2023-07-02
1
-2
/
+2
*
[Minor] Update my email and the copyright year
Vsevolod Stakhov
2022-03-25
1
-1
/
+1
*
[Minor] Fix detection for some csv cases
Vsevolod Stakhov
2022-03-13
1
-0
/
+6
*
[Feature] Lua_magic: Add a sane CSV heuristic
Vsevolod Stakhov
2021-12-03
1
-1
/
+65
*
[Minor] Lua_magic: Add another spammy JS pattern
Vsevolod Stakhov
2021-08-24
1
-0
/
+1
*
[Minor] Lua_magic: Fix detection for the parts with file names
Vsevolod Stakhov
2021-08-16
1
-4
/
+8
*
[Minor] Lua_magic: Slight re tune
Vsevolod Stakhov
2021-08-13
1
-1
/
+1
*
[Minor] Lua_magic: Fix xml detection
Vsevolod Stakhov
2021-08-13
1
-9
/
+12
*
[Minor] Lua_magic: Do not treat xml as html
Vsevolod Stakhov
2021-08-13
1
-1
/
+0
*
[Minor] Escape regexp quantifiers
Vsevolod Stakhov
2021-07-17
1
-3
/
+3
*
[Minor] Do not treat ASiC files as pure archives
Vsevolod Stakhov
2021-06-17
1
-0
/
+1
*
[Minor] Add ASICE format support
Vsevolod Stakhov
2021-06-17
1
-1
/
+2
*
[Minor] Another try to fix the logic around 8bit charsets handling
Vsevolod Stakhov
2021-05-17
1
-3
/
+0
*
[Minor] Fix non-utf inputs checking
Vsevolod Stakhov
2021-05-17
1
-0
/
+4
*
[Minor] Try to fix another boundary issue
Vsevolod Stakhov
2021-05-07
1
-1
/
+1
*
[Minor] Sigh, another condition fix
Vsevolod Stakhov
2021-05-06
1
-3
/
+3
*
[Minor] Fix check condition
Vsevolod Stakhov
2021-05-06
1
-1
/
+1
*
[Minor] Lua_magic: Return utf8 check as it is useful for many cases
Vsevolod Stakhov
2021-04-22
1
-0
/
+15
*
[Minor] Lua_magic: Really add an exclusion...
Vsevolod Stakhov
2021-04-22
1
-3
/
+3
*
[Minor] Lua_magic: Make an exclusion for message parts
Vsevolod Stakhov
2021-04-22
1
-1
/
+1
*
[Rework] Lua_magic: Try to detect text parts with 8bit characters for non-utf...
Vsevolod Stakhov
2021-04-22
1
-25
/
+31
*
[Minor] Lua_magic: Minor changes
Vsevolod Stakhov
2021-01-04
1
-2
/
+5
*
[Minor] Magic: try avoid false positive exe detection
Andrew Lewis
2021-01-04
1
-0
/
+18
*
[Minor] Lua_magic: Use larger span to look for text patterns
Vsevolod Stakhov
2020-12-03
1
-3
/
+3
*
[Minor] Lua_magic: Do not treat by default non-text part as text
Vsevolod Stakhov
2020-11-20
1
-0
/
+5
*
[Minor] rspamd_text:byte() metamethod
Andrew Lewis
2020-11-16
1
-1
/
+1
*
[Minor] Lua_magic: Improve html detection heuristic
Vsevolod Stakhov
2020-10-21
1
-0
/
+7
*
[Minor] Lua_magic: Improve html patterns
Vsevolod Stakhov
2020-09-25
1
-9
/
+10
*
[Minor] Improve lua_magic HTML content type check
Anton Yuzhaninov
2020-08-20
1
-2
/
+2
*
[Minor] Do not autodetect html parts as text parts
Vsevolod Stakhov
2020-07-16
1
-0
/
+5
*
[Minor] Add sanity check
Vsevolod Stakhov
2020-06-16
1
-21
/
+23
*
[Minor] Improve pdf magic detection
Vsevolod Stakhov
2020-05-11
1
-4
/
+19
*
[Minor] Add limit for number of files processed in archives
Vsevolod Stakhov
2020-04-28
1
-1
/
+1
*
[Fix] Disable text detection heuristics for encrypted parts
Vsevolod Stakhov
2020-04-28
1
-0
/
+13
*
[Minor] Lua_magic: Add ical and vcard support
Vsevolod Stakhov
2019-11-21
1
-20
/
+26
*
[Minor] Lua_magic: Fix csv detection
Vsevolod Stakhov
2019-10-07
1
-9
/
+13
*
[Minor] Fix text parts heuristic
Vsevolod Stakhov
2019-10-07
1
-8
/
+32
*
[Minor] Be more strict when checking for text parts
Vsevolod Stakhov
2019-10-07
1
-1
/
+1
*
[Project] Lua_magic: Add images patterns
Vsevolod Stakhov
2019-09-24
1
-9
/
+0
*
[Minor] Lua_magic: Add types for .jar and for .apk
Vsevolod Stakhov
2019-09-24
1
-1
/
+4
*
[Minor] Lua_magic: Improve hyperscan usage
Vsevolod Stakhov
2019-09-24
1
-1
/
+4
*
[Minor] Fix tests and jpeg case
Vsevolod Stakhov
2019-09-21
1
-4
/
+4
*
[Project] Lua_magic: Add heuristics for text parts
Vsevolod Stakhov
2019-09-09
1
-13
/
+113
*
[Project] Lua_magic: Add more types
Vsevolod Stakhov
2019-09-09
1
-0
/
+3
*
[Project] Lua_magic: Simplify oasis files detection to a trie match
Vsevolod Stakhov
2019-09-09
1
-30
/
+35
*
[Project] Lua_magic: Some rework in detection
Vsevolod Stakhov
2019-09-09
1
-37
/
+45
*
[Project] Lua_magic: Add Oasis documents detection
Vsevolod Stakhov
2019-09-08
1
-0
/
+53
*
[Project] Lua_magic: Add heuristics for Office 2007+
Vsevolod Stakhov
2019-09-08
1
-3
/
+35
*
[Project] Lua_magic: Add mime parts detection function
Vsevolod Stakhov
2019-09-07
1
-0
/
+26
[next]