Logan oos Even
56a81f02b8
fixes ( #819 )
3 years ago
skyformat99
a87a124316
Update supernode.c ( #800 )
fix #799
3 years ago
Logan oos Even
dd41689bb9
added supernode version and uptime information to edge management port output ( #796 )
3 years ago
Hamish Coleman
35ec7336a6
simplified the makefiles ( #795 )
* Move the makefiles towards a clearer arrangement
* Break circular make dependancy and start using implicit rules for most compilation
* Fix old cmake to compile again after renames
3 years ago
Logan oos Even
b6e865aac7
trimmed open_socket() down by one parameter ( #768 )
3 years ago
Logan oos Even
e13c9a01a5
rearranged thread-related code ( #761 )
3 years ago
Logan oos Even
f6eb1377ec
reviewed log messages ( #744 )
3 years ago
Logan oos Even
c21accc2a1
enabled edge to bind to a specified IP address (-b) ( #753 )
3 years ago
Logan oos Even
c35129b8e2
added 'reload_communities' command to supernode management port ( #740 )
3 years ago
Logan oos Even
39aa50b4cd
added manual MAC/IP address spoofing protection override at supernode (-M) ( #716 )
3 years ago
Logan oos Even
75ab1fc5aa
made internal changes to cli parameter processing ( #702 )
3 years ago
Logan oos Even
3c6ab56d3f
allowed (temporarily) initially non-resolving supernode names ( #701 )
3 years ago
Logan oos Even
c55e3e3246
multithreaded supernode name resolution ( #645 )
3 years ago
Logan oos Even
a28327a0af
added user-password edge authentication ( #673 )
3 years ago
Logan oos Even
1c1a9f5058
fixed small memory issue ( #666 )
4 years ago
Logan oos Even
a482fe112d
added TCP support ( #627 )
(disabled on Windows)
4 years ago
Logan oos Even
408f24d778
corrected supernode help text ( #633 )
4 years ago
Logan oos Even
c696f59e07
ensured correct community file loading (sn) ( #609 )
4 years ago
Logan oos Even
39a71513f4
reworked supernode help text ( #605 )
4 years ago
Logan oos Even
9fe1c5a91e
fixed conf file option parsing
analogous to 18107bcb7c
4 years ago
Logan oos Even
7eeca3d78f
cleaned up mac type usage ( #583 )
4 years ago
Logan oos Even
4e2548a98c
simplified conf file parsing ( #582 )
4 years ago
Francesco Carli
244b1bef95
Change space indention ( #556 )
* readability code clean-up
* readability code clean-up
* change space indention
* change space indention
* Update sn_utils.c
4 years ago
Francesco Carli
ef2d3a5237
readability code clean-up ( #552 )
* readability code clean-up
* readability code clean-up
* change space indention
* Revert "change space indention"
This reverts commit 067f675faa
.
4 years ago
Francesco Carli
8915609f1a
Implement a load-based supernode selection strategy on edges ( #493 )
* Implement load-based selection strategy
* Update n2n_wire.h
* Update edge_utils.c
* Update n2n.c
* Update sn_utils.c
* Update edge_utils.c
4 years ago
Francesco Carli
e65fd984d7
Packet forwarding between supernodes ( #486 )
* Packet forwarding between supernodes
* Update wire.c
4 years ago
Francesco Carli
eff68f1241
Define out -m option ( #485 )
4 years ago
Francesco Carli
dcbc39c0fb
Update REGISTER_SUPER_ACK handling on edge ( #478 )
4 years ago
Luca Deri
3095c816e2
Warnign fixes
4 years ago
Luca Deri
bbabf30bc5
Crash fix
-l needs to be validated: added basic check (not enough TOFIX)
4 years ago
Francesco Carli
ed25ff8d01
Fixes minor issues introduced by #460 ( #461 )
4 years ago
Luca Deri
f6e4047ce0
Partial fixes for addressing compilation issues introduced by https://github.com/ntop/n2n/pull/460
4 years ago
Francesco Carli
c9eedd68f0
Initialize the federation of supernodes ( #460 )
* Add supernode2sock() and add_sn_to_federation_by_mac_or_sock()
* Update sn_utils.c
* Update sn.c and sn_utils.c
* Update REG_SUPER_ACK payload
* Update add_sn_to_federation_by_mac_or_sock()
4 years ago
Francesco Carli
7d565df3a6
Fix segfault ( #454 )
* Fix segfault
* Update sn_utils.c
4 years ago
fcarli3
b2b76a450e
How get federation name as parameter
4 years ago
francesco_carli
9dbc54f443
Update sn.c
4 years ago
francesco_carli
b5d4a70983
Add comm_init() function
4 years ago
Logan007
f71ef12753
removed begin, end, and whitespace from reg exp
4 years ago
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