Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

2014-08-15 Thread Brandon Perry
Yes, you would use that exact XML command to create your credentials.


On Thu, Aug 14, 2014 at 1:32 PM, Tom Powers t...@sound-solutions.biz
wrote:


  Sound Solutions, Inc.
 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 Might have spoken too soon…



 Looks like I can create targets just fine…but Credentials…are a no go….it
 sits and hangs on the  credentials



 Would I use the create_lsc_credentials manually in omp to check this?


 TP

 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:48 PM

 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 Glad to help!



 On Wed, Aug 13, 2014 at 3:46 PM, Tom Powers t...@sound-solutions.biz
 wrote:

  Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 OK…that’s what I did and I got a successful response.



 When I listed out the –get-targets omp command, I actually saw the ones I
 tried to create in GSAD.



 So I go back into GSAD and it shows my targets and my credentials that I
 tried to create before.



 That’s interesting.  Nonetheless…it seems to be working now…it’s taking
 tasks through the GSAD…so whatever was hung up is OK now.



 Must have been the OMP commands because I restarted this thing a truck
 load of times trying to see if it clears up.



 Thanks for all your help





 TP



 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:41 PM


 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 You can pass -u and -w (username and password, respectively) as arguments
 as well.



 On Wed, Aug 13, 2014 at 3:39 PM, Tom Powers t...@sound-solutions.biz
 wrote:

   Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 I just restarted all the services as you asked that. They all came back up
 fine…and it now says “Failed to authenticate”



 Do I need a username and password in this XML string to correctly Identify
 myself?

 TP



 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:36 PM


 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 Is openvasmd running?



 On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers t...@sound-solutions.biz
 wrote:

   Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 OK…tried that…and it came back and asked for a password. I entered the
 admin one (as that’s the only one I have setup)  and it said : Failed to
 Acquire socket.



 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:27 PM


 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 This will basically tell you whether the manager or GSA is the issue.



 On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry bperry.volat...@gmail.com
 wrote:

 Yep, you will need to build a small XML snippet to create a target, then
 you can use --get-targets to ensure it was created:



 omp --xml=create_targetnameAll GNU/Linux 
 machines/namehosts192.168.1.0/24/hosts/create_target

 omp --get-targets



 On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers t...@sound-solutions.biz
 wrote:

   Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 Looks promising…but I must be stuck on a syntax error or something.  The
 commands on the OMP site documentation don't match what I get when I tryp
 omp --help



 I get this for options…and all I see is create task, no create credentials
 or targets



 root@BFN-Securscan7:~# omp --help

 Usage:

   omp [OPTION...] - OpenVAS OMP Command Line Interface



 Help Options:

   -?, --help  Show help options



 Application Options:

   -h, --host=host   Connect to manager on host host

   -p, --port=number Use port number number

   -V, --version   Print version.

   -v, --verbose   Verbose messages (WARNING: may reveal
 passwords).

   --use-certs Use client certificates to authenticate

   -u, --username=username   OMP username

   -w, --password=password   OMP password

   --config-file=config-file Configuration file for connection
 parameters.

   -P, --promptPrompt to exit.

   -O, --get-omp-version   Print OMP version.

   -n, --name=name   Name for create-task.

   -C, --create-task   Create a task.

   -m, --comment=nameComment for create-task.

   -c, --config=config   

Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

2014-08-15 Thread Tom Powers
[cid:imagebfcd20.GIF@69bf01ff.46b84472]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620


Might have spoken too soon…

Looks like I can create targets just fine…but Credentials…are a no go….it sits 
and hangs on the  credentials

Would I use the create_lsc_credentials manually in omp to check this?

TP
From: Brandon Perry [mailto:bperry.volat...@gmail.com]
Sent: Wednesday, August 13, 2014 3:48 PM
To: Tom Powers
Cc: openvas-discuss@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, 
hosts or tasks

Glad to help!

On Wed, Aug 13, 2014 at 3:46 PM, Tom Powers 
t...@sound-solutions.bizmailto:t...@sound-solutions.biz wrote:
[cid:image001.gif@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665tel:715-842-7665
Fax: 715-842-7620tel:715-842-7620


OK…that’s what I did and I got a successful response.

When I listed out the –get-targets omp command, I actually saw the ones I tried 
to create in GSAD.

So I go back into GSAD and it shows my targets and my credentials that I tried 
to create before.

That’s interesting.  Nonetheless…it seems to be working now…it’s taking tasks 
through the GSAD…so whatever was hung up is OK now.

Must have been the OMP commands because I restarted this thing a truck load of 
times trying to see if it clears up.

Thanks for all your help


TP

From: Brandon Perry 
[mailto:bperry.volat...@gmail.commailto:bperry.volat...@gmail.com]
Sent: Wednesday, August 13, 2014 3:41 PM

To: Tom Powers
Cc: 
openvas-discuss@wald.intevation.orgmailto:openvas-discuss@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, 
hosts or tasks

You can pass -u and -w (username and password, respectively) as arguments as 
well.

On Wed, Aug 13, 2014 at 3:39 PM, Tom Powers 
t...@sound-solutions.bizmailto:t...@sound-solutions.biz wrote:
[cid:image001.gif@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665tel:715-842-7665
Fax: 715-842-7620tel:715-842-7620


I just restarted all the services as you asked that. They all came back up 
fine…and it now says “Failed to authenticate”

Do I need a username and password in this XML string to correctly Identify 
myself?

TP

From: Brandon Perry 
[mailto:bperry.volat...@gmail.commailto:bperry.volat...@gmail.com]
Sent: Wednesday, August 13, 2014 3:36 PM

To: Tom Powers
Cc: 
openvas-discuss@wald.intevation.orgmailto:openvas-discuss@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, 
hosts or tasks

Is openvasmd running?

On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers 
t...@sound-solutions.bizmailto:t...@sound-solutions.biz wrote:
[cid:image001.gif@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665tel:715-842-7665
Fax: 715-842-7620tel:715-842-7620


OK…tried that…and it came back and asked for a password. I entered the admin 
one (as that’s the only one I have setup)  and it said : Failed to Acquire 
socket.

From: Brandon Perry 
[mailto:bperry.volat...@gmail.commailto:bperry.volat...@gmail.com]
Sent: Wednesday, August 13, 2014 3:27 PM

To: Tom Powers
Cc: 
openvas-discuss@wald.intevation.orgmailto:openvas-discuss@wald.intevation.org
Subject: Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, 
hosts or tasks

This will basically tell you whether the manager or GSA is the issue.

On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry 
bperry.volat...@gmail.commailto:bperry.volat...@gmail.com wrote:
Yep, you will need to build a small XML snippet to create a target, then you 
can use --get-targets to ensure it was created:


omp --xml=create_targetnameAll GNU/Linux 
machines/namehosts192.168.1.0/24http://192.168.1.0/24/hosts/create_target

omp --get-targets

On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers 
t...@sound-solutions.bizmailto:t...@sound-solutions.biz wrote:
[cid:image001.gif@01CFB7C3.65EE5E60]
Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665tel:715-842-7665
Fax: 715-842-7620tel:715-842-7620


Looks promising…but I must be stuck on a syntax error or something.  The 
commands on the OMP site documentation don't match what I get when I tryp omp 
--help

I get this for options…and all I see is create task, no create credentials or 
targets

root@BFN-Securscan7:~# omp --help
Usage:
  omp [OPTION...] - OpenVAS OMP Command Line Interface

Help Options:
  -?, --help  Show help options

Application Options:
  -h, --host=host   Connect to manager on host host
  -p, --port=number Use port number number
  -V, --version   Print version.
  -v, --verbose   Verbose messages (WARNING: may reveal 
passwords).
  --use-certs Use client certificates to authenticate
  -u, --username=username   OMP username
  -w, --password=password   OMP password
  

Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

2014-08-15 Thread Brandon Perry
I am really not sure, it sounds like a lock on the sqlite databases perhaps.

Can you kill the omp command that is hanging, then use lsof to figure out
if another process has locked the sqlite db?


On Thu, Aug 14, 2014 at 1:47 PM, Tom Powers t...@sound-solutions.biz
wrote:


  Sound Solutions, Inc.
 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 OK…here's what I tried



 omp
 --xml=create_lsc_credentialnametestcreds/nameloginDOWNTOWN\test/loginpassword12345/password/create_lsc_credentials
 --username=admin --password=password





 And it just hangs there.



 And yes…right now the admin user is admin with a password of password.
 The Credential I am trying to make is an smb login to a windows domain



 Ideas?


 TP



 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Thursday, August 14, 2014 1:34 PM

 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 Yes, you would use that exact XML command to create your credentials.



 On Thu, Aug 14, 2014 at 1:32 PM, Tom Powers t...@sound-solutions.biz
 wrote:

  Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 Might have spoken too soon…



 Looks like I can create targets just fine…but Credentials…are a no go….it
 sits and hangs on the  credentials



 Would I use the create_lsc_credentials manually in omp to check this?


 TP

 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:48 PM


 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 Glad to help!



 On Wed, Aug 13, 2014 at 3:46 PM, Tom Powers t...@sound-solutions.biz
 wrote:

   Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 OK…that’s what I did and I got a successful response.



 When I listed out the –get-targets omp command, I actually saw the ones I
 tried to create in GSAD.



 So I go back into GSAD and it shows my targets and my credentials that I
 tried to create before.



 That’s interesting.  Nonetheless…it seems to be working now…it’s taking
 tasks through the GSAD…so whatever was hung up is OK now.



 Must have been the OMP commands because I restarted this thing a truck
 load of times trying to see if it clears up.



 Thanks for all your help





 TP



 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:41 PM


 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 You can pass -u and -w (username and password, respectively) as arguments
 as well.



 On Wed, Aug 13, 2014 at 3:39 PM, Tom Powers t...@sound-solutions.biz
 wrote:

   Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 I just restarted all the services as you asked that. They all came back up
 fine…and it now says “Failed to authenticate”



 Do I need a username and password in this XML string to correctly Identify
 myself?

 TP



 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:36 PM


 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 Is openvasmd running?



 On Wed, Aug 13, 2014 at 3:33 PM, Tom Powers t...@sound-solutions.biz
 wrote:

   Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 OK…tried that…and it came back and asked for a password. I entered the
 admin one (as that’s the only one I have setup)  and it said : Failed to
 Acquire socket.



 *From:* Brandon Perry [mailto:bperry.volat...@gmail.com]
 *Sent:* Wednesday, August 13, 2014 3:27 PM


 *To:* Tom Powers
 *Cc:* openvas-discuss@wald.intevation.org
 *Subject:* Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take
 credentials, hosts or tasks



 This will basically tell you whether the manager or GSA is the issue.



 On Wed, Aug 13, 2014 at 3:26 PM, Brandon Perry bperry.volat...@gmail.com
 wrote:

 Yep, you will need to build a small XML snippet to create a target, then
 you can use --get-targets to ensure it was created:



 omp --xml=create_targetnameAll GNU/Linux 
 machines/namehosts192.168.1.0/24/hosts/create_target

 omp --get-targets



 On Wed, Aug 13, 2014 at 3:23 PM, Tom Powers t...@sound-solutions.biz
 wrote:

   Sound Solutions, Inc.

 8400 Highland Dr.
 Wausau, WI 54401
 Tel: 715-842-7665
 Fax: 715-842-7620

 Looks promising…but I must be stuck on a syntax error or something.  The
 commands on the OMP site documentation don't match what I get when I tryp
 omp --help



 I get this for options…and all I see is create task, no create credentials
 or 

Re: [Openvas-discuss] script categories and safe_checks

2014-08-15 Thread Jan-Oliver Wagner
On Montag, 4. August 2014, Rene Behring wrote:
 so, if ACT_DESTRUCTIVE_ATTACK, ACT_KILL_HOST and ACT_DENIAL are not executed, 
 why are there safe_checks?
 if they are executed and test with if(safe_checks()) if they should run or 
 not, why is not in every dangerous NVT a safe_checks?

safe_checks() helps to have unsafe parts within a else safe check.

Indeed it seems redundant to use safe_checks() in one of the unsafe categories.



-- 
Dr. Jan-Oliver Wagner |  +49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] high load in master-slave mode

2014-08-15 Thread Jan-Oliver Wagner
On Montag, 4. August 2014, red0queen wrote:
 Le 03/08/2014 19:07, Jan-Oliver Wagner a écrit :
  Am Montag, 28. Juli 2014, 12:59:07 schrieb red0queen:
  I was trying the master slave mode and I have a strange behavior : when
  the scan end, a scan process (openvassd) stay alive on the master node,
  and use 100% cpu. If I lauch another scan, a second will stay alive with
  full cpu usage (the master node is a dual core). I must to kill this
  process by hand to avoid the load.
  are you sure the openvassd process with 100% is on the master node?
 Yes. When I start a delegated analysis, the master open a new openvassd
 listen 127.0.0.1 (in addition of the first openvassd lauched at
 startup) . At the end of the scan, all the openvassd lauched on the
 slave ends normally, but the openvassd running on the master rise at
 100% of cpu usage. All seems fine on the web gui, I just need to kill
 the new openvassd on the master node manually.

I have no idea why this happens for you. It must be something unrelated
to the actual starting of the slave scan.

It is even possible to have no running openvassd at all on the master node
when starting a scan on a slave node.


-- 
Dr. Jan-Oliver Wagner |  +49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] 7 task in paralell

2014-08-15 Thread Jan-Oliver Wagner
On Donnerstag, 14. August 2014, luciano fain wrote:
 Dear all, any of you knows why when you run 7 / 8 task in paralell each one 
 with one host, the gsad intrface stucks?
 I can see the key problem in tasks.db access, do you have any suggestion to 
 execute 7 or more tasks in paralell with good response of tasks.db?
 I know the same sqlite db is used by scanner and gsad gr.interface.

Only OpenVAS Manager accesses the sqlite database, not the gsad.

Are you sure it stucks? Or did it just slow down?



-- 
Dr. Jan-Oliver Wagner |  +49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] 7 task in paralell

2014-08-15 Thread Jan-Oliver Wagner
On Donnerstag, 14. August 2014, Brandon Perry wrote:
 TBH it would actually be awesome if SQLite were supported out of the box,

to my understanding it is supported out of the box ... ?


 but you could configure OpenVAS to use PostgreSQL. Would resolve this
 issue, and would allow you to reduce IO during scans on the engine, and put
 it on a dedicated database.

The PostgreSQL backend will be supported from OpenVAS-8 on. Current
trunk version is not yet fully functional.



-- 
Dr. Jan-Oliver Wagner |  +49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] GSAD on Openvas 7 doesn't take credentials, hosts or tasks

2014-08-15 Thread Benoît Allard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/14/2014 08:32 PM, Tom Powers wrote:

 Looks like I can create targets just fine?but Credentials?are a no
 go?.it sits and hangs on the  credentials
 

I had the same problem last week, in my case, the system was lacking
entropy to generate a new PGP key (was easy to see as openvasmd had a
hanging gpg child process).

I installed `haveged`, and the key generation finished within seconds,
unblocking the rest.

Regards,
Ben.

- -- 
Benoît Allard (B30A05B0)|Greenbone Networks GmbH|http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJT7bneAAoJEHZCfVOzCgWwR8IH/RvuHJ15/2v28OdlQi1USgDs
Ef/gwoXdy7B2+lj8R59uERfLPGw3AJN39oQi8kwSyzfzXk3pjDUPjnQR+csksmKG
2OcuvSElEHY386gbEzpMDpFeDmyibhm8KaiumWPfISwyOwy9CtWVrP+/7ff2348x
AQat44+CBb6vFZwaKi9Sw1/sKnx1SW2aPL1QrPJA1Mh2XvMpMSt4UV6YiSNMngdb
JiXEAlTANyv0/7m8yEFe7iY1F5ARtAlRbJJiJL0ebfPdN7ZrEs5atNANNeVK3KlB
L5PLsLbJ3/8I4TmU5b6uYY4uUfSXwXSZBURiV60dv18rkPYPamv0rGfgRJDdhoU=
=msNt
-END PGP SIGNATURE-
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] 7 task in paralell

2014-08-15 Thread luciano fain
Just very slow down Jan.

I will try to make a fifo in a second database launching 4 task max in 
paralell. My problem is that im using a new gui to auto launch tasks using omp 
interface. I think it is only my problem because I need to use one task for 
each target as we developed the interface.

Thanks all for the tips.

Enviado desde Samsung Mobile.

div Mensaje original /divdivDe: Jan-Oliver Wagner 
jan-oliver.wag...@greenbone.net /divdivFecha:15/08/2014  04:15  
(GMT-03:00) /divdivA: openvas-discuss@wald.intevation.org /divdivCC: 
luciano fain lucianof...@hotmail.com /divdivAsunto: Re: [Openvas-discuss] 
7 task in paralell /divdiv
/div
On Donnerstag, 14. August 2014, luciano fain wrote:
 Dear all, any of you knows why when you run 7 / 8 task in paralell each one 
 with one host, the gsad intrface stucks?
 I can see the key problem in tasks.db access, do you have any suggestion to 
 execute 7 or more tasks in paralell with good response of tasks.db?
 I know the same sqlite db is used by scanner and gsad gr.interface.

Only OpenVAS Manager accesses the sqlite database, not the gsad.

Are you sure it stucks? Or did it just slow down?



--
Dr. Jan-Oliver Wagner |  +49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] 7 task in paralell

2014-08-15 Thread Brandon Perry
Yes, I didn't mean it SQLite wasn't supported out of the box, I meant it
would be awesome if it were supported out of the box, with an option to use
pgsql. :)


On Fri, Aug 15, 2014 at 2:17 AM, Jan-Oliver Wagner 
jan-oliver.wag...@greenbone.net wrote:

 On Donnerstag, 14. August 2014, Brandon Perry wrote:
  TBH it would actually be awesome if SQLite were supported out of the box,

 to my understanding it is supported out of the box ... ?


  but you could configure OpenVAS to use PostgreSQL. Would resolve this
  issue, and would allow you to reduce IO during scans on the engine, and
 put
  it on a dedicated database.

 The PostgreSQL backend will be supported from OpenVAS-8 on. Current
 trunk version is not yet fully functional.



 --
 Dr. Jan-Oliver Wagner |  +49-541-335084-0  |  http://www.greenbone.net/
 Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück,
 HR B 202460
 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
 ___
 Openvas-discuss mailing list
 Openvas-discuss@wald.intevation.org
 https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss




-- 
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

[Openvas-discuss] Restrict cpu util.

2014-08-15 Thread lucianofain
Hi all is any way to restrict cpu utilization of openvas scanner service?  I 
put be nice=yes but as I run to many task in paralell I need to restrict all 
openvas scanner services running in parallel for example using 80% max of all 
CPUs
Regards


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

Re: [Openvas-discuss] Restrict cpu util.

2014-08-15 Thread Thomas Reinke

Unix/Linux does not allow that kind of CPU utilization control, unless
you're talking about some big iron.

The best you can do is limit the amount of thrashing your processor
may do be controlling the number of scans, and the number of hosts per
scan, and number of tests per host, that you are running in parallel.

Thomas

On 15/08/14 12:11 PM, lucianofain wrote:

Hi all is any way to restrict cpu utilization of openvas scanner
service?  I put be nice=yes but as I run to many task in paralell I need
to restrict all openvas scanner services running in parallel for example
using 80% max of all CPUs
Regards


Enviado desde Samsung Mobile.


___
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


[Openvas-discuss] Error in host specification when creating a Target with larger than /24

2014-08-15 Thread Barry Gould
Hi,

I'm trying to create a scan target for 10.40.0.0/16 or /15 or /14, and it keeps 
failing with 'Error in host specification' unless I change it to /24.

Why?!

This is on CentOS 6, with current packages.

Thanks,
Barry

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

Re: [Openvas-discuss] Restrict cpu util.

2014-08-15 Thread Reindl Harald


Am 15.08.2014 um 18:11 schrieb lucianofain:
 Hi all is any way to restrict cpu utilization of openvas scanner service?  I 
 put be nice=yes but as I run to many
 task in paralell I need to restrict all openvas scanner services running in 
 parallel for example using 80% max of
 all CPUs

but as I run to many task in paralell

just don't do that if you don't have the ressources for it



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

Re: [Openvas-discuss] Error in host specification when creating a Target with larger than /24

2014-08-15 Thread Ryan Schulze
/24 is the largest net you can use for target. You will have to split up 
anything larger into /24 subnets. Since a /14 will be end up being quite 
a few /24 nets you may want to look at the OMP protocol 
http://www.openvas.org/omp-5-0.html#command_create_target and create the 
targets and tasks via script instead of typing them in manually.


On 8/15/2014 5:28 PM, Barry Gould wrote:


Hi,

I'm trying to create a scan target for 10.40.0.0/16 or /15 or /14, and 
it keeps failing with 'Error in host specification' unless I change it 
to /24.


Why?!

This is on CentOS 6, with current packages.

Thanks,

Barry






smime.p7s
Description: S/MIME Cryptographic Signature
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss