51 Commits

Author SHA1 Message Date
Cameron Gutman
fdb033f550 Reduce wait time for UDP to offset retransmission delays 2019-07-30 21:48:48 -07:00
Cameron Gutman
efdcaed4c1 Don't proceed after WSAEADDRINUSE for the loopback relay to avoid false positives 2019-07-30 21:47:29 -07:00
Cameron Gutman
5a2edb9a36 Add note about log for Discord 2019-07-30 21:45:26 -07:00
Cameron Gutman
798be5fd0a Implement heuristics for falling through to v4 detection even with working v6 2019-07-30 21:31:28 -07:00
Cameron Gutman
ebc7703bf2 Update error message text 2019-07-29 22:02:27 -07:00
Cameron Gutman
bbf16383f5 Fix uninitialized sin_family field returned from CheckWANAccess() 2019-07-29 21:59:18 -07:00
Cameron Gutman
dee2daac5a Fix invalid free on getaddrinfo() failure 2019-07-29 21:58:16 -07:00
Cameron Gutman
51e953c092 Test using the relay even if we believe it may be a double-NAT configuration 2019-07-29 21:25:40 -07:00
Cameron Gutman
acb3f5a059 Add support for IPv6-only environments 2019-07-29 21:20:30 -07:00
Cameron Gutman
0bd212e6f1 Fix addrinfo leak 2019-07-29 21:06:18 -07:00
Cameron Gutman
d076f881eb Print dialog text to the console 2019-07-29 21:04:17 -07:00
Cameron Gutman
46c2236342 Add support for getting local IPv6 address 2019-07-29 21:01:55 -07:00
Cameron Gutman
8158c85a23 Add support for IPv6 testing 2019-07-28 18:33:33 -07:00
Cameron Gutman
6f3898e4b4 Untabify source 2019-07-28 13:25:51 -07:00
Cameron Gutman
b1a1352bbf Retransmit UDP test packets a few times to be safe 2019-07-28 13:16:22 -07:00
Cameron Gutman
069b0c7656 Add more periodic test output to avoid looking like the test is hung 2019-07-28 13:11:04 -07:00
Cameron Gutman
96a88b55db Prepare to swap stdout and stderr for console output 2019-07-28 12:46:45 -07:00
Cameron Gutman
b31d257566 Integrate GSv6Fwd into MISH 2019-07-13 15:04:20 -07:00
Cameron Gutman
21802eac19 Improve messages to be less confusing 2019-04-05 01:41:55 -07:00
Cameron Gutman
dab033ee3b Avoid testing UDP 48002 and UDP 48010 since they are currently unused 2019-04-05 00:39:51 -07:00
Cameron Gutman
3d9e14fb56 Use a loopback relay if NAT reflection is unavailable 2019-04-05 00:38:47 -07:00
Cameron Gutman
771e09973f Print both old and new MISS logs 2019-03-28 19:46:34 -07:00
Cameron Gutman
a7e41d15f5 Add UTC time prefix to logs 2019-03-28 19:37:46 -07:00
Cameron Gutman
106960cbb5 Check for null help URL 2019-01-04 23:06:37 -08:00
Cameron Gutman
2c2f275c3d Add help button to error dialogs 2019-01-04 22:49:02 -08:00
Cameron Gutman
156940cc5b Retry STUN over TCP on UDP failure 2019-01-04 20:46:48 -08:00
Cameron Gutman
a835cf43a5 Require STUN public IP address to proceed with testing 2019-01-04 20:39:20 -08:00
Cameron Gutman
18b704b85a Use moonlight-stream.org instead of google.com to avoid issues in China 2019-01-04 19:22:46 -08:00
Cameron Gutman
5840e39e94 Improve message box text 2018-11-20 17:33:34 -08:00
Cameron Gutman
2ce09f5fea Assume that NAT-PMP rules are present if we found a NAT-PMP gateway 2018-11-20 17:30:11 -08:00
Cameron Gutman
5325a57e20 Improve failure messages for double NAT and NAT reflection failure 2018-11-08 19:31:52 -08:00
Cameron Gutman
1b3fef5408 Fix RFC 6598 netmask for CGN 2018-11-07 17:28:33 -08:00
Cameron Gutman
d379a4ee74 Don't hardcode the testing IP address 2018-11-06 20:13:47 -08:00
Cameron Gutman
81ca65d7d4 Rewrite STUN code based on moonlight-common-c and with TCP+UDP support 2018-11-05 18:55:59 -08:00
Cameron Gutman
d9320bed7d Print a version header on logs and console output 2018-10-23 17:36:48 -07:00
Cameron Gutman
e8c39d1919 Print a message when we discover no UPnP devices at all 2018-10-23 17:13:09 -07:00
Cameron Gutman
1efebca1bd Fix displaying 2 dialogs when we detect a Double NAT 2018-10-23 17:12:47 -07:00
Cameron Gutman
15d60ed10a Offer to show the troubleshooting log for terminal warnings too 2018-10-21 23:45:22 -07:00
Cameron Gutman
f1738fc11e Fix a misleading message if GameStream has never been enabled 2018-10-21 21:41:36 -07:00
Cameron Gutman
0867814ae8 Fix double NAT port test 2018-10-21 21:32:30 -07:00
Cameron Gutman
632bba6da8 Minor cosmetic changes to wording and warnings 2018-10-21 21:17:25 -07:00
Cameron Gutman
0ec33223f4 Rename mist.log to mis-test.log 2018-10-21 21:04:29 -07:00
Cameron Gutman
45b624c203 Improve reliability with NAT reflection disabled, UPnP IGD reporting disconnected, double-NATs, and CGNs 2018-10-21 21:04:08 -07:00
Cameron Gutman
afe60bfe30 Fix handling of IGD returning empty IP address and success status 2018-10-21 19:27:55 -07:00
Cameron Gutman
ac4e0101f2 Fix brown-paper-bag comment mistake in subnet calculation 2018-10-21 19:25:11 -07:00
Cameron Gutman
727e8c0339 Allow MIST testing after and during a GameStream session 2018-10-20 18:34:36 -07:00
Cameron Gutman
fe4d895d88 Add console progress messages to MIST 2018-10-20 18:32:46 -07:00
Cameron Gutman
5d0b834efe Initialize COM before ShellExecute() 2018-10-20 18:32:10 -07:00
Cameron Gutman
dad9b01a6f Fix uninitialized memory usage when UPNP_GetValidIGD() returns 3 2018-10-20 18:31:33 -07:00
Cameron Gutman
9a95d075e6 Convert cpp files to UTF-8 2018-10-20 18:29:33 -07:00