| 10 May 2023 |
hexa | * matrix-synapse.tools.synadm | 21:16:19 |
hexa |
quarantine Quarantine media in rooms, by users or by media ID.
| 21:16:33 |
hexa | apparently it also works by username | 21:16:40 |
Sumner Evans | that only quarantines, it doesn't actually delete from the server | 21:16:50 |
hexa | right, but it also stops your server from serving it | 21:17:05 |
Zhaofeng Li | Oh right, do homeservers serve medias from other homeservers publicly as well? | 21:23:38 |
Sumner Evans | clients only ever request media from their homeserver | 21:24:09 |
K900 | Yeah it's all proxied through your HS | 21:25:12 |
K900 | So quarantining basically makes it never fetch the quarantined file | 21:25:23 |
Zhaofeng Li | Oh wow, this thing is much better than IPFS: https://matrix.naive.network/_matrix/media/r0/download/entropia.de/nKQHSPtoauLZMUBeNVqUdUMH | 21:27:08 |
Zhaofeng Li | Crazy that it hasn't been abused yet | 21:27:23 |
Zhaofeng Li | Also works for homeservers with no users in the room: https://matrix.nevarro.space/_matrix/media/r0/download/entropia.de/nKQHSPtoauLZMUBeNVqUdUMH | 21:29:50 |
Zhaofeng Li | WIth smaller servers that never clean up their caches (I'm guilty of that), this is effectively a free image CDN with infinite TTL | 21:31:12 |
Zhaofeng Li | * WIth smaller servers that never clean up their caches (I'm guilty of that), this is effectively a free CDN with infinite TTL | 21:31:19 |
Zhaofeng Li | I'm honestly a bit disappointed that it's not authenticated in any form (either a user or a "related" homeserver) | 21:33:10 |
K900 | Synapse cleans caches by default IIRC? | 21:33:17 |
Zhaofeng Li | In reply to @k900:0upti.me Synapse cleans caches by default IIRC? Huh, then there may be something wrong with my setup then. I'm pretty sure I never touched the caching configs and yet the directory is 11GB | 21:35:24 |