- Fix issue where AutoNATv2 client was not resetting address status on
FromSwarm::ExternalAddrExpiredevent. See PR 6207.
- Fix infinity loop on wrong
noncewhen performingdial_back. See PR 5848.
- Verify that an incoming AutoNAT dial comes from a connected peer. See PR 5597.
- Deprecate
voidcrate. See PR 5676. - Update to
libp2p-request-responsev0.28.0.
- Due to the refactor of
Transportit's no longer required to create a separate 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-timeinstead ofinstant. See PR 5347.
- Remove
Clone,PartialEqandEqimplementations onEventand its sub-structs. TheEventalso contains errors which are not cloneable or comparable. See PR 3914.
- Raise MSRV to 1.65. See PR 3715.
- Store server
PeerIds inHashSetto avoid duplicates and lower memory consumption. See PR 3736.
- Migrate from
prosttoquick-protobuf. This removesprotocdependency. See PR 3312.
-
Update to
libp2p-corev0.39.0. -
Require the node's local
PeerIdto be passed into the constructor oflibp2p_autonat::Behaviour. See PR 3153. -
Update to
libp2p-request-responsev0.24.0. -
Update to
libp2p-swarmv0.42.0.
- Skip unparsable multiaddr in
DialRequest::from_bytes. See PR 3351.
-
Update to
libp2p-corev0.38.0. -
Update to
libp2p-swarmv0.41.0. -
Update to
libp2p-request-responsev0.23.0. -
Replace
Behaviour'sNetworkBehaviourimplementationinject_*methods with the newon_*methods. See PR 3011. -
Update
rust-versionto reflect the actual MSRV: 1.62.0. See PR 3090.
-
Update to
libp2p-corev0.37.0. -
Update to
libp2p-swarmv0.40.0. -
Update to
libp2p-request-responsev0.22.0.
-
Update to
libp2p-swarmv0.39.0. -
Update to
libp2p-request-responsev0.21.0. -
Update to
libp2p-corev0.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-swarmv0.38.0. -
Update to
libp2p-request-responsev0.20.0. -
Update to
libp2p-corev0.35.0.
-
Update to
libp2p-corev0.34.0. -
Update to
libp2p-swarmv0.37.0. -
Update to
libp2p-request-responsev0.19.0.
- Export
DEFAULT_PROTOCOL_NAME.
-
Update to
libp2p-corev0.33.0. -
Update to
libp2p-swarmv0.36.0. -
Update to
libp2p-request-responsev0.18.0. -
Add
Config::only_global_ipsto skip peers that are observed at a private IP-address (see PR 2618).
-
Update to
libp2p-swarmv0.35.0. -
Update to
libp2p-request-responsev0.17.0.
-
Update to
libp2p-corev0.32.0. -
Update to
libp2p-swarmv0.34.0. -
Update to
libp2p-request-responsev0.16.0. -
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
- Initial release.