News for hackers. Stuff that matters.
Re:Nebula, Slack's Open Source Global Overlay Network by TheDong on Wednesday November 20, 2019 @01:28AM (#21581554)
Having two nodes communicate to each other when you have a cooperating third-party server (a lighthouse or discovery node) that isn't behind a nat isn't hard. That's what STUN servers and other forms of UDP hole punching accomplish.

pwnat is notable because it doesn't require having a public stun-like server, but nebula already assumes there's public servers, so traversing nat is a non-issue.

The readme says "Discovery nodes allow individual peers to find each other and optionally use UDP hole punching to establish connections from behind most firewalls or NATs".

In practice, I didn't see any code that implements it, but I didn't look too hard.

Re:Nebula, Slack's Open Source Global Overlay Network by sanxiyn on Wednesday November 20, 2019 @07:21AM (#21583242)
It's there in lighthouse.go.