Skip to content

Add configuration option to set implicit default filter-addrs and filter-protocols from IPIP-484 #86

Description

@lidel

While someguy supports IPIP-484 in queries, there is no filtering by default.

It would be useful to have opt-in filtering that limits the default output, eg. to skip GraphSync results proxied from IPNI at cid.contact in deployments that will never benefit from it because clients only support Bitswap or HTTP.

Ref. https://specs.ipfs.tech/ipips/ipip-0484/ ipfs/specs#484 & #85

Implementation proposal

  • defaults remain the same, no filtering by default
  • keep it simple
    • new config options named same as ones from IPIP-484 (--filter-addrs and ---filter-protocols)
    • when set, apply them to the boxo/routing/http/client instance someguy uses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right now

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions