Commit Graph
16 Commits
Author SHA1 Message Date
Logan007 a35675da4d internally renamed dhcp --> auto ip 2020-08-19 14:46:58 +05:45
Logan007 78409df1c8 let auto ip feature handle several sub-networks 2020-08-18 22:35:27 +05:45
Logan007 9c10116d51 split PACKET's transform field to give way for seperate compression field 2020-08-15 22:48:57 +05:45
Luca DeriandGitHub d4e9df013e Merge branch 'dev' into prepReg 2020-08-12 14:41:09 +02: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
Logan007 e4b33a2656 data structures 2020-08-04 15:18:58 +05:45
Logan007 3549936b48 moved some #DEFs to n2n_define.h 2020-07-29 15:32:04 +05:45
Logan007 75317acaf3 added sorting of encrypted communities 2020-07-28 00:55:07 +05:45
switch_st 81516d8d8c Update purge logic of communities and edges for supernode 2020-07-22 15:49:45 +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
Logan007 89542607e7 removed quicklz define 2020-07-02 17:50:05 +05:45
Logan007 789dd90272 Header Encryption 2020-06-23 00:34:19 +05:45
Luca Deri 3344065cab Removed unnecessary code 2020-06-21 22:34:32 +02:00
Luca Deri 0bf7ae0a01 Minor code claanup 2020-06-21 22:33:28 +02:00
Luca Deri 3eb82b2a32 Code reorganization 2020-06-21 22:26:27 +02:00