m-lab / ndt

Network Diagnostic Tool
Other
11 stars 7 forks source link

Make sure every fork()ed subprocess has a watchdog timer. #16

Closed pboothe closed 8 years ago

pboothe commented 8 years ago

Adds two alarm() calls which will act as watchdog timers for the c2s process to prevent runaway packet captures.

pboothe commented 8 years ago

PTAL

mtlynch commented 8 years ago

LGTM

pboothe commented 8 years ago

Addressed the first two comments, leaving the last one as-is because the slop time is not an important enough constant to warrant exporting.