ntop / n2n

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

Why do I not see the version number of my Supernodes #987

Closed jradxl closed 2 years ago

jradxl commented 2 years ago

I built the latest version, but I can't see the versions in the Supernode list.

(I used to be able to see them!)

$ echo | nc -w1 -u 127.0.0.1 5644

COMMUNITY '-- header encrypted --'

 ### | TAP             | MAC               | EDGE                  | HINT            | LAST SEEN |     UPTIME
==============================================================================================
SUPERNODE FORWARD
   1 |                 | 62:DA:23:E0:C4:E2 | AAA.28.61.13:6748      |                 |         0 |
   2 |                 | 62:DA:23:E0:D4:B1 | BBB.120.219.8:56667    |                 |         1 |
-------------------------------------------------------------------------------------------------------------
PEER TO PEER
   1 |                 | 62:DA:23:E0:C4:E3 | CCC.89.148.78:5432     |                 |        39 |
-------------------------------------------------------------------------------------------------------------
SUPERNODES
3.1.1-3-gf3e305b    l* | C6:63:9A:42:59:B0 | CCC.89.148.78:6432     | load =        0 |        11 |      23698
                    l  | 72:3D:88:6B:B1:CD | DDD.238.69.182:6432   |                 |           |           
                    l  | 02:5F:F7:D0:47:30 | DDD.238.88.248:6432   |                 |           |           
==============================================================================================
uptime 552 | pend_peers 2 | known_peers 1 | transop 74,1999
super 74,1999 | p2p 0,0
last_super 0 sec ago | last_p2p 1650915875 sec ago
$ edge -h
Welcome to n2n v.3.1.1-4-g009311d for Debian 11.0
Built on Apr 25 2022 21:31:42
Copyright 2007-2022 - ntop.org and contributors
jradxl commented 2 years ago

Oh, I just realised what it was and fixed it. Oracle Free Tier had a problem last week and reallocated the IPv4 addresses. So I had to reconfigure all my Supernodes and Edges But just remembered while I was diagnosing the problem I remove the port I'm using from the Oracle firewall Just put 6432 tcp/udp back and the versions appeared!! Sorry!!

Logan007 commented 2 years ago

Thanks @jradxl for also providing the feedback! I am just glad that we do not have to debug the code now :wink:

Logan007 commented 2 years ago

considered solved, please re-open if required