Logan007
a35675da4d
internally renamed dhcp --> auto ip
4 years ago
Logan007
78409df1c8
let auto ip feature handle several sub-networks
4 years ago
Luca Deri
0825bfb16b
Compilation fixes
4 years ago
Logan007
1d048c59a9
polished reg exp handling and fixed bugs
4 years ago
fengdaolong
92dfa67e22
Added DHCP function embedded in sn.
1. Automatically assign IP addresses to the edge through the DHCP function that comes with sn, the default IP address pool is 172.17.12.0/24.
2. The -d parameter is added to sn, and the IP address pool of the embedded DHCP can be customized.
3. Now edge does not need to add -a and -s parameters to automatically obtain the IP address.
4. The IP automatically obtained by the cross-community edge can be the same, because the communities are isolated from each other and do not interfere with each other.
5. On the management side of sn (127.0.0.1:5645), you can now view the IP address of the tutap adapter of each edge.
6. Fix many bugs that have a certain chance of causing memory leaks.
7. Note: This version is not fully compatible with the previous version.
4 years ago
Logan007
dece8d787e
freed reg exp on exit, counted reg exp, warned on empty community list file, returned early from packet handling on non-matching reg exp
4 years ago
Logan007
1b3e485da6
typo in comment
4 years ago
Logan007
b5b18443af
added regular expression checking
4 years ago
Logan007
7311efa35a
planned regular expression preparation
4 years ago
Logan007
9fba63dfb4
added per-community locking
4 years ago
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
4 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
5 years ago
emanuele-f
1d03f9ba59
Purge idle communities
5 years ago
emanuele-f
03281648b4
Reduce message verbosity
5 years ago
emanuele-f
a4a974c34d
Supernode clean shutdown
5 years ago
emanuele-f
d247c0a73c
Keep supernode communities in separate hash
5 years ago