Commit Graph

109 Commits

Author SHA1 Message Date
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
Mikhail Gusarov
8077c4b476 Update changelog 2014-03-28 15:02:01 +01:00
Mikhail Gusarov
9f154d9db3 Update Debianization from 0.6 branch 2014-03-28 15:01:33 +01:00
Mikhail Gusarov
7cc016c601 Also remove /run/rspamd on purge 2014-03-08 21:49:19 +00:00
Mikhail Gusarov
e975141372 Do not muck with adm group: rspamd logs are not sensitive 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
6726c7f7ea Add lintian override (unusal permission) 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
f930d1c699 Bump debhelper dependency, we are relying on compat 9 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
84ee1f62d1 Fix examples directory (should be under /doc/) 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
adfb3d1372 Remove implementation detail 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
5ecccb3cdb Fix typo 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
c873f00d4a Allow 'adm' group to read rspamd logs 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
c2b99bffe5 Do not pass RSPAMD_USER/RSPAMD_GROUP to cmake, packaging takes care of it 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
0628edca80 Fix RSPAMD_GROUP option during compilation 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
d91fb18be5 Remove unnecessary variable 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
47688efda2 Describe incompatible changes in NEWS.Debian 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
e5f846bd62 Get rid of multiple rspamd instances (use LXC/systemd-nspawn instead) 2014-03-08 21:49:18 +00:00
Mikhail Gusarov
33e57df46a Add debhelper mark to the end of postinst to start daemon after creating user/group 2014-02-24 13:17:48 +00:00
Mikhail Gusarov
5358647926 Add postrm to remove log/lib files on purge 2014-02-24 13:17:48 +00:00
Mikhail Gusarov
02953e5c94 pid-file for rspamd is in /run/rspamd 2014-02-24 13:17:47 +00:00
Mikhail Gusarov
7898ab549b _rspamd user needs --force-badname 2014-02-24 13:17:47 +00:00
Mikhail Gusarov
5668fc5254 Re-enable packaged hiredis 2014-02-24 13:17:47 +00:00
Mikhail Gusarov
9ee3894319 Reindent for better readability 2014-02-24 13:17:47 +00:00
Mikhail Gusarov
a79cc70480 Fix permissions in package, don't change it in postinst 2014-02-24 13:17:46 +00:00
Mikhail Gusarov
68d3452120 Use dh instead of CDBS 2014-02-24 13:17:46 +00:00
Mikhail Gusarov
9ab8da7bf6 Use _rspamd as a system user in Debian 2014-02-24 13:17:46 +00:00
Mikhail Gusarov
3570a7f31c No need to specify group for chown explicitly 2014-02-24 13:17:45 +00:00
Mikhail Gusarov
abd0450d3f Use /run/rspamd to store pid file, /var/run is obsolete 2014-02-24 13:17:45 +00:00
Mikhail Gusarov
1e5c02555c /var/lib/rspamd ownership is fixed, don't allow to override 2014-02-24 13:17:45 +00:00
Mikhail Gusarov
2078340a46 /var/run is transient, create subdirectory in initscript instead 2014-02-24 13:17:45 +00:00
Mikhail Gusarov
ff2954a1a8 Ship /var/{lib,log}/rspamd in package
Conflicts:

	debian/postinst
2014-02-24 13:17:36 +00:00
Mikhail Gusarov
eec81891c4 Move preinst to postinst, rspamd does not need anything in preinst 2014-02-24 13:16:42 +00:00
Mikhail Gusarov
3fd1a50169 Turn off bundled hiredis 2014-02-24 13:16:41 +00:00