This sounds incredibly exciting.

My first thought: What if someone tries to DDoS attack a web service?

Wouldn't that then in turn also DDoS many Nostr relays?

Reply to this note

Please Login to reply.

Discussion

how are relays protected from ddos attacks 🤔

By having all TCP packets proxied by the entry node, the number of incoming IP addresses for the relay operator is significantly reduced.

This simplifies IP blacklisting in case of an attack, as NWS funnels all client requests through the entry nodes. Consequently, the distribution of requests is determined by the total number of entry nodes.

If your goal is to DDoS Nostr relays, it's likely more effective to flood them with normal events.