anzz1
9cac336488
added network interface metric option for windows ( #606 )
4 years ago
Logan oos Even
6c8e1b6f60
fixed edge segfault ( #613 )
4 years ago
Logan oos Even
5f34baf9b9
clarified authentication error ( #600 )
4 years ago
Logan oos Even
c0c472b4aa
revised bootstrap ( #599 )
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
773123f7a9
removed duplicate field for supernode socket from edge ( #587 )
4 years ago
Logan oos Even
0e29d695ee
quick-fixed auto ip ( #586 )
4 years ago
Logan oos Even
e1b66aeb96
fix bug/typo introduced with latest mac handling change
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
fengdaolong
3a480a4a21
solved the problem that Windows cannot multicast ( #576 )
* Solve the problem that Windows cannot multicast.
* Better git judgment logic.
4 years ago
Logan oos Even
bda11d3e99
fix AES default ( #572 )
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
e71de330e5
readability code clean-up ( #542 )
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
bde819700d
Protection mechanism against MAC spoofing ( #512 )
* Implement MAC spoofing protection mechanism
* Update edge_utils.c
* Fix compile errors
* Update edge_utils.c
* Update edge_utils.c
* Update edge_utils.c
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
c89dc584ab
send gratuitous arp only upon first registration ( #502 )
4 years ago
joshuafc
b3f564e58c
Traffic Restrictions, Pass Build on CircleCI and local Windows 10 VS2019 ( #499 )
* 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.
* Pass Build on CircleCI and local Windows 10 VS2019
* Fix cmake build failed because of sn_selection
* fix operate void* cause vs2016 build failed
* Fix typo to pass build on windows.
* add inttypes.h for n2n_typedefs.h to pass windows build
* modify headers to pass build on windows.
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
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
Luca Deri
7e26499c4f
Compilation fixes
4 years ago
Francesco Carli
eeb0f545a8
Fix compile errors ( #494 )
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
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
Logan oos Even
51d55a60f8
made AES new default cipher ( #471 )
Co-authored-by: Logan007 <you@example.com>
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
Logan oos Even
1c45c7101a
fixed lzo datatype ( #447 )
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
Logan007
2c77729acf
removed jitter allowance for systemic packets
4 years ago
Logan007
07b675bae6
made compression scheme name accessible even if not compiled
4 years ago
Logan007
8757312d41
reworked cc20
4 years ago
Logan007
c9412a290b
made aes always available
4 years ago
Hamish Coleman
949c651845
Avoid leaking memory if the buffer is uncompressable
4 years ago
Logan007
d5c1295bec
replaced twofish implementation by a faster version
4 years ago
Logan007
b251136953
fix
4 years ago
Logan007
9554f336d2
re-open sockets if supernode not responding
4 years ago
Logan007
3d00182264
re-open sockets if supernode not responding
4 years ago
Logan007
e36658b1a7
re-open sockets if supernode not responding
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