| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--network.detectors.EventDetector
        |
        +--network.detectors.AbnormalRootLoginEventDetector
The AbnormalRootLoginEvent Detector checks to see if there is any root login from a host that is not specified in the $NETMON/config/roothosts files (list of hosts that a root login is permitted from).
| Field Summary | |
private  java.lang.String[] | 
defaultLocalTriggeringEvents
 | 
private  java.util.Vector | 
localHosts
 | 
| Fields inherited from class network.detectors.EventDetector | 
agentURN, attempts, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, printRunningThreadsFlag, remoteTriggeringEvents, reportTable | 
| Constructor Summary | |
AbnormalRootLoginEventDetector(ConfigObject configObj)
The default constructor; it obtains the default location of the roothosts file from network.AdminClient.  | 
|
AbnormalRootLoginEventDetector(java.lang.String rootLoginHostsFile,
                               ConfigObject configObj)
Creates the detector using config info from the specified file.  | 
|
| Method Summary | |
 java.util.Vector | 
generateEvent(network.events.Event triggeredEvent)
Processes the triggerring event (a LoginEvent) and determines if it should generate an AbnormalRootLoginEvent.  | 
 java.lang.String | 
getGeneratingEventClassName()
Returns the name of the event that this detector will produce.  | 
static void | 
parseRootLoginHostsFile(java.lang.String rootLoginHostsFile,
                        java.util.Vector localHosts)
Processes a roothosts file.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
private java.util.Vector localHosts
private java.lang.String[] defaultLocalTriggeringEvents
| Constructor Detail | 
public AbnormalRootLoginEventDetector(ConfigObject configObj)
network.AdminClient
public AbnormalRootLoginEventDetector(java.lang.String rootLoginHostsFile,
                                      ConfigObject configObj)
rootLoginHostsFile - Path to config file.| Method Detail | 
public java.lang.String getGeneratingEventClassName()
getGeneratingEventClassName in class EventDetectorpublic java.util.Vector generateEvent(network.events.Event triggeredEvent)
generateEvent in class EventDetectortriggeredEvent - the event processed by this detector.
public static void parseRootLoginHostsFile(java.lang.String rootLoginHostsFile,
                                           java.util.Vector localHosts)
rootLoginHostsFile - location of the roothosts file.localHosts - filled by this method with hostnames from the config file.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||