Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply some limits to depth to counter abuse | Richard van der Hoff | 2018-05-01 | 1 | -3/+18 |
| | | | | | | | * 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 | ||||
* | Move property setting from ReplicationLayer to FederationBase | Erik Johnston | 2018-03-13 | 1 | -0/+6 |
| | |||||
* | Check missing fields in event_from_pdu_json | Richard van der Hoff | 2017-12-30 | 1 | -0/+7 |
| | | | | Return a 400 rather than a 500 when somebody messes up their send_join | ||||
* | Factor out `event_from_pdu_json` | Richard van der Hoff | 2017-12-30 | 1 | -0/+20 |
| | | | | | turns out we have two copies of this, and neither needs to be an instance method | ||||
* | Make the spam checker a module | David Baker | 2017-09-26 | 1 | -3/+2 |
| | |||||
* | Fix logcontexts in _check_sigs_and_hashes | Richard van der Hoff | 2017-09-20 | 1 | -56/+58 |
| | |||||
* | Remove redundant `preserve_fn` | Richard van der Hoff | 2017-09-20 | 1 | -2/+2 |
| | | | | | | preserve_fn is a no-op unless the wrapped function returns a Deferred. verify_json_objects_for_server returns a list, so this is doing nothing. | ||||
* | PoC for filtering spammy events (#2456) | Richard van der Hoff | 2017-09-19 | 1 | -16/+24 |
| | | | Demonstration of how you might add some hooks to filter out spammy events. | ||||
* | Preserve some logcontexts | Erik Johnston | 2016-08-24 | 1 | -3/+4 |
| | |||||
* | Linearize fetching of gaps on incoming events | Erik Johnston | 2016-06-15 | 1 | -0/+3 |
| | | | | | This potentially stops the server from doing multiple requests for the same data. | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Implement bulk verify_signed_json API | Erik Johnston | 2015-06-26 | 1 | -50/+75 |
| | |||||
* | Rephrase log line | Erik Johnston | 2015-06-02 | 1 | -1/+1 |
| | |||||
* | Don't about JSON when warning about content tampering | Erik Johnston | 2015-06-02 | 1 | -7/+4 |
| | |||||
* | Add a timeout param to get_event | Erik Johnston | 2015-05-19 | 1 | -0/+1 |
| | |||||
* | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 1 | -1/+3 |
| | |||||
* | Fix logging | Erik Johnston | 2015-02-12 | 1 | -1/+4 |
| | |||||
* | Parrellize fetching of events | Erik Johnston | 2015-02-12 | 1 | -3/+11 |
| | |||||
* | Correctly handle all the places that can throw exceptions | Erik Johnston | 2015-02-12 | 1 | -10/+14 |
| | |||||
* | New line | Erik Johnston | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Actually, the old prune_event function was non-deterministic, so no point ↵ | Erik Johnston | 2015-02-03 | 1 | -12/+4 |
| | | | | keeping it around :( | ||||
* | Add new FederationBase | Erik Johnston | 2015-02-03 | 1 | -0/+126 |