Skip to content

Commit f414827

Browse files
committed
Release Synapse 1.35.0
Signed-off-by: Dan Callahan <[email protected]>
1 parent 9bd81e4 commit f414827

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
date: '2021-01-13'
3+
title: Matrix Selected for EU's FOSSA Bug Bounty Programme
4+
categories:
5+
- General
6+
- Security
7+
author: Dan Callahan
8+
---
9+
10+
The Matrix.org Foundation is proud to announce that we have been selected to participate in the next round of [EU-FOSSA](https://ec.europa.eu/info/departments/informatics/eu-fossa-2_en) bug bounties funded by the European Commission and designed to increase the security of key open source software used throughout Europe.
11+
12+
Security researchers are now eligible for **bounties of up to €5,000** for discovering flaws in Matrix projects, including the Synapse homeserver and the Element suite of open source clients. Researchers can also **earn a 20% bonus** if they supply a patch that is accepted along with their vulnerability report.
13+
14+
Projects in scope for bounties include:
15+
16+
- [Synapse](https://github.com/matrix-org/synapse), the reference homeserver
17+
- [Sydent](https://github.com/matrix-org/sydent), the reference identity server
18+
- [Sygnal](https://github.com/matrix-org/sygnal), the reference push gateway
19+
- [Olm](https://gitlab.matrix.org/matrix-org/olm), Matrix’s implementation of the cryptographic double ratchet algorithm
20+
- The reference Matrix SDKs for [iOS](https://github.com/matrix-org/matrix-ios-sdk), [Android](https://github.com/matrix-org/matrix-android-sdk2), [JavaScript](https://github.com/matrix-org/matrix-js-sdk), and [React](https://github.com/matrix-org/matrix-react-sdk)
21+
- The [Element](https://element.io/get-started) suite of open source clients for Web, Desktop, Android, and iOS which build on the reference Matrix SDKs.
22+
23+
With Matrix already powering secure communications within the French government ([Tchap](https://tech.newstatesman.com/in-partnership-with-element/inside-the-french-governments-mission-to-develop-an-encrypted-messaging-platform)) and in testing with the German military ([BwMessenger](https://sifted.eu/articles/european-armies-matrix/)), FOSSA was a natural fit.
24+
25+
The programme is conducted in partnership with [Intigriti](https://www.intigriti.com/), a bug bounty platform that validates and triages incoming reports before forwarding them to the Matrix developers. The European Commission has approved funding sufficient for €32,000 in bounties, which will be available until October 2021.
26+
27+
To learn more or get started, visit https://app.intigriti.com/programs/matrix/matrix/
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
date: '2021-06-01'
3+
title: Synapse 1.35.0 released
4+
categories:
5+
- Releases
6+
author: Dan Callahan
7+
---
8+
9+
Synapse 1.35.0 is out!
10+
11+
## Spaces: On by Default
12+
13+
Following the successful release of [Synapse 1.34](../05/05/2021-05-17-synapse-1.34.0-released.mdx), the experimental Spaces flag is now enabled by default. If you had manually enabled the `experimental_features: { spaces_enabled: true }` flag in your homeserver configuration, you may now remove it.
14+
15+
## Bug Squashing
16+
17+
This release of Synapse fixes an issue which could cause federated room joins to fail when the join response exceeded a size limit which was too low ([#10082](https://github.com/matrix-org/synapse/pull/10082)). We've also improved what Synapse logs when it drops a connection in similar circumstances ([#10091](https://github.com/matrix-org/synapse/pull/10091)), which should aid diagnosis if a similar issue were to arise in the future.
18+
19+
GitHub user thermaq contributed a fix ([#10014](https://github.com/matrix-org/synapse/pull/10014)) for a bug which could cause user presence state to become stale.
20+
21+
Lastly our OpenTracing support now allows for profiling end-to-end performance on a per-user basis ([#9978](https://github.com/matrix-org/synapse/pull/9978)).
22+
23+
## An Update on Room Joins
24+
25+
We've been hammering away at shrinking Synapse's memory footprint when joining large / complex rooms, and while we're not there yet, the end is in sight! In particular, this release includes many internal refactorings, including using [ijson](https://pypi.org/project/ijson/) to parse the JSON response to `/send_join` ([#9958](https://github.com/matrix-org/synapse/pull/9958)), which clear the way for substantial improvements.
26+
27+
Memory usage still spikes because we're effectively doing the same work with a different library, but ijson's design allows for iterative parsing. This will pay dividends once we modify the code downstream of `/send_join` to take advantage of it.
28+
29+
Concretely, Erik Johnston has an experimental branch of Synapse which completely eliminates the memory spike:
30+
31+
![Memory usage graph for Synapse 1.33, 1.35, and an experimental branch](/blog/img/2021-06-01-synapse-1.35-join-memory.png)
32+
33+
The remaining work is centered on splitting that branch into self-contained, reviewable pull requests, like a rewrite of the Synapse Keyring class ([#10035](https://github.com/matrix-org/synapse/pull/10035)). After that's merged, we'll need to make one further change to properly batch up work, at which point we should attain the efficiency gains from Erik's experiment.
34+
35+
## Everything Else
36+
37+
GitHub user savyajha contributed a security hardened systemd unit file which effectively sandboxes Synapse ([#9803](https://github.com/matrix-org/synapse/pull/9803)). While not enabled by default, we'd encourage security conscious users to review the [example file](https://github.com/matrix-org/synapse/blob/v1.35.0/contrib/systemd/override-hardened.conf) and associated [documentation](https://github.com/matrix-org/synapse/blob/v1.35.0/docs/systemd-with-workers/README.md#hardening).
38+
39+
Please see the [Release Notes](https://github.com/matrix-org/synapse/blob/v1.35.0/CHANGES.md) for a complete list of changes in this release.
40+
41+
Synapse is a Free and Open Source Software project, and we'd like to extend our thanks to everyone who contributed to this release, including [dklimpel](https://github.com/dklimpel), [jerinjtitus](https://github.com/jerinjtitus), [junquera](https://github.com/junquera), [lonyeon](https://github.com/lonyeon), [savyajha](https://github.com/savyajha), and [thermaq](https://github.com/thermaq).

0 commit comments

Comments
 (0)