Changes between Version 11 and Version 12 of BotnetExample
- Timestamp:
- Nov 5, 2010 1:42:26 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BotnetExample
v11 v12 72 72 73 73 '''Definitions:''' 74 PEERREQUEST extends REQUEST 75 76 PEERREPLY extends REPLY 74 77 75 78 each Peer peer1, some Peer peer2: 76 79 77 e1 := {type = WANNAPEER, origin = peer1, destination = peer2}80 e1 := {type = PEERREQUEST, origin = peer1, destination = peer2} 78 81 79 e2 := {type = YESPEER, origin = peer2, destination = peer1}82 e2 := {type = PEERREPLY, origin = peer2, destination = peer1} 80 83 81 84 s1 := {peer2.peers += peer1} … … 97 100 '''Timeline:''' 98 101 99 e1 -> [s1 and e2-> s2] | | e3 -> s3 -> e4 -> e5 -> [e6]102 e1 -> [s1 and (e2 | matches(e2,e1)) -> s2] | | e3 -> s3 -> e4 -> e5 -> [e6] 100 103 101 104