Marten Seemann
8baf05b71d
peerstore: remove gogo-specific Protobuf magic
2023-01-09 09:46:30 +13:00
Marten Seemann
6e2f434578
peerstore: move the protobuf to pstoreds
2023-01-08 16:20:51 +13:00
Marten Seemann
4ad3734091
circuitv2: correctly set the transport in the ConnectionState ( #1972 )
2023-01-06 21:48:12 -08:00
Marten Seemann
2cae0eab9b
roadmap: remove optimizations of the TCP-based handshake ( #1959 )
2023-01-06 18:35:53 -08:00
Marten Seemann
2ac8a31112
Merge pull request #1975 from libp2p/identify-remove-delta
...
identify: remove support for Identify Delta
2023-01-06 18:14:52 -08:00
Marten Seemann
5095f44da2
identify: remove snapshot handling
2023-01-07 14:41:29 +13:00
Marten Seemann
56078a18f7
identify: simply stream handling logic when sending pushes
2023-01-07 14:41:29 +13:00
Marten Seemann
aa1f32484a
identify: remove support for Identify Delta
2023-01-07 14:41:27 +13:00
Marten Seemann
0e9abdf228
identify: emit EvtPeerProtocolsUpdated for Identify Push as well
2023-01-07 14:39:56 +13:00
Marten Seemann
2a49ff38ba
core: remove introspection package ( #1978 )
2023-01-06 17:24:28 -08:00
Marten Seemann
1943c649cd
identify: remove old code targeting Go 1.17 ( #1964 )
2023-01-06 17:23:04 -08:00
Marten Seemann
c67d4b86e4
add WebTransport to the list of default transports ( #1915 )
2023-01-06 17:22:31 -08:00
Marten Seemann
a9ec918148
core/crypto: drop all OpenSSL code paths ( #1953 )
2023-01-06 17:18:13 -08:00
muXxer
09c59cbbfb
chore: use generic LRU cache ( #1980 )
2023-01-05 12:19:53 -08:00
Marten Seemann
82315917f7
release v0.24.2 ( #1969 )
2022-12-30 20:36:29 -08:00
Marten Seemann
12131eef23
webtransport: update webtransport-go to v0.4.3 ( #1968 )
2022-12-29 18:22:11 -08:00
Marten Seemann
e59aba2d09
webtransport: initialize a NullResourceManager if none is provided ( #1962 )
2022-12-29 15:28:09 -08:00
Marten Seemann
47f9ea1306
release v0.24.1 ( #1945 )
2022-12-11 17:01:03 -08:00
Marten Seemann
735891d229
routed host: return Connect error if FindPeer doesn't yield new addresses ( #1946 )
2022-12-11 16:59:38 -08:00
Marten Seemann
3f024f703e
chore: update examples to v0.24.0 ( #1936 )
2022-12-10 14:26:23 -08:00
Marten Seemann
3ecf0b9aa9
webtransport: fix flaky accept queue test ( #1938 )
2022-12-09 17:00:17 -08:00
Marten Seemann
2c82176c35
quic: fix race condition in TestClientCanDialDifferentQUICVersions ( #1937 )
2022-12-08 14:46:07 -08:00
Marten Seemann
e368799d18
quic: update quic-go to v0.31.1 ( #1942 )
2022-12-08 13:14:31 -08:00
Marten Seemann
d31bf35522
webtransport: update webtransport-go to v0.4.2 ( #1941 )
2022-12-08 11:51:59 -08:00
Marten Seemann
4c74181d0d
release v0.24.0 ( #1934 )
2022-12-05 23:10:27 -08:00
Marten Seemann
ef603f4dc6
chore: update deps ( #1932 )
2022-12-05 22:26:08 -08:00
Marten Seemann
881a8008c8
ci: fix path to interop test plan composition file ( #1933 )
2022-12-05 21:53:56 -08:00
Marco Munizaga
5d22740c38
Disable support for signed/static TLS certificates in WebTransport ( #1927 )
2022-12-05 13:27:12 -08:00
Marten Seemann
cefbf97aa6
webtransport: add PSK to constructor, and fail if it is used ( #1929 )
...
That way, it won't be possible to construct a host with a PSK
when WebTransport is enabled. This is desireable since WebTransport doesn't
support private network (same as QUIC).
2022-12-05 12:44:15 -08:00
Oleg
2cc4de5126
use a different set of default transports when PSK is enabled ( #1921 )
...
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com>
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com>
2022-12-02 20:18:26 +13:00
Marco Munizaga
1c8eaabfd3
transport.Listener,quic: Support multiple QUIC versions with the same Listener. Only return a single multiaddr per listener. ( #1923 )
...
* Revert "transport.Listener returns a list of multiaddrs"
This reverts commit 8962b2ae33
.
* Support multiple QUIC versions on the same listener
* No long running accept loop
* Don't use a goroutine
* PR comments
2022-12-01 14:06:13 -08:00
Marco Munizaga
dc7f64e480
chore: update webtransport-go to get fix ( #1924 )
2022-11-29 11:53:25 -08:00
Marten Seemann
f73205096f
quic / webtransport: make it possible to listen on the same address / port ( #1905 )
...
* quic: add an integration test for QUIC version support
* quic: refactor the stateless reset test
* quic: simplify the interface of the noreuseConn
DecreaseCount now closes the underlying UDP conn, so that callers don't
need to pay attention if they're dealing with a reuseConn or a
noreuseConn.
* implement a quicreuse to manage QUIC connections
* quicreuse: introduce options
* config: construct the quicreuse.ConnManager using fx
* webtransport: use the quicreuse
* add integration test for QUIC and WebTranport sharing the same UDP addr
* Handle errors in accept loop goroutine
* Add comment
* Remove todo
* Rename mutexes
* Cleanup extra close
* Only log on err
* Use webtransport-go 0.4.0
* Fix expected error
Co-authored-by: Marco Munizaga <git@marcopolo.io>
2022-11-28 15:55:38 -08:00
Marco Munizaga
9fad5b06dd
autorelay: fix flaky TestReconnectToStaticRelays ( #1903 )
...
* Block on events to make this test less flaky
* Check against delta rather than just pull from chan
* Don't check relay count twice
* Use deltas rather than eventuall numRelays
* Nits
2022-11-22 15:24:37 -07:00
Marco Munizaga
9c9122df67
swarm / rcmgr: synchronize the concurrent outbound dials with limits ( #1898 )
...
* Synchronize the concurrent outbound dials with limits
* Add comment
2022-11-22 15:24:22 -07:00
Marten Seemann
6a7141e2ad
add QUIC v1 addresses to the default listen addresses ( #1914 )
2022-11-22 14:53:39 -07:00
Marten Seemann
26a5edf765
webtransport: update webtransport-go to v0.3.0 ( #1895 )
2022-11-21 18:59:45 -08:00
Marten Seemann
683bc67a37
tls: fix flaky TestHandshakeConnectionCancellations test ( #1896 )
2022-11-21 18:45:49 -08:00
Marten Seemann
23bef30d34
holepunch: disable the resource manager in tests ( #1897 )
2022-11-21 18:37:48 -08:00
Marten Seemann
14ca991a41
transports: expose the name of the transport in the ConnectionState ( #1911 )
2022-11-21 17:34:02 -08:00
Marten Seemann
ee5def5bcb
Merge pull request #1912 from libp2p/security-protocol-order
...
respect the user's security protocol preference order
2022-11-22 11:55:41 +13:00
Marten Seemann
75a0d4288b
circuitv2: disable the resource manager in tests ( #1899 )
2022-11-21 13:54:14 -08:00
Marten Seemann
d72d35c025
add an integration test for the ordering of security protocols
2022-11-22 10:46:32 +13:00
Marten Seemann
1ecf340f51
config: respect the user's security protocol preference order
2022-11-22 10:46:32 +13:00
Marten Seemann
6d3926394d
Merge pull request #1907 from libp2p/expose-security
...
expose the security protocol on the ConnectionState
2022-11-22 10:45:22 +13:00
Marten Seemann
83b4e3cf9c
expose the security protocol on the ConnectionState
2022-11-20 18:36:01 +13:00
Marten Seemann
e2a246d5b6
upgrader: absorb SSMuxer into the upgrader
2022-11-20 18:30:00 +13:00
Marten Seemann
9e136c2531
swarm: move the additional peer ID check to the swarm
...
Only a subset of the transports use the ugprader (which uses the
SSMuxer). It's better to perform this check for every transport.
2022-11-20 14:29:49 +13:00
Marten Seemann
8dea194261
core/network: rename ConnectionState.NextProto to StreamMultiplexer
2022-11-20 13:23:45 +13:00
Marco Munizaga
86d5a5643e
Update go-netroute so that we get the correct priority of routes ( #1902 )
2022-11-18 13:10:32 -08:00