level03.json 615 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. devices:[
  3. {
  4. id:"Alice",
  5. type:"NullComputer",
  6. ports:1,
  7. x:0.25,
  8. y:0.5,
  9. player:true,
  10. bufferWait:10000000
  11. },
  12. {
  13. id:"Google",
  14. type:"NullComputer",
  15. ports:1,
  16. x:0.75,
  17. y:0.5
  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:100,
  30. from:"Alice",
  31. payload:{
  32. network:{dstip:"Google"},
  33. transport:{proto:"ICMP"}
  34. }
  35. }
  36. ],
  37. triggers:{
  38. t0:{
  39. type:"packet",
  40. device:"Alice",
  41. payload:{
  42. network:{srcip:"Google", dstip:"Alice"}
  43. },
  44. times:5
  45. }
  46. },
  47. nextLevel:"01 Basics/level04.json"
  48. }