Commit Graph
45 Commits
Author SHA1 Message Date
Logan oos EvenandGitHub 84d0991977 fortified user/pw auth scheme (#731) 2021-07-21 02:52:38 +05:45
Logan oos EvenandGitHub 3c6ab56d3f allowed (temporarily) initially non-resolving supernode names (#701) 2021-06-05 17:54:32 +05:45
Logan oos EvenandGitHub c55e3e3246 multithreaded supernode name resolution (#645) 2021-06-04 03:52:12 +05:45
Logan oos EvenandGitHub a28327a0af added user-password edge authentication (#673) 2021-06-04 03:11:22 +05:45
Logan oos EvenandGitHub 20133f599c improved socket handling (#650) 2021-03-01 14:13:14 +05:45
Logan oos EvenandGitHub a482fe112d added TCP support (#627)
(disabled on Windows)
2021-02-22 22:37:47 +05:45
Logan oos EvenandGitHub fb827a843b reworked edge management port output (#623) 2021-02-06 18:24:08 +05:45
Logan oos EvenandGitHub 09e8d5e730 limited number of concurrently pinged supernodes (#619) 2021-02-01 18:31:36 +05:45
Logan oos EvenandGitHub ba9a32fb30 fixed minor timing issues (#616) 2021-01-31 21:12:08 +05:45
Logan oos EvenandGitHub c0c472b4aa revised bootstrap (#599) 2021-01-25 16:54:38 +05:45
Logan oos EvenandGitHub e4e6efacf0 enhanced header encryption to full 128 bit iv (#589) 2021-01-17 18:37:17 +05:45
Logan oos EvenandGitHub 9ee62d7415 rebased time stamp format: header encryption (#579)
* rebased time stamp format (header encryption)

* rearranged time stamp fields
2021-01-12 14:28:21 +05:45
Francesco CarliandGitHub 54f6da4cf4 Change space indention (#557)
* change space indention

* change space indention
2020-12-24 14:56:29 +01:00
Francesco CarliandGitHub 646da54915 readability code clean-up (#545) 2020-12-19 12:28:45 +01:00
Francesco CarliandGitHub 3bd4635f04 Protection mechanism against duplicated MACs (#509)
* Prevent duplicated MACs

* Prevent duplicated MACs

* Fix compile errors

* Fix compile errors

* Implement auth scheme

* Fix compile errors

* Add auth_edge

* Add auth_edge

* Implement REGISTER_SUPER forwarding

* Add argument to update_edge

* Add auth field to supernode struct

* Add REGISTER_SUPER_NAK handling

* Fix issues

* Code clean-up

* Move auth token initialization
2020-11-19 09:31:24 +01:00
1574f1e1c6 added payload struct to carry supernode data (#501)
* added payload struct to carry supernode data

* added payload struct to carry supernode data

* added payload struct to carry supernode data

Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
2020-11-13 10:55:00 +01:00
lucaderi 72d5243650 Include rework to avoid circular dependencies, single place for typedefs and compilation on all platforms that don't like type redefinition 2020-11-13 09:28:52 +01:00
Francesco CarliandGitHub 8915609f1a Implement a load-based supernode selection strategy on edges (#493)
* Implement load-based selection strategy

* Update n2n_wire.h

* Update edge_utils.c

* Update n2n.c

* Update sn_utils.c

* Update edge_utils.c
2020-11-11 09:27:39 +01:00
Francesco CarliandGitHub e65fd984d7 Packet forwarding between supernodes (#486)
* Packet forwarding between supernodes

* Update wire.c
2020-11-10 16:34:49 +01:00
Francesco CarliandGitHub dcbc39c0fb Update REGISTER_SUPER_ACK handling on edge (#478) 2020-10-27 17:02:35 +01:00
Francesco CarliandGitHub ed25ff8d01 Fixes minor issues introduced by #460 (#461) 2020-10-11 21:54:06 +02:00
Luca Deri f6e4047ce0 Partial fixes for addressing compilation issues introduced by https://github.com/ntop/n2n/pull/460 2020-10-11 11:57:48 +02:00
Francesco CarliandGitHub 8dfffd9fbe Implement purge-and-re-registration process for supernodes (#445) 2020-10-01 16:23:10 +02:00
francesco_carliandGitHub d9e2a0091a Handle REGISTER_SUPER from other supernodes (#443)
* Handle REGISTER_SUPER from other supernodes

* Update wire.c
2020-09-29 10:50:09 +02:00
francesco_carliandGitHub 746962510f Add new enum data type and indicators 2020-09-24 20:00:32 +02:00
Logan007 df869bfd3b merged edge's subnet parameter into address parameter 2020-09-21 13:37:06 +05:45
Logan007 2c77729acf removed jitter allowance for systemic packets 2020-09-19 15:47:16 +05:45
Logan007 7a06bf39db made compression scheme name accessible even if not compiled 2020-09-10 14:08:08 +05:45
Logan007 58d0e906be cosmetics on random numbers code 2020-08-30 14:14:35 +05:45
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