Logan oos Even
ba9a32fb30
fixed minor timing issues ( #616 )
4 years ago
Logan oos Even
7a4623a61d
fixed time stamp issue ( #612 )
4 years ago
Logan oos Even
f352c99255
reworked edge help text ( #604 )
4 years ago
Logan oos Even
5cd1c9030c
added self-monitoring time stamp accuracy ( #595 )
4 years ago
Logan oos Even
910478417c
fixed a null_mac bug ( #592 )
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
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
646da54915
readability code clean-up ( #545 )
4 years ago
Logan oos Even
599e424b5d
Revert "changed timer source ( #522 )" ( #536 )
This reverts commit 0298efa36e
.
4 years ago
fengdaolong
d7654397a8
Fix the problem of running edge, IP or domain name resolution failure under Windows system. ( #527 )
4 years ago
Logan oos Even
0298efa36e
changed timer source ( #522 )
* changed timer source
* changed timer source
* changed timer source
* changed timer source
* changed timer source
* changed timer source
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
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
Francesco Carli
ed25ff8d01
Fixes minor issues introduced by #460 ( #461 )
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
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.
4 years ago
Logan007
3549936b48
moved some #DEFs to n2n_define.h
4 years ago
Logan007
0776e06912
added replay protection
4 years ago
Logan007
895bbc2844
added time stamp blending and sending
4 years ago
Logan007
d3e823af98
removed branchless code
4 years ago
Logan007
36eb807fca
added time stamp handling functions
4 years ago
switch_st
81516d8d8c
Update purge logic of communities and edges for supernode
4 years ago
Logan007
252ce9779a
moved windows-gettimeofday() from benchmark.c to n2n.c
4 years ago
switch_st
a149fa9404
close syslog in function closeTraceFile
4 years ago
switch_st
8a1bcf0fa6
close trace file if needed
4 years ago
switch_st
21122df969
delete android define and log code
4 years ago
emanuele-f
e42837c3fb
Move android code to hin2n
4 years ago
fengdaolong
f5accc8221
Fix cmake compilation errors.
1. CMakeLists.txt added to automatically obtain the revised version number from the git repository.
2. Adjusted some header files to fix Windows platform compilation errors.
3. Eliminate some compilation warnings.
4 years ago
Luca Deri
3eb82b2a32
Code reorganization
4 years ago
Luca Deri
9951a917c7
Updated (C)
4 years ago
Luca Deri
68428a8d2a
Updated (C)
4 years ago
emanuele-f
81a3102661
Compilation fixes for hin2n
4 years ago
emanuele-f
b3995e7fbc
Implemnent n2n-decode utility to decode and dump traffic to PCAP
5 years ago
emanuele-f
2f671cf6d9
Add support for TOS setting in edge
5 years ago
emanuele-f
4e9d66a0a2
Rework log levels
Now "-v" only returns high level information, whereas "-vv" can be used to further increase the verbosity.
5 years ago
emanuele-f
cb43d0cf64
Unify n2n version
5 years ago
emanuele-f
447c3ad8c3
Replace peers linked list with hash
6 years ago
Jiang Zihao
0edca7e16a
Fix purge_expired_registrations to accept passed-in last_purge instead of static function var.
6 years ago
emanuele-f
381c795af5
Lower registration timeout to 1 minute
6 years ago
emanuele-f
856dbae44c
Cosmetic changes to improve edge registration tracing
6 years ago
emanuele-f
c89ece71ca
Code rework changes
- Remove keyschedule leftover and adapt to new API
- Fix cleanup functions
- Remove unused random_device_mac
6 years ago
emanuele-f
d689691599
n2n.h cleanup
6 years ago
Luca Deri
dd899b3a4d
Initial work for local multicast registering (work in progress)
6 years ago
Luca Deri
fcd5dc86a5
Fixed #32
Minor help fixes
6 years ago
Luca Deri
29de24c5d9
Trace lines are now shorter
7 years ago