It does not seem to be listed in many places on the internet. At least not
when I googled it a long time ago. Whats odd is every one seems to run into
the issue.
As root run this but you can change the port number to your suiting:
/usr/sbin/openvasmd -a 0.0.0.0 -p 9393
If you only want to allow OMP to be hit from the local host change the IP from
0.0.0.0 to 127.0.0.1. You will need to re-run this every time you restart
openvas-manager.
I have seen and tried adding this to /etc/sysconfig/openvas-manager in the form
of:
OPTIONS=“—listen 0.0.0.0 —port 9393”
My only problem with adding this to the sysconfig server file is when I do this
I can no longer login to GSAD for some reason. But so far I have only done
this on my slave scanner so its no big deal for me. When I run it from the CLI
all works fine.
Louis
:::::
Louis Bohm - Sr. Systems Engineer
Dell TechDirect Certified
> On Mar 6, 2018, at 5:34 AM, Shreyas M R <[email protected]> wrote:
>
> Hi,
>
> Are omp requires the host parameter to connect openvas. for port parameter -p
> <port should be openvas scanner port>. Usually its 9390
>
> Try my github link https://github.com/shreyasmrs/OpenVAS
> <https://github.com/shreyasmrs/OpenVAS>
> I have tabulated steps to use omp
>
> Thanks
> Shreyas
>
>
> <https://about.me/shreyasmrs?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>
>
> Shreyas M R
> about.me/shreyasmrs
> <https://about.me/shreyasmrs?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>
> On Tue, Mar 6, 2018 at 2:13 PM, Abdallah El.Damiry <[email protected]
> <mailto:[email protected]>> wrote:
> Dears ,
>
> I have a problem with OMP command when I'm using it in more than a case and
> it's not working.
> - Case 1 :
> # omp -u admin -w pass -g
> Output : failed to acquire socket
>
> - Case 2 : (redis port 6379)
> # omp -u admin -w pass -h 127.0.0.1 -p 6379 --xml='<help/>' -v
> Output : will try to connect to host 127.0.0.1, port 6379... and no thing
> else
>
> Finally when I execute openvas-check-setup , the script finishes with: it
> seems like your openvas-9 installation is ok.
>
> Is there is any solution to this issue ?
>
> Thanks in advance.
>
> Yours
>
> AHD
>
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
> <https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss>
>
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss