New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The edge is failed to connect the supernode with MAC error report #594
Comments
it will work again after few minutes, maybe the supernode released some cache stuff or some timeout policy is expired? |
If the edge does not terminate correctly, the MAC and also the tun_tap IP address are still blocked (for 90 +/- 20 seconds or so). This is part of the MAC spoofing prevention as introduced with #505 and as explained here. You could stop an edge regularly by pressing CTRL-C if running as foreground process. In case of background process, The edge needs to terminate in a regular way to get a chance to send an UNREGISTER_SUPER message to the supernode which would free the IP and MAC for use by another egde (or the same edge again). A hard kill will not allow the edge to send thos message. Some background information is available in the We might need to add it to the FAQ as this seems to happen more often. |
Because encryption is already in place (header, community), it is recommended that this property be turned off by default on the supernode side unless it is explicitly turned on. |
In my application, the supernode will be running all the time, but I have multiple edges running on the same host to handle different communities, so I need way to stop each edge individually, will |
@cholley Yes, it safely seems to do the job: Just run an edge in the foreground and do a In general, |
@skyformat99 That is an interesting proposal. However, please keep in mind that encryption alone does not replace edge authentication. The current edge authentication scheme is a very basic one and might undergo some changes anyway. |
Here is the way how it happened:
It report the same error but with different ramdon MAC.
eg:
ERROR: 36:8E:97:D4:9B:73 is already used. Stopping the program.
I am 100% sure that the mac is not used before i run the edge, because there is only one edge in this test.
The text was updated successfully, but these errors were encountered: