Re: plugins can't allocate memory

Thomas Arendsen Hein <[email protected]> Wed, 22 Dec 2004 13:36:48 +0100
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
* Thomas Arendsen Hein <[email protected]> [20041222 12:19]:
> * Thomas Arendsen Hein <[email protected]> [20041221 18:47]:
> > FYI: Everything from 2.2 branch and plugins from 20041201 yield the
> > same problems.
> 
> Very strange. I just compiled current 2.2 branch with current
> plugins and the problem doesn't appear, but looking at logs from my
> other tests, I really used 2.2 branch and plugins from 20041201 in
> above test.
> 
> Using a HEAD client to connect to this 2.2 server works fine, too.

I found the problem: The HEAD client doesn't set the following
SERVER_PREFS to their default values:

auto_enable_dependencies = yes
cgi_path = /cgi-bin:/scripts
port_range = default
continuous_scan = no
detached_scan = no
save_empty_sessions = no
save_session = no

An unset port_range leads to problems in the new nessus_tcp_scanner.

A quick grep over other parts of nessus shows that port_range really
never should be unset. Bad things will happen in the server.

For a quick solution I'll fix the client, but a better error
checking is really needed, or what do you think?

Thomas

-- 
Email: [email protected]
http://intevation.de/~thomas/
_______________________________________________
Nessus-devel mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus-devel