标题: | 稳定网路流量重播至应用层代理伺服器 Stateful Traffic Replay on Application Proxies |
作者: | 廖鹏宇 Liao, Peng-Yu 林盈达 Lin, Ying-Dar 网路工程研究所 |
关键字: | 流量重播;流量录制;真实流量;应用层代理伺服器;traffic replay;traffic capture;real flows;application proxy |
公开日期: | 2009 |
摘要: | 重播流量到网路产品并观察它们的反应是一种测试网路产品的方法。目前已存在的重播工具大多提供传输层的流量重播,以测试交换器、路由器、闸道器等产品。然而,现有的流量重播工具无法针对应用层代理伺服器网路产品进行重播。有鉴于此,基于应用层代理伺服器具有建立连线与修改应用层讯息的特性,我们在本论文设计并实作一个适用于应用层通讯协定的ProxyReplay重播工具。代理伺服器常常具有一些网路流量处理功能,如内容快取与过滤。这些行为可能会改变重播应用层流量的基本流程,导致当内容快取与过滤行为发生时,重播工具送出不必要的讯息,或是讯息无法被正常处理。ProxyReplay这个工具按照应用层协定规范的流程准确重播流量至应用层代理伺服器,它可以根据不同网路功能进行处理,如更新讯息标头档让讯息正确快取,检查要求讯息再重播对应的回应讯息,防止内容过滤发生时送出不必要的讯息。最后,为了避免重播时所带来记忆体空间的限制,ProxyReplay也提供同步重播的机制,以处理比实际记忆体空间还要大的流量资料,在实验结果中,ProxyReplay可达到200Mbps以上的输出效能,并重播大于实际记忆体空间的真实流量。 It is common to test network devices by replaying network traffic to them and observe their reactions. Most existing replay tools support layer 4 stateful traffic replay and hence they can be used to test switch, router, and gateway devices. However, they do not support stateful traffic replay to application level proxies. Therefore, considering the characteristics of connection interception and content modification, we design and implement the ProxyReplay tool for application layer proxies in this thesis. Application proxies often provide features such as data-caching and content filtering. These features may affect replay procedures. As a result, it is possible that a replay tool replays invalid application messages that cannot be correctly processed by proxies. The proposed tool not only supports stateful replay to application proxy by following the protocol procedure, it also handles different proxy behaviors. For instance, it updates message headers so that web-caching works correctly and it also analysis messages received from a proxy to prevent from replaying of invalid responses when content filtering is adopted. Although replayed data is usually preprocessed and stored in memory during a replay process, the ProxyReplay tool provides a concurrent replay mode which allows it to replay network traces that are much greater than the physical memory. In the experiment, the throughput of ProxyReplay can achieve 200Mbps but also replays the real flow trace file which is larger than the physical memory. |
URI: | http://140.113.39.130/cdrfb3/record/nctu/#GT079756537 http://hdl.handle.net/11536/46027 |
显示于类别: | Thesis |
文件中的档案:
If it is a zip file, please download the file and unzip it, then open index.html in a browser to view the full text content.