提交線圖

140 次程式碼提交

作者 SHA1 備註 日期
Vsevolod Stakhov
10328550c1 Update copyright notices. 2015-10-05 14:52:59 +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
Vsevolod Stakhov
1cdd82879e Update linux build specs. 2015-09-17 15:23:26 +01:00
Mikhail Gusarov
7748fc767b Update changelog 2015-05-20 18:37:14 +00:00
Mikhail Gusarov
39f4376780 Restrict luajit B-D to architectures it is available 2015-05-20 18:35:44 +00: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
Mikhail Gusarov
17bc32beba Update changelog 2015-05-18 17:24:56 +00:00
Mikhail Gusarov
4e06f9ec00 Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc) 2015-05-18 17:24:35 +00:00
Mikhail Gusarov
4480828ebc Require fixed version of libhiredis to drop workaround 2015-05-18 17:24:35 +00:00
Mikhail Gusarov
88c0c6a6e6 Update changelog 2015-05-18 17:24:35 +00: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
Mikhail Gusarov
4ae261b2cf Update changelog 2015-05-16 23:51:00 +00:00
Mikhail Gusarov
c4168abae4 Update debian/copyright 2015-05-16 23:51:00 +00:00
Mikhail Gusarov
b9cc9d2ffb Restart rspamd on upgrade, stop on removal 2015-05-16 23:51:00 +00:00
Vsevolod Stakhov
918e08f278 Fix debian copyright and rules. 2015-05-06 10:57:05 +01:00
Vsevolod Stakhov
faf96d9f2a Update copyright. 2015-04-28 16:52:13 +01:00
Vsevolod Stakhov
169d2260db Fix private library dir. 2015-04-28 11:43:54 +01:00
Andrew Lewis
2dd92a6637 Remove upstart job from Debian package (because it's breaking stuff) 2015-03-19 18:15:34 +02:00
Vsevolod Stakhov
8c7f8e2283 Merge pull request #229 from fatalbanana/master
Fix finding headers from luajit
2015-03-19 10:53:09 +00:00
Andrew Lewis
6a5407046c Fix debian/control 2015-03-19 12:31:27 +02:00
Mikhail Gusarov
8f667abc52 Pull changelogs from rspamd-0.8 2015-03-18 23:13:39 +00:00
Andrew Lewis
68a8b5e094 Adapt debian/control for 0.9.x 2015-03-17 19:47:21 +02:00
Mikhail Gusarov
32d4602a8a Remove obsolete conffiles on upgrade 2015-03-17 18:59:19 +02:00
Mikhail Gusarov
e10ddbdaef Work around Debian mishandling of systemd socket-activated units
If there is a backward compatibility sysvinit script, then
even socket-activated services are started automatically after
install/upgrade.
2015-03-17 18:58:34 +02:00
Mikhail Gusarov
8a0e533d92 Bump Standards-Version 2015-03-17 18:57:10 +02:00
Mikhail Gusarov
cd1028e0bd Reorganize configuration files for systemd
Common systemd/non-systemd options were moved to .inc
files. rspamd.conf is systemd-enabled one,
rspamd.sysvinit.conf is sysvinit-compatible one.
2015-03-17 18:55:45 +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
Mikhail Gusarov
d28ce79cb2 Use rspamd.sysvinit.conf for sysvinit init scripts 2015-03-11 19:37:16 +02:00
Vsevolod Stakhov
32d054c318 Remove unused chacha implementation from libottery 2015-02-21 22:28:54 +00:00
Vsevolod Stakhov
4c1ca6cd62 Update copyrights. 2015-02-20 13:52:07 +00: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
1037c6ea67 Update version for testing. 2014-12-20 17:08:08 +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
53dcfa59dd Merge pull request #114 from sfirmery/master
Fix owner when creating folder /run/rspamd in Debian init script
2014-11-10 22:01:35 +00:00
Sylvain Firmery
2f891985bd
Fix owner when creating folder /run/rspamd 2014-11-08 20:05:54 +01: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
ef2386d5b3 Added by a mistake. 2014-10-15 17:29:38 +01:00
Vsevolod Stakhov
8862f4249e Update debian packaging. 2014-10-15 17:29:01 +01:00
Vsevolod Stakhov
de0bfb9948 Merge pull request #84 from CameronNemo/patch-1
Add Upstart job to debian packaging
2014-10-10 12:18:38 +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
8114d4956e Remove embedded jansson completely. 2014-08-19 17:02:22 +01:00
Mikhail Gusarov
747e3d63d0 Appease lintian by stating that public-domain is a public domain. 2014-08-13 00:31:59 +02:00
Vsevolod Stakhov
bfa849687c Fix copyright for debian.
Submitted by:	Andreas Cadhalpun <andreas.cadhalpun at googlemail.com>
Ok by:	Mikhail Gusarov
2014-08-11 15:09:28 +01:00
Cameron Norman
736bff824e Add Upstart job to debian packaging
This will automatically be shipped by dh_installinit.
2014-07-23 15:33:42 -07:00
Mikhail Gusarov
18c0d55ea7 Add systemd unit 2014-03-29 10:36:57 +01:00