Skip to main content

Long-Lasting Sequences of BGP Updates

  • Conference paper
  • First Online:
Passive and Active Measurement (PAM 2021)

Abstract

The Border Gateway Protocol (BGP) is the protocol that makes the various networks composing the Internet communicate to each other. Routers speaking BGP exchange updates to keep the routing up-to-date and allow such communication. This usually is done to reflect changes in the routing configurations or as a consequence of link failures. In the Internet as a whole it is normal that BGP updates are continuously exchanged, but for any specific IP prefix, these updates are supposed to be concentrated in a short time interval that is needed to react to a network change. On the contrary, in this paper we show that there are many IP prefixes involved in quite long sequences consisting of a large number of BGP updates. Namely, examining \({\sim }30\) billion updates collected by 172 observation points distributed worldwide, we estimate that almost \(30\%\) of them belong to sequences lasting more than one week. Such sequences involve \(222\,285\) distinct IP prefixes, approximately one fourth of the number of announced prefixes. We detect such sequences using a method based on the Discrete Wavelet Transform. We publish an online tool for the exploration and visualization of such sequences, which is open to the scientific community for further research. We empirically validate the sequences and report the results in the same online resource. The analysis of the sequences shows that almost all the observation points are able to see a large amount of sequences, and that \(53\%\) of the sequences last at least two weeks.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. CAIDA AS Rank. http://as-rank.caida.org/

  2. Current RIS Routing Beacons - RIPE. https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/current-ris-routing-beacons

  3. MongoDB Manual. https://docs.mongodb.com/

  4. RIPEstat. https://stat.ripe.net

  5. RIS RRC00 Collector Peers. https://www.ris.ripe.net/peerlist/rrc00.shtml

  6. Routing Information Service - RIPE. https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/routing-information-service-ris

  7. BGPie (2020). https://bgpie.net

  8. Abry, P., Baraniuk, R., Flandrin, P., Riedi, R., Veitch, D.: Wavelet and multiscale analysis of network traffic. IEEE Signal Process. Mag. 19(3), 28–46 (2002)

    Article  Google Scholar 

  9. Abry, P., Flandrin, P., Taqqu, M.S., Veitch, D., et al.: Self-similarity and long-range dependence through the wavelet lens. In: Theory and Applications of Long-range Dependence, pp. 527–556 (2003)

    Google Scholar 

  10. Al-Musawi, B., Branch, P., Armitage, G.: Recurrence behaviour of BGP traffic. In: 2017 27th International Telecommunication Networks and Applications Conference (ITNAC), pp. 1–7 (2017)

    Google Scholar 

  11. Burrus, C.S., Gopinath, R.A., Guo, H.: Chapter 8: generalizations of the basic multiresolution wavelet systems. In: Introduction to Wavelets and Wavelet Transforms: A Primer, pp. 154–157. Prentice Hall, Upper Saddle River (1998)

    Google Scholar 

  12. Caesar, M., Subramanian, L., Katz, R.H.: Towards localizing root causes of BGP dynamics. Technical report UCB/CSD-03-1292, EECS Department, University of California, Berkeley (2003)

    Google Scholar 

  13. Cheng, M., Li, Q., Lv, J., Liu, W., Wang, J.: Multi-scale LSTM model for BGP anomaly classification. IEEE Trans. Serv. Comput. 1 (2018)

    Google Scholar 

  14. Cittadini, L., Di Battista, G., Rimondini, M., Vissicchio, S.: wheel + ring = reel: the impact of route filtering on the stability of policy routing. In: 2009 17th IEEE International Conference on Network Protocols, pp. 274–283 (2009)

    Google Scholar 

  15. Deshpande, S., Thottan, M., Ho, T.K., Sikdar, B.: An online mechanism for BGP instability detection and analysis. IEEE Trans. Comput. 58(11), 1470–1484 (2009)

    Article  MathSciNet  Google Scholar 

  16. Du, B., Candela, M., Huffaker, B., Snoeren, A.C., claffy, k.: RIPE IPmap active geolocation: mechanism and performance evaluation. ACM SIGCOMM Comput. Commun. Rev. 50(2), 3–10 (2020)

    Google Scholar 

  17. Eckmann, J.P., Kamphorst, S.O., Ruelle, D.: Recurrence plots of dynamical systems. Europhys. Lett. (EPL) 4(9), 973–977 (1987)

    Article  Google Scholar 

  18. Elmokashfi, A., Kvalbein, A., Dovrolis, C.: BGP churn evolution: a perspective from the core. IEEE/ACM Trans. Netw. 20(2), 571–584 (2012)

    Article  Google Scholar 

  19. Fukuda, K., Hirotsu, T., Akashi, O., Sugawara, T.: Time and space correlation in BGP messages. In: Kim, C. (ed.) ICOIN 2005. LNCS, vol. 3391, pp. 215–222. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-30582-8_23

    Chapter  Google Scholar 

  20. Gray, C., et al.: BGP beacons, network tomography, and Bayesian computation to locate route flap damping. In: Proceedings of ACM Internet Measurement Conference. ACM, New York (2020)

    Google Scholar 

  21. Griffin, T.G., Premore, B.J.: An experimental analysis of BGP convergence time. In: Proceedings International Conference on Network Protocols, ICNP 2001, pp. 53–61 (2001)

    Google Scholar 

  22. Griffin, T.G., Shepherd, F.B., Wilfong, G.: The stable paths problem and interdomain routing. IEEE/ACM Trans. Netw. 10(2), 232–243 (2002)

    Article  Google Scholar 

  23. Kitabatake, T., Fontugne, R., Esaki, H.: BLT: a taxonomy and classification tool for mining BGP update messages. In: IEEE Conference on Computer Communications Workshops, pp. 409–414 (2018)

    Google Scholar 

  24. Kitsak, M., Elmokashfi, A., Havlin, S., Krioukov, D.V.: Long-range correlations and memory in the dynamics of internet interdomain routing. Plos One 10, e0141481 (2015)

    Article  Google Scholar 

  25. Labovitz, C., Malan, G.R., Jahanian, F.: Internet routing instability. In: Proceedings of the ACM SIGCOMM 1997 Conference on Applications, Technologies, Architectures, and Protocols for Computer Communication, SIGCOMM 1997, pp. 115–126. Association for Computing Machinery, New York (1997)

    Google Scholar 

  26. Li, J., Guidero, M., Wu, Z., Purpus, E., Ehrenkranz, T.: BGP routing dynamics revisited. SIGCOMM Comput. Commun. Rev. 37(2), 5–16 (2007)

    Article  Google Scholar 

  27. Mai, J., Yuan, L., Chuah, C.: Detecting BGP anomalies with wavelet. In: IEEE Network Operations and Management Symposium, pp. 465–472 (2008)

    Google Scholar 

  28. Mallat, S.: Chapter 2 - the Fourier kingdom. In: Mallat, S. (ed.) A Wavelet Tour of Signal Processing, 3rd edn., pp. 43–45. Academic Press, Boston (2009)

    Google Scholar 

  29. Oliveira, R.V., Izhak-Ratzin, R., Zhang, B., Zhang, L.: Measurement of highly active prefixes in BGP. In: GLOBECOM 2005. IEEE Global Telecommunications Conference, 2005, vol. 2, 5 pp. (2005)

    Google Scholar 

  30. Prakash, B.A., Valler, N., Andersen, D., Faloutsos, M., Faloutsos, C.: BGP-lens: patterns and anomalies in Internet routing updates. In: Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1315–1324 (2009)

    Google Scholar 

  31. Rekhter, Y., Li, T., Hares, S.: A Border Gateway Protocol 4 (BGP-4). RFC 4271, RFC Editor (2006)

    Google Scholar 

  32. Rosvall, M., Bergstrom, C.T.: Mapping change in large networks. PLoS ONE 5(1), e8694 (2010)

    Article  Google Scholar 

  33. Sapegin, A., Uhlig, S.: On the extent of correlation in BGP updates in the Internet and what it tells us about locality of BGP routing events. Comput. Commun. 36(15), 1592–1605 (2013)

    Article  Google Scholar 

  34. Shannon, C.E.: A mathematical theory of communication. Bell Syst. Tech. J. 27(4), 623–656 (1948)

    Article  MathSciNet  Google Scholar 

  35. Smith, S.W.: The Scientist and Engineer’s Guide to Digital Signal Processing, chap. 13: Continuous Signal Processing, 2nd edn., pp. 255–260. California Technical Publishing (1999)

    Google Scholar 

  36. University of Oregon: Route views (1997). http://www.routeviews.org/routeviews/

  37. University of Roma Tre: BGPie source code repository (2020). https://gitlab.com/uniroma3/compunet/networks/bgpie

  38. Wu, X., Yin, X., Wang, Z., Tang, M.: A three-step dynamic threshold method to cluster BGP updates into routing events. In: 2009 International Symposium on Autonomous Decentralized Systems, pp. 1–6 (2009)

    Google Scholar 

  39. Xu, K., Chandrashekar, J., Zhang, Z.L.: Principal component analysis of BGP update streams. J. Commun. Netw. 12(2), 191–197 (2010). Conference Name: Journal of Communications and Networks

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lorenzo Ariemma .

Editor information

Editors and Affiliations

Appendices

Appendices

A The Discrete Wavelet Transform

The DWT series decomposition of the signal \(w_{cp,\rho }\left( n\right) \) is defined as follows:

$$\begin{aligned} w_{cp,\rho }\left( n\right) =\sum ^{K}_{k=0}{c_{\ell ,k}{\phi }_{\ell ,k}(n)}+\sum ^{\ell }_{j=1}{\sum ^{K }_{k=0}{d_{j,k}{\psi }_{j,k}(n)}} \end{aligned}$$

Where \(K+1\) is the number of samples of the signal. For the sake of simplicity we assume that \(K=2^{\ell }-1\). Functions \(\phi \) and \(\psi \) are the father and mother functions respectively. The j and k indexes represent the scaling and translation factors respectively. Each (j, k) pair gives a wavelet coefficient, which can also be seen as the cross-correlation at lag k between the signal function to be decomposed and the \(\psi \) wavelet basis function, described below, dilated by a scaling factor of \(2^{j}\). The coefficients \(c_{\ell ,k}\) are called approximation coefficients because derived by a low pass filtering, while the coefficients \(d_{j,k}\) are called detail coefficients because derived by an high pass filtering. Function \(\psi _{j,k}\) is defined as: \({\psi }_{j,k}\left( n\right) =2^{{-j}/{2}}\ \psi (2^{-j}n-k)\), where \(\psi \) is the mother wavelet (also known as generic wavelet basis function) and can be chosen in a set of mother wavelet functions. For the duality principle the function \(\phi \) is called father wavelet, or scaling function, because varying the j scaling index it gives a different resolution of the signal representation, creating a multi-resolution view of it. In the decomposition series formula above, \(\phi _{\ell ,k}\) represents \(\phi _{j,k}\) computed in \(j = \ell \), that describes the last resolution level of the signal decomposition.

Once the signal has been represented in the DWT domain, we can compute its scalogram representation, that describes the percentage of energy for each wavelet coefficient. The scalogram can be arranged in a matrix form, denoted by P, with \(\ell \) rows and \(K+1\) columns. Each element of P is denoted by P[jk].

Value P[jk] is the normalized power of coefficient \(d_{j,k}\) that, to further generalize the DWT, we will briefly represent with the Continuous Wavelet Transform formalism

$$P[j,k]=\frac{1}{2\pi \cdot C\cdot 2^{2j}}{\left| d_{j,k}\right| }^2 \,\,\,\,\,\,\,\,\,\text {where}\,\,\,\,\,\,\,\,\, C=\int _{-\pi }^{\pi }{\frac{{|\widehat{\psi } \left( \omega \right) |}^2}{\left| \omega \right| }d\omega }$$

is a normalization constant regarding the admissibility condition of a mother wavelet \(\psi \), with \(\widehat{\psi }(\omega )\) denoting the Fourier Transform of \(\psi (n)\).

Formally, the normalization is chosen so that \(\sum _{j}\sum _{k}{P[j,k]}=1\). This means that P[jk] represents the percentage of the signal power at time k in the range of frequencies \({\varDelta f}_j\) defined below. According to the Nyquist-Shannon rule:

$$\begin{aligned} {\varDelta f}_j= \left[ \frac{f_s/2\ }{2^{j}},\frac{f_s/2\ }{2^{j-1}}\right) \end{aligned}$$

where \(f_s\) is the sampling frequency.

B The Collector Peers and their Locations

The locations of CPs are reported in Table 1.

Table 1. List of collector peers. Locations are retrieved from [16].

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ariemma, L., Liotta, S., Candela, M., Di Battista, G. (2021). Long-Lasting Sequences of BGP Updates. In: Hohlfeld, O., Lutu, A., Levin, D. (eds) Passive and Active Measurement. PAM 2021. Lecture Notes in Computer Science(), vol 12671. Springer, Cham. https://doi.org/10.1007/978-3-030-72582-2_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-72582-2_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-72581-5

  • Online ISBN: 978-3-030-72582-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics