| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- {
- devices:[
- {
- id:"Alice",
- image: "macbook",
- ports:1,
- x:0.25,
- y:0.2,
- player:true
- },
- {
- id:"Zombie 1",
- image: "macbook",
- ports:1,
- x:0.25,
- y:0.4,
- player:true
- },
- {
- id:"Zombie 2",
- image: "iphone-1",
- ports:1,
- x:0.25,
- y:0.6,
- player:true
- },
- {
- id:"Zombie 3",
- ports:1,
- x:0.25,
- y:0.8,
- player:true
- },
- {
- id:"Google",
- image: "server",
- ports:1,
- x:0.8,
- y:0.5,
- capacity:3
- },
- {
- id:"Google's Firewall",
- image: "router",
- ports:5,
- x:0.6,
- y:0.5,
- script: deviceScripts.firewall,
- rules:[
- {srcip:"Alice"}
- ]
- }
- ],
- links:[
- {
- src:"Alice", srcport:0,
- dst:"Google's Firewall", dstport:4
- },
- {
- src:"Zombie 1", srcport:0,
- dst:"Google's Firewall", dstport:1
- },
- {
- src:"Zombie 2", srcport:0,
- dst:"Google's Firewall", dstport:2
- },
- {
- src:"Zombie 3", srcport:0,
- dst:"Google's Firewall", dstport:3
- },
- {
- src:"Google", srcport:0,
- dst:"Google's Firewall", dstport:0
- }
- ],
- timeline:[
- {
- type:"packet",
- at:50,
- from:"Alice",
- times:20,
- payload:{
- network:{srcip:"Alice",dstip:"Google"}
- }
- }
- ],
- triggers:[
- {
- type:"flood",
- device:"Google"
- }
- ],
- nextLevel:10
- }
|