kubo/config
Adin Schmahmann 397c346ae0
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
feat(libp2p): shared TCP listeners and AutoTLS.AutoWSS (#10565)
* feat(libp2p): enable shared TCP listeners

* docs: switch mentions of /ws to /tcp/4001

* feat: AutoTLS.AutoWSS

This adds AutoTLS.AutoWSS flag that is set to true by default.

It will check if Addresses.Swarm contain explicit /ws listener,
and if not found, it will append one per every /tcp listener

This way existing TCP ports are reused without any extra configuration,
but we don't break user's who have custom / explicit /ws listener
already.

I also moved logger around, to include Addresses.Swarm inspection
results in `autotls` logger.

* chore: go-libp2p v0.38.1

https://github.com/libp2p/go-libp2p/releases/tag/v0.38.0
https://github.com/libp2p/go-libp2p/releases/tag/v0.38.1

* docs: AutoTLS.AutoWSS and go-libp2p v0.38.x

* chore: p2p-forge/client v0.2.0

https://github.com/ipshipyard/p2p-forge/releases/tag/v0.2.0

* fix: disable libp2p.ShareTCPListener() in PNET

* chore(ci): timeout sharness after 15m

average successful run is  <9 minutes, no need to wait for 20
https://github.com/ipfs/kubo/actions/workflows/sharness.yml?query=is%3Asuccess

---------

Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-12-20 18:41:25 +01:00
..
serialize refactor: using error is instead of == (#10093) 2023-08-22 14:53:29 +00:00
addresses.go Fix typos 2022-03-18 00:58:36 +01:00
api_test.go feat(rpc): Opt-in HTTP RPC API Authorization (#10218) 2023-11-17 01:29:29 +01:00
api.go feat(rpc): Opt-in HTTP RPC API Authorization (#10218) 2023-11-17 01:29:29 +01:00
autonat.go feat: run AutoNAT V2 service in addition to V1 (#10468) 2024-08-06 21:51:45 +02:00
autotls.go feat(libp2p): shared TCP listeners and AutoTLS.AutoWSS (#10565) 2024-12-20 18:41:25 +01:00
bootstrap_peers_test.go go-ipfs-config: fix string formatting of bootstrap peers 2019-06-01 09:03:11 -07:00
bootstrap_peers.go feat(bootstrap): add JS-based va1.bootstrap.libp2p.io (#10575) 2024-11-25 09:04:53 -08:00
config_test.go go-ipfs-config: Add one more test for config.Clone 2018-12-13 16:03:29 -08:00
config.go chore: stop using go-homedir (#10568) 2024-11-05 07:45:11 -08:00
datastore.go feat: expose BlockKeyCacheSize and enable WriteThrough datastore options (#10614) 2024-12-19 23:12:05 +00:00
discovery.go config: remove all options that are marked as REMOVED 2024-01-22 15:33:27 +01:00
dns.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
experiments.go graphsync: remove support for the server 2023-11-22 06:57:45 +03:00
gateway.go core/corehttp!: remove /api/v0 from gateway port 2024-03-05 08:21:13 +00:00
identity.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
import.go feat: expose BlockKeyCacheSize and enable WriteThrough datastore options (#10614) 2024-12-19 23:12:05 +00:00
init_test.go chore: clean migration 2023-11-29 12:29:59 +01:00
init.go feat(flatfs): default to sync=false (#10632) 2024-12-19 16:14:45 -08:00
internal.go feat(bitswap): allow configuring WithWantHaveReplaceSize (#10512) 2024-09-27 20:37:41 -07:00
ipns.go feat: add Ipns.MaxCacheTTL 2024-01-26 11:20:34 +01:00
migration_test.go go-ipfs-config: Removed Peers from migration config 2021-05-03 09:08:16 -07:00
migration.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
mounts.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
peering.go chore: bump go-libp2p v0.22.0 & go1.18&go1.19 2022-09-09 17:09:38 +02:00
plugins.go go-ipfs-config: plugins: don't omit empty config values 2019-08-29 13:56:13 -07:00
profile.go feat: pebbleds profile and plugin (#10530) 2024-10-03 13:58:14 -07:00
provider.go go-ipfs-config: Add very basic (possibly temporary) Provider configs 2019-06-27 12:20:44 -07:00
pubsub.go feat: Pubsub.SeenMessagesStrategy (#9543) 2023-01-27 00:24:35 +01:00
remotepin.go go-ipfs-config: add support for pinning mfs (#116) 2021-01-28 18:05:47 -05:00
reprovider.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
routing_test.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
routing.go feat(routing/http): support IPIP-484 and streaming (#10534) 2024-10-03 22:58:25 +00:00
swarm.go refactor: update to go-libp2p v0.37.0 (#10554) 2024-10-23 01:31:40 +02:00
types_test.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
types.go graphsync: remove support for the server 2023-11-22 06:57:45 +03:00
version.go feat: periodic version check and json config (#10438) 2024-07-24 23:42:19 +02:00