Event JSON
{
"id": "dd5e06d9f05f7dc9f86a768d536074a13a8868760ad01579e2d4c3044d29dc01",
"pubkey": "b10c0000079a83cf26815dc7538818d8d56a2983e374e30a4143e50060978457",
"created_at": 1728647641,
"kind": 1,
"tags": [
[
"imeta",
"url https://nostr.download/1b9719c6e0d5c348f6fe3198db0c49763be3deec66fa73cdc7c2658005166b0f",
"m image/webp",
"x 1b9719c6e0d5c348f6fe3198db0c49763be3deec66fa73cdc7c2658005166b0f",
"size 28166",
"dim 1684x455",
"blurhash |UF#.,oLWCWWfQayfQfQayD-oKazWWj@azfRfQfQ0koLoKazfQfPfQazfQxWayj@j@azfQj[fQfQD-R+s.s.fQfQfQfQfQ%JNIWCs.fQoKj[j@fQn%j@IrazayazfQazfQxs$~jtRlj@WCfRazfQxCod$~WWoKazfQfQa|"
],
[
"imeta",
"url https://nostr.download/4a3e322f4421098529a5c4fe5f31af7dde22e84301402f20fa6a57cdc253b8f8",
"m image/webp",
"x 4a3e322f4421098529a5c4fe5f31af7dde22e84301402f20fa6a57cdc253b8f8",
"size 56968",
"dim 1200x1014",
"blurhash |tQ]J]kWaeoyjsaekCaefRu6affkWBayj[aej[fkR6aekCj[j[fkj[j[aykVkCaefkf6afj[affjogaffkaeayj[afj[fkV@ayj]kCj[a#kBfQayozj[axaea}f6ayazj[V@ayj[kBf6fkj[jsayozj@f6aya}f7f6a|a|"
],
[
"imeta",
"url https://image.nostr.build/7c3a1fa7d7c657b93cbeef0013892c0f9c0a9ebdeebb39a4fdb2246e4b24291f.jpg",
"m image/jpeg",
"x 68c2a2d91a508869417eacbc6b56bccd0561db2e7eabfc5aefd3b75ddff01e9f",
"ox 7c3a1fa7d7c657b93cbeef0013892c0f9c0a9ebdeebb39a4fdb2246e4b24291f",
"dim 1142x687",
"blurhash LWRMuY?FWBxu~URjR*j[sSIpn~of",
"thumb https://image.nostr.build/thumb/7c3a1fa7d7c657b93cbeef0013892c0f9c0a9ebdeebb39a4fdb2246e4b24291f.jpg"
],
[
"imeta",
"url https://image.nostr.build/2ab2a033673455f5e368ba78f9ce21f2e544f9607e015e6ea29e96fbd0e74a37.jpg",
"m image/jpeg",
"x 4ba0b0f082500fd405e5c16ef8b71e02035d8162912825db6e472d9a11a45a15",
"ox 2ab2a033673455f5e368ba78f9ce21f2e544f9607e015e6ea29e96fbd0e74a37",
"dim 1148x693",
"blurhash LQR:Tq-os.kX~UM|WXt6IVM|ayxt",
"thumb https://image.nostr.build/thumb/2ab2a033673455f5e368ba78f9ce21f2e544f9607e015e6ea29e96fbd0e74a37.jpg"
],
[
"imeta",
"url https://nostr.download/6666a7e872bafbac6e78e925572035b1081010c2f67caed46db7b8749047d744",
"m image/webp",
"x 6666a7e872bafbac6e78e925572035b1081010c2f67caed46db7b8749047d744",
"size 56386",
"dim 1110x555",
"blurhash |ESPX{slWBS5j]jsaeoeax~XX9t7n#axj[kCa#ayI9n$WBS5j[ayjYjZayXSkCt7e.WVj[bIa#aysCR*azofjtjsj?j@j[ELs.j[WCWVazazayf6%2R-oes,j@j[j[a}j[M{n#NbS5aybHaxj?j[xuogs,oIWBfkbHWWa|"
],
[
"imeta",
"url https://nostr.download/1eb132e75abd75fe3be0003619dbf032efdf186213452ee16765346ea7997bab",
"m image/webp",
"x 1eb132e75abd75fe3be0003619dbf032efdf186213452ee16765346ea7997bab",
"size 37654",
"dim 1110x555",
"blurhash |6Ss1^I8^Is-EMtRt7o#WBTgb{%MoeR+e-n$f5a}=st8ESa~%0RjWEoeax}jrV4.M|xtkDS5kCj?OH%hx^NINGnhaeWBjs9wad^jogIqoMt6WCa#0KIT$J$zR+Sis.oLWC?cT1JXxuw[RiWBocj]$xnNE1R+%2ozR+ayoe"
],
[
"imeta",
"url https://nostr.download/79124e8e38f61b3be9891dec359d5bf130bd2992eeab48a93792209799020d8a",
"m image/webp",
"x 79124e8e38f61b3be9891dec359d5bf130bd2992eeab48a93792209799020d8a",
"size 27184",
"dim 1110x555",
"blurhash |5S?7HbINIaybct7s.ofj[~qxu%0WBn~RjX9WBay00WCR,WBW=s:f5axj[.8t7t6axn~WBWXayf6D%axf6azofj[ayj[azkDR*W=WBWBs;jZfQoLxuaexZofadWVWCfkaxIURkR.axR+t7oIayj@?bn~%1ogaKR*R-a}WB"
],
[
"t",
"issuecomment-1544593209"
]
],
"content": "Yesterday, the Bitcoin Core project disclosed three vulnerabilities fixed in v25.0. \n\nI have old screenshots and observations from the \"DoS due to inv-to-send sets growing too large\" which I can share now. \n\n(the disclosure explains the bug, this is only extra/visual context)\n\nhttps://bitcoincore.org/en/2024/10/08/disclose-mutated-blocks-hindering-propagation/\n\nMonitoring the connections of one of my mainnet nodes, I observed that its connections dropped from about 200 to 35 in a matter of hours (image 1)\n\n\nIt turned out that the P2P communication thread of the node was spending a lot of time sorting sets of transactions it wants to announce to other peers, as these sets had grown quite large.\n\nThis flamegraph showed that significant time is spent in make_heap to sort the sets... (image 2)\n\nAt some points, my node could not keep up the P2P communication with its peers and connections started to drop. Other nodes had the same problem.\n\nhttps://github.com/bitcoin/bitcoin/issues/27586#issuecomment-1544593209\nhttps://github.com/bitcoin/bitcoin/issues/27623\n\nThe sets grew large due a high volume of small one-input one-output transactions (I think something related to BRC-20) being broadcast.\n\n(note: images 3 \u0026 4 show tx in blocks per day, not broadcast tx)\n\nThis was amplified by peers that never announce transactions to us (e.g. spy-nodes). For them, the sets remain larger for much longer resulting in more time spent sorting. At the time, I compiled a banlist for some IPs I found to be particularly annoying.\n\nhttps://github.com/0xB10C/banlist/issues/1\n\nThis DoS caused problems in block and transaction propagation. This clearly visible on the KIT DSN Bitcoin monitoring metrics. \n\nhttps://www.dsn.kastel.kit.edu/bitcoin/\n\n(image 5 \u0026 6)\n\nAnother interesting metric is ICMP ping time compared to Bitcoin protocol ping time.\n\nThe Bitcoin protocol ping time skyrocketed, while the ICMP ping remained fairly unaffected. The nodes had problems, the servers running them were fine.\n\n(image 7)\n\nPR https://github.com/bitcoin/bitcoin/pull/27610 by ajtowns fixed the problem and it was back ported for the v25.0 release.\n\n\nAt the same time, one of the other disclosed vulnerabilities caused block propagation problems too: nevent1qqspf29q968at872u49vk2u0nzzk03lxv478kq0lz5m609u49cf9hdspzemhxue69uhhqatjwpkx2un9d3shjtnrdakj7q3qkyxqqqq8n2pu7f5pthr48zqcmr2k52vrud6wxzjpg0jsqcyhs3tsxpqqqqqqz7ep4px ...\nhttps://nostr.download/1b9719c6e0d5c348f6fe3198db0c49763be3deec66fa73cdc7c2658005166b0f.webp\nhttps://nostr.download/4a3e322f4421098529a5c4fe5f31af7dde22e84301402f20fa6a57cdc253b8f8.webp\nhttps://image.nostr.build/7c3a1fa7d7c657b93cbeef0013892c0f9c0a9ebdeebb39a4fdb2246e4b24291f.jpg\nhttps://image.nostr.build/2ab2a033673455f5e368ba78f9ce21f2e544f9607e015e6ea29e96fbd0e74a37.jpg\nhttps://nostr.download/6666a7e872bafbac6e78e925572035b1081010c2f67caed46db7b8749047d744.webp\nhttps://nostr.download/1eb132e75abd75fe3be0003619dbf032efdf186213452ee16765346ea7997bab.webp\nhttps://nostr.download/79124e8e38f61b3be9891dec359d5bf130bd2992eeab48a93792209799020d8a.webp",
"sig": "cb03c3418ccd26823e9e5d85a79b7e0fc2d2b380d960103101b6ea5bb34dc381c7c120a8dea83f622275bf06e5c6bbbbf3b3997c88858c4299c0adb877adc85d"
}