Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hole punching alternative #130

Open
luislorenzom opened this issue Feb 13, 2016 · 5 comments
Open

hole punching alternative #130

luislorenzom opened this issue Feb 13, 2016 · 5 comments

Comments

@luislorenzom
Copy link

I have read in your webpage that the latest release of TomP2P does not support hole punching. I would like to know if TomP2P has any alternative to send direct messages between to peers in different networks, that is, between NAT-ed LAN networks, either implemented in the library or planned to be in the future. If it exists, is there any example available?

@sytolk
Copy link

sytolk commented Mar 11, 2016

You can check this example
TomP2P/examples/src/main/java/net/tomp2p/examples/ExampleHoleP.java

@luislorenzom
Copy link
Author

I tested it a few weeks ago, but throws me a NullPointerException at line 43, when it sends a message from "unreachable1" to "unreachable2". I don't know if is a library problem or my dev environment. However, thanks for your help!

@kg6zvp
Copy link

kg6zvp commented Oct 21, 2017

Any progress on this?

@luislorenzom
Copy link
Author

Still no answer from main developers :-/

@tbocek
Copy link
Member

tbocek commented Oct 31, 2017

Sorry for the delay, we are working on https://github.com/jonaswagner/sctp4j, which will make hole punching much easier. The idea is to have SCTP tunneling over UDP. That means if we have a UDP connection we can "upgrade" to SCTP. That also means we will ditch TCP and use UDP and SCTP only.

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

No branches or pull requests

4 participants