Re: [Openvas-discuss] Keep report after deleting task

2017-07-28 Thread Eero Volotinen
it's not a bug, it's normal feature and normal functionality.

Eero

2017-07-28 14:56 GMT+03:00 Rémi Liquete :

> Hi Christian,
>
> This is exactly what I have tested yesterday, and after a day of work
> where everything was working fine, I've putted this in production.
> And in production, the task starts.
>
> The problem is, when the task has been started (and is no longer in status
> "New") we can't modify the target of the task. I'm in OpenVAS 9, and I
> don't know if this has been changed from OpenVAS 8 to OpenVAS 9.
> The OMP command exit with error code like : target is immutable as long as
> the status is not "New".
>
> Regards,
> Rémi.
>
> 2017-07-28 13:08 GMT+02:00 Ebert, Christian :
>
>> Hi everyone,
>>
>>
>>
>> we had a similar problem:
>>
>>
>>
>> We had to modify the port list of **many** targets without loosing the
>> results oft he previous scans.
>>
>>
>>
>> Our solution works as follows (OpenVAS 8):
>>
>>
>>
>> -  Make sure, all task are created as „alterable“
>>
>> -  Create a dummy target
>>
>> -  Modify the task and give it the dummy target
>>
>> -  Mofify the orgininal task (portlist or …)
>>
>> -  Modify the task again and give it the modified target
>>
>>
>>
>> Maybe this can help.
>>
>>
>>
>> Best regards
>>
>>
>>
>> Christian Ebert
>>
>> Chief Security Analyst, CISM, T.I.S.P.
>>
>> Head of Penetration Testing
>>
>>
>>
>> QSC AG
>>
>> Mathias-Brüggen-Straße 55
>>
>> 50829 Köln
>>
>>
>>
>> T  +49 221 669-8950 <+49%20221%206698950>
>>
>> F  +49 221 669-85950 <+49%20221%2066985950>
>>
>> M  +49 163 6698950 <+49%20163%206698950>
>>
>> christian.eb...@qsc.de
>>
>> http://www.qsc.de
>>
>>
>>
>> Besuchen Sie unsere Blogs:
>> Corporate Blog unter *http://blog.qsc.de *
>> Themen-Blog zur Digitalisierung unter *http://digitales-wirtschaftswunder.de
>> *
>>
>>
>>
>> Bitte finden Sie hier die handelsrechtlichen Pflichtangaben:
>>
>> http://www.qsc.de/pflichtangaben
>>
>>
>>
>> *Von:* Openvas-discuss [mailto:openvas-discuss-bounce
>> s...@wald.intevation.org] *Im Auftrag von *Rémi Liquete
>> *Gesendet:* Donnerstag, 27. Juli 2017 20:13
>> *An:* Eero Volotinen 
>> *Cc:* openvas-discuss@wald.intevation.org
>> *Betreff:* Re: [Openvas-discuss] Keep report after deleting task
>>
>>
>>
>> Ok, I will.
>>
>>
>>
>> Thanks for you time and your help :)
>>
>>
>>
>> Regards,
>>
>> Rémi
>>
>>
>>
>> Le 27 juil. 2017 8:00 PM, "Eero Volotinen"  a
>> écrit :
>>
>> that might require major modifications to sourcecode.
>>
>>
>>
>> ask commercial consulting from greebone?
>>
>>
>>
>> Eero
>>
>>
>>
>> 27.7.2017 5.42 ip. "Rémi Liquete"  kirjoitti:
>>
>> Hi,
>>
>>
>>
>> I'm getting crazy right now :(.
>>
>>
>>
>> I made a task alterable so I could change the target.
>>
>>
>>
>> However, when the task is no longer "new", I cannot change the target of
>> the task anymore.
>>
>>
>>
>> I tried to see what's possible to do in source code but this is a bit
>> crazy to get in right now.
>>
>>
>>
>> So, is really no solution for my need?
>>
>> To remember,  here is what I need in other words :
>>
>> Before each scan, I have to change my port lists and my targets. For
>> doing it, I have to delete the task linked.
>>
>> The problem is when I delete the tasks, I lost reports associated in
>> greenbone web interface.
>>
>> This is a real problem as I have to keep these reports in greenbone web
>> interface.
>>
>>
>>
>> Regards,
>>
>> Rémi
>>
>>
>>
>> Le 26 juil. 2017 5:01 PM, "Rémi Liquete"  a écrit :
>>
>> I'm creating new tasks on each run because I can't modify port list and
>> target while the task they are linked to is not deleted.
>>
>> This is why I have to create tasks on each run, and doing it, delete also
>> my reports.
>>
>> So I think I have to check the source code :(.
>>
>>
>>
>> Regards,
>>
>> Rémi
>>
>>
>>
>> 2017-07-26 16:58 GMT+02:00 Eero Volotinen :
>>
>> that might not be possible without modifications to source code?
>>
>>
>>
>> how about creating new task on each run?
>>
>>
>>
>> Eero
>>
>>
>>
>> 2017-07-26 17:56 GMT+03:00 Rémi Liquete :
>>
>> I'm already creating task with scripts.
>>
>> The goal is to keep reports in Greenbone (and not in disk) when I delete
>> the task.
>>
>> Regards,
>>
>> Rémi.
>>
>>
>>
>>
>>
>> 2017-07-26 16:44 GMT+02:00 Eero Volotinen :
>>
>> How about creating tasks with scripts and deleting old results after
>> saving reports to disk?
>>
>>
>>
>> or creating new task on each scan.
>>
>>
>>
>> Eero
>>
>>
>>
>> 2017-07-26 13:02 GMT+03:00 Rémi Liquete :
>>
>> Hi,
>>
>> I'm creating a script based on PfSense Backup to create ports lists,
>> tagets and tasks because these parameters are changing every day.
>>
>> As it's impossible to modify ports lists and targets while they are in
>> use, I have to delete what I've created each time the task is complete.
>>
>> However I would like to keep reports generated by the tasks when I delete
>> those tasks.
>>
>> I'm able

Re: [Openvas-discuss] Keep report after deleting task

2017-07-28 Thread Rémi Liquete
Hi Christian,

This is exactly what I have tested yesterday, and after a day of work where
everything was working fine, I've putted this in production.
And in production, the task starts.

The problem is, when the task has been started (and is no longer in status
"New") we can't modify the target of the task. I'm in OpenVAS 9, and I
don't know if this has been changed from OpenVAS 8 to OpenVAS 9.
The OMP command exit with error code like : target is immutable as long as
the status is not "New".

Regards,
Rémi.

2017-07-28 13:08 GMT+02:00 Ebert, Christian :

> Hi everyone,
>
>
>
> we had a similar problem:
>
>
>
> We had to modify the port list of **many** targets without loosing the
> results oft he previous scans.
>
>
>
> Our solution works as follows (OpenVAS 8):
>
>
>
> -  Make sure, all task are created as „alterable“
>
> -  Create a dummy target
>
> -  Modify the task and give it the dummy target
>
> -  Mofify the orgininal task (portlist or …)
>
> -  Modify the task again and give it the modified target
>
>
>
> Maybe this can help.
>
>
>
> Best regards
>
>
>
> Christian Ebert
>
> Chief Security Analyst, CISM, T.I.S.P.
>
> Head of Penetration Testing
>
>
>
> QSC AG
>
> Mathias-Brüggen-Straße 55
>
> 50829 Köln
>
>
>
> T  +49 221 669-8950 <+49%20221%206698950>
>
> F  +49 221 669-85950 <+49%20221%2066985950>
>
> M  +49 163 6698950 <+49%20163%206698950>
>
> christian.eb...@qsc.de
>
> http://www.qsc.de
>
>
>
> Besuchen Sie unsere Blogs:
> Corporate Blog unter *http://blog.qsc.de *
> Themen-Blog zur Digitalisierung unter *http://digitales-wirtschaftswunder.de
> *
>
>
>
> Bitte finden Sie hier die handelsrechtlichen Pflichtangaben:
>
> http://www.qsc.de/pflichtangaben
>
>
>
> *Von:* Openvas-discuss [mailto:openvas-discuss-boun...@wald.intevation.org]
> *Im Auftrag von *Rémi Liquete
> *Gesendet:* Donnerstag, 27. Juli 2017 20:13
> *An:* Eero Volotinen 
> *Cc:* openvas-discuss@wald.intevation.org
> *Betreff:* Re: [Openvas-discuss] Keep report after deleting task
>
>
>
> Ok, I will.
>
>
>
> Thanks for you time and your help :)
>
>
>
> Regards,
>
> Rémi
>
>
>
> Le 27 juil. 2017 8:00 PM, "Eero Volotinen"  a
> écrit :
>
> that might require major modifications to sourcecode.
>
>
>
> ask commercial consulting from greebone?
>
>
>
> Eero
>
>
>
> 27.7.2017 5.42 ip. "Rémi Liquete"  kirjoitti:
>
> Hi,
>
>
>
> I'm getting crazy right now :(.
>
>
>
> I made a task alterable so I could change the target.
>
>
>
> However, when the task is no longer "new", I cannot change the target of
> the task anymore.
>
>
>
> I tried to see what's possible to do in source code but this is a bit
> crazy to get in right now.
>
>
>
> So, is really no solution for my need?
>
> To remember,  here is what I need in other words :
>
> Before each scan, I have to change my port lists and my targets. For doing
> it, I have to delete the task linked.
>
> The problem is when I delete the tasks, I lost reports associated in
> greenbone web interface.
>
> This is a real problem as I have to keep these reports in greenbone web
> interface.
>
>
>
> Regards,
>
> Rémi
>
>
>
> Le 26 juil. 2017 5:01 PM, "Rémi Liquete"  a écrit :
>
> I'm creating new tasks on each run because I can't modify port list and
> target while the task they are linked to is not deleted.
>
> This is why I have to create tasks on each run, and doing it, delete also
> my reports.
>
> So I think I have to check the source code :(.
>
>
>
> Regards,
>
> Rémi
>
>
>
> 2017-07-26 16:58 GMT+02:00 Eero Volotinen :
>
> that might not be possible without modifications to source code?
>
>
>
> how about creating new task on each run?
>
>
>
> Eero
>
>
>
> 2017-07-26 17:56 GMT+03:00 Rémi Liquete :
>
> I'm already creating task with scripts.
>
> The goal is to keep reports in Greenbone (and not in disk) when I delete
> the task.
>
> Regards,
>
> Rémi.
>
>
>
>
>
> 2017-07-26 16:44 GMT+02:00 Eero Volotinen :
>
> How about creating tasks with scripts and deleting old results after
> saving reports to disk?
>
>
>
> or creating new task on each scan.
>
>
>
> Eero
>
>
>
> 2017-07-26 13:02 GMT+03:00 Rémi Liquete :
>
> Hi,
>
> I'm creating a script based on PfSense Backup to create ports lists,
> tagets and tasks because these parameters are changing every day.
>
> As it's impossible to modify ports lists and targets while they are in
> use, I have to delete what I've created each time the task is complete.
>
> However I would like to keep reports generated by the tasks when I delete
> those tasks.
>
> I'm able to get the reports in the server, but I would like to keep these
> in Greenbone interface, as long as other IT have to access to it (with
> proper permissions).
>
> So the question is :
>
> It is possible to keep reports when deleting tasks ?
>
> Or is any way to modify ports lists and targets while in use so I have not
> to delete tasks.
>
>
>
> Regards,
>
> Rémi
>
>
>
> __

Re: [Openvas-discuss] Keep report after deleting task

2017-07-28 Thread Ebert, Christian
Hi everyone,

we had a similar problem:

We had to modify the port list of *many* targets without loosing the results 
oft he previous scans.

Our solution works as follows (OpenVAS 8):


-  Make sure, all task are created as „alterable“

-  Create a dummy target

-  Modify the task and give it the dummy target

-  Mofify the orgininal task (portlist or …)

-  Modify the task again and give it the modified target

Maybe this can help.

Best regards

Christian Ebert
Chief Security Analyst, CISM, T.I.S.P.
Head of Penetration Testing

QSC AG
Mathias-Brüggen-Straße 55
50829 Köln

T  +49 221 669-8950
F  +49 221 669-85950
M  +49 163 6698950
christian.eb...@qsc.de
http://www.qsc.de

Besuchen Sie unsere Blogs:
Corporate Blog unter http://blog.qsc.de
Themen-Blog zur Digitalisierung unter 
http://digitales-wirtschaftswunder.de

Bitte finden Sie hier die handelsrechtlichen Pflichtangaben:
http://www.qsc.de/pflichtangaben

Von: Openvas-discuss [mailto:openvas-discuss-boun...@wald.intevation.org] Im 
Auftrag von Rémi Liquete
Gesendet: Donnerstag, 27. Juli 2017 20:13
An: Eero Volotinen 
Cc: openvas-discuss@wald.intevation.org
Betreff: Re: [Openvas-discuss] Keep report after deleting task

Ok, I will.

Thanks for you time and your help :)

Regards,
Rémi

Le 27 juil. 2017 8:00 PM, "Eero Volotinen" 
mailto:eero.voloti...@iki.fi>> a écrit :
that might require major modifications to sourcecode.

ask commercial consulting from greebone?

Eero

27.7.2017 5.42 ip. "Rémi Liquete" 
mailto:remi.l...@gmail.com>> kirjoitti:
Hi,

I'm getting crazy right now :(.

I made a task alterable so I could change the target.

However, when the task is no longer "new", I cannot change the target of the 
task anymore.

I tried to see what's possible to do in source code but this is a bit crazy to 
get in right now.

So, is really no solution for my need?
To remember,  here is what I need in other words :
Before each scan, I have to change my port lists and my targets. For doing it, 
I have to delete the task linked.
The problem is when I delete the tasks, I lost reports associated in greenbone 
web interface.
This is a real problem as I have to keep these reports in greenbone web 
interface.

Regards,
Rémi

Le 26 juil. 2017 5:01 PM, "Rémi Liquete" 
mailto:remi.l...@gmail.com>> a écrit :
I'm creating new tasks on each run because I can't modify port list and target 
while the task they are linked to is not deleted.
This is why I have to create tasks on each run, and doing it, delete also my 
reports.
So I think I have to check the source code :(.

Regards,
Rémi

2017-07-26 16:58 GMT+02:00 Eero Volotinen 
mailto:eero.voloti...@iki.fi>>:
that might not be possible without modifications to source code?

how about creating new task on each run?

Eero

2017-07-26 17:56 GMT+03:00 Rémi Liquete 
mailto:remi.l...@gmail.com>>:
I'm already creating task with scripts.
The goal is to keep reports in Greenbone (and not in disk) when I delete the 
task.
Regards,
Rémi.


2017-07-26 16:44 GMT+02:00 Eero Volotinen 
mailto:eero.voloti...@iki.fi>>:
How about creating tasks with scripts and deleting old results after saving 
reports to disk?

or creating new task on each scan.

Eero

2017-07-26 13:02 GMT+03:00 Rémi Liquete 
mailto:remi.l...@gmail.com>>:
Hi,
I'm creating a script based on PfSense Backup to create ports lists, tagets and 
tasks because these parameters are changing every day.
As it's impossible to modify ports lists and targets while they are in use, I 
have to delete what I've created each time the task is complete.
However I would like to keep reports generated by the tasks when I delete those 
tasks.
I'm able to get the reports in the server, but I would like to keep these in 
Greenbone interface, as long as other IT have to access to it (with proper 
permissions).
So the question is :
It is possible to keep reports when deleting tasks ?
Or is any way to modify ports lists and targets while in use so I have not to 
delete tasks.

Regards,
Rémi

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss




___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] 1 openvas Manager , multiple scanners (distributed architecture)

2017-07-28 Thread Calado, Rui
Hi Roger,

First of all, thank you for your answer!

I tried to install openvas-manager in the remote scanner machine, but got no 
improvement. Can you give me your source? To follow all the steps of your 
suggestion

I do not have more ideas for this..

- Rui

From: Roger Davies [mailto:rog.dav...@gmail.com]
Sent: segunda-feira, 24 de julho de 2017 10:52
To: Calado, Rui
Cc: 
openvas-discuss@wald.intevation.org
Subject: Re: [Openvas-discuss] 1 openvas Manager , multiple scanners 
(distributed architecture)

Hi there Rui
The scanner service changed the way it works in version 9, it does not now 
advertise directly on the network.
I've not tried this yet myself, but it's been suggested that you can install 
the manager process on the remote scanners and use that for the main manager 
connection, the remote manager process will report back all results from the 
scan. I currently have version 8 scanners on remote sites.
Roger


On 21 July 2017 at 16:48, Calado, Rui wrote:
Hello,

I'm having a hard time implementing a distributed architecture with OpenVAS 9. 
As I said, my goal is to have only one manager on one machine and then have 
scanners installed on client machines that do the scans, and the manager gets 
all the results. Is this possible? Has anyone got it?

I done a complete openvas installation (manager, libraries, scanner) at the 
“central station”. On the “clients”, I have only the openvas scanner installed. 
I've tried connecting certificates and private keys, with credentials, and it's 
not working. The connection between machines exists because if the manager 
decides to scan the client machine (where deamon is installed), using its 
default scanner, there is connection and results.

Any help will be nice

- Rui Calado

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss