forked-synapse/synapse/federation
Richard van der Hoff 33f469ba19 Apply some limits to depth to counter abuse
* When creating a new event, cap its depth to 2^63 - 1
* When receiving events, reject any without a sensible depth

As per https://docs.google.com/document/d/1I3fi2S-XnpO45qrpCsowZv8P8dHcNZ4fsBsbOW7KABI
2018-05-01 17:54:19 +01:00
..
transport fix federation_domain_whitelist 2018-04-13 15:47:43 +01:00
__init__.py Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py Apply some limits to depth to counter abuse 2018-05-01 17:54:19 +01:00
federation_client.py Refactor store.have_events 2018-04-20 10:25:56 +01:00
federation_server.py Merge pull request #3118 from matrix-org/rav/reject_prev_events 2018-04-23 17:51:38 +01:00
persistence.py copyrights 2016-01-07 04:26:29 +00:00
send_queue.py Use six.itervalues in some places 2018-04-15 20:39:43 +02:00
transaction_queue.py Set all metrics at the same time 2018-04-12 11:18:19 +01:00
units.py copyrights 2016-01-07 04:26:29 +00:00