anonymousland-synapse/synapse/handlers
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
..
__init__.py Move RoomMemberHandler out of Handlers 2018-03-01 14:36:50 +00:00
_base.py Move RoomMemberHandler out of Handlers 2018-03-01 14:36:50 +00:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py admin,storage: added more administrator functionalities 2017-02-02 14:02:26 +01:00
appservice.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/processed_event_lag 2018-04-12 11:36:07 +01:00
auth.py use bcrypt.checkpw 2018-03-05 18:02:59 +01:00
deactivate_account.py Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
device.py replace old style error catching with 'as' keyword 2018-03-15 16:11:17 +01:00
devicemessage.py Split out edu/query registration to a separate class 2018-03-13 10:24:27 +00:00
directory.py s/replication_client/federation_client/ 2018-03-13 13:26:52 +00:00
e2e_keys.py Stringify exceptions for keys/{query,claim} 2018-03-27 17:15:06 +01:00
events.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
federation.py Merge pull request #3118 from matrix-org/rav/reject_prev_events 2018-04-23 17:51:38 +01:00
groups_local.py Implement group join API 2018-04-06 15:43:27 +01:00
identity.py Use simplejson throughout 2018-03-29 22:45:52 +01:00
initial_sync.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00
message.py Apply some limits to depth to counter abuse 2018-05-01 17:54:19 +01:00
presence.py Split replication layer into two 2018-03-13 10:55:47 +00:00
profile.py Only update remote profile cache on master 2018-03-13 17:38:21 +00:00
read_marker.py Improve caching for read_marker API 2018-03-01 17:08:17 +00:00
receipts.py Split out edu/query registration to a separate class 2018-03-13 10:24:27 +00:00
register.py Merge branch 'develop' of into allow_auto_join_rooms 2018-03-28 14:45:28 +02:00
room_list.py Refactor ResponseCache usage 2018-04-12 13:02:15 +01:00
room_member_worker.py s/join/joined/ in notify_user_membership_change 2018-03-14 14:17:43 +00:00
room_member.py Avoid creating events with huge numbers of prev_events 2018-04-16 18:41:37 +01:00
room.py Remove ability for AS users to call /events and /sync 2018-03-05 15:44:46 +00:00
search.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
set_password.py Do bcrypt hashing in a background thread 2018-01-10 18:01:28 +00:00
sync.py Merge pull request #3107 from NotAFile/py3-bool-nonzero 2018-04-20 15:43:39 +01:00
typing.py Split out edu/query registration to a separate class 2018-03-13 10:24:27 +00:00
user_directory.py speed up the rate of initial spam for users 2017-12-04 18:05:28 +00:00