|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetwork.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 |
Fields inherited from class network.detectors.EventDetector |
agentURN, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, 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(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 |
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 EventDetector
public java.util.Vector generateEvent(Event triggeredEvent)
generateEvent
in class EventDetector
triggeredEvent
- 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 |