good network updates for bad packets
play

Good Network Updates for Bad Packets Arne Ludwig, Matthias Rost, - PowerPoint PPT Presentation

Good Network Updates for Bad Packets Arne Ludwig, Matthias Rost, Damien Foucard, Stefan Schmid 1 Updates happen Network updates happen Changing security policies Network updates are challenging Even with global view Potential


  1. Good Network Updates for Bad Packets Arne Ludwig, Matthias Rost, Damien Foucard, Stefan Schmid 1

  2. Updates happen ● Network updates happen – Changing security policies ● Network updates are challenging – Even with global view ● Potential high damage if fail – Security policy violation 2

  3. Example 3

  4. Example 4

  5. Example Waypoint Enforcement (WPE) 5

  6. Example ● Eventual consistency 6

  7. Example Bad packet ✔ Eventual consistency ➢ Transient consistency? 7

  8. Example ✔ Eventual consistency ➢ Transient consistency? 8

  9. Example ✔ Eventual consistency ➢ Transient consistency? 9

  10. Example ✔ Eventual consistency ➢ Transient consistency? 10

  11. Example ✔ Eventual consistency ➢ Transient consistency? 11

  12. Example ✔ Eventual consistency ✗ Transient consistency 12

  13. Outline ● What could possibly go wrong? ● It's not a trivial thing! ● But we present an optimal solution. 13

  14. Model and a Trivial Compression Solid lines = current path 14

  15. Model and a Trivial Compression Solid lines = current path Dashed lines = new path Flow-specific path 15

  16. Model and a Trivial Compression Solid lines = current path Dashed lines = new path Flow-specific path 16

  17. Model and a Trivial Compression Solid lines = current path Dashed lines = new path Flow-specific path Safe to be updated Safe to be left untouched 17

  18. Consistency Properties ● WPE = every packet traverses the waypoint at least once ● LF = loop freedom 18

  19. Update all “simultaneously“? 19

  20. Update all “simultaneously“? Not possible in practice! What could possibly go wrong? 20

  21. Update all “simultaneously“? Not possible in practice! What could possibly go wrong? Update times can vary significantly (up to 10x higher than median [Dionysus – SIGCOMM'14]) 21

  22. Update all “simultaneously“? 22

  23. Update all “simultaneously“? ● Not waypoint enforced! 23

  24. Delay ? 24

  25. Delay ? ● Not loop free! 25

  26. Update possible? 26

  27. Update possible? 27

  28. Update possible? 28

  29. Update possible? ● Consistent transient states! 29

  30. Rounds ● Round = set of parallel updates ● ➔ Minimize number of rounds / communication overhead 30

  31. Greedy Update Fails ● Greedy approach may: See paper! – take up to times more rounds – fail to find solution 31

  32. Greedy Update Fails ● Greedy approach may: See paper! – take up to times more rounds – fail to find solution 32

  33. WPE - Update Algorithm 1.Switches < WP (new), > WP (old) 33

  34. WPE - Update Algorithm 1.Switches < WP (new), > WP (old) 34

  35. WPE - Update Algorithm 1.Switches < WP (new), > WP (old) 35

  36. WPE - Update Algorithm 1.Switches < WP (new), > WP (old) 2.Switches < WP (new), < WP (old) 36

  37. WPE - Update Algorithm 1.Switches < WP (new), > WP (old) 2.Switches < WP (new), < WP (old) 37

  38. WPE - Update Algorithm 1.Switches < WP (new), > WP (old) 2.Switches < WP (new), < WP (old) 3.Remaining switches 38

  39. WPE - Update Algorithm 1.Switches < WP (new), > WP (old) 2.Switches < WP (new), < WP (old) 3.Remaining switches Constant in 3 rounds, but not LF! 39

  40. LF and WPE Conflict 40

  41. LF and WPE Conflict ● violate WPE; violate LF 41

  42. Mixed Integer Program Minimize Rounds LF WPE 42

  43. Mixed Integer Program Optimal solution Mixed Integer Unclassified Program (stopped 600sec) Not solvable (provably) 43

  44. Solvability Analysis ● % of solvable instances? ● % of failed greedy? ● 1k random permutations per size ● Max duration 600 seconds Greedy MIP Unclear No solution 44

  45. Solvability Analysis Greedy MIP Unclear No solution 45

  46. Solvability Analysis Greedy MIP Unclear No solution 46

  47. Solvability Analysis Greedy MIP Unclear No solution 47

  48. Conclusion ● Transient consistency is not easy to guarantee ● LF and WPE might even conflict ● Greedy can fail to find consistent updates Dynamic WPE + LF updates are hard to find! 48

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend