Logan007
9fba63dfb4
added per-community locking
4 years ago
switch_st
7285f2a1bc
add set uid/gid command option to supernode
4 years ago
Logan007
75317acaf3
added sorting of encrypted communities
4 years ago
Logan007
0776e06912
added replay protection
4 years ago
switch_st
d59b977840
add management port command option to supernode
4 years ago
Logan007
b976379125
added data structures for replay protection
4 years ago
Logan007
895bbc2844
added time stamp blending and sending
4 years ago
switch_st
ee46e3e86b
Revert "fix supernode coredump when accessing management socket"
This reverts commit 66d73b0713
.
4 years ago
switch_st
66d73b0713
fix supernode coredump when accessing management socket
4 years ago
switch_st
72701a5e83
add main loop callback and move android arp code to this callback
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
ygg
e6c851d276
add sleep() for fix compile error on windows
4 years ago
switch_st
48db4bfb6c
add extra comment to n2n_edge_callbacks
4 years ago
fengdaolong
51c889ddea
Fix read tap device failed when OS wake up from sleep.
Adjust the structure of the source file to the header file.
4 years ago
switch_st
e7ac9cf129
change n2n_edge_callbacks payload_size parameter to pointer.
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
emanuele-f
346631ffe8
Add the callbacks API
Callbacks allow n2n API users to extend n2n without modifying the upstream code. This also allows us
to move the hin2n code, which is specific of android, out of the n2n repository.
4 years ago
Logan007
a6915fd6af
prepared header iv encryption handling
4 years ago
Logan007
62d811edf5
ifdef'ed openSSL-includes for use with AES present only
4 years ago
Luca Deri
0bf7ae0a01
Minor code claanup
4 years ago
Luca Deri
3eb82b2a32
Code reorganization
4 years ago
Logan007
9a829edb15
woke up from a nightmare of missing typedefs
4 years ago
Logan007
43feafa1b6
prepared header encryption
4 years ago
Luca Deri
9951a917c7
Updated (C)
4 years ago
Luca Deri
68428a8d2a
Updated (C)
4 years ago
Logan007
e6e4999f19
woke up from a nightmare of missing typedefs
4 years ago
Logan007
365d2b2782
prepared header encryption
4 years ago
emanuele-f
81a3102661
Compilation fixes for hin2n
4 years ago
Logan007
0477e476e8
added Speck
5 years ago
emanuele-f
928fc9f22e
Add ability to insert linux routes in n2n
The new -n option can now be used to setup routes directly from the edge command line.
It supports both network routes and default gateway routes. Here is an example:
- "-n 192.168.100.0/24:192.168.99.1" routes the 192.168.100.0/24 network traffic via 192.168.99.1
- "-n 0.0.0.0/0:192.168.99.1" routes all the host traffic via 192.168.99.1
5 years ago
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