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
fengdaolong
69e3b49bec
eliminate compilation warnings
6 years ago
yunbox
f48c170c26
Fix supernode handling REGISTER message from edge and let edge ask supernode to forward REGISTER message in case of non-p2p-reflection.
This is reliable way to PUNCH UDP HOLE (following STUN spec)
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
04226c09c8
Fix compilation warnings and little leak
6 years ago
emanuele-f
856dbae44c
Cosmetic changes to improve edge registration tracing
6 years ago
emanuele-f
d689691599
n2n.h cleanup
6 years ago
emanuele-f
03761fc84c
Handle WSAECONNRESET to avoid stopping the supernode on Windows
6 years ago
emanuele-f
5742ef978f
Add Windows compilation instructions
6 years ago
emanuele-f
5f4dfdc683
Reduce the registration timeout to keep the connection open
6 years ago
Chris Sheely
ba0ecabbf6
Submit minor changes to enable Windows CMake builds w/o further mods.
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
Luca Deri
b877f2dd1c
Merge of https://github.com/ntop/n2n/pull/33
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
Luca Deri
7b07636281
Refreshed copyright and added contributors list
7 years ago
Luca Deri
b1e9ce6d2a
Initial SVN import of n2n v2
8 years ago