ryanblenis / meshcentral-routeplus Goto Github PK
View Code? Open in Web Editor NEWPort routing plugin for the MeshCentral project
License: Apache License 2.0
Port routing plugin for the MeshCentral project
License: Apache License 2.0
no more able to save settings of mapping.
no more able to tick/untick the checkbox for RDP link option.
no more able to remove mapped devices.
can't uninstall plugin the normal way anymore.
when adding a new route, then no way to remove it from the GUI as the remove button next to each route does nothing. the only way I could remove that route is by altering the mongo DB !!!!
running meshcentral 0.9.30 (latest as of now)
running the lastest RoutePlus build.
Choosing Set on a linux X11 machine then adding a route rule (any) will make Connect in Desktop no longer work (turn to disconnect immediately). Removing the rule and restarting the agent will make Desktop Connect work again.
meshcentral 0.5.25
Hi,
After installing the plugin (and restarting MeshCentral) I still get the error: "Internal Server Error" in MeshCentral.
When I check the mesherrors.txt I noticed the following error:
TypeError: Cannot read properties of undefined (reading 'getUserMaps')
at Object.obj.handleAdminReq (/home/danny/meshcentral/meshcentral-data/plugins/routeplus/routeplus.js:213:20)
at Object.obj.handleAdminReq (/home/danny/meshcentral/node_modules/meshcentral/pluginHandler.js:522:40)
at obj.handlePluginAdminReq (/home/danny/meshcentral/node_modules/meshcentral/webserver.js:5376:34)
at Layer.handle [as handle_request] (/home/danny/meshcentral/node_modules/express/lib/router/layer.js:95:5)
at next (/home/danny/meshcentral/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/danny/meshcentral/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/danny/meshcentral/node_modules/express/lib/router/layer.js:95:5)
at /home/danny/meshcentral/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/home/danny/meshcentral/node_modules/express/lib/router/index.js:335:12)
at next (/home/danny/meshcentral/node_modules/express/lib/router/index.js:275:10)
I have MeshCentral running on Ubuntu 18.04.3!
Do you have any idea what the problem is?
Thx,
Danny
This is a feature request. Is it possible to configure more than one "My Computer"?
Specifically, instead of having a single computer as the target for all configured routings, which is currently selected by clicking on , would it be possible to make this target node settable for each individual route?
BTW, I love this plug-in and find it very useful.
Hello there,
I've been using RoutePlus on my MeshCentral for more than 2 years now and it was awesome.
However, recently it stopped working on all of my nodes suddenly. I've tried everything from restarting the server, restarting my clients, uninstalling the RoutePlus plugin and re-installing it. MeshCentral's server logs does not have anything as well.
RoutePlus just stopped adding nodes into the Active Mapping section after click on the 'Add' button. Upon further checks using the browser's console, it seemed like there was an error, but am not so sure what is causing it. I have tried on Google Chrome, Mozilla Firefox and Samsung Internet.
The RoutePlus version in use is 0.15.
MeshCentral version is 1.1.14 (latest), it stopped working on 1.1.10. Updating it doesn't help. Reverting back to a previous snapshot helps but after a certain time it comes back again.
Thanks!
Hi @ryanblenis ,
I've enabled debug so I can troubleshoot some connectivity issues I seem to be having, but after setting debug_flag = true I have been unable to locate the routeplus.txt file.
[MeshCentral 5.1j on Ubuntu 18.04]
Any help is appreciated.
First, this is a great plugin. Works well and the instructions are easy to follow. Thank you for all your efforts!
Next, this is a feature request. I need the port assignment to remain static and not change when I log in. To go a step further I would actually like to assign the local port.
I have forked the project and tried to get this to work, but something about the startRoute and addMap eludes me. Even though I have assigned the localport it doesn't like it. I am sure I am doing something stupid. Any help is appreciated. Again, great job!
Hello, can you plz add with check box or somehow when i create a port for my client to select if i want to be created to my account or all others accounts? Because now i have to create the same mappings for each meshlcentral account!
thanks
More than half the time when I create a mapping, the source port is shown as "null". Specifying the port does work, but then I have to confirm available ports each time I want to use this. I'm on 0.8.62 with RoutePlus 0.1.3.
Ryan,
I came across this plugin when searching for answers to this:
Ylianst/MeshCommander#44
Awesome Work!
I have a usability question.
Buildup:
After I create a routeplus mapping, I can RDP to my computer very easily using the assigned ports. (Let's assume 54,321)
Dilemma:
The next morning, I turn off the computer that I am sitting at... and later turn it back on. (It may or may not get a new IP address.)
Question(s):
Am I supposed to be able to connect to the port 54,321 which was made yesterday? (Because this doesn't seem to work, and the RDP file just tries to secure a connection)
If I remove the RoutePlus, routing and re-add it, it works as long as I update my RDP file with the new port number.
I guess my 2nd question: Is RoutePlus intending to keep that static route open? (I am hoping yes...)
Thanks for any and all assistance!
Sincerely,
Robert
i'm crossposting from here: Ylianst/MeshCentral#1156
when i click on RoutePlus RDP on devices page, download starts, but web page says Disconected:
and one more thing - when you add or remove port mapping, and then open up a device, "RoutePlus RDP" is not ther or still in place according you add or remove - when you do a full page refresh with Ctrl+Shift+R, then it appers/disappears accordingly. i think, it should work without full refresh.
and i'm on Ubuntu desktop with Google Chrome browser. MC version 0.5.7. and yes, error occurs every time, i just tested again.
I was interested in testing this plugin. I'm running MC2 0.7.8 on Windows 10 Enterprise x64. I've tried logging in to MC2 as the primary server "admin" user (my MC2 server is configured with additional domains besides the default), opening "My Server | Plugiins | Download Plugin" and entering the URL
https://raw.githubusercontent.com/ryanblenis/MeshCentral-RoutePlus/master/config.json
but an error is returned
"Plugin Error - value is not defined"
p.s. maybe I should have read #11 first - wondering now if my multi-domain configuration is an issue. Also, noted this in the code for an earlier version of routeplus.js
var db = require('SimpleDataStore').Shared();
I use MariaDB instead of the default; is routeplus compatible with MC2 using MariaDB?
I've read that I need to add this to my config.json
"plugins": {
enabled: true
},
Every time I do, at the same level as settings or domains, MC crashes on service reload.
If I mod it to be:
"plugins": {
"enabled": true
},
MC starts and complains about an unknown config option.
Can you provide a screenshot showing where it should be added?
Latest version of MC (0.4.6-u).
Hi, when I forward a port using RoutePlus and MeshCentral 1.1.5, the connection breaks after some time.
The only way to "fix it" is restarting the MeshCentral server, restarting the client and login again in the MeshCentral WebUI after restart.
Also I activated debug in MeshCentral server but I can't find the routeplus log file.
Here is the log of MeshCentral:
may 14 16:45:08 INFOR3-TacticalRMM node[630]: HTTPHEADERS: GET /meshrelay.ashx/.websocket?auth=AkBet4tJKhfGjwFpFMuW4wESx3dNKe4B5c4G7$smZd1rtt516$xAZDn63j6Vqgm9EuRzktKEm4MdGhCfXDFGxotmo4vgrVs4sceMCn1crjMLCcsIWaYy&nodeid=node//pPv5vDPUix7M6RZA9CQ6Xt7NmcuuiMVmjC3TuRHOz9WhFDCECFBVVVXpaX05ymuY&tcpport=3389&tcpaddr=192.168.2.162 {
may 14 16:45:08 INFOR3-TacticalRMM node[630]: host: 'mesh.infor3.net',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: upgrade: 'websocket',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: connection: 'upgrade',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: 'x-forwarded-host': 'mesh.infor3.net:443',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: 'x-forwarded-for': '192.168.1.1',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: 'x-forwarded-proto': 'https',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: 'content-length': '0',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: 'sec-websocket-key': 'CN1qwfmCPr1IK8FK/iKtVP==',
may 14 16:45:08 INFOR3-TacticalRMM node[630]: 'sec-websocket-version': '13'
may 14 16:45:08 INFOR3-TacticalRMM node[630]: }
may 14 16:45:08 INFOR3-TacticalRMM node[630]: WEBREQUEST: (192.168.1.1) /meshrelay.ashx/.websocket?auth=AkBet4tJKhfGjwFpFMuW4wESx3dNKe4B5c4G7$smZd1rtt516$xAZDn63j6Vqgm9EuRzktKEm4MdGhCfXDFGxotmo4vgrVs4sceMCn1crjMLCcsIWaYy&nodeid=node//pPv5vDPUix7M6RZA9CQ6Xt7NmcuuiMVmjC3TuRHOz9WhFDCECFBVVVXpaX05ymuY&tcpport=3389&tcpaddr=192.168.2.162
may 14 16:45:08 INFOR3-TacticalRMM node[630]: COOKIE: ERR: Bad cookie due to timeout
may 14 16:45:08 INFOR3-TacticalRMM node[630]: RELAY: Relay: Soft disconnect (192.168.1.1)
may 14 16:45:10 INFOR3-TacticalRMM node[630]: DISPATCH: DispatchEvent [ '*' ]
Stability fixes here may be applied to RoutePlus, requires testing against codebase.
Current Status: Testing
This is a very useful plugin, working well on ver 0.5.77. I have a feature request for the layout. It would be easier to find Nodes if we could make the Node list sort or have them listed under groups. I have over 100 nodes and it takes a while to find the node.
Another thing that would be cool if it could keep mappings stored and have an enable/disable switch and maybe a description field (router1, router2, etc). This way we don't have to remember the far side IP/Ports nor keep the mapping always on. Ideally keeping the source port reserved for use in bookmarks/shortcuts
Thanks for all your work, very cool!
In the MyAccount / RoutePlus page, devices that are assigned icon number 7 (populated PCB, raspberry-style) do not show a mini-icon beside them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.