Commit Graph

235 Commits

Author SHA1 Message Date
Marcin Rataj
73c3fd3d15
refactor: move AutoTLS to top level
we have AutoNAT there, and this feature could be extended in the future
to cover user-provided domains and Gateway, so moving it out of Swarm
makes it more future-proof.
2024-10-29 16:23:37 +01:00
Marcin Rataj
ed7e20171d
chore: rename logger to autotls 2024-10-28 19:30:51 +01:00
Marcin Rataj
99b7757e71
refactor: ForgeClient → AutoTLS
addressing UX/DX feedback from Daniel, switching to self-explanatory
configuration section
2024-10-28 19:20:57 +01:00
Marcin Rataj
7eeda1bb6f
docs: apply suggestions from code review
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
2024-10-28 18:24:27 +01:00
Marcin Rataj
21b5c8898b
Merge remote-tracking branch 'origin/master' into feat/libp2p-direct 2024-10-23 02:22:04 +02:00
Marco Munizaga
56c68a1657
refactor: update to go-libp2p v0.37.0 (#10554)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
https://github.com/libp2p/go-libp2p/releases/tag/v0.37.0

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-10-23 01:31:40 +02:00
Marcin Rataj
8913a1c1e5
docs(config): explain what multiaddr is 2024-10-23 00:08:12 +02:00
Marcin Rataj
b306f563ba
chore(doc): add toc 2024-10-19 00:25:21 +02:00
Marcin Rataj
538c9bb054
fix: p2p-forge log and debugging
Cleanup to unify the way p2p-forge related things are logged.

Debugging can be enabled by setting environment variable
`GOLOG_LOG_LEVEL="error,p2p-forge/client=debug"`
2024-10-19 00:18:11 +02:00
Marcin Rataj
a03863741e
docs: Swarm.ForgeClient 2024-10-18 21:10:01 +02:00
Marcin Rataj
d5994c1b26
chore: linter fix for deprecated config option 2024-10-11 20:17:12 +02:00
Marcin Rataj
946298b60f
Merge master into feat/libp2p-direct 2024-10-11 19:54:08 +02:00
Andrew Gillis
4566741b22
chore: update changelog and config doc with more info about pebble (#10533)
* Update config doc with more info about Pebble

Provide additional information about some key behaviors that may be useful for deciding what datastore to use.
2024-10-03 15:42:15 -07:00
Andrew Gillis
52b00624cd
feat: pebbleds profile and plugin (#10530)
* include pebble as built-in plugin

Pebble provides a high-performance alternative to leveldb as the datastore, and will serve as a replacement for badger1.

There are a number of tuning parameters available for tuning pebble's performance to your specific needs. Default values are used for any that are not configured or are set to the parameter's zero-value.

Requires https://github.com/ipfs/go-ds-pebble/pull/39

Closes #10347

* docs: remove mention of ipfs-ds-convert. Rationale: https://github.com/ipfs/ipfs-ds-convert/issues/50
* docs: pebbleds profile
* test: meaningful t0025-datastores.sh
* Update config/init.go
* Update docs/config.md
* Do not hard-code zero values into pebble config
2024-10-03 13:58:14 -07:00
Marcin Rataj
a8ecf014a9
feat: explicit announce-on/off profiles (#10524)
moving reprovide on/off to separate profile to avoid footgun
where node no longer announces to DHT + ipfs daemon check
that prints warning on start if reprovide system is disabled
2024-10-03 21:39:52 +02:00
Marcin Rataj
836d51650d
docs: clarify Gateway.PublicGateways (#10525)
* docs: clarify Gateway.PublicGateways
* docs: caution about reusing domains
2024-09-26 19:31:36 +02:00
Marcin Rataj
58434ecbd1
docs(config): add useful references 2024-09-20 15:54:41 +02:00
Marcin Rataj
60588afc9e
docs(config): improve profile descriptions (#10517)
* docs(config): improve profile descriptions
* chore: move profiles and types to the end
2024-09-20 15:40:45 +02:00
Elias Rad
91144f7bfc
Docs fix spelling issues (#10493)
* fix keystore.md
* fix config.md
* fix datastores.md
* fix libp2p-resource-management.md
2024-08-26 11:32:07 -07:00
gammazero
9cc64ef06f Update comment 2024-08-06 20:21:43 -07:00
Andrew Gillis
5c91fe655c
Merge branch 'master' into tls-by-default 2024-08-06 20:16:57 -07:00
Marcin Rataj
ffab7b271a
feat: run AutoNAT V2 service in addition to V1 (#10468)
* feat: libp2p.EnableAutoNATv2

Part of https://github.com/ipfs/kubo/issues/10091
We include a flag that allows shutting down V2 in case there are issues
with it.

* docs: EnableAutoNATv2
2024-08-06 21:51:45 +02:00
Marcin Rataj
feef0851bd
feat: go-libp2p 0.36 and /webrtc-direct listener (#10463)
Co-authored-by: Marco Munizaga <git@marcopolo.io>
2024-08-06 21:25:27 +02:00
Patryk
225dbe6c03
feat: periodic version check and json config (#10438)
Co-authored-by: Lucas Molas <schomatis@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-07-24 23:42:19 +02:00
Henrique Dias
8022e13a6b
config: introduce Import section (#10421)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-05-14 14:17:04 +00:00
Henrique Dias
6f2a61e1df
core/node: prioritize announcing pin roots, and flat strategy (#10376)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-04-09 06:37:23 +00:00
Marcin Rataj
413de0f831
docs(config): clarify RPC vs Gateway 2024-04-05 23:53:40 +02:00
Henrique Dias
11183bb2f5
chore: upgrade go-libp2p-kad-dht (#10378)
* chore: upgrade go-libp2p-kad-dht
* config: make LoopbackAddressesOnLanDHT a Flag
* config: add DefaultLoopbackAddressesOnLanDHT
* docs(config): Routing.LoopbackAddressesOnLanDHT

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-04-04 12:56:19 +00:00
Henrique Dias
cd78f2eae3
chore(config): make Routing.AcceleratedDHTClient a Flag (#10384) 2024-04-04 13:59:31 +02:00
Daniel Norman
21728eb000 docs: update default ipns lifetime 2024-03-19 13:58:06 +01:00
Marcin Rataj
1514785074
chore: fix link 2024-02-09 17:34:57 +01:00
Marcin Rataj
68f955664a
docs: clarify Gateway.ExposeRoutingAPI (#10337)
* docs: clarify Gateway.ExposeRoutingAPI

Closes #10195

* Apply suggestions from code review

Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>

---------

Co-authored-by: Henrique Dias <mail@hacdias.com>
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
2024-02-09 16:07:11 +01:00
Marcin Rataj
f4ff4f76dd docs(config): mention routing v1 spec 2024-02-07 10:57:31 +01:00
Henrique Dias
0ea879b4a1
feat: add Ipns.MaxCacheTTL 2024-01-26 11:20:34 +01:00
Henrique Dias
e166af9756
core/corehttp: wrap gateway with headers, deprecate gateway /api/v0 2024-01-24 09:33:23 +00:00
Henrique Dias
d1db95c447 config: remove all options that are marked as REMOVED
Most of the removed options are many years old. In addition, they've all been removed in past iterations of Kubo. Some options were marked as removed in the config.md, but we still had a warning in the code to let users know they have been removed.

I think it's been long enough for all of this options, and enough Kubo iterations in order to alert the users. It is good to keep it in the config.md for now so that people can actually check. However, I think it's time to remove them from the code itself.
2024-01-22 15:33:27 +01:00
Marcin Rataj
9343a95f4d docs(config): clarify ReproviderStrategy roots 2024-01-12 13:13:29 +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
a617c52f57 libp2p: default to preffering TLS
See https://github.com/libp2p/go-libp2p/pull/2650.
2023-11-22 06:06:15 +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
Jonas Keunecke
f17a064193 docs/config: remove extra commas in PublicGateways example entries 2023-11-06 15:03:57 +01:00
Henrique Dias
884a3f36d4
docs: make it clear Web RTC Direct is experimental 2023-11-03 14:49:35 +01:00
Henrique Dias
9f3251c1b0 feat: add WebRTC Direct support 2023-11-03 14:43:42 +01:00
Alejandro Criado-Pérez
cc3c224c62
docs: fix typos 2023-09-22 11:08:26 +00:00
Marcin Rataj
5c0508b8dd docs: s/ipfs dht/amino dht/ 2023-09-22 08:23:09 +02:00
Henrique Dias
0bac56c3aa
feat: add Gateway.DisableHTMLErrors option (#10137) 2023-09-21 15:03:17 +00:00
Henrique Dias
4606586207
feat(gateway): expose /routing/v1 server (opt-in) (#9877) 2023-08-25 17:30:04 +02:00
Henrique Dias
5ea58251d5
chore: update boxo, go-libp2p, and internalize mplex (#10095) 2023-08-24 06:11:02 +00:00