Peter Wu [Sat, 15 Feb 2020 19:05:37 +0000 (19:05 +0000)]
[Fix] Support listening on systemd sockets by name
* Add support for looking up sockets by the systemd socket name, e.g.
`systemd:rspamd-proxy.socket` or the name from `FileDescriptorName`.
https://www.freedesktop.org/software/systemd/man/sd_listen_fds.html
* Replace EOVERFLOW error code to avoid confusing error messages.
Peter Wu [Sat, 15 Feb 2020 00:02:30 +0000 (00:02 +0000)]
[Minor] use quilt for debian/source/format
* Match the build scripts and main Debian packaging.
* This allows for a separate debian/ directory in debian.tar.gz, see
https://www.debian.org/doc/manuals/maint-guide/dother.en.html#sourcef
Peter Wu [Fri, 14 Feb 2020 23:21:52 +0000 (23:21 +0000)]
[Minor] debian/control: Update Vcs-Git URL and maintainer
* Let Vcs-Git point to a secure transport.
* Use Vsevolod's email address as maintainer to avoid having to patch
this file in rspamd_build.sh. Mikhail is not the current maintainer of
the Debian package anyway.
Peter Wu [Fri, 14 Feb 2020 23:14:28 +0000 (23:14 +0000)]
[Minor] Update Debian and RPM package versions
* Add script that can be used after tagging to update versions.
* Example (for this commit): `./set-version.sh 2.4`
* Clear Debian changelog, this information is not updated anyway.
Anton Yuzhaninov [Mon, 10 Feb 2020 16:14:44 +0000 (16:14 +0000)]
[Fix] 'R' flag is for all headers regexp
According to the documentation R flag is for regexp which applied for
all headers (unencoded):
https://rspamd.com/doc/modules/regexp.html#regular-expressions
Daniel Jagszent [Mon, 10 Feb 2020 15:18:49 +0000 (16:18 +0100)]
[Minor] add deprecated name HTML colors
https://drafts.csswg.org/css-color-4/#deprecated-system-colors has a list of deprecated named colors that are system dependent.
This commit adds them with default values.
* [Conf] SPF is no longer a C module
* [Conf] Update spamtrap map path example
* [CritFix] Fix html entities decoding
* [CritFix] Fix re cache when mix of pcre and hyperscan is used
* [Feature] Allow milter code to deal with multiple headers
* [Feature] Antivirus: Add avast support
* [Feature] Dkim_signing: Allow to sign via milter_headers
* [Feature] Implement content hashes
* [Feature] Lua_text: Add regexp split iterator method
* [Feature] Lua_text: Implement flattening of the input tables
* [Feature] Send quit command to Redis
* [Feature] Speed up is_ascii function
* [Feature] Spf: Add external_relay option
* [Fix] Avoid double escaping
* [Fix] Fix O(N^2) algorithm
* [Fix] Fix arc seal validation
* [Fix] Fix base tag processing according to stupid HTML renderer behaviour
* [Fix] Fix dealing with `\0` in ucl strings and JSON
* [Fix] Fix gpg parts misdetection
* [Fix] Fix ignored symbols exporting
* [Fix] Fix processing of numeric url's
* [Fix] Fix processing of the closed tcp connections
* [Fix] Fix regexp type check for pcre2
* [Fix] Fix urls encode function
* [Fix] Fix urls shifting when doing decode to include separators
* [Fix] Fix white on white rule and add is_leaf flag
* [Fix] Further fixes in charset detection
* [Fix] Ignore diacritics in chartable module for specific languages
* [Fix] Limit size of symbols options by max_opts_len option
* [Fix] More fixes in html tag content calculations
* [Fix] Plug memory leak in fuzzy storage
* [Fix] Process high priority settings even if settings/id has been specified
* [Fix] Select a different upstream on last retransmit
* [Fix] Treat soft hyphen as zero width space
* [Fix] Try harder to watch the lifetime of the key_stat
* [Fix] Use ipv6-mapped-ipv4 addresses in radix trie
* [Project] Add logic to break execution when processing symbols*
* [Project] Add methods to set specific content for mime parts from Lua
* [Project] Lua_content: support PDF files
* [Project] Move dns_tool to using of the rspamd_spf from FFI module
* [Project] Preliminary SPF plugin in Lua
* [Project] Show debug stat for memory pool
* [Project] Some rework about specific data that is now tagged
* [Project] Start reworking of the mempool structure
* [Rework] Allow to add userdata as symbols options
* [Rework] Change mime part specifics handling
* [Rework] Move LRU SPF cache from spf plugin
* [Rework] Rework HTML tags content attachment
* [Rework] Rework options hash structure
* [Rework] Start lua_content library
* [Rework] Stop using of uthash for http headers
* [Rework] Use faster hashing approach for memory pools variables
* [Rules] Add PDF related rules
moisseev [Sun, 2 Feb 2020 10:51:20 +0000 (13:51 +0300)]
[WebUI] Update D3Evolution to 1.2.0
+ Add cursor
The cursor location follows the mouse pointer movements when it hovers over the graph
and updates the coordinates of the cursor's cross-points in the graph legend.