mleku on Nostr: and yes, i am working on other resource exhaustion attack mitigations, i have just ...
and yes, i am working on other resource exhaustion attack mitigations, i have just found one relating to queries that just query on kind and time limits, as used by spiders
these cost so much iops and processing time and memory that i'm having to put my foot down about this
i dunno if i can even cap this properly
Published at
2025-01-25 07:50:36Event JSON
{
"id": "f0a91af945afb657f9a580ca8866902567eb577513431a50279841e8eeee8e13",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1737791436,
"kind": 1,
"tags": [
[
"e",
"1ea938c94aaf9a368babc0c18adcaf715aaeae3e75e3a9f0bfe1d992e202c6aa",
"wss://nostr.wine/",
"root",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"e",
"1ea938c94aaf9a368babc0c18adcaf715aaeae3e75e3a9f0bfe1d992e202c6aa",
"wss://nostr.wine/",
"reply",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"wss://nostr.wine/"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "and yes, i am working on other resource exhaustion attack mitigations, i have just found one relating to queries that just query on kind and time limits, as used by spiders\n\nthese cost so much iops and processing time and memory that i'm having to put my foot down about this\n\ni dunno if i can even cap this properly",
"sig": "bea06b7f1ac4e53cf2062f584f3fe5a88e9aea674d838206f9f7aeea42d98fe8f1be9507992867e79c404f6038f5318e41ab6e06322c2986f77700f79b3a6f53"
}