21 Commits

Author SHA1 Message Date
Cameron Gutman
e0db902f7d Fix crash when toggling GameStream on 2023-08-26 00:42:27 -05:00
Cameron Gutman
fccf9e7191 Only operate the relay and maintain the pinholes when GameStream is enabled
Sunshine will soon have native IPv6 support, so we need to stay out of its way.
2023-08-25 23:39:30 -05:00
Cameron Gutman
48c0136b9d Redirect stdout to NUL if the log file can't be opened 2022-04-16 21:25:25 -05:00
Cameron Gutman
c4291ff47a Revert "Don't crash if the log file can't be opened"
We don't have a stdout to _dup2() into when run as a service.

This reverts commit 16ddcb82d94dd99a8bee8887434acd528411773c.
2022-04-16 21:20:18 -05:00
Cameron Gutman
16ddcb82d9 Don't crash if the log file can't be opened 2022-04-16 12:47:20 -05:00
Cameron Gutman
d4ff2b7bc7 Don't create pinholes for temporary addresses 2021-02-01 19:38:11 -06:00
Cameron Gutman
f7de095417 Don't redirect stdout for standalone exe invocation 2020-09-07 10:30:44 -07:00
Cameron Gutman
851eac0e72 Use dynamically allocated buffer for GetAdaptersAddresses() 2020-09-07 10:14:00 -07:00
Cameron Gutman
0b89325668 Comment out logging that is prone to races and crashes 2019-09-28 14:37:52 -07:00
Cameron Gutman
a19f510724 Set IPV6_PROTECTION_LEVEL to PROTECTION_LEVEL_UNRESTRICTED for relay sockets 2019-08-08 00:11:16 -07:00
Cameron Gutman
7b395a9f2f Untabify source 2019-07-28 13:24:27 -07:00
Cameron Gutman
53c017974d Add logging to disk 2019-07-13 14:24:35 -07:00
Cameron Gutman
fbd19d716a Fix relay responding with the incorrect IPv6 source address on machines with SLAAC privacy extensions enabled 2019-07-13 13:59:15 -07:00
Cameron Gutman
3403afb42b Fix code analysis warnings 2019-07-13 11:50:09 -07:00
Cameron Gutman
361571db79 Fix socket leak on local address lookup failure 2018-11-30 00:33:27 -08:00
Cameron Gutman
073d6d29f3 Move UPnP IPv6 FC to GSv6Fwd and fix incorrect external port in UPnP pinholes 2018-11-20 17:11:17 -08:00
Cameron Gutman
4364f98733 Increase priority class to high to ensure we aren't starved by games 2018-11-18 11:09:43 -08:00
Cameron Gutman
a6136ee16e Fix busy loop with PCP updates after an interface change event 2018-11-10 22:27:22 -08:00
Cameron Gutman
4c586e90de Use PCP to open IPv6 firewall pinholes 2018-11-10 16:13:52 -08:00
Cameron Gutman
12442da0e5 Add new ports for GFE 3.12 for v0.2 2018-01-09 23:28:25 -08:00
Cameron Gutman
8bec741daf Initial code drop 2017-08-26 23:38:58 -07:00