switch_st
7285f2a1bc
add set uid/gid command option to supernode
4 years ago
Luca Deri
4e592dd82e
Minor cleanup
4 years ago
switch_st
40f39caaac
change the management port command order
4 years ago
switch_st
d59b977840
add management port command option to supernode
4 years ago
switch_st
e24ad06a24
fix build error for supernode when declared N2N_HAVE_DAEMON
4 years ago
fengdaolong
16b1c7c065
Clean up redundant code in sn.c
Clean up redundant code contained in both sn.c and sn_utils.c
4 years ago
Logan007
6fc9890e55
added MAC to management port output
4 years ago
Logan007
65be75dbe2
enabled packet checksum
4 years ago
Logan007
a84d03a6a6
quick fix for header encryption, also disabling checksum check
4 years ago
Logan007
8fb553ab03
initialized hash in sn, too
4 years ago
Logan007
eaa1acb543
no payload with REGISTER
4 years ago
fengdaolong
f5accc8221
Fix cmake compilation errors.
1. CMakeLists.txt added to automatically obtain the revised version number from the git repository.
2. Adjusted some header files to fix Windows platform compilation errors.
3. Eliminate some compilation warnings.
4 years ago
Logan007
0e0d662dbb
added decryption step
4 years ago
Logan007
e8d5e939a7
added encryption step
4 years ago
Logan007
033b1890f2
blended checksum into header iv
4 years ago
Logan007
789dd90272
Header Encryption
4 years ago
Luca Deri
3eb82b2a32
Code reorganization
4 years ago
Logan007
2f00b21d43
having supernode running again (unencryptedly)
4 years ago
Logan007
2ce891748d
new communities have no header encryption
4 years ago
Luca Deri
9951a917c7
Updated (C)
4 years ago
Luca Deri
68428a8d2a
Updated (C)
4 years ago
Logan007
9d62263eca
having supernode running again (unencryptedly)
4 years ago
Logan007
a553c8fe38
new communities have no header encryption
4 years ago
emanuele-f
a014f5a68b
Windows compilation fix
5 years ago
Logan007
353a82c017
added list of currently managed communities to supernode's management port output
5 years ago
Luca Deri
b73f146d9b
Fixed warnings
Moved to 2.7
5 years ago
Felix Pojtinger
fd902173ff
Remove duplicate definitions
5 years ago
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
5 years ago
horseluke
6647194537
Fix: function setOption pass wrong argument to load_allowed_sn_community
See issue #135
5 years ago
horseluke
1c67672746
Fix: MSVC error C2065: "uint": Undeclared identifier.
5 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