Giter Club home page Giter Club logo

beam's People

Contributors

abraaocaldas avatar bfergerson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

beam's Issues

UDP Punch Hole on a Symmetric NAT Network

Hello, first of all thanks for this amazing library!
I am configuring a P2P application where Peers communicate on different networks through UDP Punch Hole. While testing locally everything is working as expected.

Then I moved the Punch Hole server on a linux server with a public IP with port 15000 (which was opened). I can succesfully connect two clients using my ISP network, but unfortunately I can't connect two clients using my LTE network. I think that's caused due to Symmetric NAT that my provider is doing.

If I ping my linux server using my LTE network I go through these local IPS:

  1    <1 ms    <1 ms    <1 ms  192.168.2.1 //this is my router (firewall disabled)
  2     *        *        *     Time out. //this is probably the cell tower?
  3    85 ms    28 ms    23 ms  10.128.74.29
  4    34 ms    21 ms    23 ms  10.128.74.14
  5    22 ms    22 ms    21 ms  10.128.74.236
  6    34 ms    25 ms    24 ms  10.128.74.1
  7    31 ms    25 ms    23 ms  10.176.16.118
  8    39 ms    22 ms    23 ms  83.xxx.xx.xxx //this is the first public IP

While trying to establish a UDP connection, Phase 2 fails. In the Punch server logs I can see my LTE public IP and ports that was assigned to each client on Phase 1.

Can you help me with this? I know there is a way to do it, but unfortunately I am struggling in finding that.

Thanks!

Could not resolve constructor for HandshakeMessage

Hello,
I'm trying to run the example of udp hole punching, when I try to start the UDPHoleClient I get the exception:

Could not resolve constructor for class com.codebrig.beam.system.messages.HandshakeMessage

On Android Studio with Java JDK 1.8.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.