How to improve netfilter queue processing performance in user space?

I wonder how to speed up my package filtering program based on libnetfilter_queue, the library allows you to process a package in the netfilter queue in user space.

I think the key point is that the transition between user space and nuclear space is slow. To increase performance, should I rewrite my program as a kernel patch and run it in kernelspace? THX

+4
source share

All Articles