Mailing List Archive

doublecheck_std_services.nasl dependency bug [PATCH]
Hi,

on Nessus 2.2.6 and 2.2.7, I noticed the following problem in the log:

[Mon Apr 17 09:08:32 2006][28378] find_service1.nasl (process 28383)
finished its job in 0.007 seconds
[Mon Apr 17 09:08:32 2006][28378] user xyz : Not launching
doublecheck_std_services.nasl against x.x.x.x because the key
Settings/ThoroughTests is missing (this is not an error)


This happened on every scan. Thorough tests was enabled in our nessusrc,
so I couldn't understand why this was happening. We found out that the
key gets set in global_settings.nasl, and double-checked that the value
was being set correctly - it was.

It turns out that global_settings.nasl was always being run *after*
doublecheck_std_services.nasl, so it just wasn't set yet.

Adding a dependency on global_settings.nasl in
doublecheck_std_services.nasl fixed this problem. Patch is attached.

Does this bug not occur in Nessus 3 due to changes in the plugin
scheduling / NASL interpreter?


--
Hubert Seiwert

Internet Security Specialist, Westpoint Ltd
Albion Wharf, 19 Albion Street, Manchester M1 5LN, United Kingdom

Web: www.westpoint.ltd.uk
Tel: +44-161-2371028
Re: doublecheck_std_services.nasl dependency bug [PATCH] [ In reply to ]
On Fri Apr 21 2006 at 18:47, Hubert Seiwert wrote:

> It turns out that global_settings.nasl was always being run *after*
> doublecheck_std_services.nasl, so it just wasn't set yet.

Which version of Nessus are you running?

_______________________________________________
Nessus-devel mailing list
Nessus-devel@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus-devel
Re: doublecheck_std_services.nasl dependency bug [PATCH] [ In reply to ]
On Apr 21, 2006, at 12:47 PM, Hubert Seiwert wrote:
>
> Adding a dependency on global_settings.nasl in
> doublecheck_std_services.nasl fixed this problem. Patch is attached.

The root of the problem is that the ACT_SETTINGS plugins are not
properly enabled whereas they should be.

I'll make sure this gets patched in the next 2.x release.


> Does this bug not occur in Nessus 3 due to changes in the plugin
> scheduling / NASL interpreter?

Both are different, so yes.

-- Renaud
_______________________________________________
Nessus-devel mailing list
Nessus-devel@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus-devel