Logan oos Even
08a4e332c8
generalized auth scheme handling ( #624 )
4 years ago
Logan oos Even
c2741ace2d
guarded free() on supernode exit ( #615 )
4 years ago
Logan oos Even
ba9a32fb30
fixed minor timing issues ( #616 )
4 years ago
randomize00
5aac8813e6
safer checking for REGISTER_SUPER_ACK and UNREGISTER_SUPER ( #611 )
4 years ago
Logan oos Even
c696f59e07
ensured correct community file loading (sn) ( #609 )
4 years ago
Logan oos Even
c0c472b4aa
revised bootstrap ( #599 )
4 years ago
Logan oos Even
dd9491aa9c
removed two non-ASCII characters
Fixes #598 .
4 years ago
Logan oos Even
a639e1d735
properly handled supernodes' timestamps ( #591 )
4 years ago
Logan oos Even
e4e6efacf0
enhanced header encryption to full 128 bit iv ( #589 )
4 years ago
Logan oos Even
7eeca3d78f
cleaned up mac type usage ( #583 )
4 years ago
Logan oos Even
9ee62d7415
rebased time stamp format: header encryption ( #579 )
* rebased time stamp format (header encryption)
* rearranged time stamp fields
4 years ago
Logan oos Even
9152526bf2
allowed auto IP address feature a higher chance to re-assign the same IP address upon re-connect ( #574 )
4 years ago
Logan oos Even
623299770f
fix federation feature ( #573 )
4 years ago
Francesco Carli
244b1bef95
Change space indention ( #556 )
* readability code clean-up
* readability code clean-up
* change space indention
* change space indention
* Update sn_utils.c
4 years ago
Francesco Carli
ef2d3a5237
readability code clean-up ( #552 )
* readability code clean-up
* readability code clean-up
* change space indention
* Revert "change space indention"
This reverts commit 067f675faa
.
4 years ago
fengdaolong
d7654397a8
Fix the problem of running edge, IP or domain name resolution failure under Windows system. ( #527 )
4 years ago
Francesco Carli
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
4 years ago
Logan oos Even
bac807c472
use payload struct for assembly ( #503 )
* use payload struct for assembly
* use payload struct for assembly
4 years ago
Luca Deri
22756f40f9
Compialtion fix
4 years ago
Francesco Carli
01f09e693e
Same chance to all supernodes to be transmitted by REGISTER_SUPER_ACK ( #498 )
* Same chance for all supernodes to be transmitted with REG_SUPER_ACK
* Update sn_utils.c
* Update random_numbers.h
* Update sn_utils.c
* Update random_numbers.c
* Update sn_utils.c
* Update sn_utils.c
4 years ago
Logan oos Even
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>
4 years ago
Luca Deri
79f4c8474c
Warning fix
4 years ago
Luca Deri
2a46674a9a
Compilation fixes
4 years ago
Francesco Carli
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
4 years ago
skyformat99
2930f34bb9
Update sn_utils.c ( #496 )
fix compile error in Visual Studio 2015 #495
4 years ago
Luca Deri
90bb3eaf92
Indent
4 years ago
Francesco Carli
e65fd984d7
Packet forwarding between supernodes ( #486 )
* Packet forwarding between supernodes
* Update wire.c
4 years ago
fengdaolong
4bad6a7625
Detail adjustment. ( #488 )
* Fix compilation warning.
* Detail adjustment.
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
4 years ago
Francesco Carli
e48f1fcc73
Fixes federation bug ( #480 )
* Fixes federation bug
* Fixes federation bug
* Update edge_utils.c
4 years ago
Logan oos Even
6da8e5497e
enabled gratuitous arp packets ( #474 )
Co-authored-by: Logan007 <you@example.com>
4 years ago
Francesco Carli
dcbc39c0fb
Update REGISTER_SUPER_ACK handling on edge ( #478 )
4 years ago
BetaBeauty
57f742fe42
Extra Device Description in P2P Connection and Register to Super Node ( #475 )
* add cmake export commands
* add extra edge description (hint) field
* add peer2peer description registry
* fixed bug: peer2peer not pass the dev_desc filed
* update -I option in the helper text
Co-authored-by: Longtao Wang <longtao.wang@cortexlabs.ai>
4 years ago
Luca Deri
bbabf30bc5
Crash fix
-l needs to be validated: added basic check (not enough TOFIX)
4 years ago
Francesco Carli
0c3fdc4df3
Fix segfault in issue #463 ( #464 )
4 years ago
Francesco Carli
ed25ff8d01
Fixes minor issues introduced by #460 ( #461 )
4 years ago
Luca Deri
f6e4047ce0
Partial fixes for addressing compilation issues introduced by https://github.com/ntop/n2n/pull/460
4 years ago
Francesco Carli
c9eedd68f0
Initialize the federation of supernodes ( #460 )
* Add supernode2sock() and add_sn_to_federation_by_mac_or_sock()
* Update sn_utils.c
* Update sn.c and sn_utils.c
* Update REG_SUPER_ACK payload
* Update add_sn_to_federation_by_mac_or_sock()
4 years ago
Francesco Carli
7d565df3a6
Fix segfault ( #454 )
* Fix segfault
* Update sn_utils.c
4 years ago
Francesco Carli
8dfffd9fbe
Implement purge-and-re-registration process for supernodes ( #445 )
4 years ago
lucaderi
3f8d32fa77
Compilation fixes
4 years ago
francesco_carli
d9e2a0091a
Handle REGISTER_SUPER from other supernodes ( #443 )
* Handle REGISTER_SUPER from other supernodes
* Update wire.c
4 years ago
fcarli3
b2b76a450e
How get federation name as parameter
4 years ago
francesco_carli
31269dde52
Update sn_utils.c
4 years ago
francesco_carli
acafbc61a1
Add comm_init() function
4 years ago
Logan007
2c77729acf
removed jitter allowance for systemic packets
4 years ago
fengdaolong
71676c4309
Prevent allocation duplicate IP.
4 years ago
Luca Deri
25620fcbc7
Compilation fixes
4 years ago
Logan007
a35675da4d
internally renamed dhcp --> auto ip
4 years ago
Logan007
1dea026fdb
seeded random number generator
4 years ago
Logan007
78409df1c8
let auto ip feature handle several sub-networks
4 years ago