summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3513 from fatalbanana/rbl_selectorsVsevolod Stakhov2020-10-133-24/+51
|\ | | | | [Feature] RBL: support use of multiple selectors
| * [Feature] RBL: support use of multiple selectorsAndrew Lewis2020-10-123-24/+51
| |
* | [Fix] Html: Add entities collisions prevention logic (e.g. for mathml entities)Vsevolod Stakhov2020-10-131-1/+58
| |
* | [Minor] Fix entityVsevolod Stakhov2020-10-131-1/+0
| |
* | [Fix] Lua_auth_results: Quote potentially bad values in AR headerVsevolod Stakhov2020-10-121-16/+18
| |
* | [Minor] Exclude '@' from quote characterVsevolod Stakhov2020-10-121-1/+1
| |
* | [Minor] Lua_util: Add maybe_smtp_quote_valueVsevolod Stakhov2020-10-121-0/+16
| |
* | [Fix] Arc: Fix CV check on signingVsevolod Stakhov2020-10-121-3/+5
| |
* | [Fix] Arc: Fix signing of the broken ARC chainsVsevolod Stakhov2020-10-121-15/+39
|/
* [Minor] Lua_util: Fix round functionVsevolod Stakhov2020-10-111-2/+6
|
* [Minor] Fix quit command processingVsevolod Stakhov2020-10-091-0/+1
|
* [Feature] Support ping in milter modeVsevolod Stakhov2020-10-092-2/+87
| | | | Requested by: @andryyy
* [Fix] Use dup fd in milter handler to avoid races with the proxyVsevolod Stakhov2020-10-092-12/+33
|
* [Minor] Add case sensivity for file names in case of CT attributeVsevolod Stakhov2020-10-081-5/+8
|
* [Minor] Slightly improve loggingVsevolod Stakhov2020-10-081-3/+22
|
* Merge pull request #3509 from lprat/mid.luaVsevolod Stakhov2020-10-081-1/+13
|\ | | | | [MID] check TLD hostname
| * fix util nameLionel2020-10-071-3/+3
| |
| * fix potential error if fdtld and mdtld == nilLionel2020-10-061-1/+1
| |
| * Add MID check TLD domainLionel2020-10-061-1/+13
| |
* | Merge pull request #3510 from citrin/date-checksVsevolod Stakhov2020-10-071-32/+51
|\ \ | | | | | | Date checks
| * | [Minor] Add option for DATE_IN_PAST/DATE_IN_FUTURE symbolsAnton Yuzhaninov2020-10-071-2/+2
| | | | | | | | | | | | | | | Value for an option is the number of full hours the date of the message is in the past or future.
| * | [Feature] Add INVALID_DATE ruleAnton Yuzhaninov2020-10-071-7/+21
| | | | | | | | | | | | | | | The symbol indicates that a date in Date: header has invalid format and cannot be parsed by Rspamd.
| * | [Minor] Combine Date checksAnton Yuzhaninov2020-10-061-32/+37
| | | | | | | | | | | | | | | Combine Date header checks into a single callback. No functional changes.
* | | [Feature] Add sanity checks for actions thresholdsVsevolod Stakhov2020-10-071-8/+35
|/ / | | | | | | | | Issue: #3506 Closes: #3506
* | [Minor] Add CFWS clause to the BNFVsevolod Stakhov2020-10-062-2/+25
| |
* | [Minor] Add some more error cases to the smtp date parsingVsevolod Stakhov2020-10-063-4/+26
| |
* | [Minor] Add erroring to smtp parse dateVsevolod Stakhov2020-10-065-18/+42
| |
* | [Minor] Ratelimit: Add implicit scoreVsevolod Stakhov2020-10-061-0/+1
|/
* [Minor] Smtp_date: Fix 2 digits years between 00 and 49Vsevolod Stakhov2020-10-051-1/+6
| | | | Suggested by: @citrin
* [Fix] Fix smtp date syntax definitionVsevolod Stakhov2020-10-051-2/+2
| | | | Suggested by: @citrin
* [Minor] Lua_util: Add parse_smtp_date utilityVsevolod Stakhov2020-10-051-0/+40
|
* [Rework] Neural: Skip composite symbolsVsevolod Stakhov2020-10-052-1/+5
|
* [Minor] Neural: Allow to blacklist specific symbolsVsevolod Stakhov2020-10-041-0/+9
|
* Merge pull request #3505 from moisseev/webuiVsevolod Stakhov2020-10-031-7/+43
|\ | | | | [WebUI] Fix Status tab display for scanned = 0
| * [WebUI] Fix Status tab display for scanned = 0moisseev2020-10-021-7/+43
| | | | | | | | Fixes: #3498
* | [Fix] Fix handling of skip/skip_process http flagsVsevolod Stakhov2020-10-021-1/+2
| |
* | Merge pull request #3504 from fatalbanana/rbl_content_urlsVsevolod Stakhov2020-10-025-2/+250
|\ \ | |/ |/| RBL: content urls [pt2]
| * [Test] RBL: content URLsAndrew Lewis2020-10-024-1/+243
| |
| * [Minor] Fix cache keyAndrew Lewis2020-10-021-1/+7
|/
* Merge pull request #3501 from fatalbanana/rbl_content_urlsVsevolod Stakhov2020-10-012-22/+54
|\ | | | | [Feature] RBL: support matching content/image URLs only
| * [Feature] RBL: support matching content/image URLs onlyAndrew Lewis2020-10-012-22/+54
| |
* | Merge pull request #3502 from moisseev/webuiVsevolod Stakhov2020-10-011-4/+5
|\ \ | | | | | | [WebUI] Avoid error messages on connect
| * | [WebUI] Avoid error messages on connectmoisseev2020-10-011-4/+5
|/ / | | | | | | | | | | in read-only mode Reported by: @nwhisper via Telegram group
* | [Minor] Update version to 2.7Vsevolod Stakhov2020-09-301-1/+1
| |
* | Release 2.62.6Vsevolod Stakhov2020-09-301-0/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Conf] Add missing symbols * [Conf] Add missing symbols * [Conf] Fix fat-fingers typo * [Conf] Fix wrong comment in options.inc * [Conf] Neural: Fix the default name for max_trains * [Conf] Register a known symbol * [Conf] Spf: Add R_SPF_PERMFAIL symbol * [CritFix] Arc: Fix ARC validation for chains of signatures * [CritFix] Distinguish socketpairs between different fuzzy workers * [CritFix] Fix IDNA dots parsing * [CritFix] Fix test assertion method * [CritFix] Fix usage of crypto_sign it should be crypto_sign_detached! * [Feature] Add BOUNCE rule * [Feature] Add controller plugins support and selectors plugin * [Feature] Add maps query method * [Feature] Add minimal delay to fuzzy storage * [Feature] Add multiple base32 alphabets for decoding * [Feature] Add preliminary support of BCH addresses * [Feature] Add query_specific endpoint * [Feature] Allow multiple base32 encodings in Lua API * [Feature] Allow to specify nonces manually * [Feature] Controller: Allow to pass query arguments to the lua webui plugins * [Feature] Fuzzy_check: Add gen_hashes command * [Feature] Fuzzy_check: Add weight_threshold option for fuzzy rules * [Feature] Implement address retry on connection failure * [Feature] Improve limits in pdf scanning * [Feature] Initial support of subscribe command in lua_redis * [Feature] Lua_cryptobox: Add secretbox API * [Feature] Lua_text: Add encoding methods * [Feature] Milter_headers: Allow to activate routines via users settings * [Feature] PDF: Add timeouts for expensive operations * [Feature] Preliminary maps addon for controller * [Feature] Split pdf processing object and output object to allow GC * [Feature] Support BLIS blas library * [Feature] Support input vectorisation by recvmmsg call * [Feature] Support multiple base32 alphabets * [Feature] add queueid, uid, messageid and specific symbols to selectors [Minor] use only selectors to fill vars in force_actions message * [Feature] allow variables in force_actions messages * [Feature] extend lua api * [Fix] #3249 * [Fix] Allow to adjust neurons in the hidden layer * [Fix] Another try to fix email names parsing * [Fix] Arc: Allow to reuse authentication results when doing multi-stage signing * [Fix] Arc: Fix bug with arc chains verification where i>1 * [Fix] Arc: Sort headers by their i= value * [Fix] Change neural plugin's loss function * [Fix] Deal with double eqsigns when decoding headers * [Fix] Default ANN names in clickhouse * [Fix] Disable reuseport for TCP sockets as it causes too many troubles * [Fix] Disable text detection heuristics for encrypted parts * [Fix] Distinguish DKIM keys by md5 * [Fix] Distinguish type from flags in register_symbol * [Fix] Dmarc: Unbreak reporting after cf2ae3292ac93da8b6e0624b48a62828a51803c9 * [Fix] Do not flag pre-result of virus scanners as least if action is reject * [Fix] Do not use GC64 workaround on 32bit platforms, omg * [Fix] Exclude damaged urls from html parser * [Fix] Fix FREEMAIL_REPLYTO_NEQ_FROM_DOM * [Fix] Fix FROM_NEQ_ENVFROM * [Fix] Fix FWD_GOOGLE rule (#1815) * [Fix] Fix adding of the empty archive file for gzip * [Fix] Fix aliases in forged recipients and limit number of iterations * [Fix] Fix authentication results insertion * [Fix] Fix calling of methods in selectors * [Fix] Fix clen length for hiredis... * [Fix] Fix endless loop if broken arc chain has been found * [Fix] Fix false - operation * [Fix] Fix get_urls table invocation * [Fix] Fix group based composites * [Fix] Fix headers passing in rspamd_proxy * [Fix] Fix incomplete utf8 sequences handling * [Fix] Fix lua_next invocation * [Fix] Fix lua_parse_symbol_type function logic * [Fix] Fix multiple listen configuration * [Fix] Fix occasional encryption of the cached data * [Fix] Fix parsing boundaries with spaces * [Fix] Fix passing of methods arguments * [Fix] Fix poor man allocator algorithm * [Fix] Fix regexp selector and add flattening * [Fix] Fix rfc base32 encode ordering (skip inverse bits) * [Fix] Fix rfc based base32 decoding * [Fix] Fix sockets leak in the client * [Fix] Fix storing of the original smtp from * [Fix] Fix types check and types usage in lua_cryptobox * [Fix] Fix unused results * [Fix] Fuzzy_check: Disable shingles for short texts (really) * [Fix] Ical: Fix identation grammar * [Fix] Improve part:is_attachment logic * [Fix] Mmap return value must be checked versus MAP_FAILED * [Fix] One more fix to skip images that are not urls * [Fix] Pdf: Support some weird objects with no newline before endobj * [Fix] Rbl: Fix ignore_defaults in conjunction with ignore_whitelists * [Fix] Restore support for `for` and `id` parts in received headers * [Fix] Segmentation fault in contrib/lua-lpeg/lpvm.c on ppc64el * [Fix] Skip spaces at the boundary end * [Fix] Slashing fix: fix captures matching API * [Fix] Spamassassin: Rework metas processing * [Fix] Store reference of upstream list in upstreams objects * [Fix] Understand utf8 in content-disposition parser * [Fix] Unify selectors digest functions * [Fix] Use `abs` value when checking composites * [Fix] Use strict IDNA for utf8 DNS names + add sanity checks for DNS names * [Fix] Use unsigned char and better support of utf8 in ragel parser * [Fix] add missing selector_cache declaration * [Project] Add `L` flag for regexps to save start of the match in Hyperscan * [Project] Add `lower` method to lua_text * [Project] Add a simple matrix Lua library * [Project] Add implicit bitcoincash prefix * [Project] Add linalg ffi library for prototyping * [Project] Add methods to append data to fuzzy requests * [Project] Add routine to call a generic lua function * [Project] Add ssyev method interface * [Project] Add tensors index method * [Project] Add text:sub method * [Project] Allow rspamd_text based selectors * [Project] Allow to specify re_conditions for regular expressions * [Project] Attach extensions to the binary fuzzy commands * [Project] Bitcoin: BTC cash addresses needs some checksum validation * [Project] Cleanup the redis script * [Project] Convert bitcoin rules to the new regexp conditions feature * [Project] Detect memrchr in systems that supports it * [Project] Do not listen sockets in the main process * [Project] Implement 'probabilistic' learn mode for ANN * [Project] Implement BTC polymod in C as it requires 64 bit ops * [Project] Implement bitcoin cash validation in a proper way * [Project] Implement extensions logic for fuzzy storage * [Project] Implement symbols insertion in multiple results mode * [Project] Lua_text: Add method memchr * [Project] Neural: Add PCA loading logic * [Project] Neural: Fix PCA based learning * [Project] Neural: Fix matrix gemm * [Project] Neural: Further PCA fixes * [Project] Neural: Implement PCA in learning * [Project] Neural: Implement PCA learning * [Project] Neural: Implement PCA on ANN forward * [Project] Neural: Implement PCA serialisation * [Project] Neural: Start PCA implementation * [Project] Neural: Use C version of scatter matrix producing * [Project] Preliminary support of lua conditions for regexps * [Project] Preliminary usage of the reuseport * [Project] Process composites separately for each shadow result * [Project] Remove old code * [Project] Rework scan result functions to support shadow results * [Project] Rework some more functions to work with shadow results * [Project] Some more fixes * [Project] Start results chain implementation * [Project] Support fun iterators on rspamd_text objects * [Project] Support multiply, minus and divide operators in expressions * [Project] Tensor: Move scatter matrix calculation to C * [Rework] Allow to specify exat metric result when adding a symbol * [Rework] Change and improve openblas detection and usage * [Rework] Close listen sockets in main after fork * [Rework] Further rework of lua urls extraction API * [Rework] Lua_cryptobox: Allow to store output of the hash function * [Rework] Lua_task: Add more methods to deal with shadow results * [Rework] Modernize logging for expressions * [Rework] Remove empty prefilters feature - we are not prepared... * [Rework] Remove old FindLua module, disable lua fallback when LuaJIT is enabled * [Rework] Rework and refactor forged recipients plugin * [Rework] Rework expressions processing * [Rework] Rework fuzzy commands processing * [Rework] Rework url flags handling API * [Rework] Rework urls extraction * [Rework] Split operations processing and add more debug logs * [Rework] Update zstd to 1.4.5 * [Rework] Use google-ced instead of libicu chardet as the former sucks * [Rework] add alias util:parse_addr for util:parse_mail_address * [Rework] get rid of util:parse_addr duplicating the util:parse_mail_address, replace where used * [Rules] Allow prefix for bitcoin cash addresses * [Rules] More fixes for bitcoin cash addresses decoding * [Rules] Refactor bleach32 addresses handling Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
* | Merge pull request #3496 from HeinleinSupport/dkim_signing_headersVsevolod Stakhov2020-09-301-2/+3
|\ \ | | | | | | [Minor] dkim_signing - add list-unsubscribe-post to sign_headers
| * | [Minor] dkim_signing - add list-unsubscribe-post to sign_headersCarsten Rosenberg2020-09-301-2/+3
|/ /
* | [Test] Add tests for multimap combined scoresVsevolod Stakhov2020-09-302-2/+4
| |
* | [Minor] Avoid callback symbol to be treated as normalVsevolod Stakhov2020-09-301-1/+6
|/
* [Fix] Fix endless loop if broken arc chain has been foundVsevolod Stakhov2020-09-291-1/+6
|