Commit Graph

57 次程式碼提交

作者 SHA1 備註 提交日期
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
Andrew Lewis
d361b6a5b7 Fix some rpmlint warnings 2014-01-04 23:39:58 +02:00
Andrew Lewis
19826e5a95 Fix SLES support & OpenSUSE 12 builds on build service 2014-01-03 21:55:00 +02:00
Andrew Lewis
fd2f784553 Fixes for OpenSUSE 2014-01-01 18:03:14 +02:00
Vsevolod Stakhov
337e744071 Minor fixes to rpm spec. 2013-12-27 15:37:20 +00:00
Vsevolod Stakhov
740a11e243 Update changelogs. 2013-12-27 14:56:19 +00:00
Vsevolod Stakhov
a48634eb03 Update to 0.6.5. 2013-12-20 15:57:07 +00:00
Vsevolod Stakhov
9d0e70aab4 Improve spec. 2013-12-20 15:17:52 +00:00
Vsevolod Stakhov
c2788dafc6 Fix linux packages. 2013-12-19 17:51:53 +00:00
Vsevolod Stakhov
661930318f Forgot to commit. 2013-12-18 15:32:29 +00:00
Vsevolod Stakhov
6a903935a9 0.6.3 release. 2013-12-10 19:31:28 +00:00
Vsevolod Stakhov
f0d8afe994 Update changelog. 2013-12-06 12:54:37 +00:00
Vsevolod Stakhov
aaaf1af4b7 Fix start script and remove unused big file. 2013-12-02 17:48:36 +00:00
Vsevolod Stakhov
b5fc214ced Spec update. 2013-12-02 14:44:35 +00:00
Andrew Lewis
bda563bbf7 Remove old config 2013-11-25 23:45:45 +02:00
Andrew Lewis
b2ff14fb8f Add split config files 2013-11-25 23:25:25 +02:00
Andrew Lewis
f393274573 Fix date formatting 2013-11-25 22:40:01 +02:00
Vsevolod Stakhov
0527fa7871 Update packages. 2013-11-19 16:36:14 +00:00