Page 1 of 1

TCP Socket instead of Unix socket

Posted: Mon Jul 24, 2017 3:21 am
by Anviero950
Hello,

I've installed Openvas V9 using the steps provided here https://forums.atomicorp.com/viewtopic.php?f=31&t=8539.

Everything is working, however openvas manager is listening on Unix Socket.
I would like it to listen on tcp socket (port 9390).

According to the documentation, --port enable the user to specify a port but when I use

Code: Select all

openvasmd --port 9030
openvas gives me the following error :

Code: Select all

md   main-CRITICAL **: main: --port or --port2 given when listening on UNIX socket
Is there a way to enable tcp socket ?

Re: TCP Socket instead of Unix socket

Posted: Wed Jul 26, 2017 4:45 pm
by scott
Yeah you also need to specify the -a flag which tells it what IP to listen on:

Code: Select all

openvasmd -p 12345 -a 192.168.0.91

Re: TCP Socket instead of Unix socket

Posted: Thu Jul 27, 2017 7:59 am
by Anviero950
I can't believe i missed that. Anayway thank you.