开发者

Packet manipulation library in C

开发者 https://www.devze.com 2023-01-22 10:11 出处:网络
I am playing with libnetfilter_queue and am looking for a good C library to work with packets captured by libnetfilter_queue. I really like the dpkt library for 开发者_如何学Cpython and some similar l

I am playing with libnetfilter_queue and am looking for a good C library to work with packets captured by libnetfilter_queue. I really like the dpkt library for 开发者_如何学Cpython and some similar library for C would be wonderful.

Any other workaround or example code for manipulating the packets are also welcome.

with regards,

raj


Netfilter's TPROXY target is available (even at *BSD) => setsockopt can be done from your python code without messing at C.

0

精彩评论

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