ntop / n2n

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

Error connecting EDGE to supernode #904

Closed xmaoqq closed 2 years ago

xmaoqq commented 2 years ago

Sometimes my PPPOE reconnects, and my IP address will change! Then EDGE will report an error ! This error will continue until I restart edge.service。

erro log

Dec 21 08:24:47 EDGE-NODE1 edge: 21/Dec/2021 08:24:47 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443] Dec 21 08:25:03 EDGE-NODE1 edge: 21/Dec/2021 08:25:03 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443] Dec 21 08:25:19 EDGE-NODE1 edge: 21/Dec/2021 08:25:19 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443] Dec 21 08:25:35 EDGE-NODE1 edge: 21/Dec/2021 08:25:35 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443] Dec 21 08:25:51 EDGE-NODE1 edge: 21/Dec/2021 08:25:51 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443] Dec 21 08:26:07 EDGE-NODE1 edge: 21/Dec/2021 08:26:07 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443] Dec 21 08:26:23 EDGE-NODE1 edge: 21/Dec/2021 08:26:23 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443] Dec 21 08:26:39 EDGE-NODE1 edge: 21/Dec/2021 08:26:39 [edge_utils.c:1541] WARNING: supernode not responding, now trying [X.X.XX:4443]

Logan007 commented 2 years ago

At one of my places, I have it running under similar circumstances. And, I can assure you that it works – at least in my setup. So, let's have a look at the detaills.

What is the exact version you have running?

And what are your command line parameters?

Does this error continue more than 45 times? If you run it with -vvvvv, do you see the message "disconnected supernode" and "reconnected supernode" after these 45 times?

xmaoqq commented 2 years ago

Version is n2n-3.1.0-1073.x86_64 edge.conf

-c=XXXXXX -k=XXXXXXX -a=XXXXXX -r -f -l=XXXXX:4443

This error continue more than 45 times? yes it is! I did not use the -vvvvv parameter

Logan007 commented 2 years ago

I did not use the -vvvvv parameter

The more detailed log output when using -vvvvv would help with debugging. Especially, we could see if the "disconnected supernode" and "reconnected to supernode" messages appear after 45 attempts which would indicate if the the code works as intended.

edge.conf

Do you use any special -p port parameter?

xmaoqq commented 2 years ago

I open the -vvvvv the EDGE I not use special -p port parameter. Today PPPOE reconnects, EDGE report error !As before, I restarted the edge. The service is normal message :

28/Dec/2021 08:42:58 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:42:58 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:42:58 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:42:58 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:42:58 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:42:58 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:42:58 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 2] 28/Dec/2021 08:42:58 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:42:58 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:42:58 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:42:58 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:42:58 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:42:58 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:42:58 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:42:58 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:42:58 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:42:59 [n2n.c:288] supernode2sock successfully resolves supernode IPv4 address for abc.supernode.com 28/Dec/2021 08:42:59 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:42:59 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:42:59 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:42:59 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:42:59 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:42:59 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:00 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:00 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:00 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:00 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:00 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:00 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:00 [n2n.c:611] Purging old registrations 28/Dec/2021 08:43:00 [n2n.c:616] Remove 0 registrations 28/Dec/2021 08:43:00 [edge_utils.c:1184] send PING to supernodes 28/Dec/2021 08:43:00 [edge_utils.c:1040] sent=38 to 28/Dec/2021 08:43:01 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:01 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:01 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:01 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:01 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:01 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:01 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:01 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 1] 28/Dec/2021 08:43:01 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:01 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:01 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:01 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:01 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:01 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:01 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:01 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:01 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:02 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:02 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:02 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:02 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:02 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:02 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:03 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:03 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:03 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:03 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:03 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:03 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:04 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:04 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:04 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:04 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:04 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:04 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:04 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:04 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 0] 28/Dec/2021 08:43:04 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:04 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:04 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:04 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:04 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:04 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:04 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:04 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:04 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:05 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:05 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:05 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:05 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:05 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:05 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:06 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:06 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:06 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:06 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:06 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:06 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:07 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:07 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:07 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:07 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:07 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:07 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:07 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:07 [edge_utils.c:1541] WARNING: supernode not responding, now trying [abc.supernode.com:4443] 28/Dec/2021 08:43:07 [edge_utils.c:1571] reconnected to supernode 28/Dec/2021 08:43:07 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 3] 28/Dec/2021 08:43:07 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:07 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:07 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:07 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:07 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:07 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:07 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:07 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:07 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:08 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:08 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:08 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:08 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:08 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:08 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:09 [n2n.c:288] supernode2sock successfully resolves supernode IPv4 address for abc.supernode.com 28/Dec/2021 08:43:09 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:09 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:09 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:09 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:09 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:09 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:10 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:10 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:10 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:10 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:10 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:10 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:10 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:10 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 2] 28/Dec/2021 08:43:10 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:10 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:10 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:10 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:10 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:10 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:10 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:10 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:10 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:11 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:11 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:11 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:11 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:11 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:11 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:12 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:12 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:12 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:12 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:12 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:12 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:13 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:13 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:13 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:13 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:13 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:13 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:13 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:13 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 1] 28/Dec/2021 08:43:13 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:13 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:13 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:13 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:13 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:13 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:13 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:13 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:13 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:14 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:14 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:14 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:14 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:14 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:14 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:15 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:15 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:15 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:15 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:15 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:15 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:16 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:16 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:16 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:16 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:16 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:16 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:16 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:16 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 0] 28/Dec/2021 08:43:16 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:16 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:16 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:16 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:16 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:16 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:16 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:16 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:16 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:17 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:17 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:17 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:17 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:17 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:17 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:18 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:18 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:18 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:18 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:18 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:18 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:20 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:20 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:20 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:20 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:20 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:20 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:20 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:20 [edge_utils.c:1541] WARNING: supernode not responding, now trying [abc.supernode.com:4443] 28/Dec/2021 08:43:20 [edge_utils.c:1571] reconnected to supernode 28/Dec/2021 08:43:20 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 3] 28/Dec/2021 08:43:20 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:20 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:20 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:20 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:20 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:20 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:20 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:20 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:20 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:21 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:21 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:21 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:21 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:21 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:21 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:22 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:22 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:22 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:22 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:22 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:22 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:23 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:23 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:23 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:23 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:23 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:23 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:23 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:23 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 2] 28/Dec/2021 08:43:23 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:23 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:23 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:23 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:23 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:23 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:23 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:23 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:23 [edge_utils.c:2559] skipping REGISTER from self 28/Dec/2021 08:43:24 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:24 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:24 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:24 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:24 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:24 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:24 [n2n.c:288] supernode2sock successfully resolves supernode IPv4 address for abc.supernode.com 28/Dec/2021 08:43:25 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:25 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:25 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:25 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:25 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:25 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:26 [edge_utils.c:2334] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 28/Dec/2021 08:43:26 [transform_aes.c:82] transop_encode_aes 42 bytes plaintext 28/Dec/2021 08:43:26 [edge_utils.c:2284] encode PACKET of 96 bytes, 42 bytes data, 54 bytes overhead, transform 3 28/Dec/2021 08:43:26 [edge_utils.c:2084] multicast or broadcast destination peer, using supernode 28/Dec/2021 08:43:26 [edge_utils.c:2144] Tx PACKET of 96 bytes to FF:FF:FF:FF:FF:FF [X.X.X.X:4443] 28/Dec/2021 08:43:26 [edge_utils.c:1040] sent=96 to 28/Dec/2021 08:43:26 [edge_utils.c:1522] update_supernode_reg: doing fast retry. 28/Dec/2021 08:43:26 [edge_utils.c:1581] registering with supernode [abc.supernode.com:4443][number of supernodes 1][attempts left 1] 28/Dec/2021 08:43:26 [edge_utils.c:1262] send REGISTER_SUPER to [X.X.X.X:4443] 28/Dec/2021 08:43:26 [edge_utils.c:1040] sent=79 to 28/Dec/2021 08:43:26 [edge_utils.c:592] registering with multicast group 224.0.0.68:1968 28/Dec/2021 08:43:26 [edge_utils.c:1406] send REGISTER to [224.0.0.68:1968] 28/Dec/2021 08:43:26 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:26 [edge_utils.c:1406] send REGISTER to [E.D.G.E:24961] 28/Dec/2021 08:43:26 [edge_utils.c:1040] sent=61 to 28/Dec/2021 08:43:26 [edge_utils.c:2419] Rx N2N_UDP of size 61 from [192.168.11.3:55137] 28/Dec/2021 08:43:26 [edge_utils.c:2559] skipping REGISTER from self

Logan007 commented 2 years ago

Thank you for posting it!

It looks as if the edge performs the reconnect the socket after 45 tries (reconnected to supernode). Also, it still is sending out the REGISTER_SUPER to the supernode. But it does not get the answer REGISTER_SUPER_ACK.

It would be interesting to see if the supernode receives the REGISTER_SUPER and sends back the REGISTER_SUPER_ACK. But that would require same -vvvvv log from the supernode. Would it work if you use ntop's public supernode at supernode.ntop.org:7777? Does the supernode have a special firewall? For better testing, can you manually start the new address lease, i.e. by a router resest (so you do not have to wait until the provider starts it)?

Are there special router properties of the edge's internet router?

Logan007 commented 2 years ago

Any news?

huddhudd commented 2 years ago

PS D:\n2n\3> .\edge_upx.exe -c hudd -k hudd -a 192.168.100.1 -l supernode.ntop.org:7777 -vvvv 22/Feb/2022 13:58:57 [edge_utils.c:3798] adding supernode = supernode.ntop.org:7777 22/Feb/2022 13:58:57 [edge.c:1072] WARNING: switching to AES as key was provided 22/Feb/2022 13:58:57 [edge.c:1112] starting n2n edge 3.1.0-54-g45520f3-dirty-r1127 x64_static Jan 22 2022 12:10:15 22/Feb/2022 13:58:57 [edge.c:1118] using compression: none. 22/Feb/2022 13:58:57 [edge.c:1119] using AES cipher. 22/Feb/2022 13:58:57 [edge.c:1132] WARNING: community and encryption key must differ, otherwise security will be compromised 22/Feb/2022 13:58:57 [edge_utils.c:403] number of supernodes in the list: 1 22/Feb/2022 13:58:57 [edge_utils.c:405] supernode 0 => supernode.ntop.org:7777 22/Feb/2022 13:58:57 [transform_aes.c:210] setup_aes_key 128-bit key setup completed 22/Feb/2022 13:58:57 [edge_utils.c:494] successfully created resolver thread 22/Feb/2022 13:58:57 [edge_utils.c:499] successfully created port mapping thread 22/Feb/2022 13:58:57 [edge.c:1143] use manually set IP address 22/Feb/2022 13:58:57 [edge.c:1161] skip PING to supernode 22/Feb/2022 13:58:57 [edge.c:1225] skip auto IP address asignment Open device [name={83622BFF-3789-4D2D-9B63-9A5F13CBC04E}][ip=192.168.100.1][ifName=以太网 2][MTU=1290][mac=00:FF:83:62:2B:FF]

确定。

22/Feb/2022 13:58:57 [edge.c:1258] created local tap device IP: 192.168.100.1, Mask: 255.255.255.0, MAC: 00:FF:83:62:2B:FF 22/Feb/2022 13:58:57 [edge.c:1356] edge started 22/Feb/2022 13:58:57 [edge_utils.c:1538] update_supernode_reg: doing fast retry. 22/Feb/2022 13:58:57 [edge_utils.c:2349] Rx TAP packet ( 146) for 33:33:00:01:00:02 22/Feb/2022 13:58:57 [edge_utils_win32.c:85] Adapter Index: 12 22/Feb/2022 13:58:57 [edge_utils_win32.c:86] Combo Index: 12 22/Feb/2022 13:58:57 [edge_utils_win32.c:87] Adapter Name: {8DD4E30D-7C84-462E-B11D-9AC9F98F37DA} 22/Feb/2022 13:58:57 [edge_utils_win32.c:88] Adapter Desc: Realtek PCIe GbE Family Controller 22/Feb/2022 13:58:57 [edge_utils_win32.c:89] Adapter Type: 6 22/Feb/2022 13:58:57 [edge_utils_win32.c:91] Adapter Addr: 70:8B:CD:7D:4C:C7 22/Feb/2022 13:58:57 [edge_utils_win32.c:92] DHCP Enabled: 0 22/Feb/2022 13:58:57 [edge_utils_win32.c:93] DHCP Server: 22/Feb/2022 13:58:57 [edge_utils_win32.c:94] IP Address: 192.168.0.58 22/Feb/2022 13:58:57 [edge_utils_win32.c:95] IP Mask: 255.255.255.0 22/Feb/2022 13:58:57 [edge_utils_win32.c:96] Gateway: 192.168.0.1 22/Feb/2022 13:58:57 [edge_utils.c:1148] successfully joined multicast group 224.0.0.68:1968 22/Feb/2022 13:58:57 [edge_utils.c:1596] registering with supernode [supernode.ntop.org:7777][number of supernodes 1][attempts left 2] 22/Feb/2022 13:58:57 [edge_utils.c:1278] send REGISTER_SUPER to [151.11.50.180:7777] 22/Feb/2022 13:58:57 [edge_utils.c:1056] sent=79 to 22/Feb/2022 13:58:57 [edge_utils.c:608] registering with multicast group 224.0.0.68:1968 22/Feb/2022 13:58:57 [edge_utils.c:2349] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:58:57 [edge_utils.c:1422] send REGISTER to [224.0.0.68:1968] 22/Feb/2022 13:58:57 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:58:57 [edge_utils.c:1056] sent=61 to 22/Feb/2022 13:58:57 [edge_utils.c:2349] Rx TAP packet ( 78) for 33:33:FF:B3:E4:93 22/Feb/2022 13:58:57 [edge_utils.c:2434] Rx N2N_UDP of size 61 from [192.168.0.58:61772] 22/Feb/2022 13:58:57 [edge_utils.c:2349] Rx TAP packet ( 62) for 33:33:00:00:00:02 22/Feb/2022 13:58:57 [edge_utils.c:2574] skipping REGISTER from self 22/Feb/2022 13:58:57 [edge_utils.c:2349] Rx TAP packet ( 110) for 33:33:00:00:00:16 22/Feb/2022 13:58:57 [n2n.c:604] Purging old registrations 22/Feb/2022 13:58:57 [n2n.c:609] Remove 0 registrations 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 110) for 33:33:00:00:00:16 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 146) for 33:33:00:01:00:02 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:58:58 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 86) for 33:33:00:00:00:01 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:16 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:FB 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 112) for 33:33:00:00:00:FB 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:16 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:FB 22/Feb/2022 13:58:58 [edge_utils.c:2349] Rx TAP packet ( 112) for 33:33:00:00:00:FB 22/Feb/2022 13:58:59 [edge_utils.c:2349] Rx TAP packet ( 110) for 33:33:00:00:00:16 22/Feb/2022 13:58:59 [n2n_port_mapping.c:302] NAT-PMP using gateway: 192.168.198.1 22/Feb/2022 13:58:59 [n2n_port_mapping.c:319] NAT-PMP read response returned -100 (TRY AGAIN) 22/Feb/2022 13:58:59 [edge_utils.c:2349] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:58:59 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:00 [n2n_port_mapping.c:319] NAT-PMP read response returned -100 (TRY AGAIN) 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 146) for 33:33:00:01:00:02 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 42) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:00 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:16 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 54) for 01:00:5E:00:00:16 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:16 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:16 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 54) for 01:00:5E:00:00:16 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:16 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 54) for 01:00:5E:00:00:16 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 70) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 90) for 33:33:00:00:00:FB 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 128) for 33:33:00:00:00:FB 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 108) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:00 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:00 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:00 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:01 [n2n_port_mapping.c:319] NAT-PMP read response returned -100 (TRY AGAIN) 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 62) for 01:00:5E:00:00:16 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 110) for 33:33:00:00:00:16 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:01 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:01 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 179) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 70) for 33:33:00:00:00:02 22/Feb/2022 13:59:01 [edge_utils.c:1538] update_supernode_reg: doing fast retry. 22/Feb/2022 13:59:01 [edge_utils.c:1596] registering with supernode [supernode.ntop.org:7777][number of supernodes 1][attempts left 1] 22/Feb/2022 13:59:01 [edge_utils.c:1278] send REGISTER_SUPER to [151.11.50.180:7777] 22/Feb/2022 13:59:01 [edge_utils.c:1056] sent=79 to 22/Feb/2022 13:59:01 [edge_utils.c:608] registering with multicast group 224.0.0.68:1968 22/Feb/2022 13:59:01 [edge_utils.c:1422] send REGISTER to [224.0.0.68:1968] 22/Feb/2022 13:59:01 [edge_utils.c:1056] sent=61 to 22/Feb/2022 13:59:01 [edge_utils.c:2434] Rx N2N_UDP of size 61 from [192.168.0.58:61772] 22/Feb/2022 13:59:01 [edge_utils.c:2574] skipping REGISTER from self 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:01 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:02 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:02 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:02 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:02 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:02 [edge_utils.c:2349] Rx TAP packet ( 216) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:02 [n2n.c:279] supernode2sock successfully resolves supernode IPv4 address for supernode.ntop.org 22/Feb/2022 13:59:03 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:03 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:03 [edge_utils.c:2349] Rx TAP packet ( 110) for FF:FF:FF:FF:FF:FF 22/Feb/2022 13:59:03 [edge_utils.c:2359] DROP packet before first registration with supernode 22/Feb/2022 13:59:03 [n2n_port_mapping.c:319] NAT-PMP read response returned -100 (TRY AGAIN) 22/Feb/2022 13:59:03 [edge_utils.c:2349] Rx TAP packet ( 216) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:04 [edge_utils.c:2349] Rx TAP packet ( 216) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:04 [edge_utils.c:2349] Rx TAP packet ( 179) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:04 [edge_utils.c:2349] Rx TAP packet ( 179) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:04 [edge_utils.c:2349] Rx TAP packet ( 146) for 33:33:00:01:00:02 22/Feb/2022 13:59:05 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:05 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:05 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:05 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:05 [edge_utils.c:2349] Rx TAP packet ( 216) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:05 [edge_utils.c:2349] Rx TAP packet ( 70) for 33:33:00:00:00:02 22/Feb/2022 13:59:05 [edge_utils.c:1538] update_supernode_reg: doing fast retry. 22/Feb/2022 13:59:05 [edge_utils.c:1596] registering with supernode [supernode.ntop.org:7777][number of supernodes 1][attempts left 0] 22/Feb/2022 13:59:05 [edge_utils.c:1278] send REGISTER_SUPER to [151.11.50.180:7777] 22/Feb/2022 13:59:05 [edge_utils.c:1056] sent=79 to 22/Feb/2022 13:59:05 [edge_utils.c:608] registering with multicast group 224.0.0.68:1968 22/Feb/2022 13:59:05 [edge_utils.c:1422] send REGISTER to [224.0.0.68:1968] 22/Feb/2022 13:59:05 [edge_utils.c:1056] sent=61 to 22/Feb/2022 13:59:05 [edge_utils.c:1200] send PING to supernodes 22/Feb/2022 13:59:05 [edge_utils.c:1056] sent=38 to 22/Feb/2022 13:59:05 [edge_utils.c:2434] Rx N2N_UDP of size 61 from [192.168.0.58:61772] 22/Feb/2022 13:59:05 [edge_utils.c:2574] skipping REGISTER from self 22/Feb/2022 13:59:06 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:06 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:06 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:06 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:07 [n2n_port_mapping.c:319] NAT-PMP read response returned -100 (TRY AGAIN) 22/Feb/2022 13:59:07 [edge_utils.c:2349] Rx TAP packet ( 179) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:07 [edge_utils.c:2349] Rx TAP packet ( 179) for 01:00:5E:7F:FF:FA 22/Feb/2022 13:59:08 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:08 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:08 [edge_utils.c:2349] Rx TAP packet ( 82) for 01:00:5E:00:00:FB 22/Feb/2022 13:59:08 [edge_utils.c:2349] Rx TAP packet ( 102) for 33:33:00:00:00:FB 22/Feb/2022 13:59:09 [edge_utils.c:1538] update_supernode_reg: doing fast retry. 22/Feb/2022 13:59:09 [edge_utils.c:1557] WARNING: supernode not responding, now trying [supernode.ntop.org:7777] 22/Feb/2022 13:59:09 [edge_utils.c:1585] reconnected to supernode 22/Feb/2022 13:59:09 [edge_utils.c:1596] registering with supernode [supernode.ntop.org:7777][number of supernodes 1][attempts left 3] 22/Feb/2022 13:59:09 [edge_utils.c:1278] send REGISTER_SUPER to [151.11.50.180:7777] 22/Feb/2022 13:59:09 [edge_utils.c:1056] sent=79 to 22/Feb/2022 13:59:09 [edge_utils.c:608] registering with multicast group 224.0.0.68:1968 22/Feb/2022 13:59:09 [edge_utils.c:1422] send REGISTER to [224.0.0.68:1968] 22/Feb/2022 13:59:09 [edge_utils.c:1056] sent=61 to 22/Feb/2022 13:59:09 [edge_utils.c:2434] Rx N2N_UDP of size 61 from [192.168.0.58:61772] 22/Feb/2022 13:59:09 [edge_utils.c:2574] skipping REGISTER from self 22/Feb/2022 13:59:12 [n2n.c:279] supernode2sock successfully resolves supernode IPv4 address for supernode.ntop.org 22/Feb/2022 13:59:12 [edge_utils.c:2349] Rx TAP packet ( 146) for 33:33:00:01:00:02 22/Feb/2022 13:59:13 [edge_utils.c:1538] update_supernode_reg: doing fast retry. 22/Feb/2022 13:59:13 [edge_utils.c:1596] registering with supernode [supernode.ntop.org:7777][number of supernodes 1][attempts left 2] 22/Feb/2022 13:59:14 [edge_utils.c:1278] send REGISTER_SUPER to [151.11.50.180:7777] 22/Feb/2022 13:59:14 [edge_utils.c:1056] sent=79 to 22/Feb/2022 13:59:14 [edge_utils.c:608] registering with multicast group 224.0.0.68:1968 22/Feb/2022 13:59:14 [edge_utils.c:1422] send REGISTER to [224.0.0.68:1968] 22/Feb/2022 13:59:14 [edge_utils.c:1056] sent=61 to 22/Feb/2022 13:59:14 [edge_utils.c:2434] Rx N2N_UDP of size 61 from [192.168.0.58:61772] 22/Feb/2022 13:59:14 [edge_utils.c:2574] skipping REGISTER from self 22/Feb/2022 13:59:15 [n2n_port_mapping.c:319] NAT-PMP read response returned -100 (TRY AGAIN) 22/Feb/2022 13:59:16 [edge_utils.c:1538] update_supernode_reg: doing fast retry. 22/Feb/2022 13:59:16 [edge_utils.c:1596] registering with supernode [supernode.ntop.org:7777][number of supernodes 1][attempts left 1] 22/Feb/2022 13:59:16 [edge_utils.c:1278] send REGISTER_SUPER to [151.11.50.180:7777] 22/Feb/2022 13:59:16 [edge_utils.c:1056] sent=79 to 22/Feb/2022 13:59:16 [edge_utils.c:608] registering with multicast group 224.0.0.68:1968 22/Feb/2022 13:59:16 [edge_utils.c:1422] send REGISTER to [224.0.0.68:1968] 22/Feb/2022 13:59:16 [edge_utils.c:1056] sent=61 to 22/Feb/2022 13:59:16 [edge_utils.c:2434] Rx N2N_UDP of size 61 from [192.168.0.58:61772] 2

huddhudd commented 2 years ago

PS D:\n2n\3> ping supernode.ntop.org

正在 Ping supernode.ntop.org [151.11.50.180] 具有 32 字节的数据: 来自 151.11.50.180 的回复: 字节=32 时间=238ms TTL=50 来自 151.11.50.180 的回复: 字节=32 时间=238ms TTL=50 来自 151.11.50.180 的回复: 字节=32 时间=238ms TTL=50 来自 151.11.50.180 的回复: 字节=32 时间=238ms TTL=50

151.11.50.180 的 Ping 统计信息: 数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失), 往返行程的估计时间(以毫秒为单位): 最短 = 238ms,最长 = 238ms,平均 = 238ms

Logan007 commented 2 years ago

The public supernode at supernode.ntop.org:7777 indeed was not reachable.

It has been fixed now and should be available again.

Thank you for reporting!

huddhudd commented 2 years ago

22/Feb/2022 19:31:22 [edge.c:1258] created local tap device IP: 192.168.100.1, Mask: 255.255.255.0, MAC: 00:FF:83:62:2B:FF 22/Feb/2022 19:31:22 [edge.c:1356] edge started 22/Feb/2022 19:31:22 [edge_utils.c:1148] successfully joined multicast group 224.0.0.68:1968 22/Feb/2022 19:31:22 [edge_utils.c:2746] [OK] edge <<< ================ >>> supernode

I'm very happy to see your reply started working smoothly N2n will become stronger and stronger. It's nice to grow together with n2n

Logan007 commented 2 years ago

considered solved, please re-open if required