nim-libp2p
nim-libp2p copied to clipboard
Autonat protocol
Implementation of the AutoNAT Protocol
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 https://github.com/libp2p/rust-libp2p/pull/2262/
@lchenut I just pushed a commit which extracts the conn manager tracking from dialAndUpgrade, you should now be able to use dialAndUpgrade in canDial
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