level03.json 629 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. devices:[
  3. {
  4. id:"Alice",
  5. ports:1,
  6. x:0.25,
  7. y:0.5,
  8. player:true,
  9. bufferWait:10000000
  10. },
  11. {
  12. id:"Google",
  13. ports:1,
  14. x:0.75,
  15. y:0.5,
  16. image:"server",
  17. script: deviceScripts.ping
  18. }
  19. ],
  20. links:[
  21. {
  22. src:"Alice", srcport:0,
  23. dst:"Google", dstport:0
  24. }
  25. ],
  26. timeline:[
  27. {
  28. type:"packet",
  29. at:500,
  30. from:"Alice",
  31. payload:{
  32. network:{srcip:"Alice", dstip:"Google"},
  33. transport:{proto:"ICMP"}
  34. }
  35. }
  36. ],
  37. triggers:[
  38. {
  39. type:"packet",
  40. device:"Alice",
  41. payload:{
  42. network:{srcip:"Google", dstip:"Alice"}
  43. }
  44. }
  45. ],
  46. nextLevel:4
  47. }