summary refs log tree commit diff
path: root/README.rst
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-04-08 18:54:18 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-04-08 18:54:18 +0100
commitec9331f85145aadb227e1030cf3de20ffe9a336c (patch)
tree58af24c47ec8c4e316914ea234293ad46163905d /README.rst
parentAdd url_preview_enabled config option to turn on/off preview_url endpoint. de... (diff)
downloadsynapse-ec9331f85145aadb227e1030cf3de20ffe9a336c.tar.xz
Add doc
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 6136e0c1fe..9d01244927 100644
--- a/README.rst
+++ b/README.rst
@@ -104,7 +104,7 @@ Installing prerequisites on Ubuntu or Debian::
 
     sudo apt-get install build-essential python2.7-dev libffi-dev \
                          python-pip python-setuptools sqlite3 \
-                         libssl-dev python-virtualenv libjpeg-dev
+                         libssl-dev python-virtualenv libjpeg-dev libxslt1-dev
 
 Installing prerequisites on ArchLinux::
 
@@ -557,6 +557,20 @@ as the primary means of identity and E2E encryption is not complete. As such,
 we are running a single identity server (https://matrix.org) at the current
 time.
 
+
+URL Previews
+============
+
+Synapse 0.15.0 introduces an experimental new API for previewing URLs at
+/_matrix/media/r0/preview_url.  This is disabled by default.  To turn it on
+you must enable the `url_preview_enabled: True` config parameter and explicitly
+specify the IP ranges that Synapse is not allowed to spider for previewing in
+the `url_preview_ip_range_blacklist` configuration parameter.  This is critical
+from a security perspective to stop arbitrary Matrix users spidering 'internal'
+URLs on your network.  At the very least we recommend that your loopback and
+RFC1918 IP addresses are blacklisted.
+
+
 Password reset
 ==============