What is Nostr?
mikedilger /
npub1acg…p35c
2024-07-13 21:42:51
in reply to nevent1q…y4g5

mikedilger on Nostr: Very interesting. Yes, I think rate limiting on both sides is necessary. This is an ...

Very interesting. Yes, I think rate limiting on both sides is necessary.

This is an excellent fuzzing method.

I tried running chorus and hitting it with this attack from a local process. For about 100,000 bytes (in 0.031 seconds) chorus handles and prints all the errors, generally being JSON parse errors. Then a bug is hit and I get a thread panic (chorus main thread continues, only that one connection is dropped)

Also chorus has mechanisms to drop connections and block IPs based on too many errors coming in, but for some reason these didn't work against this.

This is Sunday I wasn't going to do dev work today, but this is too interesting.
Author Public Key
npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c