Skip to content

Conversation

@lchenut
Copy link
Contributor

@lchenut lchenut commented Jul 8, 2022

Implementation of the AutoNAT Protocol

@mxinden
Copy link

mxinden commented Jul 11, 2022

Really cool to see this happening! Let me know in case there are any questions in regards to the specification.

Also //CC @elenaf9 who implemented AutoNAT in rust-libp2p libp2p/rust-libp2p#2262

Copy link

@elenaf9 elenaf9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool!

@Menduist
Copy link
Contributor

@lchenut I just pushed a commit which extracts the conn manager tracking from dialAndUpgrade, you should now be able to use dialAndUpgrade in canDial

@Menduist
Copy link
Contributor

Ok, last detail before my approval, we should use a semaphore to limit the number of concurrent dial backs to avoid attacks

1 max seems like a sane default

@Menduist Menduist changed the title Autonat Autonat protocol Aug 1, 2022
Menduist
Menduist previously approved these changes Aug 1, 2022
Menduist
Menduist previously approved these changes Aug 3, 2022
Menduist
Menduist previously approved these changes Aug 3, 2022
@lchenut lchenut merged commit 2332813 into unstable Aug 23, 2022
@lchenut lchenut deleted the autonat branch August 23, 2022 15:49
@Menduist Menduist mentioned this pull request Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants