Logan007
f2524196b1
added optional payload compression (zstd) for all transforms
5 years ago
Logan007
7c2648c1e2
added cli option for ChaCha20 (-A4)
5 years ago
Logan007
9076ed1bab
added optional payload compression (lzo) for all transforms
5 years ago
Logan007
9e5934acc8
added ChaCha20 (cc20)
5 years ago
Luca Deri
8b8e3ed3ee
Updated OpenSSL checks
5 years ago
Felix Pojtinger
2058ab93c8
Add more embedding examples and initally decomposed sn_utils
5 years ago
realjiangms
9601e82daf
More reliable punching:
1. Some nat router blocks the port if incoming traffic arrives before outcoming traffic being sent. Give edge ability to set proper TTL so that the registration packet is dropped before it arrives peer.
2. Support Symmetric NAT by predicting 15 more ports when sending registration packet
3. Purge pending mac also on P2P normal packet. This is actually more usual condition.
4. Add doc for new flag.
6 years ago
emanuele-f
60a4ba90ce
Add tools subdirectory
5 years ago
emanuele-f
b3995e7fbc
Implemnent n2n-decode utility to decode and dump traffic to PCAP
5 years ago
emanuele-f
49f1f1b886
Remove unused -b option
n2n already resolves the supernode address dynamically
5 years ago
emanuele-f
6c67ed0440
MTU changes to avoid connection stall on PMTU discovery failures
5 years ago
emanuele-f
2f671cf6d9
Add support for TOS setting in edge
5 years ago
emanuele-f
eea0c9b46b
Add option to disable p2p
5 years ago
emanuele-f
035b66b1a9
Fix mtu with AES
This avoids fragmentation when possible
5 years ago
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