ygg
e6c851d276
add sleep() for fix compile error on windows
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
Disconnect3d
c2442ae486
edge.c: fix incorrect bad gateway check
It seems the previous `route.net_addr == INADDR_NONE` check was incorrect and was probably a result of copy-pasting the previous if statement and not changing the condition.
4 years ago
Logan007
1caf3b4591
shortened help text by three lines
4 years ago
Logan007
789dd90272
Header Encryption
4 years ago
Luca Deri
3eb82b2a32
Code reorganization
4 years ago
Luca Deri
9951a917c7
Updated (C)
4 years ago
Logan007
67a1cb1792
polished speck
4 years ago
Luca Deri
68428a8d2a
Updated (C)
4 years ago
Logan007
0393165570
polished speck
4 years ago
Logan007
fad7c191f6
added XORSHIFT128+ random number generator
4 years ago
Logan007
b04d26fa48
fixed A/z parameter handling
4 years ago
Logan007
ed2d6e99b1
fixed A/z parameter handling
4 years ago
Luca Deri
adad9572a4
Fixed -z_ from file
4 years ago
Luca Deri
d54b7ad392
Fixed -z_ handling
4 years ago
Luca Deri
e50d39b5ce
Compilation fixes
4 years ago
Luca Deri
c2626bae7c
Fixed -A_ parging from configuration files
4 years ago
Luca Deri
b8fcf09177
Compilation fixes
4 years ago
Logan007
0477e476e8
added Speck
5 years ago
emanuele-f
a014f5a68b
Windows compilation fix
5 years ago
emanuele-f
0e48e2f24c
Add support for linux capabilities to proper routes cleanup
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
12aea29abf
tried to resolve conflict - part II
5 years ago
Logan007
05e96bb8fe
tried to resolve conflict
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
lucaderi
fb0a6e8abc
OpenSSL 1.0 fix
5 years ago
Luca Deri
8b8e3ed3ee
Updated OpenSSL checks
5 years ago
Luca Deri
10245f5ef1
Warning fix
5 years ago
Luca Deri
b73f146d9b
Fixed warnings
Moved to 2.7
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
1b49b37a75
Disable PMTU options on apple to fix compilation issues
5 years ago
emanuele-f
8f3009c448
Fix occasional connection issues on startup due to bad MAC address read
5 years ago
emanuele-f
6868ed9ccd
Ensure that the TAP interface is up and running
5 years ago
emanuele-f
0538c5261d
Disable PMTU in other platforms
5 years ago
lucktu
365bae18d7
A newline
A newline
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
0b965c37c0
Read local edge.conf and supernode.conf files on Windows
5 years ago
horseluke
9e56c92af2
Fix: setOption pass wrong argument in edge node
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
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
9cc2aee7fc
Fix config load from file in Windows
5 years ago
emanuele-f
561f0e2f4f
Supernode graceful termination in Windows
Closes #163
5 years ago
emanuele-f
a70641897d
Graceful termination in Windows
5 years ago
emanuele-f
09707660a1
Print available Windows TAP devices after help
5 years ago
emanuele-f
69e1d50ca3
Implement selectable tap adapter in Windows
5 years ago