arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.00058cs.NI
收藏

检测数据平面中的TCP分组重排序

Detecting TCP Packet Reordering in the Data Plane

Yufei Zheng, Huacheng Yu, Jennifer Rexford

摘要:

网络管理员希望检测TCP级别的数据包重新排序,以诊断性能问题和攻击。然而,重新排序的代价很高,因为每个数据包都必须相对于同一流中其前身的TCP序列号进行处理。由于流量的原因,检测应该在数据包飞过时在数据平面中进行。然而,对存储器大小和每个数据包的存储器访问次数的限制使得不可能设计一个有效的算法来精确定位具有重数据包重排序的流。在实践中,由于拥塞或拥塞的链路,分组重新排序通常是网络路径的属性。通过相同路径的流在它们的乱序中是相关的,并且在IP前缀级别聚合乱序统计信息提供有用的诊断信息。在本文中,我们提出了有效的算法识别IP前缀与重数据包重排序内存限制下。首先,我们对尽可能多的流进行采样,无论其大小如何,但每次只在很短的时间内进行。接下来,除了流量采样之外,我们还单独监测长时间的大流量。在这两种算法中,我们在流级别进行测量,并在前缀级别聚合统计信息和分配内存。我们的模拟实验,使用从校园网和骨干网的数据包跟踪,我们的P4原型表明,我们的算法正确地识别$80\%$的前缀与沉重的数据包重排序使用适度的内存资源。

英文摘要:

Network administrators want to detect TCP-level packet reordering to diagnose performance problems and attacks. However, reordering is expensive to measure, because each packet must be processed relative to the TCP sequence number of its predecessor in the same flow. Due to the volume of traffic, detection should take place in the data plane as the packets fly by. However, restrictions on the memory size and the number of memory accesses per packet make it impossible to design an efficient algorithm for pinpointing flows with heavy packet reordering. In practice, packet reordering is typically a property of a network path, due to a congested or flaky link. Flows traversing the same path are correlated in their out-of-orderness, and aggregating out-of-order statistics at the IP prefix level provides useful diagnostic information. In this paper, we present efficient algorithms for identifying IP prefixes with heavy packet reordering under memory restrictions. First, we sample as many flows as possible, regardless of their sizes, but only for a short period at a time. Next, we separately monitor the large flows over long periods, in addition to the flow sampling. In both algorithms, we measure at the flow level, and aggregate statistics and allocate memory at the prefix level. Our simulation experiments, using packet traces from campus and backbone networks, and our P4 prototype show that our algorithms correctly identify $80\%$ of the prefixes with heavy packet reordering using moderate memory resources.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑