Closed chuenlye closed 2 years ago
It seems to be my misunderstanding.
$ gsad --help
...
--mlisten=<address> Manager address.
-m, --mport=<number> Use manager port number <number>.
The manager seems to be the gvmd, not started by gsad itself.
By default, gvmd use unix socket.
So if gvmd is listening on TCP port, --mlisten
in gsad will be gvmd's address and --mport
will be gvmd's port.
Just now I need to connect openvas from metasploit, its openvas plugin doesn't support unix socket, so I tried to start the manager port from gsad.
Okey, my problem has been solved now.
If I am right, pls close this issue.
Expected behavior
I want to use the manager port(
gsad --mport 9390
), but it can't be listening.Actual behavior
Only tcp port 9392 is listening, 9390 manager port not working.
Steps to reproduce
on the latest kali linux 2022.03, gsad will be installed by
sudo apt install gvm
.edit the service unit file of gsad, add
--mlisten 127.0.0.1 --mport 9390
to ExecStart, like the following:ExecStart=/usr/sbin/gsad --listen 0.0.0.0 --port 9392 --mlisten 127.0.0.1 --mport 9390
sudo systemctl daemon-reload && sudo systemctl restart gsad.service
GVM versions
gsa: (gsad --version)
gvm: (gvmd --version)
openvas-scanner: (openvassd --version)
gvm-libs: gvm-libs 21.4.4
Environment
Operating system:
Installation method / source: (packages, source installation)
sudo apt install gvm
Logfiles