org.opennms.netmgt.vulnscand
Class Vulnscand
java.lang.Object
org.opennms.netmgt.daemon.AbstractServiceDaemon
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
|
Constructor Summary |
Vulnscand()
Constructs the Vulnscand objec |
| 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 |
Vulnscand
public Vulnscand()
- Constructs the Vulnscand objec
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.