|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.Util.Streams.BasicPlayer
|
+--SSF.App.DDoS.DestList_3
Tempararily used Destination List tool in DDoS trace back. List destination IP addresses, for each pair of src/dest, it's counted only once.
| Field Summary | |
protected java.util.Hashtable |
destTable
store information of related ingress traffic |
protected float |
endTime
end time |
static int |
SET_QUERY_FAIL
some constants |
static int |
SET_QUERY_SUCC
|
protected java.util.HashSet |
srcDestSet
|
protected java.util.HashSet |
srcIPSet
|
protected float |
startTime
start time |
| Constructor Summary | |
DestList_3(java.lang.String streamID)
|
|
| Method Summary | |
void |
assignSet(java.util.HashSet ipSet)
|
void |
collectDest()
|
static java.util.HashSet |
createSet(java.lang.String srcIPFileName)
Create a hashset from a file. |
static void |
main(java.lang.String[] args)
|
void |
printSummary()
print out the content and a summary of ingress/egress table |
int |
receive(int type_code,
int source_code,
double timestamp,
byte[] bytes,
int offset,
int length)
Default handler for generic record data. |
int |
setQuery(float startTime,
float endTime)
This is called to set the parameters for query. |
| Methods inherited from class SSF.Util.Streams.BasicPlayer |
connectRead, connectWrite, disconnect, getRecordCount, getRecordSourceCode, getRecordSourceString, getRecordTypeCode, getRecordTypeString, isConnected, send, send |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SET_QUERY_FAIL
public static final int SET_QUERY_SUCC
protected java.util.HashSet srcIPSet
protected java.util.Hashtable destTable
protected java.util.HashSet srcDestSet
protected float startTime
protected float endTime
| Constructor Detail |
public DestList_3(java.lang.String streamID)
| Method Detail |
public void assignSet(java.util.HashSet ipSet)
public int setQuery(float startTime,
float endTime)
public int receive(int type_code,
int source_code,
double timestamp,
byte[] bytes,
int offset,
int length)
BasicPlayer
receive in interface StreamInterfacereceive in class BasicPlayerpublic void collectDest()
public void printSummary()
public static java.util.HashSet createSet(java.lang.String srcIPFileName)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||