ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.14k stars 928 forks source link

macos m1 warning WARNING: supernode not responding, now trying #1055

Closed bibitoo closed 1 year ago

bibitoo commented 1 year ago

Cant connect tu supernode . sw_vers ProductName: macOS ProductVersion: 12.5.1 BuildVersion: 21G83

I did not change any code, just git pull and cmake build, then run. My prebuild version 2.9.0 can run well , but the new branch(3.1.1) not.

Logan007 commented 1 year ago

Did you also update the supernode to same version?

bibitoo commented 1 year ago

yes,I also update the supernode . I also deploy the supernode at local network machine, set the n2n log level to debug mode, and I can't see supernode recieve package log. Maybe the edge could not send packets to supernode?

bibitoo commented 1 year ago

I have been run codesign -s ~ edge, but nothing change.

JimLee1996 commented 1 year ago

same problem with bibitoo :-(

Logan007 commented 1 year ago

Maybe the edge could not send packets to supernode?

Or, the supernode does not receive it due to some firewall settings? Any MacOS user?

JimLee1996 commented 1 year ago

Another test details: When edge connecting supernode with -S2 (tcp mode), it works. However when edge connecting supernode with -S1 or without -S option (udp mode), it fails.

WtzLAS commented 1 year ago

Another test details: When edge connecting supernode with -S2 (tcp mode), it works. However when edge connecting supernode with -S1 or without -S option (udp mode), it fails.

n2n fails to detect the sock address of the incoming UDP packets so it thinks that they come from unknown hosts

JimLee1996 commented 1 year ago

This issue is confirmed to be fixed on macOS Intel.