Comments (6)
ad 1)
Yes, this should be dropped for sure. It also limits using kernel_sendpage() (#22 and 0fbc8d1)
ad 2)
Applicable only for data records I suppose. However this will limit switching from OpenSSL, GnuTLS or another TLS lib. Once AF_KTLS socket will be instantiated, switching back to the lib will be possible only if there is some error during decryption or non-data record. If we do not introduce a mechanism for explicitly switching this off. Do we want it?
ad 3)
Sounds good to me.
from af_ktls.
- Right, only pull them off for data records. Yes, we'd have to figure out something reasonable to do to switch back and forth between ktls and OpenSSL / GnuTLS handling of data. This is similar to #53
from af_ktls.
- Right, only pull them off for data records. Yes, we'd have to figure out something reasonable to do to switch back and forth between ktls and OpenSSL / GnuTLS handling of data. This is similar to #53
Correct. In the case of openconnect VPN, we would like to switch to userspace handling when a particular application-data packet is encountered (the particular determined by a future feature, to add bfp). If we could do the packet processing in peek mode, and then discard if successful, we would address such a future use case.
from af_ktls.
There were some patches posted upstream that should help with some of the stream parsing
http://comments.gmane.org/gmane.linux.network/420289
from af_ktls.
Mostly fixed by #62, at least the first and second
from af_ktls.
- fixed by #84
from af_ktls.
Related Issues (20)
- Test suite HOT 6
- new ciphersuite: chacha20-poly1305 HOT 1
- license is GPLv3
- Copy data from multiple TLS records to userspace buffer HOT 9
- kernel fault when decrypting to user buffer HOT 7
- Crypto API scatterwalk copy HOT 2
- MTU handling HOT 8
- Allocating too many pages HOT 1
- Sleeping with lock held HOT 1
- possible lock inversion surrounding splice HOT 2
- Remove rx async work HOT 6
- Race condition in KTLS_RECV_READY HOT 2
- peek tcp data using tcp_read_sock HOT 2
- check sock_queue_rcv_skb return value HOT 4
- DTLS sliding window should always advance
- Investigate using a single FD
- DTLS window check needs to happen after decrypt
- Support async crypto API
- Paper might also wish to cite Plan 9's devtls as related work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from af_ktls.