arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.03518cs.CRcs.PF
收藏

与TCP快速打开相比,TLS的性能和保密性得到增强

Enhanced Performance and Privacy for TLS over TCP Fast Open

Erik Sy, Tobias Mueller, Christian Burkert, Hannes Federrath, Mathias Fischer

摘要:

小型TCP流构成了Web流的大部分。对于他们来说,TCP三次握手会导致显着的延迟开销。TCP快速打开(TFO)协议可以通过零往返时间(0-RTT)握手来显著减少这种延迟,因为所有TCP握手都是在同一主机的完整初始握手之后。然而,这是以隐私限制为代价的,并且也有一些性能限制。在本文中,我们调查了流行的网站和浏览器上的TFP部署。我们发现,由于Web服务器使用多个IP地址进行负载平衡,40%的客户端第一次重新访问网站时无法使用简短的TFO握手。我们的分析进一步揭示了显着的隐私问题的协议设计和实现。基于网络的攻击者和在线跟踪者可以利用TFO来跟踪用户的在线活动。作为对策,我们介绍了一种新的协议,称为TCP快速开放隐私(FOP)。TCP FOP可以防止网络攻击者的跟踪,并阻止第三方跟踪,同时仍然允许TFO中的0-RTT握手。作为概念验证,我们已经为Linux内核和TLS库实现了所提出的协议。我们的测量表明,当网站从多个IP地址提供服务时,TCP FOP优于TLS。

英文摘要:

Small TCP flows make up the majority of web flows. For them, the TCP three-way handshake induces significant delay overhead. The TCP Fast Open (TFO) protocol can significantly decrease this delay via zero round-trip time (0-RTT) handshakes for all TCP handshakes that follow a full initial handshake to the same host. However, this comes at the cost of privacy limitations and also has some performance limitations. In this paper, we investigate the TFP deployment on popular websites and browsers. We found that a client revisiting a web site for the first time fails to use an abbreviated TFO handshake in 40% of all cases due to web server load-balancing using multiple IP addresses. Our analysis further reveals significant privacy problems of the protocol design and implementation. Network-based attackers and online trackers can exploit TFO to track the online activities of users. As a countermeasure, we introduce a novel protocol called TCP Fast Open Privacy (FOP). TCP FOP prevents tracking by network attackers and impedes third-party tracking, while still allowing 0-RTT handshakes as in TFO. As a proof-of-concept, we have implemented the proposed protocol for the Linux kernel and a TLS library. Our measurements indicate that TCP FOP outperforms TLS over TFO when websites are served from multiple IP addresses.

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

↑