Respond to Shashi's message that users can cause the parser to go into
an infinite loop rather easily via the NS file TCL hooks. Added a perl wrapper around parse.tcl called parse-ns, which forks a child to run the parser. The parser is invoked "nice +10" and the CPU limit for the child is set to 60 seconds, which should be enough for any parse. If the limit is exceeded, send email to tbops since this indicates a big problem or a user being dumb/malicious.
Showing with 89 additions and 4 deletions