You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
iiuc multiple DoS vectors exist around cases when:
we run out of useful L1s
HTTP server running orchestrator is down (Amazon has hiccups every year..)
orchestrator.strn.pl has a hiccup (misconfiguration, attac) and returns too few, or no useful L1s
Each one of these events is unlikely, but the risks compound.
Some ideas for anticipatory action:
maintain a separate, append-only list of L1s returned by orchestrator, and use it as a backup when orchestrator is down, or does not provide any useful L1s
DNS idea 2 is feasible. I like having 1 global list (ALL IPS), and 1 nearby list. If the nearby list returns 0 then you can fallback to the global list.
Sidenote: bootastrappers use multiaddrs with /p2p/peerid suffix, which makes them way more resilient than HTTP URLs. it may not matter much for bootstrapper use case, but matters for peering agreements: even when IP is unreachable, or DNS is down, Kubo might be able to reach out to them if LAN DHT or local peer knows their alternative location
I think if we invest time in this, DNS idea 2 gives us the biggest return in resiliency, because of how DNS hierarchical caching works. And thanks to DoH, we can still use it in browser contexts: https://www.npmjs.com/package/dns-over-http-resolver
So we still can read orchestrator nodes over HTTP, but we no longer need to hardcode specific URL, any DoH endpoint will work.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
iiuc multiple DoS vectors exist around cases when:
Each one of these events is unlikely, but the risks compound.
Some ideas for anticipatory action:
https://l1s.strn.pl
orhttps://strn.pl
all.l1s.strn.pl
ornearby.l1s.strn.pl
which returns more than oneA
record, replacing the need for HTTP request https://orchestrator.strn.pl/nodes/nearby?count=9999 – @guanzo thoughts on feasibility?Other ideas how we can improve resiliency for the day Amazon fails?
cc @aarshkshah1992 @willscott @guanzo
The text was updated successfully, but these errors were encountered: