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.
精彩评论