Forum Discussion
Russell_E_Glaue
Nimbostratus
Mar 15, 2007calling system applications / command disabled
Some TCL commands are disabled in iRules, like
set sc [open "| /usr/bin/command"]
I get the error:
line 1: [command is not valid in the current scope] [set sc [open "| /usr/bin/co...
Russell_E_Glaue
Nimbostratus
Mar 15, 2007I could not find the configuration guide, but it was communicated to me that the list of disabl;ed commands is on the Wiki.
http://devcentral.f5.com/wiki/default.aspx/iRules/DisabledTclCommands.html
I find it frustrating that when I searched earlier in the iRule Wiki for this search string:
"disabled tcl commands"
That the search turned up nothing.
After being visually pointed to the diabled TCL commands on the Wiki, and saw the wiki name of "DisabledTCLCommands", I can search for that exact string:
"DisabledTCLCommands"
And this returns results.
Why does the wiki search have this problem?
Should the wiki try and find results that match any part of the sentence string, and not restrict the search to only an exact match.
Anyway, disabling "open" and "exec" TCL commands disallows communication to an external application on the system from an iRule. How can I get around this restriction? How can I communicate with a system application?
-RG
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
