kubo/docs/changelogs
Hector Sanjuan a0f34b16dd
feat: built-in content blocking based on IPIP-383 (#10161)
Fixes #8492

This introduces "nopfs" as a preloaded plugin into Kubo
with support for denylists from https://github.com/ipfs/specs/pull/383

It automatically makes Kubo watch *.deny files found in:

- /etc/ipfs/denylists
- $XDG_CONFIG_HOME/ipfs/denylists
- $IPFS_PATH/denylists

* test: Gateway.NoFetch and GatewayOverLibp2p

adds missing tests for "no fetch" gateways one can expose,
in both cases the offline mode is done by passing custom
blockservice/exchange into path resolver, which means
global path resolver that has nopfs intercept is not used,
and the content blocking does not happen on these gateways.

* fix: use offline path resolvers where appropriate

this fixes the problem described in
https://github.com/ipfs/kubo/pull/10161#issuecomment-1782175955
by adding explicit offline path resolvers that are backed
by offline exchange, and using them in NoFetch gateways
instead of the default online ones

---------

Co-authored-by: Henrique Dias <hacdias@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-10-28 05:34:14 +02:00
..
v0.2.md chore: changelogs split 2022-07-07 19:44:01 +02:00
v0.3.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.4.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.5.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.6.md chore: changelogs split 2022-07-07 19:44:01 +02:00
v0.7.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.8.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.9.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.10.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.11.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.12.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.13.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.14.md chore: switch to dist.ipfs.tech 2022-08-12 23:42:17 +02:00
v0.15.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.16.md docs: update changelog-v0.16 with full changelog data 2022-10-04 11:15:00 +02:00
v0.17.md docs: bulk spelling edits (#9544) 2023-02-20 23:37:10 +01:00
v0.18.md chore: fix toc in changelog for 0.18 2023-03-10 15:30:18 +01:00
v0.19.md docs: add changelog for v0.19.2 2023-05-09 11:18:59 +02:00
v0.20.md chore: update changelog for v0.20 2023-05-09 09:31:11 +00:00
v0.21.md Merge branch 'release-v0.21' back into master 2023-08-08 14:18:32 +02:00
v0.22.md docs(changelog): link to relevant IPIP 2023-09-16 22:24:30 +02:00
v0.23.md chore: update changelog for v0.23 2023-10-05 15:40:42 +00:00
v0.24.md feat: built-in content blocking based on IPIP-383 (#10161) 2023-10-28 05:34:14 +02:00