TCP Socket instead of Unix socket

Support/Development for OpenVAS
Anviero950
New Forum User
New Forum User
Posts: 2
Joined: Mon Jul 24, 2017 2:59 am
Location: France

TCP Socket instead of Unix socket

Unread post 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 ?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: TCP Socket instead of Unix socket

Unread post 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
Anviero950
New Forum User
New Forum User
Posts: 2
Joined: Mon Jul 24, 2017 2:59 am
Location: France

Re: TCP Socket instead of Unix socket

Unread post by Anviero950 »

I can't believe i missed that. Anayway thank you.
Post Reply