This is the second time I have experienced this in about a week. When running
"openvas-check-setup", we see the following in the results on a remote slave:
WARNING: OpenVAS Manager is listening on port 9390 9390, which is NOT the
default port!
SUGGEST: Ensure OpenVAS Manager is listening on port 9390.
I looked at /usr/bin and nano'd openvas-check-setup. The "9390 9390" is coming
from a string concatenation:
Log_and_print "WARNING: OpenVAS Manager is listening on port $OPENVASMD_PORT,
which is NOT the default port!"
Here is the $OPENVASMD_PORT codeline:
OPENVASMD_HOST='netstat -A inet -A inet6 -ntlp 2> /dev/null | grep openvasmd |
awk -F\ '{print $4}' | awk -F: '{print $NF}''
I am listening on 2 interfaces on 9390 which is why it would show up twice in
the grep
1. Local loopback and
2. Eth0 setup using
* /etc/systemd/system/greenbone-security-assistant.service.d/local.conf
mlisten="eth0 IP" and mport="9390" AND
* /etc/systemd/system/openvas-manager.service.d/local.conf
listen2="eth0 IP" and port2="9390"
Is this anything to worry about?
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss