|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--SSF.App.DDoS.DDoSSession
This does NOT has many features in DDoSSessionRand, please use DDoSSessionRand instead unless the user wants to have full control of the attacking relay network.
. In the configuration, the user needs to specify the whole relay network of attacker, masters and agents. It can be a burden when one wants to use a lot of hijacked hosts.
Notice: each host running it must have interface "0" connected.
DDoSSessionRand| Field Summary | |
static int |
ATTACKER
level constants, so are "MASTER" and "ZOMBIE" |
static int |
ATTACKING
|
protected int |
attackMethod
attack method |
protected int |
attackParam
parameter of attacking |
protected int[] |
children
array of IP addresses of children that are directly under control of this master or attacker |
protected static com.renesys.raceway.DML.Configuration |
controlTreeConfig
|
protected static java.lang.String |
controlTreeFile
control tree config file |
protected int |
endAttackTime
attack ending time (second). |
static int |
INSTALLED
|
protected IP |
ipSess
IP on this host |
protected int |
level
level variable, it shows where in the control tree this host locates. |
static int |
MASTER
|
protected Timer |
myTimer
timer |
static int |
NOT_INSTALLED
status constants, so are "INSTALLED" and "ATTACKING" |
protected static RandomStream |
rng
random stream |
protected int |
startAttackTime
attack starting time (second). |
int |
status
status variable, default is "INSTALLED" |
static int |
SYN
attack method constant |
protected int |
targetIP
target IP |
protected int |
targetPort
target port |
static java.lang.String |
VIRTUAL_INTERFACE
virtual interface that is assumed to be on at every host |
static int |
ZOMBIE
|
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
DDoSSession()
|
|
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg)
config the status and level of this DDoSSession instance |
protected void |
endAttack(DDoSMessage msg)
|
void |
init()
Initialization routine, called by the ProtocolGraph after instantiation. |
protected void |
initAttacker(com.renesys.raceway.DML.Configuration cfg)
|
protected void |
initLevel(java.lang.String evals)
|
protected void |
initMaster(com.renesys.raceway.DML.Configuration cfg)
|
protected void |
initStatus(java.lang.String evals)
|
protected void |
initZombie(com.renesys.raceway.DML.Configuration cfg)
|
protected void |
install(DDoSMessage msg)
|
boolean |
push(ProtocolMessage message,
ProtocolSession fromSession)
Routine to call when a message is being sent to ("pushed into") this ProtocolSession by another ProtocolSession. |
protected void |
sendACK(DDoSMessage msg)
|
protected void |
startAttack(DDoSMessage msg)
|
| Methods inherited from class SSF.OS.ProtocolSession |
close, closed, debugIdentifier, inGraph, open, opened, pushAfterDelay, pushAfterDelayFailed, setGraph, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NOT_INSTALLED
public static final int INSTALLED
public static final int ATTACKING
public static final int ATTACKER
public static final int MASTER
public static final int ZOMBIE
public static final java.lang.String VIRTUAL_INTERFACE
public static final int SYN
public int status
protected int level
protected int startAttackTime
protected int endAttackTime
protected int targetIP
protected int targetPort
protected int attackMethod
protected int attackParam
protected int[] children
protected IP ipSess
protected static java.lang.String controlTreeFile
protected static com.renesys.raceway.DML.Configuration controlTreeConfig
protected Timer myTimer
protected static RandomStream rng
| Constructor Detail |
public DDoSSession()
| Method Detail |
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
config in interface com.renesys.raceway.DML.Configurableconfig in class ProtocolSessioncom.renesys.raceway.DML.configException
public void init()
throws ProtocolException
ProtocolSession
init in class ProtocolSessionProtocolException
public boolean push(ProtocolMessage message,
ProtocolSession fromSession)
throws ProtocolException
ProtocolSessionIf you desire "safe" interaction with other CPU activities, even though your push() consumes no measurable/modelable CPU cycles, define the "cpudelay true" attribute for the ProtocolGraph and use pushAfterDelay(message,fromSession,0.0). This will guarantee proper ordering; that is, the framework will wait until the CPU is free before proceeding with the requested push().
push in class ProtocolSessionProtocolExceptionprotected void install(DDoSMessage msg)
protected void sendACK(DDoSMessage msg)
throws ProtocolException
ProtocolExceptionprotected void startAttack(DDoSMessage msg)
protected void endAttack(DDoSMessage msg)
protected void initStatus(java.lang.String evals)
throws com.renesys.raceway.DML.configException
com.renesys.raceway.DML.configException
protected void initLevel(java.lang.String evals)
throws com.renesys.raceway.DML.configException
com.renesys.raceway.DML.configException
protected void initAttacker(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
com.renesys.raceway.DML.configException
protected void initMaster(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
com.renesys.raceway.DML.configException
protected void initZombie(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
com.renesys.raceway.DML.configException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||