This standardises all my markdown files to have no leading newline after the `---` that ends the frontmatter. This makes display on Gemini (in which newlines matter) much more consistent! I can't spot any errors with the regex I used here, but there may be one or two articles that change shape — hopefully I can spot them and fix them!
1.3 KiB
date | publishDate | inReplyTo | references | slug | tags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2024-06-18T06:49:39.132+01:00 | 2024-06-18T06:49:39.132+01:00 | https://www.macchaffee.com/blog/2024/ddos-attacks/ |
|
ts96a |
|
It's not a complete solution by any means (it would only work for static sites) but I'm leaning hard into the use of the peer-to-peer IPFS to take the teeth out of DDoS attacks.
Though today most IPFS sites are served from IPFS↔HTTP gateways (which will fall to a sufficient DDoS attack, like any other server), using the p2p IPFS protocol itself would mean an attacker could only ever take out specific peers. Though that's still unpleasant, the aim (taking down a given site) is unachievable, so it disincentivises site-specific attacks.
For example; you can read this comment over HTTP at https://www.byjp.me (protected by a mega-corp at the moment), or you could use IPFS and read it at /ipns/www.byjp.me (protected by any- and everyone using IPFS who's ever been to any part of my site).