YingquanYuan / raw_sockets

This is a Python implementation of a raw TCP/IP protocol stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

一个源于IP头字段offset设置的疑问

hothotstreet opened this issue · comments

大佬我想问下,在raw编程时IP头里面的字段是否可以随意设置呢?我想构建一个畸形包,就是随意修改IP头里面的offset字段,但是我发现我设置该字段非0后就无法发包了,这是为啥呢?