emanuele-f
6d38d4bfb4
Fix adapter name length in windows
5 years ago
emanuele-f
69e1d50ca3
Implement selectable tap adapter in Windows
5 years ago
emanuele-f
365dd29b12
Remove unused field in peer_info
6 years ago
emanuele-f
447c3ad8c3
Replace peers linked list with hash
6 years ago
emanuele-f
f36814b152
Implement query peer to try p2p during send
When a lot of monodirection traffic is sent, p2p can be hard to
enstablish because a reply is needed in order to start the registration.
Now a sending peer can query the peer information via the supernode.
This is based on the following commits:
- 1236f37a70
- ad2d416510
- 5348671299
- b2806dcde8
6 years ago
emanuele-f
0e6db6361e
Fix connection stall when idle p2p refresh occurs
The edge received packets from the supernode and thought that the other
peer was still active, but the other peer had dropped the p2p connection
due to refresh
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
49fd9fc5da
Discard idle known_peers to avoid connection blocking on disconnection
Fixes #103
6 years ago
emanuele-f
824b45a808
Add linux termination handler and print stats on shutdown
6 years ago
emanuele-f
d5387945b4
Add the -i option to specify registration interval on edge nodes
Registration is bound to UDP NAT hole punching, so the edges should choose their own value.
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
f577d997a7
Drop keyschedule support
- Legacy features are now moved to the legacy directory with readme
- Keyschedule feature is not supported anymore
6 years ago
emanuele-f
e757f94efa
Initial code rework (wip)
- The edge structure is now opaque
- The configuration is now exposed via an API
- Code cleanup: using multiple transops at once is not supported anymore
6 years ago
emanuele-f
d689691599
n2n.h cleanup
6 years ago
emanuele-f
49d5ecf2a8
Reduce duplicated code in quick_edge_init
6 years ago
Chris Sheely
ba0ecabbf6
Submit minor changes to enable Windows CMake builds w/o further mods.
6 years ago
emanuele-f
e4601590aa
Add -A option to enable AES CBC psk encryption
6 years ago
Luca Deri
a80fa1dd27
Added configure and autogen.sh
6 years ago
Luca Deri
dd899b3a4d
Initial work for local multicast registering (work in progress)
6 years ago
Luca Deri
fd356cde64
Added the ability to specify (-c) on the supernode the list of allowed communities
kill -HUP on the supernode lists the registered edges
6 years ago
switch_st
463538a8df
Add support for Android
7 years ago
Luca Deri
ae815c22e2
C++ fixes
7 years ago
Luca Deri
b6fdae38b9
Added termination variable to edge loop
7 years ago
Luca Deri
b00f329a31
Code cleanup
7 years ago
Luca Deri
85ac185781
Code rework
7 years ago
Luca Deri
7b07636281
Refreshed copyright and added contributors list
7 years ago
Luca Deri
415f6b0a72
Minor code cleanup
Fixed compilation issue on OSX
7 years ago
Luca Deri
b1e9ce6d2a
Initial SVN import of n2n v2
8 years ago