Re: [Openvas-discuss] OpenVas7 Manager to Scanner error

2014-07-23 Thread Brian Diehl
Nothing appears to happen including nothing in the logs. Here is the output from the screen capture in case I’m doing something wrong: bdiehl@ubuntu1:/usr/local/var/log/openvas$ date Tue Jul 22 17:11:33 CDT 2014 bdiehl@ubuntu1:/usr/local/var/log/openvas$ ls -ltr total 104 -rw-r--r-- 1 root root

[Openvas-discuss] How to check that services are running correctly?

2014-07-23 Thread Rene Behring
Hello, i just tried to log in the gsa web interface and it told me that the OMP-Service is down. So i tried /etc/init.d/openvas-manager status“ and got openvas-manager (pid 12345) is running“. But it was not running correctly. Is there a better or other way to test that the all services are

Re: [Openvas-discuss] How to check that services are running correctly?

2014-07-23 Thread Fabrizio Di Carlo
Hi Rene, all; I wrote a very little/basic script for launch the services and check if everything is ok, I think you or someone else can improve it: - code -- #!/bin/bash # OpenVAS start file echo Launching OpenVAS... for i in openvassd openvasmd gsad; do #loop

Re: [Openvas-discuss] How to check that services are running correctly?

2014-07-23 Thread Rene Behring
Hi Fabrizio, thanks for the fast response! i have something similar to your script, but i am starting it with the init.d scripts, so all the options are started with it. Rene Am 23.07.2014 um 09:05 schrieb Fabrizio Di Carlo dicarlo.fabri...@gmail.com: Hi Rene, all; I wrote a very

Re: [Openvas-discuss] How to check that services are running correctly?

2014-07-23 Thread Fabrizio Di Carlo
Hi Rene, Well you can modfy my script just to check if the service is uprunning... Maybe you can execute it after 10/15 seconds and just use: for i in openvassd openvasmd gsad; do #loop for command to run ps cax | grep $i /dev/null #check if the program is running if [ $? -eq 0

Re: [Openvas-discuss] How to check that services are running correctly?

2014-07-23 Thread Rene Behring
I forgot that i can use the openvas-check-setup, that script is doing a lot of checks. ;) i will take that and grep for some errors and warnings… But thanks for your help! Rene Am 23.07.2014 um 09:21 schrieb Fabrizio Di Carlo dicarlo.fabri...@gmail.com: Hi Rene, Well you can modfy my

Re: [Openvas-discuss] Bug in openvas 6.0 - possible breakage of default port scan

2014-07-23 Thread Jan-Oliver Wagner
On Dienstag, 22. Juli 2014, Thomas Reinke wrote: The latest version of openvas has changed the logic used to validate the port_range passed in. One of the values advertised that can be used is the string default, and if you look at older daemons, they specifically support that via the getpts

[Openvas-discuss] spam out of gpgme-Messages

2014-07-23 Thread Rene Behring
Hey, i have set the „nasal_no_signature_check to „no“ and now my openvassd.dump (50mb) is getting spammed when i scan a target. The two messages are: base gpgme-Message: Using OpenPG engine version '2.0.14‘ base gpgme-Message: Setting GnuPG homedir to '/etc/openvas/gnupg‘ Is there a way to

Re: [Openvas-discuss] OpenVas7 Manager to Scanner error

2014-07-23 Thread Brian Diehl
Also – is there a setting to enable that would allow me to get more feedback from omp on what it is doing? I’m thinking there may be something I can set at compile time to turn on debugging, or the like. Thanks. Brian Diehl Christensen Farms IT Manager Phone: 507-794-8585 From: Brian Diehl

Re: [Openvas-discuss] Bug in openvas 6.0 - possible breakage of default port scan

2014-07-23 Thread Thomas Reinke
On 23/07/14 04:27 AM, Jan-Oliver Wagner wrote: On Dienstag, 22. Juli 2014, Thomas Reinke wrote: The latest version of openvas has changed the logic used to validate the port_range passed in. One of the values advertised that can be used is the string default, and if you look at older daemons,

Re: [Openvas-discuss] OpenVas7 Manager to Scanner error

2014-07-23 Thread Jan-Oliver Wagner
On Mittwoch, 23. Juli 2014, Brian Diehl wrote: Also – is there a setting to enable that would allow me to get more feedback from omp on what it is doing? I’m thinking there may be something I can set at compile time to turn on debugging, or the like. Thanks. if you increase the log level

Re: [Openvas-discuss] Bug in openvas 6.0 - possible breakage of default port scan

2014-07-23 Thread Jan-Oliver Wagner
On Mittwoch, 23. Juli 2014, Thomas Reinke wrote: On 23/07/14 04:27 AM, Jan-Oliver Wagner wrote: FYI - I am seeing downstream impact, as amap.nasl and nmap.nasl have explicit checks for the value default to control certain behaviours. That might be a non-trivial impact in terms of

Re: [Openvas-discuss] Manager error

2014-07-23 Thread Brandon Perry
If authentication were an issue, then the previous omp command you ran wouldn't have worked. I don't recall you posting the result of listing the current tasks via omp after attempting to start a task. Did this not work? On Wed, Jul 23, 2014 at 10:33 AM, Brian Diehl bdi...@christensenfarms.com

Re: [Openvas-discuss] Manager error

2014-07-23 Thread Brandon Perry
I think you can also pass -vvv to omp to get super verbose output. On Wed, Jul 23, 2014 at 10:49 AM, Brandon Perry bperry.volat...@gmail.com wrote: If authentication were an issue, then the previous omp command you ran wouldn't have worked. I don't recall you posting the result of listing

Re: [Openvas-discuss] Bug in openvas 6.0 - possible breakage of default port scan

2014-07-23 Thread Thomas Reinke
Probably would be good to understand and handle the logic in the nasl scripts that still rely on the default values... hm, which ones are these? nmap.nasl, amap.nasl, portbunny.nasl, portscan-strobe.nasl, pnscan.nasl In short, after you dig through code, it seems with a setting of