Skip to content
  • Leigh B. Stoller's avatar
    Respond to Shashi's message that users can cause the parser to go into · e45c4905
    Leigh B. Stoller authored
    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.