Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Investigate solutions for connecting two cnds behind NAT #1172

Closed
bonomat opened this issue Aug 6, 2019 · 6 comments
Closed

Investigate solutions for connecting two cnds behind NAT #1172

bonomat opened this issue Aug 6, 2019 · 6 comments
Assignees
Labels
no-activity ⚗️ spike A time-boxed investigation with the primary goal of gaining knowledge

Comments

@bonomat
Copy link
Member

bonomat commented Aug 6, 2019

Problem

Currently, the person in the role of cryptographic Alice needs to send the SWAP REQUEST to the person in the role of the cryptographic Bob. This implies that the person taking the role of cryptographic Bob needs to have a port open.

Goal

Ideally, we want to allow users to use COMIT without opening a port.

Recommendation

I don't remember where this list comes from, so treat it with a grain of salt:

Consider the following:

Keep in mind that the solution needs to be compatible with libp2p.

@thomaseizinger thomaseizinger added the ⚗️ spike A time-boxed investigation with the primary goal of gaining knowledge label Aug 12, 2019
@thomaseizinger thomaseizinger changed the title cnd behind a NAT Investigate solutions for connecting two cnds behind NAT Aug 12, 2019
@github-actions

This comment has been minimized.

@thomaseizinger
Copy link
Contributor

thomaseizinger commented Jan 17, 2020

Circuit relay seems to be fairly easy to implement: https://github.com/libp2p/specs/tree/master/relay

We could contribute that back to rust-libp2p.

This would require us to run nodes somewhere that implement this protocol (they don't have to do anything else).

@thomaseizinger
Copy link
Contributor

Could we just solve this by using IPv6 ?!?!

cc @D4nte @bonomat

@D4nte
Copy link
Contributor

D4nte commented Jan 27, 2020

Could we just solve this by using IPv6 ?!?!

cc @D4nte @bonomat

I recently checked and very few ISPs support ipv6 in Australia.
In what countries is IPV6 available on consumer isp?
I feel like we are raising the entry criteria with such requirement.

@thomaseizinger
Copy link
Contributor

Could we just solve this by using IPv6 ?!?!
cc @D4nte @bonomat

I recently checked and very few ISPs support ipv6 in Australia.
In what countries is IPV6 available on consumer isp?
I feel like we are raising the entry criteria with such requirement.

I wouldn't make it a must but it seems like something worth trying out and documenting: if you have IPv6, you can just trade peer to peer :)

@github-actions
Copy link

github-actions bot commented Jun 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-activity ⚗️ spike A time-boxed investigation with the primary goal of gaining knowledge
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants