3 ms·
Linux 4.13 support for TLS record layer in kernel space
- fulafel 9y agoA link to the discussion would be good? edit: https://lwn.net/Articles/725721/ https://lwn.net/Articles/725721/ has links, the paper has some discussion - one motivation is hardware offload.
- snuxoll 9y agoWouldn’t this help implement sendfile for TLS connection as well?
- GrayShade 9y agoIt might, it's also in the paper linked in the commit message: https://netdevconf.org/1.2/papers/ktls.pdf https://netdevconf.org/1.2/papers/ktls.pdf
- christogreeff 9y agoRandom thought from someone with little theoretical experience with TLS. What would be offloaded to hardware? And would that not create a possible security/backdoor issue if there's no access to see how this is implemented by the hardware? I'm sure we offload things like this to hardware already with other technologies. Like I said, random thought.
- agnokapathetic 9y agoWhat could possibly go wrong?
- fulafel 9y agoA lot, but note that this is only the record layer, after the most error-prone parts kuike the negotiation, certificate parsing, etc are done. (Sadly there is a X.509 parser, used for other purpouses, in the kernel.. http://cateee.net/lkddb/web-lkddb/X509_CERTIFICATE_PARSER.html http://cateee.net/lkddb/web-lkddb/X509_CERTIFICATE_PARSER.ht...)
- TheDong 9y agoOne of my pet peeves is linking to 'master' in git repos. This link has a higher chance than usual to link-rot because it's intentional that the repo can change its structure over time. Even if it doesn't change its structure, it's likely the file will change over time, so discussion here referencing line numbers or paragraphs or whatever will become wrong. Repos shouldn't have to worry about people linking to them either (as e.g. a reason to not move files around willy-nilly) Since by (rather strong) convention tags are immutable, you can link to a tag instead. In this case: https://github.com/torvalds/linux/blob/v4.13/Documentation/networking/tls.txt https://github.com/torvalds/linux/blob/v4.13/Documentation/n... That link is also better because it explicitly shows the version of the repo that is being referenced as well. Even if there isn't a suitable tag, I'd much prefer a link to the commit hash than any branch, which is expected to move.
- deleted 9y ago[deleted]
- merricksb 9y agoActive discussion: https://news.ycombinator.com/item?id=15164568 https://news.ycombinator.com/item?id=15164568