3 ms·
Is IPsec a hard requirement? I would expect it to be easier to encrypt and sign a megabit at a time instead of individual packets. I'm having trouble picturin
by Dylan16807 11y ago
Is IPsec a hard requirement?
I would expect it to be easier to encrypt and sign a megabit at a time instead of individual packets.
I'm having trouble picturing a situation where it has to be IPsec and it also has to be 10Gbps on a single box.
- epistasis 11y agoThe original question referenced strongswan, which is IPsec, and where my investigations have focused in the past. But as I understand it strongswan is just for key exchange, and the decryption is still performed in the kernel, and often single-threaded. It's easy to pass 10Gbps of TLS packets over a link with both sides of the connection doing their own encryption. But if you want to secure against possible unencrypted packets passing over a link, you'd want layer 3 or layer 2 encryption as well. Layer 2 means abstruse hardware, layer 3 means encapsulation of some sort, be it IPsec or whatever. That encapsulation is what I believe that kernels can not currently handle, though they should theoretically be able to. FreeBSD has made some noises about improvements to parallelization to support multi-gigabit IPsec, but I haven't been able to test them.