bitswap/httpnet: request with CDN-Loop (RFC 8586) #862
Labels
need/triage
Needs initial labeling and prioritization
topic/bitswap
topic/gateway
Issues related to HTTP Gateway
We need to find a solution to situation where defunct gateways start returning redirects back to
ipfs.io
anddweb.link
, effectively acting as amplification vector.There is some prior art solution in form of
CDN-Loop
header which helps in avoiding unintended HTTP loops like that:Ref.
I think in case of Rainbow, we could leverage SEED and have all nodes set
CDN-Loop
to the same deterministic hash value, and refuse to process requests with matching one. This way HTTP traffic looped/proxied back to our infra is ignored.cc @hsanjuan for feedback, maybe there a better way?
The text was updated successfully, but these errors were encountered: