Comments (8)
Hi Udi,
Since openvas9 is running in docker you'll need to expose the port. Most people never used that so I removed it from the docs. When starting up the container, simply add -p 9390:9390
as an argument, right after the port 4000 argument. This will forward the port to the severs port allowing you to access it.
from openvas-docker.
Mike, thank you for the quick response. I know that i should export the port, the problem is that the openvasmd deamon does not listen on any port at all....
If you'll attach to the container and run netstat you will see.
from openvas-docker.
I have openvas8 installed. I compared /etc/init.d/openvas-manager in v8,v9 installation,
seems like DAEMON_ARGS="" environment variable in version 9 is empty unlike in version 8.
from openvas-docker.
?
from openvas-docker.
Ahh gotcha. I never use that so you'd have to poke around at updating daemon args properly. These packages are not built by me so I have little control of that. That said, if you figure out the right DAEMON_ARGS
to expose the port, I'm happy to accept a PR or help you figure out how we can add it to the container.
from openvas-docker.
I have just added this line to the Dockerfile before the start command:
RUN sed -i 's/.DAEMON_ARGS=./DAEMON_ARGS="-a 0.0.0.0 -p 9390"/' /etc/init.d/openvas-manager
from openvas-docker.
@udiromano, replacing the daemon args fixes the omp issue but GSA login fails with "Login failed. Waiting for OMP service".
GSA login works again if I manually start openvasmd service. I now have two instances of openvasmd running.
root@ABCD:/# ps ax | grep openvas | grep -v grep
28 ? Ss 0:07 openvassd: Waiting for incoming connections
324 ? S+ 0:00 tail -F /var/log/openvas/gsad.log /var/log/openvas/openvasmd.log /var/log/openvas/openvassd.dump /var/log/openvas/openvassd.messages
1292 ? SL 0:00 openvasmd
1318 ? SL 0:00 openvasmd
I compared this with my openvas8 set-up, I only see openvasmd service running once and both omp and GSA login are working fine.
from openvas-docker.
Fixed in #109
Please reopen if you see any issues!
from openvas-docker.
Related Issues (20)
- Cannot access port 80 HOT 3
- not able to login from web interface. says cookie bad or missing HOT 2
- Update to gvm 10 or gvm 11 planned? HOT 2
- Feature: reduce image size HOT 4
- Getting βResult: Report outdated Scan Engine / Environment (local)β reports HOT 13
- Version question HOT 3
- There is a problem with HTTP access HOT 3
- Cookie missing or bad. Please login again
- Newbie question
- I had the same problem and this following page:https://sys-guard.com/post-18431/ helps me to resolve the Problem. It's in Japanese but you can translate into English. Like explained in the link, the prblem is from the files usr/sbin/greenbone-nvt-sync | greenbone-certdata-sync | greenbone-scapdata-sync. The link: feed.openvas.org is not available since 30 September 2020. The link will help you to change it into the new link.π HOT 1
- I think this one can help youπ HOT 1
- how to change rsync feed HOT 3
- funkyfuture/deck-chores doesn't have `latest` tag HOT 4
- Update HOT 1
- "dirname: missing operand" error
- Update NVT feed location HOT 5
- some "mistakes" with this docker image HOT 1
- Cannot update NVTs HOT 2
- Deprecate mikesplain/openvas-docker HOT 1
- ERROR: manifest for funkyfuture/deck-chores:latest not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvas-docker.