💾 Archived View for bbs.geminispace.org › u › skyjake › 11312 captured on 2024-05-26 at 16:00:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
I only keep track of registration attempts and when unapproved ("limited") users create a post, so there isn't a lot of logged actions happening. There's a database table where SHA-256 hashes of the IP addresses are stored together with a timestamp. (I don't want to keep a record of actual IP addresses.) My rate calculations are based on activity during the last hour. When checking the current rate (i.e., number of entries in the log), it also deletes entries older than one hour so the table doesn't keep growing. That's pretty much it, quite basic.
2023-10-30 · 7 months ago
🕹️ skyjake [OP/mod...] · 2023-10-30 at 15:50:
I did consider an in-memory log as well, but I prefer having a way to inspect the log manually (for potential IP blocking) and have it persist over restarts. Also importantly, the rate limiting is done by the CGI application, so it is being handled by multiple separate Python processes, which complicates shared memory access quite a bit.
Bubble v6.14 — BBS has been updated to Bubble v6.14 with a number of bug fixes and minor improvements: Fixed publishing a draft comment in an issue tracker. Fixed error message when trying to create a subspace but the name is already in use. Fixed post summary if the content starts with a hash (accidental Gemtext heading). A subspace moderator can delete their subspace if it's empty. Poll author sees the results even if they haven't voted. Strip file/image attachment URL or link from the...
💬 skyjake [mod...] · 5 comments · 3 likes · 2023-10-29 · 7 months ago