36 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 16ddcb82d9.
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 98e2ddd1e0 Update toolset to VS 2022 2022-04-16 11:38:55 -05:00
Cameron Gutman d4ff2b7bc7 Don't create pinholes for temporary addresses 2021-02-01 19:38:11 -06:00
Cameron Gutman eb3cb0ea6b Enable CFG and CET 2021-02-01 19:26:41 -06:00
Cameron Gutman 7ace6a2988 Use CRT DLL instead of static CRT 2020-11-29 15:55:52 -06:00
Cameron Gutman 1b28a44899 Update miniupnpc to 677e0db63649ad2aeb536783eb745c651f2fd5c2
Rebuild as DLL to prevent MSVC version incompatibility
2020-11-29 15:53:14 -06:00
Cameron Gutman 90642afdd1 RFC6887 says PCP max packet size is 1100 bytes 2020-10-10 12:00:26 -05: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 1654d9c0cb Rename Internet Streaming Helper to Internet Hosting Tool 2019-07-28 12:25:03 -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 52b66262de Add additional binary metadata 2019-07-13 11:55:01 -07:00
Cameron Gutman 3403afb42b Fix code analysis warnings 2019-07-13 11:50:09 -07:00
Cameron Gutman c7f53cbb85 Retarget for VS2019 2019-07-13 11:15:28 -07:00
Cameron Gutman eb2725e28f Version 1.2 2019-03-09 14:51:25 -08:00
Cameron Gutman 361571db79 Fix socket leak on local address lookup failure 2018-11-30 00:33:27 -08:00
Cameron Gutman ade084366d Add missing check for PCP version 2018-11-29 23:57:33 -08:00
Cameron Gutman b174931144 Version 1.1 2018-11-20 18:10:57 -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 aec480f8cd Version 1.0.1 2018-11-10 22:40:58 -08:00
Cameron Gutman aff55adf7f Add version resources and tweak name and other strings 2018-11-10 22:37:18 -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 1c849f0109 Update Windows SDK 2018-11-10 16:10:37 -08:00
Cameron Gutman 7a9d432501 Add PCP code from MISH 2018-11-10 16:10:21 -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