- Verify that an incoming AutoNAT dial comes from a connected peer. See PR 5597.
- Due to the refactor of
Transport
it's no longer required to create a seperate transport for AutoNAT where port reuse is disabled. This information is now passed by the behaviour. See PR 4568. - Introduce the new AutoNATv2 protocol.
It's split into a client and a server part, represented in their respective modules
Features:
- The server now always dials back over a newly allocated port. This more accurately reflects the reachability state for other peers and avoids accidental hole punching.
- The server can now test addresses different from the observed address (i.e., the connection to the server was made through a
p2p-circuit
). To mitigate against DDoS attacks, the client has to send more data to the server than the dial-back costs. See PR 5526.
- Use
web-time
instead ofinstant
. See PR 5347.
- Remove
Clone
,PartialEq
andEq
implementations onEvent
and its sub-structs. TheEvent
also contains errors which are not clonable or comparable. See PR 3914.
- Raise MSRV to 1.65. See PR 3715.
- Store server
PeerId
s inHashSet
to avoid duplicates and lower memory consumption. See PR 3736.
- Migrate from
prost
toquick-protobuf
. This removesprotoc
dependency. See PR 3312.
-
Update to
libp2p-core
v0.39.0
. -
Require the node's local
PeerId
to be passed into the constructor oflibp2p_autonat::Behaviour
. See PR 3153. -
Update to
libp2p-request-response
v0.24.0
. -
Update to
libp2p-swarm
v0.42.0
.
- Skip unparsable multiaddr in
DialRequest::from_bytes
. See PR 3351.
-
Update to
libp2p-core
v0.38.0
. -
Update to
libp2p-swarm
v0.41.0
. -
Update to
libp2p-request-response
v0.23.0
. -
Replace
Behaviour
'sNetworkBehaviour
implementioninject_*
methods with the newon_*
methods. See PR 3011. -
Update
rust-version
to reflect the actual MSRV: 1.62.0. See PR 3090.
-
Update to
libp2p-core
v0.37.0
. -
Update to
libp2p-swarm
v0.40.0
. -
Update to
libp2p-request-response
v0.22.0
.
-
Update to
libp2p-swarm
v0.39.0
. -
Update to
libp2p-request-response
v0.21.0
. -
Update to
libp2p-core
v0.36.0
.
-
Update prost requirement from 0.10 to 0.11 which no longer installs the protoc Protobuf compiler. Thus you will need protoc installed locally. See PR 2788.
-
Update to
libp2p-swarm
v0.38.0
. -
Update to
libp2p-request-response
v0.20.0
. -
Update to
libp2p-core
v0.35.0
.
-
Update to
libp2p-core
v0.34.0
. -
Update to
libp2p-swarm
v0.37.0
. -
Update to
libp2p-request-response
v0.19.0
.
- Export
DEFAULT_PROTOCOL_NAME
.
-
Update to
libp2p-core
v0.33.0
. -
Update to
libp2p-swarm
v0.36.0
. -
Update to
libp2p-request-response
v0.18.0
. -
Add
Config::only_global_ips
to skip peers that are observed at a private IP-address (see PR 2618).
-
Update to
libp2p-swarm
v0.35.0
. -
Update to
libp2p-request-response
v0.17.0
.
-
Update to
libp2p-core
v0.32.0
. -
Update to
libp2p-swarm
v0.34.0
. -
Update to
libp2p-request-response
v0.16.0
. -
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
- Initial release.