Hi,

while hunting for some other problem I noticed that for plugins which
use get_kb_item() for a multi-valued key (e.g. Services/www), there
seems to be a hardcoded 120 second timeout in plug_get_key():
     if(!(pid = fork()))
     {
     /* so that different plugins do not use the same seed */  
     srand48(getpid() + getppid() + time(NULL));
 
     sig_term(_exit);
     sig_alarm(_exit);
     alarm(120);

Two questions:
1) Should this not use the plugin timeout from nessus.rc?
2) AFAICS, these forked processes are not counted against the max.
number of concurrent processes.  Is this a correct observation?

so long
        Norbert


_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to