Re: [Openvas-discuss] Results filter to show last report results

2016-08-10 Thread Jan-Oliver Wagner
Am Donnerstag, 9. Juni 2016, 06:39:00 schrieb TN TN:
> Hi, Is there a way to filter the results in Greenbone to only show the
> results of each schedule's last report? The default currently shows results
> from all reports and not the latest. Any help would be appreciated. Thanks
> - T

not 100% sure what you are after, but in the results view you
can add report_id= to show only the results of the specific report.

-- 
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] OpenVAS stopped working after nvt updates

2016-08-10 Thread Jan-Oliver Wagner
Am Mittwoch, 1. Juni 2016, 15:13:32 schrieb Pawan Sood:
> I was having an OpenVAS v7 installation which was working fine.
> I updated the nvt by openvas-nvt-sync and everything went fine.
> However, now whenever I create a task for scanning and fire it, the error
> message is displayed as below:
> Results of last operation
> Operation: Start Task
> Status Code: 503
> Status message: Service temporarily down
> 
> All the required services are up and running.
> I have also run the openvas-check-setup script which also reports that the
> installation is fine.
> 
> What could be the problem in my case?

One problem might be that your certificates expired (check the logs).
The other problem is that you are using an unsupported OpenVAS release.
Please upgrade to version 8.

-- 
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] Merge two Openvas database from two different installation

2016-08-10 Thread Jan-Oliver Wagner
Am Montag, 30. Mai 2016, 20:13:16 schrieb tatooin:
> I am looking at merging two OpenVAS databases into one. Both databases
> are installed currently in two different openVAS servers, and I would
> like to have a global database to that everything is available to GSA in
> one administration interface.
> 
> There may be duplicates in the databases, but it's ok, I can do the
> manual cleanup later.
> 
> I tried to merge both sqlite DB using the following method:
> 
> sqlite3 database1 .dump >fileall.sql
> sqlite3 database2 .dump >>fileall.sql
> sqlite3 database3  
> But it doesn't appears to do the job properly, as the database3 contains
> targets from database1 & database2, but raw data (reports) from
> database2 are missing.
> 
> Am I missing something ? (sorry I really don't know much about databases
> in general)

merging directly two databases is not supported and can get
extremely hairy. Unless you know the entire datamodel blindly
you should not try this.


-- 
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] OpenVas Log

2016-08-10 Thread Jan-Oliver Wagner
Am Freitag, 27. Mai 2016, 13:19:27 schrieb Ravi verma:
> I have installed Openvas on Redhat 6.5 x86_64, But I am not able to scan
> Host properly and also Vulnerability infect Item not showing in Openvas
> generated report.
> 
> I am attaching openvas check status log, Kindly check and revert.

your log says:

ERROR: OpenVAS Manager is NOT running!
FIX: Start OpenVAS Manager (openvasmd).


-- 
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] openvas manager not listening and scan results are blank

2016-08-10 Thread Mark Pleis
The VMware interface is up and I am able the ping out and  get to the Kali
repository..

Item 2 appears to be resolved


On Wed, Aug 10, 2016 at 3:02 PM, William Coquelin 
wrote:

> Mark, look here:
>
>
>
> WARNING: OpenVAS Manager is running and listening only on the
> local interface.
>
> This means that you will not be able to access the OpenVAS Manager
> from the
>
> outside using GSD or OpenVAS CLI.
>
> SUGGEST: Ensure that OpenVAS Manager listens on all interfaces
> unless you want
>
> a local service only.
>
>
>
> Looks like maybe your VM isn’t using the Ethernet connector or it may be
> defaulted off.  Enable that and rerun the test.
>
>
>
> Bill
>
>
>
>
>
>
>
>
>
> *From:* Openvas-discuss [mailto:openvas-discuss-
> boun...@wald.intevation.org] *On Behalf Of *Eero Volotinen
> *Sent:* Wednesday, August 10, 2016 3:47 PM
> *To:* Mark Pleis 
> *Cc:* openvas-discuss@wald.intevation.org
> *Subject:* Re: [Openvas-discuss] openvas manager not listening and scan
> results are blank
>
>
>
> Just read the comments from file.
>
> Eeeo
>
>
>
> 10.8.2016 9.50 ip. "Mark Pleis"  kirjoitti:
>
> I am new to the world of OpenVAS and I am having two issues getting it up
> and running. I have been googling for the past 3 days and documentation
> seems to be sparse. I am asking these together because I fel they could be
> related some how.
>
>
>
> 1. I can't get the manager to work on all interfaces, I have changed the
> config setting in the
>
> /etc/default folder for the services and no luck I have restarted the
> services and the VM.
>
> 2.  I am not able to scan.  when I setup a scan on the local console for
> an out side machine or the local hst i get no results.
>
> I tried using nmap on this machine and it did work
>
>
>
> Details
>
> ---
>
> Kali Linux  rolling image running on VMware 5.5
>
> OpenVAS ver 8
>
> only 1 NIC eth0 and of cource lo
>
> I have add below all the config files and the openvas-check-setup
> results.  I know this has to be simple and I am missing
>
> something, but I just can't find it.
>
>
>
> Thanks in advance.
>
> Mark
>
>
>
> 
>
> config files below
>
> --
>
>
>
>
>
>
>
>
>
>
>
> 
> ---
>
> # cat openvas-manager
>
> 
> ---
>
> # NOTE: This file is not used if you are using systemd. The options are
>
> # hardcoded in the openvas-manager.service file. If you want to change
>
> # them you should override the service file by creating a file
>
> # /etc/systemd/system/openvas-manager.service.d/local.conf like this:
>
> # [Service]
>
> # ExecStart=
>
> # ExecStart=/usr/sbin/openvasmd 
>
>
>
> # The file the OpenVAS Manager will use as database.
>
> DATABASE_FILE=/var/lib/openvas/mgr/tasks.db
>
>
>
> # The address the OpenVAS Manager will listen on.
>
> MANAGER_ADDRESS=0.0.0.0
>
>
>
> # The port the OpenVAS Manager will listen on.
>
> MANAGER_PORT=9390
>
>
>
>
>
> 
> --
>
> # cat openvas-scanner
>
> 
> --
>
> # NOTE: This file is not used if you are using systemd. The options are
>
> # hardcoded in the openvas-scanner.service file. If you want to change
>
> # them you should override the service file by creating a file
>
> # /etc/systemd/system/openvas-scanner.service.d/local.conf like this:
>
> # [Service]
>
> # ExecStart=
>
> # ExecStart=/usr/sbin/openvassd 
>
>
>
> # The address the OpenVAS Scanner is listening on.
>
> SCANNER_ADDRESS=0.0.0.0
>
>
>
> # The port the OpenVAS Scanner is listening on.
>
> SCANNER_PORT=9391
>
> 
> ---
>
> # cat greenbone-security-assistant
>
> 
> 
>
> # NOTE: This file is not used if you are using systemd. The options are
>
> # hardcoded in the greenbone-security-assistant.service file. If you want
> to change
>
> # them you should override the service file by creating a file
>
> # /etc/systemd/system/greenbone-security-assistant.service.d/local.conf
> like this:
>
> # [Service]
>
> # ExecStart=
>
> # ExecStart=/usr/sbin/gsad --foreground 
>
>
>
> # The address the Greenbone Security Assistant will listen on.
>
> GSA_ADDRESS=0.0.0.0
>
>
>
> # The port the Greenbone Security Assistant will listen on.
>
> GSA_PORT=9392
>
>
>
> # The file to use as private key for HTTPS
>
> #GSA_SSL_PRIVATE_KEY=
>
>
>
> # The file to use as certificate for HTTPS
>
> #GSA_SSL_CERTIFICATE=
>
>
>
> # Should HTTP get redirected to HTTPS
>
> # If $GSA_REDIRECT_PORT is not set it will 

Re: [Openvas-discuss] openvas manager not listening and scan results are blank

2016-08-10 Thread Eero Volotinen
Just read the comments from file.

Eeeo

10.8.2016 9.50 ip. "Mark Pleis"  kirjoitti:

> I am new to the world of OpenVAS and I am having two issues getting it up
> and running. I have been googling for the past 3 days and documentation
> seems to be sparse. I am asking these together because I fel they could be
> related some how.
>
> 1. I can't get the manager to work on all interfaces, I have changed the
> config setting in the
> /etc/default folder for the services and no luck I have restarted the
> services and the VM.
> 2.  I am not able to scan.  when I setup a scan on the local console for
> an out side machine or the local hst i get no results.
> I tried using nmap on this machine and it did work
>
> Details
> ---
> Kali Linux  rolling image running on VMware 5.5
> OpenVAS ver 8
> only 1 NIC eth0 and of cource lo
> I have add below all the config files and the openvas-check-setup
> results.  I know this has to be simple and I am missing
> something, but I just can't find it.
>
> Thanks in advance.
> Mark
>
> 
> config files below
> --
>
>
>
>
>
> 
> ---
> # cat openvas-manager
> 
> ---
> # NOTE: This file is not used if you are using systemd. The options are
> # hardcoded in the openvas-manager.service file. If you want to change
> # them you should override the service file by creating a file
> # /etc/systemd/system/openvas-manager.service.d/local.conf like this:
> # [Service]
> # ExecStart=
> # ExecStart=/usr/sbin/openvasmd 
>
> # The file the OpenVAS Manager will use as database.
> DATABASE_FILE=/var/lib/openvas/mgr/tasks.db
>
> # The address the OpenVAS Manager will listen on.
> MANAGER_ADDRESS=0.0.0.0
>
> # The port the OpenVAS Manager will listen on.
> MANAGER_PORT=9390
>
>
> 
> --
> # cat openvas-scanner
> 
> --
> # NOTE: This file is not used if you are using systemd. The options are
> # hardcoded in the openvas-scanner.service file. If you want to change
> # them you should override the service file by creating a file
> # /etc/systemd/system/openvas-scanner.service.d/local.conf like this:
> # [Service]
> # ExecStart=
> # ExecStart=/usr/sbin/openvassd 
>
> # The address the OpenVAS Scanner is listening on.
> SCANNER_ADDRESS=0.0.0.0
>
> # The port the OpenVAS Scanner is listening on.
> SCANNER_PORT=9391
> 
> ---
> # cat greenbone-security-assistant
> 
> 
> # NOTE: This file is not used if you are using systemd. The options are
> # hardcoded in the greenbone-security-assistant.service file. If you want
> to change
> # them you should override the service file by creating a file
> # /etc/systemd/system/greenbone-security-assistant.service.d/local.conf
> like this:
> # [Service]
> # ExecStart=
> # ExecStart=/usr/sbin/gsad --foreground 
>
> # The address the Greenbone Security Assistant will listen on.
> GSA_ADDRESS=0.0.0.0
>
> # The port the Greenbone Security Assistant will listen on.
> GSA_PORT=9392
>
> # The file to use as private key for HTTPS
> #GSA_SSL_PRIVATE_KEY=
>
> # The file to use as certificate for HTTPS
> #GSA_SSL_CERTIFICATE=
>
> # Should HTTP get redirected to HTTPS
> # If $GSA_REDIRECT_PORT is not set it will redirect port 80.
> #GSA_REDIRECT=1
>
> # Redirect HTTP from this port to $GSA_PORT
> # For this being effective $GSA_REDIRECT has to be set to 1.
> #GSA_REDIRECT_PORT=9394
>
> # The address the OpenVAS Manager is listening on.
> MANAGER_ADDRESS=127.0.0.1
>
> # The port the OpenVAS Manager is listening on.
> MANAGER_PORT=9390
>
>
> 
> ---
> # openvas-check-setup
> 
> ---
>
> openvas-check-setup 2.3.3
>   Test completeness and readiness of OpenVAS-8
>   (add '--v6' or '--v7' or '--v9'
>if you want to check for another OpenVAS version)
>
>   Please report us any non-detected problems and
>   help us to improve this check routine:
>   http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
>
>   Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the
> problem.
>
>   Use the parameter --server to skip checks for client tools
>   like GSD and OpenVAS-CLI.
>
> Step 1: Checking OpenVAS Scanner ...
> OK: OpenVAS Scanner is present in version 5.0.5.
> OK: OpenVAS Scanner CA Certificate is present as
> /var/lib/openvas/CA/cacert.pem.
> OK: 

Re: [Openvas-discuss] openvas manager not listening and scan results are blank

2016-08-10 Thread Chris
Hi,

> 1. I can't get the manager to work on all interfaces, I have changed
the config setting in the  /etc/default folder for the services and no
luck I have restarted the services and the VM.

have a look at the notice of the attached config settings:

> # NOTE: This file is not used if you are using systemd.

Kali Linux is probably already on systemd. If you need further
configuration help its probably also recommended to ask at the Kali
forums for help as they know their system a little bit better then most
of the users at this list.

> 2.  I am not able to scan.  when I setup a scan on the local console
for an out side machine or the local hst i get no results.

Unfurtunately this contains too few info to be able to help here. A
starting point would be info like:

- Which scan config have you used?
- Are yo getting absolutely no results or only a few log lines?
- Are the systems you're trying to scan reachable via an ICMP Ping?
(Note the "Alive Test" config when creating a new target:
http://docs.greenbone.net/GSM-Manual/gos-3.1/en/scanning.html#creating-a-target)
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


[Openvas-discuss] openvas manager not listening and scan results are blank

2016-08-10 Thread Mark Pleis
I am new to the world of OpenVAS and I am having two issues getting it up
and running. I have been googling for the past 3 days and documentation
seems to be sparse. I am asking these together because I fel they could be
related some how.

1. I can't get the manager to work on all interfaces, I have changed the
config setting in the
/etc/default folder for the services and no luck I have restarted the
services and the VM.
2.  I am not able to scan.  when I setup a scan on the local console for an
out side machine or the local hst i get no results.
I tried using nmap on this machine and it did work

Details
---
Kali Linux  rolling image running on VMware 5.5
OpenVAS ver 8
only 1 NIC eth0 and of cource lo
I have add below all the config files and the openvas-check-setup results.
I know this has to be simple and I am missing
something, but I just can't find it.

Thanks in advance.
Mark


config files below
--





---
# cat openvas-manager
---
# NOTE: This file is not used if you are using systemd. The options are
# hardcoded in the openvas-manager.service file. If you want to change
# them you should override the service file by creating a file
# /etc/systemd/system/openvas-manager.service.d/local.conf like this:
# [Service]
# ExecStart=
# ExecStart=/usr/sbin/openvasmd 

# The file the OpenVAS Manager will use as database.
DATABASE_FILE=/var/lib/openvas/mgr/tasks.db

# The address the OpenVAS Manager will listen on.
MANAGER_ADDRESS=0.0.0.0

# The port the OpenVAS Manager will listen on.
MANAGER_PORT=9390


--
# cat openvas-scanner
--
# NOTE: This file is not used if you are using systemd. The options are
# hardcoded in the openvas-scanner.service file. If you want to change
# them you should override the service file by creating a file
# /etc/systemd/system/openvas-scanner.service.d/local.conf like this:
# [Service]
# ExecStart=
# ExecStart=/usr/sbin/openvassd 

# The address the OpenVAS Scanner is listening on.
SCANNER_ADDRESS=0.0.0.0

# The port the OpenVAS Scanner is listening on.
SCANNER_PORT=9391
---
# cat greenbone-security-assistant

# NOTE: This file is not used if you are using systemd. The options are
# hardcoded in the greenbone-security-assistant.service file. If you want
to change
# them you should override the service file by creating a file
# /etc/systemd/system/greenbone-security-assistant.service.d/local.conf
like this:
# [Service]
# ExecStart=
# ExecStart=/usr/sbin/gsad --foreground 

# The address the Greenbone Security Assistant will listen on.
GSA_ADDRESS=0.0.0.0

# The port the Greenbone Security Assistant will listen on.
GSA_PORT=9392

# The file to use as private key for HTTPS
#GSA_SSL_PRIVATE_KEY=

# The file to use as certificate for HTTPS
#GSA_SSL_CERTIFICATE=

# Should HTTP get redirected to HTTPS
# If $GSA_REDIRECT_PORT is not set it will redirect port 80.
#GSA_REDIRECT=1

# Redirect HTTP from this port to $GSA_PORT
# For this being effective $GSA_REDIRECT has to be set to 1.
#GSA_REDIRECT_PORT=9394

# The address the OpenVAS Manager is listening on.
MANAGER_ADDRESS=127.0.0.1

# The port the OpenVAS Manager is listening on.
MANAGER_PORT=9390


---
# openvas-check-setup
---

openvas-check-setup 2.3.3
  Test completeness and readiness of OpenVAS-8
  (add '--v6' or '--v7' or '--v9'
   if you want to check for another OpenVAS version)

  Please report us any non-detected problems and
  help us to improve this check routine:
  http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

  Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the
problem.

  Use the parameter --server to skip checks for client tools
  like GSD and OpenVAS-CLI.

Step 1: Checking OpenVAS Scanner ...
OK: OpenVAS Scanner is present in version 5.0.5.
OK: OpenVAS Scanner CA Certificate is present as
/var/lib/openvas/CA/cacert.pem.
OK: OpenVAS Scanner server certificate is valid and present as
/var/lib/openvas/CA/servercert.pem.
OK: redis-server is present in version v=3.2.3.
OK: scanner (kb_location setting) is configured properly using the
redis-server socket: /var/lib/redis/redis.sock
OK: redis-server is running and listening on socket:
/var/lib/redis/redis.sock.
OK: