0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-03 20:22:56 +01:00
Commit graph

304 commits

Author SHA1 Message Date
Jason Volk
0f3fea3b72 modules/federation/send_join: Implement federation §10.0 Join amplification attack. 2023-02-18 16:41:33 -08:00
Jason Volk
1e0919de71 modules/federation/sender: Add amplification override condition. 2023-02-18 16:41:33 -08:00
Jason Volk
9bf8e08753 modules/federation/sender: Cleanup; separate handle conditions, use m::member(). 2023-02-18 16:41:33 -08:00
Jason Volk
f301d6641c ircd:Ⓜ️ Simplify room::events interface; separate event::fetch. 2023-02-18 16:41:33 -08:00
Jason Volk
04c81a41ed ircd:Ⓜ️ Fix various inconsistent format strings; minor cleanup. 2023-02-17 17:25:58 -08:00
Jason Volk
4edf7f0052 modules/federation/invite: Supplement manual membership check for auth=false. (regression d5c0e6063) 2023-02-16 14:31:51 -08:00
Jason Volk
f39e25f972 modules/federation/invite: Re-enable auth fetch attempts for non-synapse invites.
ircd:Ⓜ️:vm::fetch: Attempt auth with tolerated failures when opts.auth=false.
2023-02-12 19:26:02 -08:00
Jason Volk
ede3d5a651 ircd:Ⓜ️:rooms: Add requesting user_id/node_id to query opts for access ctrl. 2023-01-24 22:44:03 -08:00
Jason Volk
5d73109f0d modules/federation/send_join: Respond with the state and chain prior to the join. 2023-01-19 19:58:23 -08:00
Jason Volk
7d5247d1ca modules/federation/send_join: Support omit_members query parameter.
modules/federation/send_join: Reply with resident-server signed event.

modules/federation/send_join: Respond with servers_in_room.
2023-01-19 19:58:23 -08:00
Jason Volk
d5c0e60633 modules/federation/invite: Workaround matrix-org/synapse@c06b2b7142 matrix-org/synapse#13823 2023-01-13 19:37:49 -08:00
Jason Volk
81169ab47a modules/federation/invite: Consolidate eval; elaborate invite_room_state exercise. 2023-01-13 19:37:49 -08:00
Jason Volk
ee52a9f24b modules/federation/invite: Fix invite request routing to proper handler version. 2022-11-19 15:21:04 -08:00
Jason Volk
ced3df67c6 modules/federation/send: Add m.txn log facility; improve debuglog related. 2022-08-31 13:35:56 -07:00
Jason Volk
d4bd109661 modules/media: Remove legacy resources.
modules/federation: Merge invite and invite2 units.

modules/federation: Redact send_join and rooms legacy resources.
2022-07-18 16:58:02 -07:00
Jason Volk
894a2ad679 modules/federation/event: Minor modernizations; fix typos. 2022-07-04 22:25:18 -07:00
Jason Volk
eb10f235cf modules/federation: Implement GET /hierarchy. 2022-07-02 13:36:18 -07:00
Jason Volk
5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk
08fce729c5 Fix redundant moves (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk
211ea6ba55 ircd: Fixes for macro collision (gnu++20). 2022-06-19 20:14:23 -07:00
Jason Volk
3d380d09a3 ircd:Ⓜ️ Fix various const reference range construction warnings in clang. 2021-02-26 14:52:33 -08:00
Jason Volk
a6061a447a modules/federation/invite: Disable emption checks on invite; fix regression. 2021-02-07 11:16:39 -08:00
Jason Volk
485f412eed modules/federation/send: Open JSON top object on all reply branches. 2021-01-12 13:55:45 -08:00
Jason Volk
3db37a3a4d modules/federation/user_devices: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
e9239a4135 modules/federation/user_keys_query: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
01df07717b modules/federation/send: Implement spec txn response output from eval. 2020-12-15 16:56:07 -08:00
Jason Volk
56ea0a14af modules/federation/sender: Use preallocated response content buffer. 2020-12-15 16:56:07 -08:00
Jason Volk
ce9cac3d9f modules/federation/publicrooms: Remove constraint on pagination token. (thanks @auscompgeek) 2020-12-12 00:35:36 -08:00
Jason Volk
736a6d320c modules/federation/event_auth: Implement auth_chain_ids construct protocol extension. 2020-12-10 08:34:22 -08:00
Jason Volk
23a9589fd4 modules/federation/get_missing_events: Log dwarning msg for missed event seek. 2020-12-09 20:52:55 -08:00
Jason Volk
86555fbee6 modules/federation: Deduplicate and integrate /state/ and /state_ids/ in same unit. 2020-11-11 22:49:39 -08:00
Jason Volk
cb84859ccd modules/federation/backfill: Fix property name (regression 6b1305df8a). 2020-11-08 02:25:31 -08:00
Jason Volk
6b1305df8a modules/federation: Replace backfill_ids endpoint with pdu_ids query parameter. 2020-11-05 22:10:53 -08:00
Jason Volk
0d4898b0cd modules/federation/get_missing_events: Use static closure; replace unquote() w/ json::string. 2020-10-24 01:59:11 -07:00
Jason Volk
e79c619ece modules/federation/get_missing_events: Improve limit value clamp; conf items; defaults. 2020-10-24 01:59:11 -07:00
Jason Volk
7fd084c8ce modules/federation/version: Reorg into namespace; additional properties. 2020-09-29 00:36:46 -07:00
Jason Volk
9457b1d34b modules/federation/publicrooms: Implement Federation r0.4.0-15.2 (matrix-org/matrix-doc/#2197). 2020-05-29 01:02:50 -07:00
Jason Volk
0eb4401897 modules/federation/publicrooms: Replace use of nullary my_host(). 2020-05-29 00:30:40 -07:00
Jason Volk
b764e75692 ircd:Ⓜ️:vm: Additional fetch phases; split fetch hook sites. 2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14 ircd:Ⓜ️:vm: Add enumeration for evaluation phases. 2020-05-11 21:14:25 -07:00
Jason Volk
1c573cf491 modules/federation/send: Downgrade log level for unhandled out of eval. 2020-05-05 12:04:34 -07:00
Jason Volk
7854a0ea02 modules/federation/state: Implement room_version in response; matrix-org/matrix-doc#2314 2020-05-01 08:59:12 -07:00
Jason Volk
37335a68d7 ircd:Ⓜ️ Wrap all queries into ircd::server through fed suite. 2020-04-25 21:13:57 -07:00
Jason Volk
215e79b870 modules/federation/sender: Eliminate internal node error bit. 2020-04-25 18:34:17 -07:00
Jason Volk
774a365465 modules/federation/sender: Combine and eliminate internal header. 2020-04-25 18:19:44 -07:00
Jason Volk
42f952a438 modules/federation/sender: Remove incorrect call to panicking(); log and stop propagation. 2020-04-25 18:19:40 -07:00
Jason Volk
05b24b1ef3 modules/federation/sender: Add the special case to ensure sends after kicks/bans. 2020-04-23 04:19:53 -07:00
Jason Volk
260bc798d7 modules/federation/send: Fix swapped eval opts. 2020-04-21 23:07:17 -07:00
Jason Volk
b06a32691c modules/federation/query: Improve server results in room directory query. 2020-04-21 23:05:28 -07:00
Jason Volk
59e24e19bd modules/federation/send: Relax default restrictions on parallel evaluations. 2020-04-20 00:38:14 -07:00