Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start ospd-openvas - socket + port #174

Closed
dgiorgio opened this issue Dec 16, 2019 · 2 comments
Closed

Start ospd-openvas - socket + port #174

dgiorgio opened this issue Dec 16, 2019 · 2 comments

Comments

@dgiorgio
Copy link

dgiorgio commented Dec 16, 2019

/usr/local/bin/ospd-openvas --pid-file /var/run/ospd/ospd.pid --unix-socket /var/run/ospd/ospd.sock -m 0777 --key-file /usr/local/var/lib/gvm/private/CA/serverkey.pem --cert-file /usr/local/var/lib/gvm/CA/servercert.pem --ca-file /usr/local/var/lib/gvm/CA/cacert.pem -L DEBUG -f

When not specified "-b 0.0.0.0 -p 51234", the .sock file is created.

/usr/local/bin/ospd-openvas --pid-file /var/run/ospd/ospd.pid --unix-socket /var/run/ospd/ospd.sock -m 0777 -b 0.0.0.0 -p 51234 --key-file /usr/local/var/lib/gvm/private/CA/serverkey.pem --cert-file /usr/local/var/lib/gvm/CA/servercert.pem --ca-file /usr/local/var/lib/gvm/CA/cacert.pem -L DEBUG -f

When "-b 0.0.0.0 -p 51234" is specified, the .sock file is not created.

Is it possible to start the service by listening on the port, and the socket?

@dgiorgio
Copy link
Author

Issue opened in the wrong place?

@bjoernricks
Copy link
Member

This is a support question not a bug report. Therefore it fits best to https://community.greenbone.net. But nevertheless to answer your question. No it is not possible to listen on both a tcp socket and a unix domain socket at the same time.

ArnoStiefvater pushed a commit to ArnoStiefvater/ospd-openvas that referenced this issue Oct 25, 2021
Extend OSP with finished_hosts to improve resume task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants