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
lucaderi
72d5243650
Include rework to avoid circular dependencies, single place for typedefs and compilation on all platforms that don't like type redefinition
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
Luca Deri
f0be328261
Disabled filtering code
4 years ago
lucaderi
0a0888f1f2
More fixes
4 years ago
Luca Deri
6bd375efc4
Compilation fixes
Network filtering code has been temporarely commented out as it is broken
4 years ago
joshuafc
a840aebb83
Add feature to drop or accept specific packet transmit over edge network interface by rules. ( #489 )
* Add new file 'network_traffic_filter.c/.h"
* Add feature to drop or accept specific packet transmit over edge network interface by rules.
* fix CMakeLists.txt typo
* Update Rule String Format
* replace -F (filter) with -R (rule) for traffic restrictions.
* Update edge help (-h) message. Update documents.
4 years ago
Francesco Carli
e65fd984d7
Packet forwarding between supernodes ( #486 )
* Packet forwarding between supernodes
* Update wire.c
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
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
Logan oos Even
64361dcec1
narrowed granularity of hardware feature support ( #455 )
Co-authored-by: Logan007 <you@example.com>
4 years ago
Francesco Carli
8dfffd9fbe
Implement purge-and-re-registration process for supernodes ( #445 )
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
6e875e7cab
Add new federation flag to community structure
4 years ago
francesco_carli
746962510f
Add new enum data type and indicators
4 years ago
Logan007
df869bfd3b
merged edge's subnet parameter into address parameter
4 years ago
VergLsm
907e56a525
fix(win): "config.h: No such file or directory"
4 years ago
Logan007
2c77729acf
removed jitter allowance for systemic packets
4 years ago
Logan007
90bf8da3f5
dropped OpenSSL 1.0 support
4 years ago
Logan007
7a06bf39db
made compression scheme name accessible even if not compiled
4 years ago
Logan007
6c982b9373
small cc20 sse speed-up
4 years ago
Logan007
fac5aa7d20
added aes-ni support to pearson hashing
4 years ago
Logan007
671a00aba7
fixed sse version
4 years ago
Logan007
885877cda3
added sse to built-in cc20
4 years ago
Logan007
f1f8ca6092
increased built-in cc20's speed
4 years ago
Logan007
8757312d41
reworked cc20
4 years ago
Logan007
399ecf8801
reworked cc20
4 years ago
Logan007
81a1ccc702
added aes-ni support
4 years ago
Logan007
c9412a290b
made aes always available
4 years ago
Logan007
58d0e906be
cosmetics on random numbers code
4 years ago
Logan007
7b1ec1acb7
cosmetics on random numbers code
4 years ago
Logan007
1fcdd4e338
cosmetics on random numbers code
4 years ago
Logan007
8d7680408f
cosmetics on random numbers code
4 years ago
Logan007
052144285a
twofish transform code clean-up ammendment
4 years ago
Logan007
e8181c96f9
speck transform code clean-up
4 years ago
Luca Deri
25620fcbc7
Compilation fixes
4 years ago
Logan007
d5c1295bec
replaced twofish implementation by a faster version
4 years ago
Logan007
b4f9caa00b
changed aes transform to cipher text stealing mode
4 years ago
Logan007
680248d154
changed aes transform to cipher text stealing mode
4 years ago
Logan007
6d05d48878
changed aes transform to cipher text stealing mode
4 years ago
Logan007
a35675da4d
internally renamed dhcp --> auto ip
4 years ago
Logan007
78409df1c8
let auto ip feature handle several sub-networks
4 years ago
Logan007
000ebef185
adopt compression field data type size
4 years ago
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;
4 years ago
Logan007
e0266bfe5f
updated minilzo
4 years ago
Logan007
9c10116d51
split PACKET's transform field to give way for seperate compression field
4 years ago