ipfs / ipfs/someguy

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

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
P3
Dominant language
Go
Stars
61
Forks
10
Avg merge
49m
Merged PRs (30d)
2

Description

While someguy supports [IPIP-484](https://specs.ipfs.tech/ipips/ipip-0484/) 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/ https://github.com/ipfs/specs/pull/484 & https://github.com/ipfs/someguy/pull/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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.