Commit Graph

905 Commits

Author SHA1 Message Date
Jorropo
16494692ef chore: update go-libp2p-asn-util
Include memory usage fixes from libp2p/go-libp2p-asn-util#33.
2023-12-29 03:55:49 +01:00
Adin Schmahmann
58ebfd29e2
Merge pull request #10219 from ipfs/magiks-ribs-hacks
feat(cmd/ipfs): Make it possible to depend on cmd/ipfs/kubo for easier preloaded plugin management
2023-12-22 16:04:09 -05:00
Nicholas Ericksen
f71ae3935d
docs: fix broken link in HTTP RPC client doc (#10267) 2023-12-21 08:40:50 +01:00
Adin Schmahmann
287444bc6e chore: update changelog 2023-12-19 19:52:50 -05:00
Adin Schmahmann
33b785ebd9 docs(customizing.md): add kubo binary imports description 2023-12-19 19:52:50 -05:00
Jorropo
133feb6efb
Merge branch 'master' into merge-release-v0.25.0 2023-12-14 18:49:34 +01:00
Jorropo
87069b5355 chore: update changelog for v0.25 2023-12-14 14:11:25 +00:00
Bumblefudge
78e2fab7c4
docs: add detail to NOpfs instructions in content-blocking.md 2023-12-14 08:56:53 +01:00
Henrique Dias
b46b5ea38a chore: bump to go-libp2p 0.32.2
Update go-libp2p (and quic-go) with Honeybadger fix.

(cherry picked from commit 3932fdfe51)
2023-12-13 09:57:53 +01:00
Henrique Dias
3932fdfe51
chore: bump to go-libp2p 0.32.2
Update go-libp2p (and quic-go) with Honeybadger fix.
2023-12-13 08:59:17 +01:00
Henrique Dias
5c31db3a3d
commands: remove several deprecated commands
Removes the following commands: ipfs tar, ipfs urlstore, ipfs repo fsck, ipfs file ls, ipfs dns.
2023-12-12 18:21:52 +01:00
Jorropo
48e379a748 chore: update dependencies 2023-12-06 11:37:57 +01:00
Henrique Dias
d6d79ce45f chore: bump to boxo 0.16.0 2023-12-06 10:58:54 +01:00
Henrique Dias
8ab2de5ff0
feat: ipfs key sign|verify (#10235) 2023-12-04 09:51:26 +01:00
Russell Dempsey
d882642168
feat: webui v4.2.0 (#10241)
https://github.com/ipfs/ipfs-webui/releases/tag/v4.2.0

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-12-03 22:48:28 +01:00
Henrique Dias
58c29399cf
chore: clean migration 2023-11-29 12:29:59 +01:00
sukun
3ae04c536e docs: clarify WebRTCDirect cannot reuse the same port as QUIC 2023-11-22 10:29:43 +01:00
Jorropo
6a51849c29 libp2p: remove mplex
Fixes: #10069
2023-11-22 08:06:39 +03:00
Jorropo
2b347a914d graphsync: remove support for the server
Updates: #9396
Closes: #6831
Closes: #6208

Currently the Graphsync server is not widely used due to lack of compatible software.
There have been many years yet we are unable to find any production software making use of the graphsync server in Kubo.

There exists some in the filecoin ecosystem but we are not aware of uses with Kubo.
Even in filecoin graphsync is not the only datatransfer solution available like it could have been in the past.

`go-graphsync` is also developped on many concurrent branches.
The specification for graphsync are less clear than the trustless gateway one and lack a complete conformance test suite any implementation can run.
It is not easily extansible either because selectors are too limited for interesting queries without sideloading ADLs, which for now are hardcoded solutions.
Finaly Kubo is consistently one of the fastest software to update to a new go-libp2p release.
This means the burden to track go-libp2p changes in go-graphsync falls on us, else Kubo cannot compile even if almost all users do not use this feature.
We are then removing the graphsync server experiment.

For people who want alternatives we would like you to try the Trustless-Gateway-over-Libp2p experiment instead, the protocol is simpler (request-response-based) and let us reuse both clients and servers with minimal injection in the network layer.
If you think this is a mistake and we should put it back you should try to answer theses points:
- Find a piece of opensource code which uses a graphsync client to download data from Kubo.
- Why is Trustless-Gateway-over-Libp2p not suitable instead ?
- Why is bitswap not suitable instead ?

Implementation details such as go-graphsync performance vs boxo/gateway is not very interesting to us in this discussion unless they are really huge (in the range of 10x~100x+ more) because the gateway code is under high development and we would be interested in fixing theses.
2023-11-22 06:57:45 +03:00
Henrique Dias
48865a9092
docs: move kubo-specific docs (#10226)
* docs: move kubo-specific docs
* chore: note crypt cmd does not exist

Context: https://github.com/ipfs/specs/pull/455

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-11-20 23:22:45 +01:00
Henrique Dias
01cc5eab57
feat(rpc): Opt-in HTTP RPC API Authorization (#10218)
Context: https://github.com/ipfs/kubo/issues/10187
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-11-17 01:29:29 +01:00
Marcin Rataj
7834a26d03 docs(changelog): clarify webrtc in v0.24
This sets the expectations (not production ready) and
gives users hint how to enable it by adding `/udp/4001/webrtc-direct`
listener.
2023-11-09 09:23:22 +01:00
Henrique Dias
9655d92908 chore: create next changelog 2023-11-08 14:03:18 +01:00
Henrique Dias
2d4a20e9cc
chore: update changelog for v0.24 2023-11-08 10:29:26 +01:00
Jorropo
0b97630c93
chore: update go-libp2p 2023-11-08 10:29:23 +01:00
Marcin Rataj
ccf3a71bc7
docs: fix accelerated-dht-client 2023-11-08 10:29:23 +01:00
Jonas Keunecke
9c99ad5c71
docs/config: remove extra commas in PublicGateways example entries 2023-11-08 10:29:22 +01:00
Henrique Dias
a87e305793 docs: make it clear Web RTC Direct is experimental 2023-11-03 14:57:17 +01:00
Henrique Dias
10eb459f84 feat: add WebRTC Direct support 2023-11-03 14:57:17 +01:00
Henrique Dias
d8754c6263 chore: go-libp2p v0.32.0 2023-11-03 14:57:17 +01:00
Steve Loeppky
3fa239c64b docs: update EARLY_TESTERS.md (#10194) 2023-11-03 14:57:17 +01:00
Henrique Dias
e068f1458c chore: bump to boxo 0.14.0 2023-11-01 11:21:37 +01:00
Andrew Gillis
d1ccdf052b
chore: migrate bootstrap to ipfs/boxo (#10158) 2023-10-31 18:25:14 +01:00
Henrique Dias
33bbee5adf
chore: bump boxo (#10188) 2023-10-31 12:03:16 +01:00
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
Henrique Dias
4695fd9fed
refactor: namesys cleanup, gateway /ipns/ ttl (#10115) 2023-10-18 10:23:50 +02:00
Henrique Dias
170686b420
chore: update types to match boxos (#10179) 2023-10-17 19:02:26 +02:00
Henrique Dias
4c04311257 docs: clean mentions of go-ipfs-api, go-ipfs-http-api 2023-10-13 13:57:05 +02:00
Jorropo
a5668d22ba chore: update boxo for structification of ImmutablePath 2023-10-09 09:44:39 +02:00
Henrique Dias
a7c6518497
feat: path consolidation (#10063) 2023-10-06 16:14:44 +02:00
Jorropo
ecda7ae2f5 chore: update deps
I only updated otel to 1.17.0 since we need to handle breaking changes with newer releases (it doesn't build).
I also didn't update go-multistream since it's touched by libp2p and break stuff.
2023-10-05 21:22:28 +02:00
Jorropo
12303012c0
Merge pull request #10166 from ipfs/merge-release-v0.23.0
Merge Release: v0.23.0
2023-10-05 20:47:31 +02:00
Jorropo
c9d1c3bfea chore: update changelog for v0.23 2023-10-05 15:40:42 +00:00
Henrique Dias
bd36a9d06b docs: capitalize headers for consistency
(cherry picked from commit c80a5a867b)
2023-10-05 17:20:17 +02:00
Henrique Dias
c80a5a867b docs: capitalize headers for consistency 2023-10-04 11:55:33 +02:00
Henrique Dias
97527472fe
feat(gateway): update gateway api, no multi-range support 2023-10-02 16:43:52 +02:00
dependabot[bot]
f138b47d86 chore(deps): bump github.com/ipfs/go-graphsync from 0.14.4 to 0.15.1
Bumps [github.com/ipfs/go-graphsync](https://github.com/ipfs/go-graphsync) from 0.14.4 to 0.15.1.
- [Release notes](https://github.com/ipfs/go-graphsync/releases)
- [Changelog](https://github.com/ipfs/go-graphsync/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ipfs/go-graphsync/compare/v0.14.4...v0.15.1)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-graphsync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 11:26:39 +02:00
dependabot[bot]
9cd2c8c99c chore(deps): bump github.com/ipfs/go-unixfsnode from 1.7.1 to 1.8.1
Bumps [github.com/ipfs/go-unixfsnode](https://github.com/ipfs/go-unixfsnode) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/ipfs/go-unixfsnode/releases)
- [Commits](https://github.com/ipfs/go-unixfsnode/compare/v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-unixfsnode
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 11:26:39 +02:00
Jorropo
7cca58ea27 changelog: generalize fuse 9044's entry 2023-09-26 11:23:51 +02:00
Jorropo
0f1ec5949e changelog: update fuse 9044's entry 2023-09-25 15:39:55 +02:00