faps is getting more badass every day:
I just coded support into #strfry for management features from trusted accounts with varying security levels, and the first feature to use this is to auto-blacklist reported accounts from trusted plebs with enough access.
And for once I am scrolling the superfriends relay replies, just *DYING* to find some spam to report :roflol: Strangely clean feed... not sure if I should be glad it's clean, or angry I can't test auto-blacklists further... :LUL:
Lately I have been coding and adding features over time to a comprehensive #strfry relay plugin. I've coined my system FAPS: the Friendly Anti-Prick System. :MEOWDY:
The beauty of the strfry plugin architecture is live updates: no need to restart strfry on any changes. It's allowed me to handle things like: illegal content, spam, abuse, DDoS attacks, and more. :YesYes:
... all within a single plugin. So far, it can:
- Blacklist accounts.
- Blacklist phrases: strings and regexes supported.
- Blacklist kinds: reject any kinds you want, useful during DDoS attacks.
- Supports minimum POW difficulty enforcement for all users.
- Supports unique POW difficulty for individual accounts. You can add individual accounts with their own POW difficulty threshold.
It continues to be put through the paces--it's currently day 3 of being DDoS'd and the superfriends relay continues to serve the public unabated, zero downtime, no latency. :meow_heart_bongo:
And no, it wasn't vibe-coded. I prefer to hand-code where high throughput and extreme optimization are required!
One day I'll open source and release it, when the feature creep settles and I'm happy that the code is optimized enough. It already filters thousands of events a minute without really stressing the server, but I'm a stickler for performance and improvement.
#relays #nostrdev #dev
View quoted note →
The beauty of the strfry plugin architecture is live updates: no need to restart strfry on any changes. It's allowed me to handle things like: illegal content, spam, abuse, DDoS attacks, and more. :YesYes:
... all within a single plugin. So far, it can:
- Blacklist accounts.
- Blacklist phrases: strings and regexes supported.
- Blacklist kinds: reject any kinds you want, useful during DDoS attacks.
- Supports minimum POW difficulty enforcement for all users.
- Supports unique POW difficulty for individual accounts. You can add individual accounts with their own POW difficulty threshold.
It continues to be put through the paces--it's currently day 3 of being DDoS'd and the superfriends relay continues to serve the public unabated, zero downtime, no latency. :meow_heart_bongo:
And no, it wasn't vibe-coded. I prefer to hand-code where high throughput and extreme optimization are required!
One day I'll open source and release it, when the feature creep settles and I'm happy that the code is optimized enough. It already filters thousands of events a minute without really stressing the server, but I'm a stickler for performance and improvement.
#relays #nostrdev #dev