emanuele-f
4f04241bb3
Avoid community whitelist purging
Fixes #175
5 years ago
emanuele-f
0b965c37c0
Read local edge.conf and supernode.conf files on Windows
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
561f0e2f4f
Supernode graceful termination in Windows
Closes #163
5 years ago
emanuele-f
b19232bc7a
Drop privileges by default for edge nodes and add root warning
5 years ago
emanuele-f
e7aa70ac87
Load arguments from file on windows too
6 years ago
horseluke
6647194537
Fix: function setOption pass wrong argument to load_allowed_sn_community
See issue #135
6 years ago
horseluke
1c67672746
Fix: MSVC error C2065: "uint": Undeclared identifier.
6 years ago
emanuele-f
365dd29b12
Remove unused field in peer_info
6 years ago
emanuele-f
1d03f9ba59
Purge idle communities
6 years ago
emanuele-f
03281648b4
Reduce message verbosity
6 years ago
emanuele-f
a4a974c34d
Supernode clean shutdown
6 years ago
emanuele-f
d247c0a73c
Keep supernode communities in separate hash
6 years ago
emanuele-f
447c3ad8c3
Replace peers linked list with hash
6 years ago
emanuele-f
4eacea7d57
Little improvement
6 years ago
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