Commit Graph

91 Commits

Author SHA1 Message Date
moisseev
69f50374bb [Conf] Introduce maps.d directories 2019-09-18 10:05:22 +03:00
Vsevolod Stakhov
3aa4d38cf4 [Rework] Kill 2tld.inc 2019-08-16 16:33:47 +01:00
Vsevolod Stakhov
36e960ed74 [Rework] Slashing: Distinguish lualibdir, pluginsdir and sharedir 2018-12-26 15:00:02 +00:00
Vsevolod Stakhov
65766a8639 [Minor] Link breaks spec... 2018-12-04 12:12:39 +00:00
Vsevolod Stakhov
8bb1291a9c [Minor] Add workaround for bug in RHEL 6 2018-12-04 12:11:01 +00:00
Vsevolod Stakhov
53632b6196 [Minor] Enable libunwind in packages 2018-06-29 10:17:11 +01:00
Vsevolod Stakhov
3eda5a9aa5 [Fix] Fix CentOS logrotate script for systemd 2018-04-17 10:17:56 +01:00
Christian Glombek
b1717aafa3 Various changes to CentOS RPM
Update License to be the same as repo (ASL 2.0)
Remove hardcoded user and group
Add %{rspamd_pluginsdir}/lib/*.lua
2017-08-22 22:43:49 +02:00
Andrew Lewis
6333f9b5cd [Fix] RPM postinstall
- Fixes: #1696
2017-08-11 17:06:33 +02:00
Andrew Lewis
e6d2275506 [Minor] RPM: do chown in %post 2017-06-12 15:43:24 +02:00
Andrew Lewis
063d748331 [Minor] RPM/DEB: fix log directory ownership on systemd platforms 2017-06-11 22:28:25 +02:00
Andrew Lewis
17a6ce2ae1 [Conf] Do away with systemd specifics completely 2017-06-11 19:48:57 +02:00
Andrew Lewis
8100979e89 [Minor] Fix RPM spec for CentOS 6 2016-08-01 08:51:20 +01:00
Andrew Lewis
638ba136d0 [Rework] Remove systemd socket activation 2016-07-27 16:43:45 +01:00
Andrew Lewis
4170bba745 [Minor] Require ragel for Debian/RPM package build 2016-07-25 15:47:35 +01:00
Vsevolod Stakhov
35bebde01f [Minor] Create local dirs in packages 2016-07-25 13:07:59 +01:00
Andrew Lewis
933a837674 [Minor] Add rspamd_stats to RPM specfile 2016-07-25 10:07:08 +01:00
Andrew Lewis
0647103644 [Minor] Drop CentOS service file patch (#709) 2016-07-07 21:36:53 +02:00
Andrew Lewis
c868dc34c3 [Fix] Update RPM spec/sources (#700) 2016-07-07 15:29:01 +02:00
Vsevolod Stakhov
1cc032db7b [Minor] Add missing file to the spec
Issue: #640
2016-05-29 11:47:07 +01:00
Andrew Lewis
9bb55177de RPM: Add missing file to spec (Fixes #516) 2016-02-06 20:41:50 +02:00
Andrew Lewis
472ca3e0b7 RPM BuildRequires: s/perl/perl-Digest-MD5/ 2016-02-05 21:25:52 +02:00
Vsevolod Stakhov
08c6403231
Release 1.1.0
* Incompatible change: sqlite3 and per_user behaviour:
	Now both redis and sqlite3 follows the common principles for per-user
	statistics:
	1) If per-user statistics is enabled check per-user tokens ONLY
	2) If per-user statistics is not enabled then check common tokens ONLY
	If you need old behaviour, then you'd need to use separate classifier
	for per-user statistics.
* Implement redis statistics backend and cache
* Implement autolearning for statistics
* Reworked statistics architecture from scratch
* Add hyperscan (https://github.com/01org/hyperscan) engine for regular
	expressions:
	- add lazy loader for hyperscan databases
	- rework regexp cache to have joint pcre/hyperscan scanning
	- implement hyperscan pre-filter support
	- add compilation guards for bad expressions
	- implement `rspamadm control recompile` command
	- implement hyperscan cache monitoring
	- slides: <https://highsecure.ru/rspamd-hyperscan.pdf>
* Implement flexible task logging
* Rework fuzzy worker:
	- it is now possible to run multiple fuzzy workers;
	- implement lazy writing as sqlite3 is bad at concurrent writing;
	- add retries for simple sql commands in fuzzy backend;
	- use fine-grained transactions for fuzzy;
	- implement new multi-pubkeys mode;
	- allow encrypted only storages;
	- rework statistics for fuzzy;
	- add `rspamadm control fuzzystat` command for extended statistics;
	- implement human readable output for the previous command;
	- add condition script for learning fuzzy storage;
* Various fixes to SPF:
	- fix `redirect` records;
	- fix domains when parsing mx/ptr/a records in includes/redirects;
	- fix issues with multiple addresses in SPF records;
	- ignore SPF results in case of DNS failure;
	- adjust TTL of records when resolving subelements of SPF records;
	- always select `v=spf1` line if it is available
	- do not cache records with DNS failure in subrequests;
	- ignore records with temporary fails during subrequests resolving;
	- fix `RDNS_RC_NOREC` support;
* Add clang plugin for static analysis:
	- implement static checks for `rspamd_printf` format strings;
* Add 'allow_raw_input' option for non-mime messages
* Recognize types using libmagic
* Fix parsing of IPv6 received headers
* Add new interface of communication between workers in rspamd
* Add support for named socketpairs
* Don't write URLs by default as it is too verbose
* Set status for HTTP replies
* Try load `rspamd.conf.override`
* Implement words decaying for text parts to limit many checks
* Improve support of SA rules and plugins:
	- add check_for_shifted_date and check_for_missing_to_header eval rules;
	- add 'check_relays_unparseable' support;
	- add `check_for_mime('mime_attachement')` function;
	- use new re_cache interface for all SA rules;
	- add support for `Mail::SpamAssassin::Plugin::MIMEHeader`;
	- add support of 'special' SA headers to `exists` function;
	- fix issue when SA metas contain other metas;
	- fix freemail rules;
* Many fixes to the URL parser
* Match any newline character in regexps
* Fix resolving of upstreams and detection of poor IPv6 configurations
* Parse upstreams selection algorithm from the configuration line
* Add `reresolve` command to the control interface
* Generate fuzzy hashes from task metadata (URLs and headers)
* Add method to check if IP is local and `local_addrs` option
* Implement forced timeout for delayed filters
* Disable fast path of pcre-jit as it seems to be broken
* Bayes fixes:
	- new normalizer function;
	- really use weights of tokens from the OSB algorithm;
	- restore multiple classifiers support;
* Rules changes:
	- add `R_SUSPICIOUS_URL` rule that detects obfuscated URL's;
	- improve empty image rule;
	- rework `FORGED_RECIPIENTS` rule;
	- reduce weight of `SUSPICIOUS_RECIPS`;
	- fix `*_NORESOLVE_MX` symbols in hfilter;
	- add `SUBJ_ALL_CAPS` rule with support of UTF8
	- add spamhaus SBL to uribl
	- fix `SUSPICIOUS_RECIPS` and `SORTED_RECIPS` rules
	- remove `R_TO_SEEMS_AUTO` as it generates a lot of FP;
	- add new Message-ID regexp for Thunderbird (by @moisseev);
* Plugins changes:
	- allow ratelimit plugin to set symbol instead of pre-result
	- support IP DNS black lists for URIBL (e.g spamhaus SBL);
	- drop deprecated SURBL bits (by @fatalbanana)
	- rename `JP_SURBL_MULTI` to `ABUSE_SURBL` (by @fatalbanana)
	- add `SURBL_BLOCKED` (by @fatalbanana)
	- add `CR_SURBL`
	- SURBL: allow fallthrough to default symbol (by @fatalbanana)
	- Settings: fix IP match (by @fatalbanana)
	- SURBL: add missing symbols to metric (by @fatalbanana)
	- allow processing images urls for SURBL
	- unconditionally disable SPF for authenticated users and local networks
* Rework ratelimit plugin
	- switch to `rates` instead of old and stupid strings to setup;
	- check if a bucket is zero and disable the corresponding limits'
	- turn off all buckets by default;
	- check either `rcpt` or `user` buckets, not all together'
	- document new `rates` and `symbol` options;
	- inform user about what buckets are used in the configuration;
* Add neural network **experimental** plugin
* Add a sample script to learn neural network from rspamd logs
* Add documentation strings support to rspamd:
	- add strings for the main configuration options;
	- document workers options;
	- add internal plugin options;
	- create `rspamadm confighelp` routine;
	- implement human readable output for the previous command;
	- add subtree search support;
	- add keyword search support;
* Documentation improvements, tutorials section, statistics description
* Many other minor and major bugfixes not noted here

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2016-01-18 16:25:39 +00:00
Vsevolod Stakhov
c14870dd22 Remove hiredis from depends 2016-01-11 16:34:34 +00:00
Vsevolod Stakhov
403fd9f7a2 Simplify spec 2015-12-22 17:50:05 +00:00
Alexey AL
e8e6829471 Fix centos spec
libmagic included in file-devel package
2015-12-13 01:07:17 +03:00
Vsevolod Stakhov
7ea334cd83 Add libmagic dependency 2015-11-12 14:36:48 +00:00
Vsevolod Stakhov
11803de9a6 Update version. 2015-10-27 11:20:04 +00:00
Vsevolod Stakhov
b0e5478e55 Update spec 2015-10-26 15:14:33 +00:00
Vsevolod Stakhov
880456e16e Add missing entries to spec. 2015-09-28 16:45:44 +01:00
Vsevolod Stakhov
ac8c91c01b
Release 1.0.2
* Fix critical bug in webui that prevents password from being sent
* Rework webui view:
	- Switch to d3.js for graphs
	- Improve piechart look
	- Rework colors for piechart
	- Fix layout for symbols
	- Fix refresh button
* Add descriptions for whitelist maps
* Fix build on arm (#379)
* Fix issue with the last element in the radix trie
* Add more tests for radix trie algorithm
* Allow to extract URLs from query strings of other URLs (#361)
* Initialize rrd fields before writing to file
* Fix double free if no password has been specified

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-09-23 17:26:52 +01:00
Vsevolod Stakhov
1fb5069a2a
Release 1.0.1
* Add writing to rrd from the controller
* Fixed lots of bugs in rrd code
* Adopt new DNS API in hfilter plugin (by @AlexeySa)
* Allow only one controller process to manage rrd file
* Set event base for fuzzy calls
* Improve fuzzy IO errors logging
* Add rra extraction function to rrd library
* Add graph handler to the controller
* Cache correct passwords to avoid too high CPU usage when working with webui
* Controller sockets are owned by router do not export them to task
* Optimize logging by skipping hash table search if it's empty
* Fix loading issue whith broken statfiles
* Print assertions from glib to rspamd logger
* Load legacy `lua/rspamd.local.lua`
* Update webui with some fixes to learning and scanning

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-09-22 16:53:20 +01:00
Andrew Lewis
03dcbdaa9f Merge changes from OBS (except for EL6 stuff) 2015-09-17 20:10:45 +02:00
Vsevolod Stakhov
1cdd82879e Update linux build specs. 2015-09-17 15:23:26 +01:00
Vsevolod Stakhov
1dfa377015 Try to fix build on suse. 2015-06-23 14:37:26 +01:00
Vsevolod Stakhov
29572e62d5 Release 0.9.4
* Fix critical bugs in tokenization algorithm
* Write unit tests for tokenization
* Add documentation for lua_tcp
* Switch off legacy tokenization by default.
* Fix critical bugs in words normalization
* Add lua bindings to tokenizer.
* Implement storing of HTTP headers inside task
* Add lua API to accerss HTTP headers data
* Implemented base64 encoding suitable for MIME
* Use caseless hash and equal functions for HTTP request headers.
* Improve debian architectures support (by @dottedmag)

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-21 14:28:22 +01:00
Vsevolod Stakhov
3e91739b5c Release 0.9.3
* Revert incorrect regexp change that broke the default rules
* Fix lua_tcp module

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-19 17:20:19 +01:00
Vsevolod Stakhov
5a32a554b8 Release 0.9.2
* Fix error on spawning unique workers.
* Add preliminary version of generic LUA TCP requests API.
* Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
* Fix fuzzy mime strings with only type.
* Improve thunderbird sanity checks.
* Fix critical bug on matching regular expressions.
* Make hiredis optional dependency.
* Fix multiple bugs in daemon reloading

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-19 16:34:21 +01:00
Vsevolod Stakhov
87120745fe Release 0.9.1.
* Restore utf8 validation for regular expressions to avoid crashes
* Fix symbols displaying in the interface
* Add symbol groups to the interface
* Fix maps ID parsing in the controller
* Add multimap and regexp modules documentation
* Backport fixes from libucl
* Fix debian package (by @dottedmag)
* Rework XXH32 invocations

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-17 16:24:08 +01:00
Andrew Lewis
f77b676627 Update RPM BuildRequires for 0.9 2015-05-13 22:37:58 +02:00
Vsevolod Stakhov
b8267558ab Fix spec for 0.9.0 2015-05-13 21:15:02 +01:00
Mikhail Gusarov
8f667abc52 Pull changelogs from rspamd-0.8 2015-03-18 23:13:39 +00:00
Vsevolod Stakhov
8f6a924308 Import spec tunes from OBS. 2015-03-16 12:07:38 +00:00
Vsevolod Stakhov
bf4709966a Merge pull request #221 from fatalbanana/master
Add rspamd.sysvinit.conf to RPM packaging list
2015-03-13 14:12:12 +00:00
Andrew Lewis
c74e0eb6e7 Add rspamd.sysvinit.conf to RPM packaging list 2015-03-13 14:33:54 +02:00
Vsevolod Stakhov
f7695e8a1e Fixes to spec. 2015-03-13 12:03:29 +00:00
Andrew Lewis
eac41b87a1 RPM: Clean up and unbreak future upgrades on Fedora/CentOS7 2015-03-13 12:27:57 +02:00
Andrew Lewis
30f404d2ed RPM: move patch out of wrong part of specfile 2015-03-13 10:40:21 +02:00
Andrew Lewis
c376c47a9c RPM: don't break rspamd on upgrade 2015-03-12 14:07:41 +02:00
Andrew Lewis
fb122509cf RPM: Patch systemd service for CentOS7 & fix broken filesystem attributes 2015-03-12 08:21:48 +02:00