IDEAS home Printed from https://ideas.repec.org/a/wly/intnem/v31y2021i6ne2162.html
   My bibliography  Save this article

E‐Replacement: Efficient scanner data collection method in P4‐based software‐defined networks

Author

Listed:
  • Yun‐Zhan Cai
  • Ting‐Yu Lin
  • Yu‐Ting Wang
  • Ya‐Pei Tuan
  • Meng‐Hsun Tsai

Abstract

Internet of things (IoT) botnets such as Mirai are rampant in the past years. Port scanning is a well‐known behavior of botnets for searching targets in networks. To detect port scanning, a detector requires network statistics with high discriminatory power. In P4‐based software‐defined network (SDN), switches take charge of recording characteristics about scanning behaviors, and controllers pull the statistics from the switches periodically for anomaly detection. Given storage resources in switches are limited, we proposed a scanner data collection method, 0‐Replacement, in P4‐based SDN to efficiently collect scanner data and improve the detection rate. 0‐Replacement, however, does not consider performance degradation caused by the hash collision. In this paper, we combine the conception of Hashpipe with 0‐Replacement and propose a new scanner data collection method named E‐Replacement. By leveraging the conception of Hashpipe, E‐Replacement can mitigate the performance degradation caused by the hash collision. Through simulations, we show that E‐Replacement improves the detection rate by up to 6.73% and 210.82% compared to 0‐Replacement and the traditional sample and hold method, respectively. Besides, E‐Replacement improves the precision by around 528.2% compared to the count‐min sketch and k‐ary sketch methods. The memory usage in E‐Replacement is the same as 0‐Replacement. In simulations, E‐Replacement can detect around 93.4% of scanners in a class B network with only 4.02‐Mb SRAM. After implementing E‐Replacement on a software P4 switch, BMv2, we observe the extra forwarding latency for E‐Replacement is not greater than a millisecond.

Suggested Citation

  • Yun‐Zhan Cai & Ting‐Yu Lin & Yu‐Ting Wang & Ya‐Pei Tuan & Meng‐Hsun Tsai, 2021. "E‐Replacement: Efficient scanner data collection method in P4‐based software‐defined networks," International Journal of Network Management, John Wiley & Sons, vol. 31(6), November.
  • Handle: RePEc:wly:intnem:v:31:y:2021:i:6:n:e2162
    DOI: 10.1002/nem.2162
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/nem.2162
    Download Restriction: no

    File URL: https://libkey.io/10.1002/nem.2162?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wly:intnem:v:31:y:2021:i:6:n:e2162. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Wiley Content Delivery (email available below). General contact details of provider: https://doi.org/10.1002/(ISSN)1099-1190 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.