Commit Graph

41 Commits

Author SHA1 Message Date
Logan007
2ce891748d new communities have no header encryption 2020-06-17 11:51:14 +05:45
Luca Deri
9951a917c7 Updated (C) 2020-06-17 11:30:48 +05:45
emanuele-f
a014f5a68b Windows compilation fix 2020-05-24 11:25:12 +02:00
Luca Deri
803155f244
Merge pull request #224 from Logan007/snLstCmmnts
added list of currently managed communities to supernode's management port output
2020-04-24 00:38:48 +02:00
Luca Deri
a13247f6c0
Merge pull request #209 from pojntfx/dev
Enable embedding the supernode, add more embedding examples (clean)
2020-04-23 23:51:02 +02:00
Logan007
353a82c017 added list of currently managed communities to supernode's management port output 2020-04-14 19:54:43 +02:00
Luca Deri
b73f146d9b Fixed warnings
Moved to 2.7
2020-03-24 10:09:39 +01:00
Felix Pojtinger
fd902173ff Remove duplicate definitions 2020-03-16 15:07:11 +01:00
emanuele-f
4f04241bb3 Avoid community whitelist purging
Fixes #175
2019-08-15 11:32:41 +02:00
emanuele-f
0b965c37c0 Read local edge.conf and supernode.conf files on Windows 2019-08-11 14:35:20 +02:00
emanuele-f
4e9d66a0a2 Rework log levels
Now "-v" only returns high level information, whereas "-vv" can be used to further increase the verbosity.
2019-07-15 23:21:38 +02:00
emanuele-f
561f0e2f4f Supernode graceful termination in Windows
Closes #163
2019-07-08 22:49:30 +02:00
emanuele-f
b19232bc7a Drop privileges by default for edge nodes and add root warning 2019-06-19 01:14:54 +02:00
emanuele-f
e7aa70ac87 Load arguments from file on windows too 2019-06-13 13:22:52 +02:00
horseluke
6647194537 Fix: function setOption pass wrong argument to load_allowed_sn_community
See issue #135
2019-06-13 16:22:21 +08:00
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