如何检查连接中是否有 IP 标头或 TCP/UDP 标头?
我有一个防火墙来检测所有连接。 当我从 A 到 B 建立连接时,我们会收到许多在 A 和 B 之间发送的数据包。如果我们从 B 到 A 建立连接,我们也会收到相同的 A->B 结果。
我不知道如何检查每个数据包是否属于 A 创建或 B 创建的连接。
我已经捕获了IP标头、TCP/UDP标头,但我不知道可以检查它的字段是什么。
I've a firewall to detect all connections.
When I've a connection from A to B, we receive many packet sending between A and B.and if we make a connect from B to A, we also receive the result is the same A->B.
I don't know how to check each packet is belong the connection that A created or B created.
I've captured IP header, TCP/UDP header, but I don't know what's the field that cans check it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
序列号字段就是您所需要的。
The sequence number field is what you need.