News for hackers. Stuff that matters.
Re:Nebula, Slack's Open Source Global Overlay Network by rahimnathwani on Tuesday November 19, 2019 @09:36PM (#21580647)
Can nodes communicate with each other directly even if they're behind NAT, without port mappings or UPnP?

I know there are ways to make this happen (e.g. using the techniques from Samy Kamkar's pwnat/chownat), but am not sure whether Nebula is designed to work within this constraint.

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.