-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS #3
TLS #3
Conversation
SIMD crypto algorithms won't be called through cryptd.
* Reserve room for TLS header in skb headroom. * Reset TCP connection if we can not encrypt data on it instead of retransmit it in plaintext. This leads to warning similar to #984 - leave as TODO for now.
current transmission limit.
include/linux/skbuff.h
Outdated
* queue and it's processed (first time) in tcp_write_xmit(). This time the @skb | ||
* isn't scheduled yet, so we can use skb->dev for our needs to avoid extending | ||
* sk_buff. We use the least significant bit to be sure that this isn't a | ||
* pointer to not to break anything. TLS message type << 1 is alwasy smaller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alwasy
-> always
net/ipv4/tcp_output.c
Outdated
#ifdef CONFIG_SECURITY_TEMPESTA | ||
/* | ||
* This isn't the only place where tcp_transmit_skb() is called, | ||
* but this is the only place were we are from Tempesta FW |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were
-> where
net/ipv4/tcp_output.c
Outdated
* encryption here and get the best TLS record size. | ||
* | ||
* TODO Sometimes HTTP servers send headers and response body in | ||
* different TCP segments, so coalese skbs for transmission to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coalese
-> coalesce
Call Tempesta TLS encryption from
tcp_write_xmit()
.