What is Nostr?
Mike Hearn [ARCHIVE] /
npub17ty…qgyd
2023-06-07 02:26:55
in reply to nevent1q…fze7

Mike Hearn [ARCHIVE] on Nostr: 📅 Original date posted:2011-09-15 🗒️ Summary of this message: The debate is ...

📅 Original date posted:2011-09-15
🗒️ Summary of this message: The debate is whether response messages should be given to potential attackers, as it may provide another attack vector, or to the sender for better debugging.
📝 Original message:> If I think you're trying to DoS me, why would I be nice to you?

The issue is, what if I'm not trying to DoS you, but something went wrong?

> think response messages would just give an attacker another potential
> attack vector, and it is clear from the debug.log what triggers a ban.

Only clear to the node owner. Not the sender, who may in a better
position to debug.

It's pretty common for protocols to return useful errors even in DoS
conditions. Eg, http servers will often return 503 Service Unavailable
in overload conditions. Google actually sends a redirect telling you
why you got blocked.
Author Public Key
npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd