Commit Graph

523 Commits

Author SHA1 Message Date
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
Luca Deri
96c05490e9 ompilation fixes 2020-08-06 19:28:39 +02:00
Luca Deri
29dd405b3c
Merge pull request #351 from Logan007/patch-1
updated Crypto.md
2020-08-05 21:49:59 +02:00
Logan oos Even
de320da026
updated Crypto.md
grammar
2020-08-05 12:58:35 +05:45
Logan oos Even
1292bc7c94
update Crypto.md
…with corrections I found noteworthy while digging deeper into Twofish
2020-08-05 12:55:51 +05:45
Luca Deri
2b59850b77
Merge pull request #346 from skyformat99/fix_edge_register_super
fix register supernode loop - Another way
2020-08-04 10:04:32 +02:00
Luca Deri
7da8a3c279
Merge pull request #345 from Logan007/docsRev
revised readme and crypto docs
2020-08-04 10:03:04 +02:00
Luca Deri
aa998c6f2e
Merge pull request #347 from skyformat99/fix_win
On Windows, the Edge node exits when the network card is disabled and…
2020-08-04 10:02:48 +02: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
f737390dbc fix register supernode loop - Another way 2020-08-04 10:20:43 +08:00
Logan007
d6de7ca0a5 revised readme and crypto docs 2020-08-03 13:02:47 +05:45
Logan007
48b240cfc5 revised readme and crypto docs 2020-08-03 03:31:28 +05:45
Luca Deri
2ea8dd53b7
Merge pull request #339 from Logan007/cmpMac
added MAC comparison for REGISTER_SUPER_ACK
2020-07-29 14:24:27 +02:00
Luca Deri
5067d22587
Merge pull request #338 from switch-iot/feature_sn_uid_gid
add set uid/gid command option to supernode
2020-07-29 14:24:02 +02:00
Luca Deri
c8bbc251e0
Merge pull request #337 from Logan007/mvDef
moved some #DEFs to central n2n_define.h
2020-07-29 14:19:14 +02:00
Luca Deri
6efa411717
Merge pull request #340 from Logan007/typoRdme
typo
2020-07-29 14:18:13 +02:00
Logan007
549133e1e3 typo 2020-07-29 18:01:46 +05:45
Logan007
d28f476b17 added MAC comparison for REGISTER_SUPER_ACK 2020-07-29 17:41:22 +05:45
switch_st
7285f2a1bc add set uid/gid command option to supernode 2020-07-29 18:30:32 +08:00
Logan007
3549936b48 moved some #DEFs to n2n_define.h 2020-07-29 15:32:04 +05:45
Luca Deri
a515823885
Merge pull request #336 from Logan007/editReadme
revised documentation
2020-07-29 11:47:01 +02:00
Luca Deri
4dea4a7bed
Merge pull request #335 from skyformat99/dev
Indicates successful connection between the edge and SN nodes
2020-07-29 11:46:47 +02:00
Logan oos Even
851772ea1e
updated CRYPTO.md
revision
2020-07-29 15:13:27 +05:45
Logan oos Even
2a13b3621d
updated README.md
revision, trimming
2020-07-29 15:04:12 +05:45
Logan oos Even
688ea868f9
updated Routing.md
moved General Remarks from README.md here
2020-07-29 15:00:26 +05:45
Logan oos Even
a1710fe0da
updated README.md
revision, trimming
2020-07-29 14:52:57 +05:45
ygg
62b3957cfb Hide the duplicate trace message 2020-07-29 13:50:00 +08:00
ygg
64857218a5 Indicates successful connection between the edge and SN nodes 2020-07-29 13:24:36 +08:00
Luca Deri
72f6cea942
Merge pull request #334 from Logan007/patch-1
updated CRYPTO.md
2020-07-28 19:29:19 +02:00
Luca Deri
c5fe6201c0
Merge pull request #332 from Logan007/snSortCmn
sorting encrypted communities
2020-07-28 19:29:01 +02:00
Luca Deri
f02a5c91c6
Merge pull request #331 from Logan007/rndSeedLoop
retrying syscall and calls to hardware random number generators
2020-07-28 19:28:26 +02:00
Luca Deri
d672c5fdca
Merge pull request #329 from skyformat99/dev
Adds a trace message to mark connection type between edges.
2020-07-28 19:28:03 +02:00
Logan oos Even
0e9b2d8b4a
updated CRYPTO.md
typos, clarifications, corrections
2020-07-28 23:06:20 +05:45
Logan oos Even
0733e7d8fb
updated CRYPTO.md
typos, clarifications, corrections
2020-07-28 18:14:50 +05:45
Logan oos Even
288c31865b
update CRYPTO.md
typos, clarifications, corrections
2020-07-28 18:11:05 +05:45
Logan007
75317acaf3 added sorting of encrypted communities 2020-07-28 00:55:07 +05:45
Logan007
dc9b1449ab retrying syscall and calls to hardware rng 2020-07-27 20:55:36 +05:45
Luca Deri
5bcfd9a234
Merge pull request #330 from Logan007/cryptoDoc
added crypto doc
2020-07-27 12:27:37 +02:00
Logan007
ce2099139e finished first draft of CRYPTO.md doc 2020-07-27 16:09:09 +05:45
ygg
a81f4054cd Adds a trace message to mark connection type between edges. 2020-07-27 15:01:55 +08:00
Luca Deri
4e592dd82e Minor cleanup 2020-07-27 07:02:11 +02:00
Luca Deri
8542ba0db6
Merge pull request #327 from Logan007/rp
added replay protection
2020-07-27 06:57:45 +02:00
Luca Deri
e635926d2c
Merge branch 'dev' into rp 2020-07-27 06:57:36 +02:00
Luca Deri
1284e5662c
Merge pull request #325 from switch-iot/feature_sn_mgmt_port
add management port command option to supernode
2020-07-27 06:55:52 +02:00
Luca Deri
ea01c45582
Merge pull request #324 from switch-iot/fix_build_warning
fix build warning of edge_init_routes
2020-07-27 06:55:14 +02:00
Luca Deri
ceace349c6
Merge pull request #322 from switch-iot/fix_sn_purge_cmnt
Update purge logic of communities and edges for supernode
2020-07-27 06:54:53 +02:00
Luca Deri
c21d2f47c6
Merge pull request #320 from switch-iot/fix_sn_mgmt_core
fix supernode coredump when accessing management socket
2020-07-27 06:53:58 +02:00
Logan007
9ee0ffbde8 added cipher descriptions 2020-07-26 02:19:56 +05:45
Logan007
87c5393162 created document structure 2020-07-25 22:14:01 +05:45
Logan oos Even
5ceb839b63
Merge branch 'dev' into rp 2020-07-25 18:54:33 +05:45