Add encrypted control stream support for GFE 3.22

Receive-side not yet fully working
This commit is contained in:
Cameron Gutman committed 2021-04-09 10:25:24 -05:00
1 parent f0dbee171b
commit 12f0f3d6d7
3 files changed
+246 -16

No files matched your search

+3 -2
View File
@@ -147,8 +147,9 @@ static int addGen5Options(PSDP_OPTION* head) {
// 0x80 enables remote input encryption (which we do want)
err |= addAttributeString(head, "x-nv-general.featureFlags", "135");
// Ask for the unencrypted control protocol for now
err |= addAttributeString(head, "x-nv-general.useReliableUdp", "9");
// Ask for the encrypted control protocol to ensure remote input will be encrypted.
// This used to be done via separate RI encryption, but now it is all or nothing.
err |= addAttributeString(head, "x-nv-general.useReliableUdp", "13");
}
else {
// We want to use the new ENet connections for control and input