18 Commits
Author SHA1 Message Date
fengdaolongandGitHub 2378ea0be2 simplified the path in the log (#910) 2021-12-24 20:56:35 +01:00
fengdaolongandGitHub 04f0bd88e6 do not link if libpthread is not found (#757) 2021-08-29 13:27:17 +05:45
fengdaolongandGitHub 8e3fa33863 correct wrong pthread lib switch logic (#755) 2021-08-29 12:32:28 +05:45
fengdaolongandGitHub ae041c2133 CMakeLists.txt add link pthread library (#754) 2021-08-29 01:53:44 +05:45
fengdaolongandGitHub 3a480a4a21 solved the problem that Windows cannot multicast (#576)
* Solve the problem that Windows cannot multicast.

* Better git judgment logic.
2021-01-12 14:26:40 +05:45
fengdaolongandGitHub d7654397a8 Fix the problem of running edge, IP or domain name resolution failure under Windows system. (#527) 2020-12-08 15:46:40 +01:00
fengdaolongandGitHub cb7ee56876 Fix Windows MinGW compilation failure. (#526) 2020-12-08 15:46:20 +01:00
4bad6a7625 Detail adjustment. (#488)
* Fix compilation warning.

* Detail adjustment.

Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
2020-11-09 16:11:09 +01:00
fengdaolong 71676c4309 Prevent allocation duplicate IP. 2020-08-29 01:33:06 +08:00
fengdaolong f560e8f753 Fix the version number displayed after building by Cmake. 2020-08-29 00:49:54 +08:00
fengdaolong 6bdfdf6be4 Enhanced edge management console function.
1. Edge can view the IP address and socket information of the connected tap adapter through the management console (127.0.0.1:5644);
2. Repair two memory leaks;
3. Fix several code errors and redundant logic;
2020-08-16 22:34:41 +08:00
fengdaolong 92dfa67e22 Added DHCP function embedded in sn.
1. Automatically assign IP addresses to the edge through the DHCP function that comes with sn, the default IP address pool is 172.17.12.0/24.
2. The -d parameter is added to sn, and the IP address pool of the embedded DHCP can be customized.
3. Now edge does not need to add -a and -s parameters to automatically obtain the IP address.
4. The IP automatically obtained by the cross-community edge can be the same, because the communities are isolated from each other and do not interfere with each other.
5. On the management side of sn (127.0.0.1:5645), you can now view the IP address of the tutap adapter of each edge.
6. Fix many bugs that have a certain chance of causing memory leaks.
7. Note: This version is not fully compatible with the previous version.
2020-08-08 22:40:45 +08:00
fengdaolong 485cab2afa Fix pointer assignment error 2020-07-18 19:52:41 +08:00
fengdaolong 16b1c7c065 Clean up redundant code in sn.c
Clean up redundant code contained in both sn.c and sn_utils.c
2020-07-18 17:17:30 +08:00
fengdaolong 51c889ddea Fix read tap device failed when OS wake up from sleep.
Adjust the structure of the source file to the header file.
2020-07-06 13:17:01 +08:00
fengdaolong 1ada1dc7ed CMakeLists.txt automatically judges git commands and OpenSSL libraries.
1. Automatically determines whether the git command exists to generate a revision number.
2. When OpenSSL is not found, AES is automatically disabled.
2020-07-02 11:54:22 +08:00
fengdaolong f5accc8221 Fix cmake compilation errors.
1. CMakeLists.txt added to automatically obtain the revised version number from the git repository.
2. Adjusted some header files to fix Windows platform compilation errors.
3. Eliminate some compilation warnings.
2020-07-01 18:35:22 +08:00
fengdaolong 69e3b49bec eliminate compilation warnings 2019-06-04 00:09:15 +08:00