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
emanuele-f
32f757922c
Add warning when community and encryption keys match
5 years ago
emanuele-f
b19232bc7a
Drop privileges by default for edge nodes and add root warning
5 years ago
emanuele-f
fb813e5438
Fix "invalid transop ID" when encryption is disabled
6 years ago
emanuele-f
04226c09c8
Fix compilation warnings and little leak
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
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
3149a77753
Replace fprintf with traceEvent
6 years ago
emanuele-f
49d5ecf2a8
Reduce duplicated code in quick_edge_init
6 years ago
emanuele-f
d4205d36fd
Additional fix for missing SO_REUSEPORT
edge_utils already fixed in 77392f8e53
6 years ago
emanuele-f
f5b2d00b06
Show multicast group join error code
6 years ago
Chris Sheely
ba0ecabbf6
Submit minor changes to enable Windows CMake builds w/o further mods.
6 years ago
Luca
dcf96a0809
Added #ifdef's for AES
6 years ago
emanuele-f
e4601590aa
Add -A option to enable AES CBC psk encryption
6 years ago
Luca Deri
55d5392cd2
Added check for missing argument (-l)
6 years ago
Luca Deri
1c7b14995b
When multiple supernodes are specified, the edge registers to all of them
6 years ago
Luca Deri
3acd7a0e89
Implemented local peer discovery over multicast. In case two peers are on the same network
edge detects it and bypsses the supernode
deri@Lucas-iMac.local 132> ping 192.168.254.126
PING 192.168.254.126 (192.168.254.126): 56 data bytes
64 bytes from 192.168.254.126: icmp_seq=0 ttl=64 time=84.314 ms <<== via supernode
64 bytes from 192.168.254.126: icmp_seq=1 ttl=64 time=0.989 ms <<== local network announce detected
64 bytes from 192.168.254.126: icmp_seq=2 ttl=64 time=0.642 ms
64 bytes from 192.168.254.126: icmp_seq=3 ttl=64 time=0.727 ms
^C
--- 192.168.254.126 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.642/21.668/84.314/36.169 ms
6 years ago
Luca Deri
57b728a4dd
Improved multicast edge registation
6 years ago
Luca Deri
dd899b3a4d
Initial work for local multicast registering (work in progress)
6 years ago
Luca Deri
1888a0c55a
Merge of https://github.com/ntop/n2n/pull/26
6 years ago
Luca Deri
e4d99cb6f0
Moved to 2.5
Fixed warning
6 years ago
Luca Deri
d299d558ac
Packaging and parameter parsing fixes
6 years ago
Alfredo Cardigliano
30c1ef9ebc
supernode is now able to read options from a configuration file with 'supernode <file>'
6 years ago
Alfredo Cardigliano
18186cff4d
edge now reads a configuration file with 'edge <file>'
format of each line in the configuration file: '<option>{ ,=}<value>'
use '#' to comment out lines
6 years ago
Luca Deri
fcd5dc86a5
Fixed #32
Minor help fixes
6 years ago