Repository navigation
Issues.00150
Summary: remote commanding capability
Created: 2009–05–15 13:37
Status: Released
Category: Request
From: frankie
Version: 2.0
Released_In: 2.1
Description:
A remote commanding capability in EDGE would be useful for facility integration. Would be good to model this off of similar capabilities in DOUG.
This capability will be included in EDGE 2.1. For documentation see EDGE Remote Commanding Capability page.
| commit | 51c0f1e48a28a1d8192bb7a997a6a88ffc2d69ba [link] |
||
| Author: | Frank Graffagnino |
| Date: | Fri Mar 12 13:45:06 2010 -0600 |
| Message: | [@Issue 00150: Added a status GUI for the RCS
Now folks who don't have a terminal to see what port the RCS is running on, or what commands are being sent can see some information in a GUI listed under the options menu. This should be particularly helpful for windows users. @] |
Affected Files:
gui/remote_commanding_server.tcl | 315 +++++++++++++++++++++++++++±----------
1 file changed, 224 insertions(+), 91 deletions(-)
| commit | 7d3d6446aaf3e8097a282b55cd07b46468a75d07 [link] |
||
| Author: | Frank Graffagnino |
| Date: | Thu Mar 11 16:56:20 2010 -0600 |
| Message: | [@Issue 00150: Added routine to get a global var
Added in a generic routine to access global variables. Also, added a global that gets set to the EDGE version @] |
Affected Files:
gui/remote_commanding_server.tcl | 17 ++++++++++++++±-
1 file changed, 15 insertions(+), 2 deletions(-)
| commit | 45c535815019f1a06320473da1eab5c60a0b1217 [link] |
||
| Author: | Frank Graffagnino |
| Date: | Thu Mar 11 16:14:15 2010 -0600 |
| Message: | [@Issue 00150: Added in nuclear option to RCS
Since some people may want to run insecure on their RCS and allow all commands to be executed, this option will allow you to turn off the safe slave interpreter and go back to the original method of execution using a straight uplevel to execute the untrusted string from the RCS socket. @] |
Affected Files:
edge_settings.cfg | 1 +
gui/remote_commanding_server.tcl | 27 ++++++++++++++++++++++±---
2 files changed, 24 insertions(+), 4 deletions(-)
| commit | 7d55148abfddce0092bd3a4e89c484ca7188860b [link] |
||
| Author: | Frank Graffagnino |
| Date: | Thu Mar 11 15:51:30 2010 -0600 |
| Message: | [@Issue 00150: Completed upgrade to use a safe tcl interpreter
Now, commands are sent into a safe slave interpreter to be a little safer since we are dealing with untrusted strings from over the network. Users can add in aliases to commands they want to be able to run along with the doug.* aliases we add in by default. Still need to add in a "nuclear" option to disable the safe stuff and go back to the wide open method @] |
Affected Files:
edge_settings.cfg | 3 +++
gui/remote_commanding_proc_allow.tcl | 32 ++++++++++++++++++++++++++++++++
gui/remote_commanding_server.tcl | 25 +++++++++++++++±--------
3 files changed, 51 insertions(+), 9 deletions(-)
| commit | faefe0e28693dd6b91d0dcac2c9435e16672419a [link] |
||
| Author: | Frank Graffagnino |
| Date: | Fri Feb 19 08:36:20 2010 -0600 |
| Message: | [@Issue 00150: Updated RCS version format
@] |
Affected Files:
gui/remote_commanding_server.tcl | 5 +±--
1 file changed, 2 insertions(+), 3 deletions(-)
| commit | bc6f345ff0bbb6931241efe552f1fd3108dfcdab [link] |
||
| Author: | Frank Graffagnino |
| Date: | Thu Feb 18 10:40:14 2010 -0600 |
| Message: | [@Issue 00150: Further updates to RCS and example RCS client script
Now, all response from the RCS are close with the EOT character, including the initial server version reported back. The example client script has been updated to include a tcl function for reading a response and looking for this character. @] |
Affected Files:
gui/remote_commanding_server.tcl | 4 ±
src.dist/scripts/remote_commanding_client.tcl | 86 ++++++++++++++++++±-------
2 files changed, 63 insertions(+), 27 deletions(-)
| commit | 03c61e0e41210dc927337a79f95601d458911a09 [link] |
||
| Author: | Frank Graffagnino |
| Date: | Wed Feb 17 18:15:14 2010 -0600 |
| Message: | [@Issue 00150: Updated RCS protocol to use EOT char
Now, the response from the server will end with the EOT char. @] |
Affected Files:
gui/remote_commanding_server.tcl | 78 ++++++++++++++++±----------------------
1 file changed, 32 insertions(+), 46 deletions(-)
| commit | 125146e0237da90d850cbc5c07cf2dd95b01b418 [link] |
||
| Author: | Frank Graffagnino |
| Date: | Mon Feb 15 21:31:27 2010 -0600 |
| Message: | [@Issue 00150: OOPS! Fixed dummy mistake in previous commit
@] |
Affected Files:
gui/remote_commanding_server.tcl | 1 +
1 file changed, 1 insertion(+)
| commit | db7cc766d68800da0d56c43e1c451ef80a41b8c5 [link] |
||
| Author: | Frank Graffagnino |
| Date: | Mon Feb 15 09:11:39 2010 -0600 |
| Message: | [@Issue 00150: Updated RCS to report version
Now, clients who may need to adjust on the fly for compatibility can do so. The server now sends over the RCS version as part of the connection handshake so that the client can adapt if it needs to. @] |
Affected Files:
gui/remote_commanding_server.tcl | 9 ++++++±-
src.dist/scripts/remote_commanding_client.tcl | 2 ±
2 files changed, 8 insertions(+), 3 deletions(-)
| commit | ecc224d04d0dd84d684199dfdf9e8cac489069d0 [link] |
||
| Author: | Frank Graffagnino |
| Date: | Thu Feb 11 12:15:27 2010 -0600 |
| Message: | [@Issue 00150: Remote commanding server updates
Upgraded the rcs to also return execution results and handle tcl errors. Also updated the example client to execise the new capability. @] |
Affected Files:
gui/remote_commanding_server.tcl | 133 +++++++++++±-------------
src.dist/scripts/remote_commanding_client.tcl | 6 ++
2 files changed, 69 insertions(+), 70 deletions(-)