Mazin on Nostr: Most spam tends to use pubkeys ephemerally though, so what are you rate limiting? ...
Most spam tends to use pubkeys ephemerally though, so what are you rate limiting? Ultimately you’re just going to be blocking their first few messages or allowing all spam.
If you have access to network level info (we don’t as an aggregator) you could do some IP or other network rate limiting but that is still imperfect.
Published at
2025-05-31 13:54:32Event JSON
{
"id": "f3ff137913a3630ece24c82c57ecfaaa25ce306abcdb4cfc429eb9c9bac1ccf2",
"pubkey": "3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d",
"created_at": 1748699672,
"kind": 1,
"tags": [
[
"e",
"0c28f169c6cbe98570e599130b5300d2a080b8d6bd816d7bcc1488dc5f6a51b2",
"wss://relay.damus.io",
"root"
],
[
"e",
"0ec5e182f7da5f1a2d67f1d67e3ef418ecd59d1e63696d54f05de9a823fbb5cf",
"",
"reply"
],
[
"p",
"bd4ae3e67e29964d494172261dc45395c89f6bd2e774642e366127171dfb81f5"
]
],
"content": "Most spam tends to use pubkeys ephemerally though, so what are you rate limiting? Ultimately you’re just going to be blocking their first few messages or allowing all spam. \n\nIf you have access to network level info (we don’t as an aggregator) you could do some IP or other network rate limiting but that is still imperfect.",
"sig": "9da24a383e4af181d44f78e97ebeab985e7d5bf508c7d6bfe767fdde6b5e351fb313a80a66ac99fa4d828778714d6329b3934aea52202bbc5434275acb9a8403"
}