mikesplain / openvas-docker

A Docker container for Openvas
MIT License
762 stars 302 forks source link

Can't create slave with openvas 9 #110

Closed udiromano closed 7 years ago

udiromano commented 7 years ago

`root@bf4c31c6aca5:/# omp -h localhost -u admin -w admin -i -X - << EOF

worker-1 worker-1 10.0.0.6 9390 admin admin

EOF

`

Any idea why?

mikesplain commented 7 years ago

What docker command did you use to start up your main server?

On Tue, Feb 21, 2017 at 11:52 AM udiromano notifications@github.com wrote:

`root@bf4c31c6aca5:/# omp -h localhost -u admin -w admin -i -X - << EOF

worker-1 worker-1 10.0.0.6 9390 admin admin

EOF <omp_response status_text="Bogus command name" status="400">`

Any idea why?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mikesplain/openvas-docker/issues/110, or mute the thread https://github.com/notifications/unsubscribe-auth/AA11LTm0o2J_SmWGMoOL05bJuyiDLUDTks5rexZmgaJpZM4MHk1r .

udiromano commented 7 years ago

I'm using a docker compose file:

` ovas-manager: image: localhost:5000/openvas:latest ports:

It should be the same as starting it like this: docker run -d -p 4000:4000 -p 9390:9390 --name openvas mikesplain/openvas:9

Anyway i have openvas 8 installed on another machine (regular installation not docker) and the same command works.

mcree commented 7 years ago

I believe the create_slave command has been removed from openvas 9 - it has been replaced with scanners. See: https://wald.intevation.org/scm/viewvc.php?view=revision&root=openvas&revision=26445

mcree commented 7 years ago

@udiromano could you please share your composer file?

udiromano commented 7 years ago

@mcree I'm sorry i wish i could but i'm not allowed to do so /: If you need help or guidance on specifics feel free to ask...

udiromano commented 7 years ago

@mcree Have you managed to create a functional slave scanner?

mikesplain commented 7 years ago

This is likely fixed in https://github.com/mikesplain/openvas-docker/pull/109 since 9390 wasn't exposed before.

Please reopen if you see any issues!