horseluke
1c67672746
Fix: MSVC error C2065: "uint": Undeclared identifier.
2019-06-13 15:43:24 +08:00
emanuele-f
365dd29b12
Remove unused field in peer_info
2019-06-10 09:35:13 +02:00
emanuele-f
1d03f9ba59
Purge idle communities
2019-06-10 09:32:06 +02:00
emanuele-f
03281648b4
Reduce message verbosity
2019-06-10 01:42:25 +02:00
emanuele-f
a4a974c34d
Supernode clean shutdown
2019-06-10 01:42:25 +02:00
emanuele-f
d247c0a73c
Keep supernode communities in separate hash
2019-06-10 01:42:21 +02:00
emanuele-f
447c3ad8c3
Replace peers linked list with hash
2019-06-10 00:33:11 +02:00
emanuele-f
4eacea7d57
Little improvement
2019-06-10 00:32:38 +02:00
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
2019-06-08 22:04:10 +02:00
fengdaolong
69e3b49bec
eliminate compilation warnings
2019-06-04 00:09:15 +08:00
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)
2019-05-23 19:24:27 +08:00
Jiang Zihao
0edca7e16a
Fix purge_expired_registrations to accept passed-in last_purge instead of static function var.
2019-05-22 22:46:23 +02:00
emanuele-f
04226c09c8
Fix compilation warnings and little leak
2019-05-21 22:53:55 +02:00
emanuele-f
856dbae44c
Cosmetic changes to improve edge registration tracing
2019-05-05 19:09:51 +02:00
emanuele-f
d689691599
n2n.h cleanup
2019-04-14 18:08:51 +02:00
emanuele-f
03761fc84c
Handle WSAECONNRESET to avoid stopping the supernode on Windows
2019-03-27 01:13:58 +01:00
emanuele-f
5742ef978f
Add Windows compilation instructions
2019-03-01 20:16:24 +01:00
Emanuele Faranda
d7b3b2c06b
Merge pull request #66 from csheely/windows-cmake-build
...
Submit minor changes to enable Windows CMake builds w/o requiring additional local mods.
2019-03-01 18:57:20 +00:00
emanuele-f
5f4dfdc683
Reduce the registration timeout to keep the connection open
2019-02-25 23:42:46 +01:00
Chris Sheely
ba0ecabbf6
Submit minor changes to enable Windows CMake builds w/o further mods.
2019-02-11 16:49:37 -05:00
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
2018-09-28 22:31:45 +02:00
Luca Deri
b877f2dd1c
Merge of https://github.com/ntop/n2n/pull/33
2018-08-17 14:25:35 +02:00
Luca Deri
d299d558ac
Packaging and parameter parsing fixes
2018-08-17 10:17:09 +02:00
Alfredo Cardigliano
30c1ef9ebc
supernode is now able to read options from a configuration file with 'supernode <file>'
2018-08-16 15:08:33 +02:00
Luca Deri
7b07636281
Refreshed copyright and added contributors list
2018-06-06 09:57:31 +02:00
Luca Deri
b1e9ce6d2a
Initial SVN import of n2n v2
2016-10-23 10:46:15 +02:00