💾 Archived View for bbs.geminispace.org › s › Bubble › 11266 captured on 2024-03-21 at 18:13:59. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-02-05)
-=-=-=-=-=-=-
BBS has been updated to Bubble v6.14 with a number of bug fixes and minor improvements:
Security improvements:
2023-10-29 · 5 months ago · 👍 innerteapot, Nono
🚀 skyjake [OP/mod...] · Oct 30 at 10:26:
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.
🚀 skyjake [OP/mod...] · Oct 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.