Very nice too that my relay survived basically a month of being ignored, spam filter worked great.

Reply to this note

Please Login to reply.

Discussion

How did you do this ? No spam ?

I shut my relay down because all it was doing was collecting garbage from the blastr relays. I need to look at setting up a spam filter. Is it easy to do with nostr-rs-relay?

Configuring is easy, just point to a gRPC server endpoint. Implementing the spam filter is left as an exercise for the reader... Big opportunity for projects to do stuff here. Mine isn't open source cause it is a bit too hacky to support at the moment (I have some homebrew jobs that analyze events for a bayes model).

nostr.band has a spam list API that I was thinking about leveraging but not sure how well it works.

This could be of interest. https://github.com/blakejakopovic/nostr-spam-detection

Worth noting that spam or flood attacks don’t just come in the form of kind 1/42. You need protection against other non-content focused kinds too.

Speaking of which, I haven't updated in months since I setup my instance of your relay daemon. I need to do that.

No manual migrations needed, isbthat correct? (In terms of the DB)