tcp-learner 数据包分析 20240420

输入输出:

数据包分析:

learner和Adapter建立连接。

Learner让Adapter发送RST

Adapter没有从SUT抓到任何回复,于是向learner发送timeout

learner给adapter发送reset命令,让SUT重置。

这是第一次初始化,由于Adapter和SUT之间没有控制信道来传送消息,Adapter和SUT开放的5001端口建立连接。

连接建立后,SUT会监听一个端口,并把端口号告诉Adapter

Learner让Adapter发送PA数据包,SUT返回RST,Adapter把结果告诉learner

Learn让Adapter发送RST给SUT,SUT没有返回任何数据包,Adapter给Learner返回timeout,


Learner给Adapter发送reset,想要重置连接,并给出下一轮需要发送的消息RA。


Adapter给SUT发送reset指令,SUT重新监听一个端口,并把这个端口返回给Adapter

Adapter给SUT发送RA,SUT没有回复,于是Adapter给learner返回timeout

learner让Adapter给SUT发送R,没有收到SUT回复,Adapter给Learner回复RST。

下面一段类似:

  • learner发送reset
  • learner发送吓一条测试数据包FA
  • Adapter给SUT发送reset
  • SUT给Adapter回复端口
  • Adapter发送FA,获得RST
  • Adapter将RST告诉Learner
  • Learner让Adapter发送RST
  • Adapter发送RST,超时,Adapter给learner返回timeout
  • learner发送reset

重复上述过程

RST,timeout

重置

PUSH/ACK,RST

RST,timeout

重置

RST/ACK,timeout

RST,timeout

重置

FIN/ACK,RST

RST,timeout

重置

SYN/ACK,RST

RST,timeout

重置

PUSH/ACK,RST

ACK,RST

RST,timeout

重置

RST/ACK,timeout

ACK,RST

RST,timeout

重置

FIN/ACK,RST

ACK,RST

RST,timeout

重置

SYNACK,RST

ACK,RST

RST,timeout

ACK,RST

PUSH/ACK,RST

感觉不是很合理,为什么会多次出现xx/ACK?

具体的学习顺序是什么?

得去看一下Learner侧的代码

相关推荐
siriuuus21 分钟前
Nginx IP 透传
网络·nginx
缘友一世33 分钟前
漏洞扫描POC和web漏洞扫描工具
网络·安全·web安全
大海里的番茄34 分钟前
随时随地看监控:我的UptimeKuma远程访问改造记
linux·网络
Aubrey-J1 小时前
Linux中快速部署Elasticsearch(基础&TLS配置)
linux·服务器·elasticsearch
奥尔特星云大使2 小时前
详细的Linux系统更新yum源的教程
linux·运维·服务器·ubuntu·centos·yum源·epel源
tritone2 小时前
在优豆云免费云服务器上初探SSH与SCP的便捷操作
运维·服务器·ssh
大美B端工场-B端系统美颜师2 小时前
数字孪生为什么需要5G?低延迟与高可靠实现精准控制
运维·服务器·5g
christine-rr2 小时前
linux常用命令(6)——网络管理
linux·服务器·网络·ubuntu·网络安全
微信api接口介绍3 小时前
微信社群管理开发
java·开发语言·网络·微信
歪歪1003 小时前
在哪些场景下适合使用 v-model 机制?
服务器·前端·javascript·servlet·前端框架·js