network.detectors
Class CERTAdvisoryEventDetector

java.lang.Object
  |
  +--network.detectors.EventDetector
        |
        +--network.detectors.CERTAdvisoryEventDetector
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class CERTAdvisoryEventDetector
extends EventDetector

See Also:
Serialized Form

Field Summary
private  java.lang.String[] defaultLocalTriggeringEvents
           
 
Fields inherited from class network.detectors.EventDetector
agentURN, attempts, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, printRunningThreadsFlag, remoteTriggeringEvents, reportTable
 
Constructor Summary
CERTAdvisoryEventDetector(ConfigObject configOBJ)
           
 
Method Summary
 java.util.Vector generateEvent(network.events.Event triggeredEvent)
           
private  java.util.Vector getCERTAdvisory()
          This function connects to the CERT website and attempts to download a list of ports that CERT recomends to watch.
 java.lang.String getGeneratingEventClassName()
           
 
Methods inherited from class network.detectors.EventDetector
getAlarmLevel, getAlertLevel, getLocalTriggeringEventClassNames, getRemoteTriggeringEventClassNames, getSynchronizer, InitializeFields, modifyDetector, populatePatterns, printRunningThreads, run, setAgentURN, setAlarmLevel, setAlertLevel, setDB, setEventIDGenerator, setEventTable, setLocalTriggeringEvents, setRemoteTriggeringEvents, setReportTable, stopDetector, switchOffPrintRunningThreads
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultLocalTriggeringEvents

private java.lang.String[] defaultLocalTriggeringEvents
Constructor Detail

CERTAdvisoryEventDetector

public CERTAdvisoryEventDetector(ConfigObject configOBJ)
Method Detail

getGeneratingEventClassName

public java.lang.String getGeneratingEventClassName()
Specified by:
getGeneratingEventClassName in class EventDetector
Returns:

generateEvent

public java.util.Vector generateEvent(network.events.Event triggeredEvent)
Specified by:
generateEvent in class EventDetector
Parameters:
triggeredEvent -
Returns:

getCERTAdvisory

private java.util.Vector getCERTAdvisory()
This function connects to the CERT website and attempts to download a list of ports that CERT recomends to watch.

Returns:
a Vector of strings. Each string contains the url of the webpage followed by a port number.