提交線圖

74 次程式碼提交

作者 SHA1 備註 日期
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
Andrew Lewis
280dccc738 Update CentOS7 service file patch 2015-10-14 20:44:10 +02:00
Vsevolod Stakhov
0de0656c3e Fix rc scripts 2015-10-14 14:51:22 +01: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
b85fb75b5a Fix condrestart in CentOS init script 2015-03-12 15:28:25 +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
Andrew Lewis
71a8799f17 More RPM... 2015-03-11 22:27:27 +02:00
Andrew Lewis
7902438bfd Fix RPM packaging properly 2015-03-11 21:51:24 +02:00
Mikhail Gusarov
7fcaf66165 Unify systemd support
- Move it from debian/ and centos/
- Ensure Debian package installs .service/.socket
- Enable socket-activated service
- Clean up redundant CentOS config files
2015-03-11 21:51:15 +02:00
Andrew Lewis
2c7f4e103f Fixes for RPM packaging 2015-03-11 19:37:23 +02:00
Mikhail Gusarov
d28ce79cb2 Use rspamd.sysvinit.conf for sysvinit init scripts 2015-03-11 19:37:16 +02:00
Andrew Lewis
2fa2e9b3e7 Cosmetic changes 2015-02-03 14:53:18 +02:00
Alexey
f758e37a5a Fix: Centos init script: configtest() 2015-02-01 06:17:51 +03:00
Andrew Lewis
55e8bbdf4b Fix regression 2015-01-15 21:41:06 +02:00
Andrew Lewis
a1b1699d28 Update RPM packaging 2015-01-15 14:35:12 +02:00
Andrew Lewis
9358919c84 Remove whitelist.lua from RPM file list 2015-01-02 14:58:45 +02:00
Andrew Lewis
12713594fa Add Perl as build dependency for Debian/RPM packages 2015-01-02 14:30:09 +02:00
Andrew Lewis
e9aac6988b Add sqlite as dependency for RPM/Debian packages 2015-01-02 14:19:41 +02:00
Vsevolod Stakhov
7117f3a6ef Release 0.8.0
* New fuzzy check logic:
	- use shingles algorithm for fuzzy matching
	- use blake2 instead of md5 for larger output space
	- combine fuzzy and strict matching
	- allow to organize private storages by means of keys
	- preserve compatibility with previous versions
* New fuzzy storage:
	- use sqlite instead of own memory based hash tables
	- rework commands interface
	- add conversion from the old format
	- add fuzzy match by shignles
	- support old rspamd versions
* Add lemmatizing for words used in fuzzy hashes that allows to improve match
quality by using of the first forms of all words
* Rework language detection
* Fix several critical bugs, memory leaks and deadlocks:
	- memory leak in HTML nodes parsing
	- deadlock in logger code
	- deadlock in signals processing
	- crashes in fuzzy_storage
	- crashes in tokenizers if the input was empty
* Import new libucl with several bugfixes and improvements
* Support listening on ipv6 addresses only
* Fix macro expansion in SPF module
* Several bugfixes in DKIM module
* Add load headers support for mime parts to the lua API
* Add documentation for:
	- workers in general
	- fuzzy_storage worker
	- fuzzy_check plugin
	- mimepart and textpart lua API modules

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-01-02 11:17:33 +00:00
Vsevolod Stakhov
898a828cf6 Release 0.7.6
* Apply boundary fix for dkim simple canonization
* Fix ping command
* Return nil if header was not found in lua_task
* Fix hang in upstreams revive logic
* Decode entitles when normalizing HTML parts
* Fix logic of finding URLs in HTML parts
* Do not include \0 into length of text when performing conversion to utf8
* Fix raw vs parsed reperesentations
	Raw parts are now:
		- decoded b64/qp, but *NOT* converted to utf-8
	Processed parts are now:
		- converted to UTF-8
		- normalized if needed (e.g. HTML tags are stripped)
* Rework DKIM canonization to line based
* Fix fuzzy hashes addding
* Use more specific hash function for fuzzy
* Fix leaking of iconv descriptors
* Fix PTR resolving in lua resolver
* Rework spf module.
	- Copy data to memory pool as cached record might be destroyed causing
	    freed memory being passed to the protocol output (use after free)
	- Allow SPF_NEUTRAL policy to be handled separately
	- Add R_SPF_NEUTRAL to the default config
* Rework `register_symbols` function
* Allow to disable components of hfilter

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2014-11-24 14:05:08 +00:00
Vsevolod Stakhov
91492edfd7 Release 0.7.5
* Fix owner when creating folder /run/rspamd (by @sfirmery)
* Fix IP validity checks
* Decode URLs obtained from HTML tags
* Fix crash with unweighted upstreams
* Stop processing headers in parts
* Set sockaddr.sa_family properly when connectig to upstreams
* Fix reload issues in surbl and fuzzy_check (reported by @citrin)
* Fix timeouts in redirector
* Improve lua errors reporting
* Fix lua closures processing in libucl
* Rework calling of lua functions from regexp module
* Choose raw regexp for raw headers
* Rework conversion to utf since glib one is broken
* Ignore SGML style tags in html
* Fix old bug with non-capturing https urls
* Fix memory corruption on fuzzy reload (reported by @citrin)
* Fix percents display in rspamc
* Fix buffer update for DKIM
* Do not validate utf for raw headers

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2014-11-17 13:22:35 +00:00
Vsevolod Stakhov
e99352db00 Update versions. 2014-11-08 18:38:11 +00:00
Vsevolod Stakhov
9209985e78 Release 0.7.3.
* New upstreams code:
	- simplify upstreams API;
	- unify strings parsing in upstreams definition;
	- add configuration options for the upstreams;
	- for failed upstreams re-resolve their addresses;
	- use all resolved addresses for an upstream (round-robin);
	- implement stable hashing and use it by default for upstreams;
	- add unit test for upstreams module.
* Rework signals processing in all rspamd workers:
	- signals are now processed in the event loop;
	- implement the most common signal handlers for all workers;
	- add callbacks for workers specific signal handlers
*  Fix critical issue with fuzzy storage:
	Fuzzy stroage could not save any hashes on termination due to bugged
	signals handling
* Fix roll history IP storage
* Rework ipv4/ipv6 handling in parsing addresses:
	    - turn off support of IPV6_V6ONLY socket option;
	    - create ipv6 socket prior to ipv4 one to handle systems with v6/v4
	    sockets enabled (Linux)
* Remove CBL as it's wholly included in Spamhaus XBL (by @fatalbanana)
* Remove nszones.com fake RBL (by @citrin)
* Fix upstreams interaction for fuzzy_check
* Verify spf PTR records (reported by @citrin)
* Fix spf MX records parsing
* Add compatibility for old libevent (by @yellowman)
* Sync bugfixes from libucl

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2014-11-03 12:23:36 +00:00
Vsevolod Stakhov
441422ddde Update rpm spec. 2014-10-15 17:29:58 +01:00
Vsevolod Stakhov
7a83d76dc1 Release 0.7.1.
* Fix typo in stat output.
* Fix issues with includes crossing with the system includes
* Restore testing framework
* Add radix trie test suite
* Implement new path-compressed radix trie.
    - The performance benefit over the old algorithm is about 1.5 times.
        - Memory usage is significantly lower as well.
    - Now radix trie can accept any IPv4/IPv6 values
* Various improvements to the memory pools code
* Fix writing reply to a client when no filters are defined
* Write base32 encoded fuzzy
* Fix 'soft reject' action
* Fix rspamd reload and modules reconfiguration
* Fix subject rewriting for the default subject
* Fix states for processing task and pre-filters
* Fix issues with connection closing
* Fix crashes in rdns
* Fix ratelimit pre-filter
* Update exim patch.
        - Update to the recent exim version
        - Strip extra leading src/ from the patch
        - Remove sendfile since it was broken
        - Fix rspamd spam report for exim
* Improve documentation

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2014-09-30 12:53:05 +01:00
Vsevolod Stakhov
a509f5c41a Prepare for release. 2014-09-01 11:59:51 +01:00
Vsevolod Stakhov
667ffddf01 Remove judy and use glib hash tables.
There is no significant advantage to use Judy arrays over glib
HashTables to store hashes in fuzzy storage. Therefore, drop support of
Judy completely. Also rename `use_judy` parameter to `strict_hash`
indicating that hashes are matched strictly (not a fuzzy match but a hash
lookup).
2014-02-18 17:57:59 +00:00
Vsevolod Stakhov
67b932ad97 Start moving to HTTP world. 2014-01-12 15:20:50 +00:00
Vsevolod Stakhov
45de589561 Stop for 0.6.7. 2014-01-10 17:15:26 +00:00