noteguard now powers the damus relay rate limiter. It currently allows only 8 notes written per minute per ip.
I also no longer have to kill the relay every hour, so relay stability should be much better. nostr:note1g96hefqvnj3szjrfwdnajehrzf6372h45gp85lklc8d55pnntf8sr4j5rj
cpu before: pegged 100%, cpu now: 0%
that's fucking crazy 😂 well done brother
So you've ShadowReject-ed deno
So you're saying that I have to change my VPNs multi-hop setting to 30 seconds? Dang
jk, :ggstr:
This will hurt a lot of VPN and TOR users, probably 🐶🐾🤔
TOR users can post more than 1 note per minute? How? It's super slow when I buy my drugs
Exit nodes could get rate limited by relays if a lot of nostr users are coming from there
And blastr or any aggregators, including any zappers that post zap events 🐶🐾🤔
If there’s a good use case i’m open to whitelisting. I already whitelist a wine relay around the rate limiter
yeh I'm VPN only but tbh if the CPU went down to 0% there is a lot of leeway to up the rate limit so it's not only 8 per minute. either way it's better for the relay overall due to spam so it is what it is.
damus relay always had rate limiting, its just more efficient now :)
damus ios will retry when rate limited with backoff, so people shouldn’t notice it really. This is just annoying for spammers
nip-42
I don’t think you can enable nip-42 with strfry plugins, but maybe it would be interesting to generalize strfry’s plugin system to send arbitrary events
Why’d you have to kill your relay every hour?
I was using the soapbox filtering scripts which uses the deno runtime, it was slowing to a crawl. Not sure why. Now i don’t have to worry about it.