-
Notifications
You must be signed in to change notification settings - Fork 936
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
Cannot communicate between win and linux (V2.9.0 r875) #642
Comments
I have just tried Linux supernode and Windows edge (compiled using our Building instructions) of that same commit as yours real quick. And I do not see any issue. What is your exact configuration / command lines? What output do you get running with supernode and edge |
You try to use linux edge and windows edge, they can connect to the supernode, but linux and windows cannot communicate with each other. |
I can't confirm. I am getting a clean ping between Windows and Linux edges (supernode on Linux). |
command lines : edge -d ddd -a 10.1.1.1 -c n2n -k test -l xxxxxxx:xxxx -A3 -f |
I did a fresh re-build on Windows as well as on Linux and used your command line on Linux (Windows does not not understand Also, on Linux, I have put I am sorry not being able to confirm any issue. The ping works like a charm. Do you see any special output if you use |
I use -vvvv |
Thank you for providing the log files. I stumbled across the "unknown ether type" message in the linux log which immediately reminded me of #617 – we have rephrased the message to "unknown ether type" afterwards. I assume you do not deal with VLAN as the unknown ether types do not look like VLAN markings. How did you build your Windows version? Could you please try to rebuild your Windows build using exactly the way depicted in our building documentation? And if you have already done so, could you please remove the |
After testing the windows version of Edge, if you use the VS compiler to compile windows, it can communicate with Linux normally. If you use mingw compiler to compile, windows can communicate with windows, but windows cannot communicate with linux. The V2.7 version does not have this problem. |
That sounds like a hard to debug issue. Different behavior depending on different build tool chains... I would like to take a closer look into it as soon as I get to build using mingw myself, I haven't had the opportunity yet. But to narrow it down a bit upfront: Does your mingw version 2.9 communicate with Linux if you disable encryption ( |
like #617 |
Thank you very much! 💪 That will give me good a starting point for debugging a mingw-build – whenever I get to it... Meanwhile, I have emphasized the need to stick to the described tool chain in the building documentation. |
n2n v.2.9.0.r902.35dc670 The windows version compiled by mingw still cannot communicate with linux. 02/Apr/2021 17:32:45 [edge_utils.c:1421] handle_PACKET size 108 transform 3 02/Apr/2021 17:33:00 [edge_utils.c:1074] send REGISTER_SUPER to 117.82.66.175:10090 |
@llfj: Thank you for sharing your finding. That is well in line with the so far seen symptoms.
|
This is a very troublesome thing, especially for our cross-compiling N2N for windows under linux. Can you compare the code of V2.8 to solve this problem? V2.8 has no similar problems. |
I will debug. This has not been not forgotten.
I just prioritize it a bit lower while working towards the 3.0 features first because there currently still is way to get working Windows binaries (MSVC,
I am sorry for inconvenience. It just will take some time to dig down to that. |
After testing, the version before v2.9.0_r814 --hard 8089200 uses mingw to compile the edge of the windows platform and the ping succeeds after encrypted communication with the edge of the Linux platform. |
Where can get VS compiler edition ? Thanks |
edge v.2.9.0.r875.8589471
supernode v.2.9.0.r875.8589471
Cannot communicate between win and linux.
Win and win or linux an linux can communicate.
It seems that win cannot get the mac address of linux edge
The text was updated successfully, but these errors were encountered: