org.opennms.netmgt.vulnscand
Class Vulnscand

java.lang.Object
  extended by org.opennms.netmgt.daemon.AbstractServiceDaemon
      extended by org.opennms.netmgt.vulnscand.Vulnscand
All Implemented Interfaces:
Fiber, PausableFiber, SpringServiceDaemon, ServiceDaemon, org.springframework.beans.factory.InitializingBean

public class Vulnscand
extends AbstractServiceDaemon

Vulnerability scanning daemon. This process is used to provide continual scans of target interfaces that identify possible security holes. The vulnerability scanner that this version uses to identify security flaws is Nessus 1.1.X (www.nessus.org).

This code is adapted from the capsd code because its behavior is quite similar; it continually scans the target ranges, enters the scan results into a database table, and also supports rescans whose threads are pulled from a separate thread pool so that they occur immediately.

Author:
Seth Leger , OpenNMS

Field Summary
 
Fields inherited from interface org.opennms.core.fiber.PausableFiber
PAUSE_PENDING, PAUSED, RESUME_PENDING
 
Fields inherited from interface org.opennms.core.fiber.Fiber
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
 
Constructor Summary
Vulnscand()
          Constructs the Vulnscand objec
 
Method Summary
static Vulnscand getInstance()
           
static String getLocalHostAddress()
          Used to retrieve the local host name/address.
 void initialize()
           
protected  void onInit()
           
protected  void onStart()
           
protected  void onStop()
           
 
Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon
afterPropertiesSet, debugf, debugf, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, isStartPending, log, onPause, onResume, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vulnscand

public Vulnscand()
Constructs the Vulnscand objec

Method Detail

onStop

protected void onStop()
Overrides:
onStop in class AbstractServiceDaemon

onStart

protected void onStart()
Overrides:
onStart in class AbstractServiceDaemon

getLocalHostAddress

public static String getLocalHostAddress()
Used to retrieve the local host name/address. The name/address of the machine on which Vulnscand is running.


getInstance

public static Vulnscand getInstance()

onInit

protected void onInit()
Specified by:
onInit in class AbstractServiceDaemon

initialize

public void initialize()
                throws SQLException
Throws:
SQLException


Copyright © 2009. All Rights Reserved.