开发者

Is there a way to manipulate udp packets after an application sends it to a socket?

开发者 https://www.devze.com 2022-12-12 03:32 出处:网络
In other 开发者_C百科words, can I intercept those packets (possibly at the stack level) using a separate application, manipulate them and then send them to the destination the original application was

In other 开发者_C百科words, can I intercept those packets (possibly at the stack level) using a separate application, manipulate them and then send them to the destination the original application was trying to send them to?


You can open socket with PF_PACKET protocol type, intercept all packets on the interface and send them directly.

Check out man 7 packet and man socket. I believe you'll need root rights to run such application.

Sniffing Bytes over the Network

0

精彩评论

暂无评论...
验证码 换一张
取 消