News for hackers. Stuff that matters.
Re:Bypassing the Linux kernel for high-performance packet fi... by mavam on Monday September 07, 2015 @01:09PM (#10182155)
That'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.
Re:Bypassing the Linux kernel for high-performance packet fi... by s1m0n on Monday September 07, 2015 @09:32PM (#10183801)
Looks interesting. I'll take a look. You might also be interested in mTCP (https://github.com/eunyoung14/mtcp), or possibly adding mTCP functionality to packet bricks?
Re:Bypassing the Linux kernel for high-performance packet fi... by mavam on Monday September 07, 2015 @10:47PM (#10183959)
Excellent follow up, because the main developer of packet bricks is also a co-author of mTCP :-).
Re:Bypassing the Linux kernel for high-performance packet fi... by s1m0n on Tuesday September 08, 2015 @12:58AM (#10184179)
:-)