nostr-rs-relay icon indicating copy to clipboard operation
nostr-rs-relay copied to clipboard

NIP-05 verification denial of service

Open yuvadm opened this issue 1 year ago • 1 comments

Relays can be DoS attacked via NIP-05 verification, with multiple logs showing up:

WARN nostr_rs_relay::nip05: Error when checking for NIP-05 verification records: DatabasePoolError(Error(None))

What options are available for resolving this attack?

yuvadm avatar Apr 25 '23 19:04 yuvadm

Answering myself -

Either disable NIP-05 verification or blacklist spamming domains (I see you nostr-vip.org).

But maybe some extra code stability is required?

yuvadm avatar Apr 25 '23 19:04 yuvadm