Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Nessus: devel
Re: Nessus scripts and Moore's Law
 

Index | Next | Previous | View Flat


mikhail at nessus

Nov 12, 2004, 4:50 AM


Views: 3407
Permalink
Re: Nessus scripts and Moore's Law [In reply to]

On Fri Nov 12 2004 at 12:25, Pavel Kankovsky wrote:

> BTW: The sheer number of plugins in one directory makes CVSweb
> (as well as grep ... *.nasl) unusable.

I guess that we could create sub-directories. Somebody suggested one
directory for each family. Why not? We just have to change the install
script.

> I got a feeling there was a plan to preparse all scripts and save them in
> a parsed form?

I've tried to save the syntax tree in a simple binary format but
loading this is not quicker than parsing the file. Bison is really
good!
Another trick: we could parse all the .nasl, and keep all the syntax
tree in memory. But this might be too expensive (in MB).

>> Over optimizing might be dangerous too: if the web server banner is
>> not in the KB because of a network glitch, the plugin should try to
>> grab it again (that's what get_http_banner does)

> This is silly. Rather than ending with a completely and obviously bogus
> report (no information about the service)

You will get information about other services, so you might miss the
untested service.
The service detection system tries to warn you anyway:
e.g. find_service will say "an unknown service is running on this
port, it is usually reserved for HTTP" and then find_service2 ou
doublecheck_std_services will detect a web server. You will know that
you have a problem, that you should increase the timeout or fix the
network.

> you end with a partially bogus report

The report will be "partially" bogus in both cases.

> MS Windows kill TCP connection with RST when the task dies (GPF etc.).

Excellent idea! We just have to enhance the API to get the last error
code - I guess that nessusd will get ECONNRESET, no?

> As far as I can tell, Nessus has always been more memory (*) and network
> bandwith hungry than CPU hungry.
> (*) Memory leaks might have played some role here...

I think so.

--
arboi [at] alussinan http://arboi.da.ru
NASL2 reference manual http://michel.arboi.free.fr/nasl2ref/

Subject User Time
Nessus scripts and Moore's Law mikhail at nessus Nov 11, 2004, 10:06 AM
    Re: Nessus scripts and Moore's Law theall at tifaware Nov 11, 2004, 1:59 PM
        Re: Nessus scripts and Moore's Law mikhail at nessus Nov 11, 2004, 2:53 PM
        Re: Nessus scripts and Moore's Law hvdkooij at vanderkooij Nov 11, 2004, 3:10 PM
        Re: Nessus scripts and Moore's Law jwlampe at nessus Nov 11, 2004, 3:18 PM
        Re: Nessus scripts and Moore's Law deraison at nessus Nov 11, 2004, 4:49 PM
    Re: Nessus scripts and Moore's Law deraison at nessus Nov 11, 2004, 4:43 PM
        Re: Nessus scripts and Moore's Law mikhail at nessus Nov 12, 2004, 4:02 AM
            Re: Nessus scripts and Moore's Law deraison at nessus Nov 12, 2004, 11:38 AM
                Re: Nessus scripts and Moore's Law mikhail at nessus Nov 13, 2004, 11:34 AM
                    Re: Nessus scripts and Moore's Law peak at argo Nov 13, 2004, 6:07 PM
                        Re: Nessus scripts and Moore's Law mikhail at nessus Nov 14, 2004, 3:03 AM
                        Re: Nessus scripts and Moore's Law deraison at nessus Nov 14, 2004, 4:36 AM
                            Re: Nessus scripts and Moore's Law mikhail at nessus Nov 14, 2004, 5:05 AM
        Re: Nessus scripts and Moore's Law peak at argo Nov 12, 2004, 4:25 AM
            Re: Nessus scripts and Moore's Law mikhail at nessus Nov 12, 2004, 4:50 AM
                Re: Nessus scripts and Moore's Law deraison at nessus Nov 13, 2004, 5:50 AM
                    Re: Nessus scripts and Moore's Law jfl at phalanx Nov 13, 2004, 11:41 AM
            Re: Nessus scripts and Moore's Law erik at edgeos Nov 12, 2004, 9:50 AM
                Re: Nessus scripts and Moore's Law mikhail at nessus Nov 12, 2004, 10:26 AM
    RE: Nessus scripts and Moore's Law scheidell at secnap Nov 12, 2004, 7:04 AM
    Re: Nessus scripts and Moore's Law don at n2 Nov 17, 2004, 11:02 PM
        Re: Re: Nessus scripts and Moore's Law mikhail at nessus Nov 18, 2004, 5:12 AM
            Re: Re: Nessus scripts and Moore's Law erik at edgeos Nov 18, 2004, 11:14 AM
                Re: Re: Nessus scripts and Moore's Law deraison at nessus Nov 18, 2004, 11:19 AM
                    Re: several messages peak at argo Nov 19, 2004, 6:35 PM
                        Re: Re: several messages mikhail at nessus Nov 20, 2004, 2:44 AM
                        Re: Re: several messages don at n2 Nov 23, 2004, 11:48 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.