Updated Linux/BSD agents.

This commit is contained in:
Ylian Saint-Hilaire 2020-11-22 19:39:10 -08:00
parent 76f108828a
commit 31d9641f60
22 changed files with 16 additions and 16 deletions

View File

@ -3,35 +3,35 @@ C967420916CBD9E547937E09713B613F21E54E6590A51772BEA11D081C253A01BAD017907A581C83
4: MeshService64-signed.exe 4: MeshService64-signed.exe
622A8627B9E2B4495E12B91FA6A5872AB720D1FC91295432D0D8882B952B14A19C26AAD36E517601779D9583C81982A7 622A8627B9E2B4495E12B91FA6A5872AB720D1FC91295432D0D8882B952B14A19C26AAD36E517601779D9583C81982A7
5: meshagent_x86 5: meshagent_x86
EFE258C444AECCB8D92DC76188C2ABF56739E95D666D022CBE615B7E4969DCD1ED27FD5FC1E551B54CD7B8B4D471DDD5 B42E388B5C13308D62EF172292094246BEEF26FB28CAD95CF2910DC39275A5E69850C02DD7795729CC6D568137AFD97C
6: meshagent_x86-64 6: meshagent_x86-64
4EF5F0738C8B18BCBD36215952B318C343B16F07564B550B3621859BE8A66BE53D4CAB7BC428A1435F44080BDEABE3CE E3DF84E98D0A1F95A4C334C40715F59F7CD22C39CF804F3AA7A8854F17948A1A2BF0076FED818551CC6AB82D95E88330
9: meshagent_arm 9: meshagent_arm
F4E474ED9D9BD20C493DE1B18106CF41A143F44A5486824E2552D3CC8C1F0842A94CB93BF04430BD9822F5B4236BD4DD ABF0727184FF27489DA8FF579EE09755186797D83C98A1EDEEA8E8DDDB77862A92AA9CA693CB27770F0585F42E6D83B4
7: meshagent_mips 7: meshagent_mips
5455B9293B5789F981C84E5ABCBF9E3378F52151D065EF263F0315C9D44523D15CAC9825FA6DE8CBCF6E4AF9B4A6CDFF CA6F35A21EAF0493FB87C3DBE1F0F54E1B508C56313B9E4B671F9B58D9A35158D924948173351851DBC28CB010AE5396
13: meshagent_pogo 13: meshagent_pogo
63C1B9372249FDE33A9742A9C240AED56BB9457786CEA8348523F53C6A6F01057D5602CA56DC618BC092F2C3723322DA F3292106B9DB6244DC0B767E05F5495132FE0108A19E7EAFCBCAED38AA05EED379872AD8FC804D497AF3EEA05DFE1CE4
15: meshagent_poky 15: meshagent_poky
F98887A9B098A4AAD8BFFF919F89990C599E961D9D64D2BE962F6B1317EDB7AC5647BFF569187A3DB15DBCD3D0797B1F D8FACB26D5177CD25C631F6666A1E8ED243AA909A97AF4F7F8D93B07546B79CE19DCC4A9BF29ED26159879F023AE944E
16: meshagent_osx-x86-64 16: meshagent_osx-x86-64
AC3B4C94D8E83C1A0E3D90608ED14BFE8038A7043D1C92CFD87F96C29370BB94F83E0A60FBF863CEFBA3254B2019A54D AC3B4C94D8E83C1A0E3D90608ED14BFE8038A7043D1C92CFD87F96C29370BB94F83E0A60FBF863CEFBA3254B2019A54D
18: meshagent_poky64 18: meshagent_poky64
DD121B4F767BA766E4BE1B5AE3206A4E602593A3F4C8D9D7CC46E35BA90F35670F9ABDECFCFD7A1B7F76C4B8E5B33CE4 CDA017008725EF8B795E79A5CC6DF7446894C369A82CC017BFB774A5A79DE0376C577A93D988C0D7876465F3D1C78300
19: meshagent_x86_nokvm 19: meshagent_x86_nokvm
8B7F4EF434179AA99971E0F55338DE1B45C4839568A92419769719D1F0E696C850B6C5F9C6A67333F663184C77B2E3EB 30B851D353DAAD7BA97918F65F6AE90C7085EB7A1202BF36ABA5B23F6F40886B8EF7076CCCE4BC12A93773874C505239
20: meshagent_x86-64_nokvm 20: meshagent_x86-64_nokvm
C358AC4017BFBBBE0155D5E8EA97B5C599CAA3EE3CF18F2D1BD78967F458E9F4203F0930CDCCC7B49004D44A0A97D514 D8D2745DB38F8B4126CD4DCB69F1ADD7D29968EDCDAA9EAEF89D129CA852860C5033C180AD1D3E30156B07019A491938
24: meshagent_arm-linaro 24: meshagent_arm-linaro
BA850629B2AF50C4964BB59F4D892E3FC8488214248244D285905A3EC7A8796E0AB12B0DC6E7606BA7F1E1BF7645A4C0 1AA754BC1E5DA0955F22FF603280AD0F5CB4E5E2E50C2781DA382558EC4745E5941DE7C0409290266FEA10028773EFB1
25: meshagent_armhf 25: meshagent_armhf
41822D2DB2837AD6854AB2F3A9AADD62197AD4F1061B6FA949894A381CF6A5F285E29722BB38CE825FEB330636315749 5385EA55E881B03B8E0A6183BA5890A35C24AFD67BC7619ECD4261E24814C8447310ED329F0C3646F282075A0F4CD365
26: meshagent_arm64 26: meshagent_arm64
6504E50E83D680B4C4505D9C05B099F0D143B78DB6F0AC83763A82C0A4AF9043DBC7A185C4CED7A0BF07DF7668F38B8B 8A9D0D5DAF61EBA538E299675E0AFDF5193DBA5199F535A8385CE6E261CD15487481A125BB2F4A1FB6AC727D6908F5F3
27: meshagent_armhf2 27: meshagent_armhf2
6306E41CE4B017153B11B7E1022AFA29E2586EA02F9561E369A77938F6A65AE094E53DB0E4B0852CF91FC5D362D90F21 9DF9F3FFAEF0247C7F9475DA5369CE8C94B4CE35B04F0CE64F6CE1E465490061A6A121B0C1DB1B8B398E02C15885C08D
28: meshagent_mips24kc 28: meshagent_mips24kc
2E15EEDD9682ADDDDD90D46CB4ADA441C5B0A40DC7D513BA02CC0331B44EC5B35C92708B3E3595F5E65FF0799CF66764 2E15EEDD9682ADDDDD90D46CB4ADA441C5B0A40DC7D513BA02CC0331B44EC5B35C92708B3E3595F5E65FF0799CF66764
30: meshagent_freebsd_x86-64 30: meshagent_freebsd_x86-64
E91D5B460B4EEAF3FF5C81DFEBB6876929074A06871B18AD4317435B6285BFBCC4DE705F97E4F2E8ACD9765D8EA45FF1 12AEF98B21A36F6D76347E72BB6CB140846D0DE75CE57A8CD4408AA1AC84419FB9D5B456C8D5C5B3CC0A2350CA7B8AC9

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -138,7 +138,7 @@ function CreateMeshCentralServer(config, args) {
try { require('./pass').hash('test', function () { }, 0); } catch (e) { console.log('Old version of node, must upgrade.'); return; } // TODO: Not sure if this test works or not. try { require('./pass').hash('test', function () { }, 0); } catch (e) { console.log('Old version of node, must upgrade.'); return; } // TODO: Not sure if this test works or not.
// Check for invalid arguments // Check for invalid arguments
var validArguments = ['_', 'user', 'port', 'aliasport', 'mpsport', 'mpsaliasport', 'redirport', 'rediraliasport', 'cert', 'mpscert', 'deletedomain', 'deletedefaultdomain', 'showall', 'showusers', 'showitem', 'listuserids', 'showusergroups', 'shownodes', 'showallmeshes', 'showmeshes', 'showevents', 'showsmbios', 'showpower', 'clearpower', 'showiplocations', 'help', 'exactports', 'xinstall', 'xuninstall', 'install', 'uninstall', 'start', 'stop', 'restart', 'debug', 'filespath', 'datapath', 'noagentupdate', 'launch', 'noserverbackup', 'mongodb', 'mongodbcol', 'wanonly', 'lanonly', 'nousers', 'mpspass', 'ciralocalfqdn', 'dbexport', 'dbexportmin', 'dbimport', 'dbmerge', 'dbfix', 'dbencryptkey', 'selfupdate', 'tlsoffload', 'userallowedip', 'userblockedip', 'swarmallowedip', 'agentallowedip', 'agentblockedip', 'fastcert', 'swarmport', 'logintoken', 'logintokenkey', 'logintokengen', 'mailtokengen', 'admin', 'unadmin', 'sessionkey', 'sessiontime', 'minify', 'minifycore', 'dblistconfigfiles', 'dbshowconfigfile', 'dbpushconfigfiles', 'dbpullconfigfiles', 'dbdeleteconfigfiles', 'vaultpushconfigfiles', 'vaultpullconfigfiles', 'vaultdeleteconfigfiles', 'configkey', 'loadconfigfromdb', 'npmpath', 'serverid', 'recordencryptionrecode', 'vault', 'token', 'unsealkey', 'name', 'log', 'dbstats', 'translate', 'createaccount', 'resetaccount', 'pass', 'adminaccount', 'removeaccount', 'domain', 'email', 'configfile']; var validArguments = ['_', 'user', 'port', 'aliasport', 'mpsport', 'mpsaliasport', 'redirport', 'rediraliasport', 'cert', 'mpscert', 'deletedomain', 'deletedefaultdomain', 'showall', 'showusers', 'showitem', 'listuserids', 'showusergroups', 'shownodes', 'showallmeshes', 'showmeshes', 'showevents', 'showsmbios', 'showpower', 'clearpower', 'showiplocations', 'help', 'exactports', 'xinstall', 'xuninstall', 'install', 'uninstall', 'start', 'stop', 'restart', 'debug', 'filespath', 'datapath', 'noagentupdate', 'launch', 'noserverbackup', 'mongodb', 'mongodbcol', 'wanonly', 'lanonly', 'nousers', 'mpspass', 'ciralocalfqdn', 'dbexport', 'dbexportmin', 'dbimport', 'dbmerge', 'dbfix', 'dbencryptkey', 'selfupdate', 'tlsoffload', 'userallowedip', 'userblockedip', 'swarmallowedip', 'agentallowedip', 'agentblockedip', 'fastcert', 'swarmport', 'logintoken', 'logintokenkey', 'logintokengen', 'mailtokengen', 'admin', 'unadmin', 'sessionkey', 'sessiontime', 'minify', 'minifycore', 'dblistconfigfiles', 'dbshowconfigfile', 'dbpushconfigfiles', 'dbpullconfigfiles', 'dbdeleteconfigfiles', 'vaultpushconfigfiles', 'vaultpullconfigfiles', 'vaultdeleteconfigfiles', 'configkey', 'loadconfigfromdb', 'npmpath', 'serverid', 'recordencryptionrecode', 'vault', 'token', 'unsealkey', 'name', 'log', 'dbstats', 'translate', 'createaccount', 'resetaccount', 'pass', 'adminaccount', 'removeaccount', 'domain', 'email', 'configfile', 'maintenancemode'];
for (var arg in obj.args) { obj.args[arg.toLocaleLowerCase()] = obj.args[arg]; if (validArguments.indexOf(arg.toLocaleLowerCase()) == -1) { console.log('Invalid argument "' + arg + '", use --help.'); return; } } for (var arg in obj.args) { obj.args[arg.toLocaleLowerCase()] = obj.args[arg]; if (validArguments.indexOf(arg.toLocaleLowerCase()) == -1) { console.log('Invalid argument "' + arg + '", use --help.'); return; } }
if (obj.args.mongodb == true) { console.log('Must specify: --mongodb [connectionstring] \r\nSee https://docs.mongodb.com/manual/reference/connection-string/ for MongoDB connection string.'); return; } if (obj.args.mongodb == true) { console.log('Must specify: --mongodb [connectionstring] \r\nSee https://docs.mongodb.com/manual/reference/connection-string/ for MongoDB connection string.'); return; }
for (i in obj.config.settings) { obj.args[i] = obj.config.settings[i]; } // Place all settings into arguments, arguments have already been placed into settings so arguments take precedence. for (i in obj.config.settings) { obj.args[i] = obj.config.settings[i]; } // Place all settings into arguments, arguments have already been placed into settings so arguments take precedence.

View File

@ -866,7 +866,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
switch (cmd) { switch (cmd) {
case 'help': { case 'help': {
var fin = '', f = '', availcommands = 'help,info,versions,resetserver,usersessions,closeusersessions,tasklimiter,setmaxtasks,cores,migrationagents,agentstats,webstats,mpsstats,swarmstats,acceleratorsstats,updatecheck,serverupdate,nodeconfig,heapdump,relays,autobackup,backupconfig,dupagents,dispatchtable,badlogins,showpaths,le,lecheck,leevents,dbstats,sms,amtacm,certhashes,watchdog,amtmanager'; var fin = '', f = '', availcommands = 'help,maintenance,info,versions,resetserver,usersessions,closeusersessions,tasklimiter,setmaxtasks,cores,migrationagents,agentstats,webstats,mpsstats,swarmstats,acceleratorsstats,updatecheck,serverupdate,nodeconfig,heapdump,relays,autobackup,backupconfig,dupagents,dispatchtable,badlogins,showpaths,le,lecheck,leevents,dbstats,sms,amtacm,certhashes,watchdog,amtmanager';
if (parent.parent.config.settings.heapdump === true) { availcommands += ',heapdump'; } if (parent.parent.config.settings.heapdump === true) { availcommands += ',heapdump'; }
availcommands = availcommands.split(',').sort(); availcommands = availcommands.split(',').sort();
while (availcommands.length > 0) { if (f.length > 80) { fin += (f + ',\r\n'); f = ''; } f += (((f != '') ? ', ' : ' ') + availcommands.shift()); } while (availcommands.length > 0) { if (f.length > 80) { fin += (f + ',\r\n'); f = ''; } f += (((f != '') ? ', ' : ' ') + availcommands.shift()); }

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B