首页 > 其他分享 >Data encapsulation of HTTP, TLS, TCP and IP

Data encapsulation of HTTP, TLS, TCP and IP

时间:2024-03-09 16:56:34浏览次数:31  
标签:TLS HTTP IP MSS TCP record payload size

数据包封装过程

 原文:

TLS record size has an important impact on the performance of HTTPS. Here we discuss the effect of record size on data encapsulation, as shown in Figure 2. TCP is a byte-stream protocol, which can split message from the upper layer of TCP (e.g., TLS) in arbitrary ways for transmission. Thus, there is a length field in TLS header to make the receiver know where the record ends. For large record size, TLS record exceeding MSS limit will be transmitted in multiple TCP payloads, and only one of these TCP payloads contains the TLS header.

While for small record size, the entire TLS record can be accommodated in a single TCP payload. Since the length of TLS record is usually less than MSS, TCP will intercept the next TLS record to pad the current payload as large as MSS.

As a result, a TCP payload may contain none, one or multiple TLS headers. On the whole, no matter which record size it is, we can always construct the relationship between packets and their corresponding HTTP messages.

译文:

TLS record size has an important impact on the performance of HTTPS. Here we discuss the effect of record size on data encapsulation, as shown in Figure 2. TCP is a byte-stream protocol, which can split message from the upper layer of TCP (e.g., TLS) in arbitrary ways for transmission. Thus, there is a length field in TLS header to make the receiver know where the record ends. For large record size, TLS record exceeding MSS limit will be transmitted in multiple TCP payloads, and only one of these TCP payloads contains the TLS header.

While for small record size, the entire TLS record can be accommodated in a single TCP payload. Since the length of TLS record is usually less than MSS, TCP will intercept the next TLS record to pad the current payload as large as MSS.

As a result, a TCP payload may contain none, one or multiple TLS headers. On the whole, no matter which record size it is, we can always construct the relationship between packets and their corresponding HTTP messages.

 

摘自论文:

Efficient Fine-Grained Website Fingerprinting via Encrypted Traffic Analysis with Deep Learning

标签:TLS,HTTP,IP,MSS,TCP,record,payload,size
From: https://www.cnblogs.com/LCarrey/p/18062952

相关文章

  • Angular Material 17+ 高级教程 – Material Ripple
    前言Ripple(波纹)是MaterialDesign其中一个标志性特色。  目录上一篇 AngularMaterial17+高级教程–MaterialIcon下一篇TODO想查看目录,请移步 Angular17+高级教程–目录 ......
  • NOIP2024 模拟赛1
    \(2023\)赛年的结束,\(2024\)赛年的开始。我们会继续前行,也永远会。如今走过这世间万般流连翻过岁月不同侧脸措不及防闯入你的笑颜我曾难自拔于世界之大也沉溺于其中梦话不得真假不做挣扎不惧笑话我曾将青春翻涌成她也曾指尖弹出盛夏心之所动且就随缘去吧逆着光......
  • 93. 复原 IP 地址c
    、leetcode调试功能真香啊,效率高了不少。但钱包也变扁了。。/***Note:Thereturnedarraymustbemalloced,assumecallercallsfree().*/chartemp[30];inttop=0;booljudge(char*s,inthead,inttail){if(head>tail)returnfalse;if(head==tail){......
  • 痞子衡嵌入式:不清i.MXRTxxx里FLEXSPI_MCR0寄存器保留位会造成IP CMD读写异常
    大家好,我是痞子衡,是正经搞技术的痞子。今天痞子衡给大家介绍的是不清i.MXRTxxx里FLEXSPI_MCR0寄存器保留位会造成IPCMD读写异常。痞子衡曾经写过一篇文章《改动i.MXRT1xxx里IOMUXC_GPR寄存器保留位可能会造成系统异常》,这篇文章提出了一个观点,即对于MCU外设寄存器应......
  • 【力扣】复原IP地址(回溯法)(分割问题)
    问题描述在这个题中,因为结果的数据类型为vector<string>所以直接在s中添加分割点比较方便,先看一下代码:classSolution{private:vector<string>result;//记录结果//startIndex:搜索的起始位置,pointNum:添加逗点的数量voidbacktracking(string&s,intst......
  • eclipse编写html
    Windows—>Perspective—>CustommizePerspectiveShortcuts->WebFile->New—>StaticWebProject输入名称自定义文件夹名称创建html文件指定名称选择版本新建文件夹,存放图片......
  • virtual box安装cendos7并配置外网及静态IP(转)
    一、前期准备工作:1、虚拟机下载VirtualBox版本:7.0.6下载VirtualBox的下载页面:https://www.virtualbox.org/wiki/DownloadsVMWare虚拟机软件(收费的,要使用请购买正版软件)的官网:https://www.vmware.comVMWare虚拟机的免费版VMWarePlayer:https://www.vmware.com/products/w......
  • 1938.2024 ICPC Asia Pacific Championship - sol
    20240302-202403082024ICPCAsiaPacificChampionship-OnlineMirror和Mea,Hanghang组队一起打,只做了F,三个人不会G,我又被简单的C搏杀。。。现阶段没有补完,待更新。进度:11/13D和M是多项式题目,一道FFT,一道NTT,由于笔者太菜不会多项式,所以这两道没有补。L是线性......
  • Lua中pair和ipair的区别
    Lua中pair和ipair的区别?二者都是Lua中内置的迭代器,可以对数组或table进行遍历。在正常的数组或table的遍历中,二者没有区别。tableNormal={"this","is","a","array"}--使用pairs遍历forkey,valinpairs(tableNormal)doprint(key,'==',val)end遍历结果:--使用......
  • 蓝牛公网ip检测助手V1.00免费版
        蓝牛公网ip检测助手是一款非常实用的网络软件,可以实时检测公网IP当公网IP变化时软件自动发邮件通知管理员,同时也支持窗口发信息通知管理员(QQ或是微信等)和自定义API提交到你自己网站服务器,让你第一时间掌握公网IP变化情况。 本地下载  ......