|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--SSF.App.Worm.MacroscopicModelConfigurator
|
+--SSF.App.Worm.GatewayProtocolSession
Pseudoprotocol for border routers (gateways). Connects to the global macroscopic model to receive information on worm induced scan traffic intensity.
| Nested Class Summary | |
class |
GatewayProtocolSession.BccIcmpTransmissionTimer
|
| Nested classes inherited from class SSF.App.Worm.MacroscopicModelConfigurator |
MacroscopicModelConfigurator.MacroModelTimer |
| Field Summary | |
protected Exponential |
interSendTimeDistr
Distribution of BCC ICMP inter-send times. |
RandomStream |
rng
Random number generator for BCC ICMP send process. |
boolean |
scansBlocked
If true, this gateway blocks worm scan packets out from and into this AS. |
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
GatewayProtocolSession()
Methods |
|
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg)
Configure GatewayProtocolSession. |
void |
init()
Initalize (after config phase). |
boolean |
push(ProtocolMessage msg,
ProtocolSession fromSessn)
Do nothing. |
void |
sendBccIcmp()
Send next BCC ICMP packet. |
void |
setBccIcmpRate(float outgoingRate)
Update the rate of BCC ICMPs to send. |
void |
setScansBlocked(boolean doBlock)
Set switch determining whether this gateway blocks (drops) worm scan packets or not. |
void |
updateScans(float outgoingRate)
Update scan traffic intensity at this router. |
| Methods inherited from class SSF.App.Worm.MacroscopicModelConfigurator |
configEpidemic, configGlobalOptions, getSimTime, init_macroscopic, update |
| 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 boolean scansBlocked
public RandomStream rng
protected Exponential interSendTimeDistr
| Constructor Detail |
public GatewayProtocolSession()
| Method Detail |
public void init()
init in class ProtocolSession
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
REQUIRED ATTRIBUTES:
OPTIONAL ATTRIBUTES:
Whenever the WormProtocolSession or GatewayProtocolSession is used, the outermost Net must have a global definition of the worm_model [ ... ] attribute. The worm_model attributes are as follows:
config in interface com.renesys.raceway.DML.Configurableconfig in class ProtocolSessioncom.renesys.raceway.DML.configExceptionfor more
details.
public boolean push(ProtocolMessage msg,
ProtocolSession fromSessn)
push in class ProtocolSessionpublic void updateScans(float outgoingRate)
public void setScansBlocked(boolean doBlock)
public void setBccIcmpRate(float outgoingRate)
public void sendBccIcmp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||