History

net/handshake: Enable the SNI extension to work properly

Enable the upper layer protocol to specify the SNI peername. This avoids the need for tlshd to use a DNS lookup, which can return a hostname that doesn't match the incoming certificate's SubjectName.

Chuck Lever committed 3 years ago

Commit eefca7e1 parent f921bd45 files · +19 −0Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/handshake.h+1−0
@@ -44,6 +44,7 @@ enum { · 43 unmodified lines
4444 HANDSHAKE_A_ACCEPT_AUTH_MODE,
4545 HANDSHAKE_A_ACCEPT_PEER_IDENTITY,
4646 HANDSHAKE_A_ACCEPT_CERTIFICATE,
47+ HANDSHAKE_A_ACCEPT_PEERNAME,
4748
4849 __HANDSHAKE_A_ACCEPT_MAX,
4950 HANDSHAKE_A_ACCEPT_MAX = (__HANDSHAKE_A_ACCEPT_MAX - 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t