Eero,

The patch rectifies the interpreter error.  Thank-you.

I believe the multiport "WARNING/SUGGEST" messages are false:

"WARNING: ...is listening on port 9392 80 443, which is NOT the default port!"
"SUGGEST: ...one of the following ports: 80, 443, 9392." 

Construction of the variable GSAD_PORT on line 710 on a multiport system is 
equal to "9392 80 443" while the case statement on line 783 tests against "80", 
"443", or "9392" so the result is a false failure.

Attached is script showing a candidate idea run against several test cases that 
you may wish to consider that addresses this issue.

Dave

"Each problem that I solved became a rule which served afterwards to solve 
other problems." - Descartes

-----Original Message-----
From: Eero Volotinen <[email protected]>
Sender: [email protected]
Date: Sat, 18 Apr 2015 01:08:37 
To: <[email protected]>
Cc: [email protected]<[email protected]>
Subject: Re: [Openvas-discuss] openvas-check-setup error

Yep, you run into nice bug when running gsad on multiple ports. very weird
config setup.

apply this patch and test again:
http://ping-viini.org/openvas-check-setup.patch

--
Eero

2015-04-18 0:19 GMT+03:00 David A. Bardsley <[email protected]>:

> I've observed the following script error: execution results in the
> attached error message at the end of step seven.  The attached file
> "openvas-check-setup.err.msg" was copied from the terminal window to
> supplement the log because the error is doesn't appear there - it is an
> interpreter issue.
>
> PS: This error is harmless in the sense that it's probably related to a
> false positive - the port number ordering from netstat perhaps.
> Furthermore OpenVAS and it's components built, installed, configured, and
> run as expected.
>
> "Each problem that I solved became a rule which served afterwards to solve
> other problems." - Descartes
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>

Attachment: substring.sh
Description: Binary data

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to