Probabilistic Profiling of Stateful Data Planes for Adversarial Testing

被引:16
作者
Kang, Qiao [1 ]
Xing, Jiarong [1 ]
Qiu, Yiming [1 ]
Chen, Ang [1 ]
机构
[1] Rice Univ, Houston, TX 77005 USA
来源
ASPLOS XXVI: TWENTY-SIXTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS | 2021年
关键词
Programmable data planes; symbolic execution; adversarial testing; SYMBOLIC EXECUTION; INFERENCE;
D O I
10.1145/3445814.3446764
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Recently, there is a flurry of projects that develop data plane systems in programmable switches, and these systems perform far more sophisticated processing than simply deciding a packet's next hop (i.e., traditional forwarding). This presents challenges to existing network program profilers, which are developed primarily to handle stateless forwarding programs. We develop P4wn, a program profiler that can analyze program behaviors of stateful data plane systems; it captures the fact that these systems process packets differently based on program state, which in turn depends on the underlying stochastic traffic pattern. Whereas existing profilers can only analyze stateless network processing, P4wn can analyze stateful processing behaviors and their respective probabilities. Although program profilers have general applications, we showcase a concrete use case in detail: adversarial testing. Unlike regular program testing, adversarial testing distinguishes and specifically stresses low-probability edge cases in a program. Our evaluation shows that P4wn can analyze complex programs that existing tools cannot handle, and that it can effectively identify edge-case traces.
引用
收藏
页码:286 / 301
页数:16
相关论文
共 77 条
  • [1] Data Center TCP (DCTCP)
    Alizadeh, Mohammad
    Greenberg, Albert
    Maltz, David A.
    Padhye, Jitendra
    Patel, Parveen
    Prabhakar, Balaji
    Sengupta, Sudipta
    Sridharan, Murari
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2010, 40 (04) : 63 - 74
  • [2] [Anonymous], P4 BEHAV MODEL
  • [3] [Anonymous], NETRONOME AGILIO
  • [4] [Anonymous], 2012, P SIGCOMM
  • [5] [Anonymous], PUBLICATIONS SYSTEMS
  • [6] [Anonymous], BEBA BEHAVIORIAL BAS
  • [7] [Anonymous], LATTE COMPUTATIONS P
  • [8] [Anonymous], WHAT IS EBPF
  • [9] Bai S., 2019, PASSIVE OS FINGERPRI
  • [10] Banabic R., 2011, 2011 IEEE/IFIP 41st International Conference on Dependable Systems and Networks Workshops (DSN-W), P188, DOI 10.1109/DSNW.2011.5958811