Commit Graph

12 Commits

Author SHA1 Message Date
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
Luca Deri
ce8551fc61 Added better -A handling with config files 2020-08-16 12:15:30 +02:00
Logan007
9c10116d51 split PACKET's transform field to give way for seperate compression field 2020-08-15 22:48:57 +05:45
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
ygg
e0b48f133d On Windows, the Edge node exits when the network card is disabled and opened again 2020-08-04 13:37:01 +08:00
ygg
07c1e40416 add -n option (route) for windows 2020-07-21 11:38:22 +08:00
ygg
e6c851d276 add sleep() for fix compile error on windows 2020-07-17 14:21:27 +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
Disconnect3d
c2442ae486
edge.c: fix incorrect bad gateway check
It seems the previous `route.net_addr == INADDR_NONE` check was incorrect and was probably a result of copy-pasting the previous if statement and not changing the condition.
2020-06-30 14:16:54 +02:00
Logan007
1caf3b4591 shortened help text by three lines 2020-06-24 15:15:42 +05:45
Logan007
789dd90272 Header Encryption 2020-06-23 00:34:19 +05:45
Luca Deri
3eb82b2a32 Code reorganization 2020-06-21 22:26:27 +02:00