|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.ntnu.vegare.visualizer.server.utils.DataGenerator
public class DataGenerator
Provides methods to generate random security incidents, according to the specification. The generation is based on very simple principles, and should not be considered an approximation of a real world system.
For the purpose of empirical tests or feasibility studies, this class should be expanded to support realistic probability distributions
IP addresses were loaded from Malware Patrol's block list, available at http://www.malwarepatrol.net. The IP addresses are not necessarily malicious when this software is executed.
Constructor Summary | |
---|---|
DataGenerator()
|
Method Summary | |
---|---|
static int |
getId()
|
static java.lang.String |
getRandomFacility()
Generates a random facility. |
static java.lang.String |
getRandomIpAddress()
Generate a random IP from Malware Patrol's block list, available at http://www.malwarepatrol.net. |
static int |
getRandomSeverity()
Generates a random severity level, as specified by syslog: |
static int |
getTimestamp()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataGenerator()
Method Detail |
---|
public static int getId()
public static int getTimestamp()
public static int getRandomSeverity()
Generates a random severity level, as specified by syslog:
public static java.lang.String getRandomFacility()
public static java.lang.String getRandomIpAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |