No error output when fail to handshake due to OS time difference
Author: snailweiCreated Nov 29, 2023Updated Jul 24, 2025
Hi,
I am using the v3.0 stable, I found that when the supernode encryption mode was on, and if the supernode OS and edge OS have time difference, usually above 1 minute, the edge failed to join the N2N, and no error output.
After time sync in both supernode and edge, the issue was solved. Would you add relevant error output when the underlayer failed to handshake due to encrypt/decrypt issue?
My supernode config
/usr/bin/supernode -f -p 12345 -v -F ABC -c /etc/n2n/community.listMy edge config
edge.conf
=========
-f
-l x.x.x.x:12345
-r
-E
-z2
-m 02:e7:89:72:2a:32
-d n2n
--persistent
-c boston
-I node
-J PASSWORD
-P XXXXXXXXbLkp465qQ0dwNUmZia70QKG6XXXXXXX
-A5
-k SecretKey
-a 10.120.10.x/16Source: ntop/n2n