Is it possible to send tcp syn packet with payload by using WFP?

谁说我不能喝 提交于 2019-12-24 17:15:17

问题


I am new to Windows Filtering Platform.

Is it possible to send a tcp SYN packet with a payload by using WFP?

The payload I want to send will have some secret password.

My linux server will check SYN packet's payload whether it is valid or not.


回答1:


Although sending data in SYN packet is possible, it is never recommended to send sensitive data. Any "bad user" who intercepts the SYN packet shall be able to initiate a connection with your secret password.




回答2:


WFP or no WFP, you "can" send the data in SYN packet but the other end should be aware of that. Standard doesn't allow or recommend doing that. TCP fast open was introduced thinking people will adapt that soon it became unpopular.

Sending data in SYN, even if you achieved is not a good practice because

a) Not scalable b) There are some proxies or gateways in the way which might intercept this TCP flow and throw away your data, sending SYN only to as they make server side connections. c) Most TCP out there would assume that SYN has NO data as connection establishment hasn't happened yet.

This is the reason people do encapsulation to preserve their data from all the middleboxes, you can design something on that principal.



来源:https://stackoverflow.com/questions/30769717/is-it-possible-to-send-tcp-syn-packet-with-payload-by-using-wfp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!