docs icon indicating copy to clipboard operation
docs copied to clipboard

Relays: explain main use cases and per-protocol limits

Open lidel opened this issue 1 year ago • 0 comments

Ref. https://docs.libp2p.io/concepts/nat/circuit-relay/

The page should mention that

  • relays are limited by default (time/bytes)
  • relays only allow specific libp2p protocols to be relays (e.g. ping, identify, hole punching ones)
    • relays do not allow protocols like bitswap by default
  • one can run own relay with different rules
    • lift bandwidth / time limits for specific IPs
    • allow extra protocols
    • NOTE: there should be warning this is a potential cost center and implementers should be very careful / have logic ensuring only their "blessed" clients use their "unlimited" relays

lidel avatar Dec 17 '24 17:12 lidel