Logan oos Even
edc6f53ca0
prevented transmission of QUERY_PEER on multicast MAC addresses ( #668 )
4 years ago
Logan oos Even
f41babcf4d
fixed compile warnings ( #664 )
4 years ago
Logan oos Even
0287837241
skewed supernode selection for the benefit of current supernode in no-pong case ( #663 )
4 years ago
Logan oos Even
aa1f4311f9
adapted packet format ( #662 )
* adapted packet format
4 years ago
Logan oos Even
23a9c871f8
increased resilience to supernode failure ( #660 )
4 years ago
Logan oos Even
1bcc64ccb3
fixed unrelated error message ( #653 )
4 years ago
Logan oos Even
20133f599c
improved socket handling ( #650 )
4 years ago
Logan oos Even
db4b927b8e
fixed multicast decode error message ( #648 )
4 years ago
Logan oos Even
64b8136301
fixed compile warnings ( #647 )
4 years ago
Logan oos Even
e47b492c4d
fixed compile warning ( #646 )
4 years ago
Logan oos Even
a482fe112d
added TCP support ( #627 )
(disabled on Windows)
4 years ago
vtcpip
b42c111527
fix windows compile ( #636 )
4 years ago
Logan oos Even
c73e59341d
made gratuitous arp being sent at the right time ( #635 )
4 years ago
Logan oos Even
54ba76e3bc
clarified error message ( #634 )
4 years ago
Logan oos Even
12e55935c2
adjusted supernode management port output ( #628 )
4 years ago
Logan oos Even
fb827a843b
reworked edge management port output ( #623 )
4 years ago
Logan oos Even
08a4e332c8
generalized auth scheme handling ( #624 )
4 years ago
Logan oos Even
09e8d5e730
limited number of concurrently pinged supernodes ( #619 )
4 years ago
Logan oos Even
ba9a32fb30
fixed minor timing issues ( #616 )
4 years ago
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