3 ms·
Wouldn't it be more efficient to just have all or nearly all packets bypass the network kernel? Why compromise?
by s1m0n 11y ago
Wouldn't it be more efficient to just have all or nearly all packets bypass the network kernel? Why compromise?
- mavam 11y agoThat's exactly the idea behind packet bricks (see other comment): you have one single tool that takes all the packets directly from the NIC (say eth0) and then exposes them according to your bricks configuration to a bunch of other interfaces (eth0}0, etho0}1, etc.). Very similar to Click. This layer of indirection obviates the need for shared NIC access, which is what CloudFlare works around in a more cumbersome way.
- s1m0n 11y agoLooks interesting. I'll take a look. You might also be interested in mTCP (https://github.com/eunyoung14/mtcp https://github.com/eunyoung14/mtcp), or possibly adding mTCP functionality to packet bricks?