I also run a public Nostr relay: wss://n.ok0.org

For a few days now it has been the target of a really annoying Chinese asshole spammer, who is posting on repeat some shitty message + some QR code to donate crypto (go figure).

This motherfucker isn’t being subtle either, we’re talking a new spam note every minute or so.

To give you an idea of how committed these people are to shitting up the place:

  • Every message is posted from a new npub (Nostr account), so banning that is completely pointless. You also can’t do shit to block it as a user, if your client isn’t smart enough to figure out it’s spam.
  • He was initially repeating the same phrase so I banned that - every message now contains a random different phrase.
  • I started banning his URLs - he now generates new ones often.
  • I banned all his shitty IPs (it’s likely a bot hosted off AWS free tiers or some shit), he keeps coming up with new ones.

I’m playing fucking whack-a-mole with this asshole and he knows it lol. The thing is, it’s actually really easy for me to solve the problem by making the relay whitelist only and forgetting about it.

I could also ban notes in written in Chinese, for example.

The only reason he can even spam it to begin with is because I’m trying to run a free relay that anyone can use, including his fellow countrymen. You know, freedom and all that shit Nostr promises. What a piece of shit.