Commit Graph
100 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 b0941fee90 Update README.md 2019-07-29 22:54:53 -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 42df15c567 Switch stderr and stdout to prevent miniupnp warnings from appearing on the console 2019-07-28 13:09:48 -07:00
Cameron Gutman 96a88b55db Prepare to swap stdout and stderr for console output 2019-07-28 12:46:45 -07:00
Cameron Gutman 2d31cd0420 Rename Internet Streaming Helper to Internet Hosting Tool 2019-07-28 12:33:05 -07:00
Cameron Gutman ebb8c9fb68 Version 4.0 2019-07-13 15:21:23 -07:00
Cameron Gutman b31d257566 Integrate GSv6Fwd into MISH 2019-07-13 15:04:20 -07:00
Cameron Gutman 51dc3142ca Retarget to VS2019 2019-07-13 11:29:55 -07:00
Cameron Gutman c8ab32812f Version 3.0 2019-04-05 01:42:05 -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 204dde8a73 Avoid attempting to delete UPnP rules if the description doesn't match 2019-04-05 00:39:27 -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 1bc6cc5634 Fix log rotation 2019-03-28 19:42:09 -07:00
Cameron Gutman 0941cc5bc1 Set additional version attributes 2019-03-28 19:41:14 -07:00
Cameron Gutman a7e41d15f5 Add UTC time prefix to logs 2019-03-28 19:37:46 -07:00
Cameron Gutman 6916cfd0de Version 2.3 2019-03-09 16:03:46 -08:00
Cameron Gutman bae92c6c95 Allow the service access to its log folder 2019-03-09 16:00:10 -08:00
Cameron Gutman c8de19a3b6 Reduce service permissions 2019-03-09 15:02:14 -08:00
Cameron Gutman 1da8f371aa Update miniupnpc build to 4912dc37e30927eefd5d7bf0778d77172ef94803 2019-03-09 15:01:21 -08:00
Cameron Gutman cb55a02599 Fix parsing XOR-MAPPED-ADDRESS if the optional comprehension bit is set 2019-01-22 17:42:09 -08:00
Cameron Gutman dc820bdbf6 Version 2.2 2019-01-04 23:08:44 -08:00
Cameron Gutman 106960cbb5 Check for null help URL 2019-01-04 23:06:37 -08:00
Cameron Gutman 3c92a79fe2 Fix parsing bug handling empty SSDP headers 2019-01-04 23:02:07 -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 cd4adae22b Use stun.moonlight-stream.org for STUN 2019-01-04 19:17:31 -08:00
Cameron Gutman ef59e2858b Fix incorrect error message on STUN receive timeout 2018-11-30 00:33:48 -08:00
Cameron Gutman 218c0d7385 Increase SSDP UDP socket recv buffer size 2018-11-30 00:32:57 -08:00
Cameron Gutman e7f03cfa93 Add missing check for PCP version 2018-11-29 23:57:14 -08:00
Cameron Gutman f3a06e5379 Version 2.1 2018-11-20 18:10:38 -08:00
Cameron Gutman c7565256b5 Add support for PCP on the first hop 2018-11-20 18:09:28 -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 de806ad57e Add simple installer UI and license 2018-11-20 17:14:21 -08:00
Cameron Gutman 3145d34381 Print computer name when looking for mappings 2018-11-20 17:12:30 -08:00
Cameron Gutman c6837c95f1 Remove IPv6 UPnP code from MISS 2018-11-20 17:12:13 -08:00
Cameron Gutman 23ef57c20f Remove echo port from WOL list to avoid possible reflection from internal network hosts 2018-11-18 10:58:58 -08:00
Cameron Gutman 56a0b2f2ad Update README.md 2018-11-10 14:36:42 -08:00
Cameron Gutman 8875db4bd5 Update README.md 2018-11-10 14:14:25 -08:00
Cameron Gutman d2ab2c1180 Update README.md 2018-11-10 14:12:42 -08:00
Cameron Gutman b496b90888 Version 2.0 2018-11-10 00:27:45 -08:00
Cameron Gutman e7b5b07c4a Several minor bugfixes from final pre-release testing 2018-11-10 00:21:01 -08:00
Cameron Gutman 732b430da8 Implement best-effort forwarding for Wake-on-LAN 2018-11-09 17:06:31 -08:00
Cameron Gutman 5aea5aedab Ensure IPv6 PCP requests come from the correct address by explicitly binding 2018-11-08 19:46:43 -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 92eeadadca Use PCP for mapping on CGNs 2018-11-08 19:19:18 -08:00
Cameron Gutman e7e37b8dfb Use a per-server PCP nonce to fix unmapping 2018-11-08 18:09:27 -08:00
Cameron Gutman 3906de1a3a Initial PCP implementation (not fully tested) 2018-11-07 22:06:40 -08:00
Cameron Gutman c47014887a Avoid making duplicate NAT-PMP requests to a UPnP gateway that was disconnected 2018-11-07 21:13:27 -08:00
Cameron Gutman 9dd169ba02 Fix memory leak if UPnP gateway lacked IPv6FC support 2018-11-07 18:00:54 -08:00
Cameron Gutman 4ee5b9d28a Fix handling of malformed SSDP responses 2018-11-07 17:55:11 -08:00
Cameron Gutman 176a1762d6 Allow deletion of upstream mappings if we can guarantee they are ours 2018-11-07 17:44:49 -08:00
Cameron Gutman 2ba42e6dd5 Handle large SSDP responses better 2018-11-07 17:35:46 -08:00
Cameron Gutman 852ee8df8d Fix socket leak in getUPnPDevicesByAddress() 2018-11-07 17:30:18 -08:00
Cameron Gutman 1b3fef5408 Fix RFC 6598 netmask for CGN 2018-11-07 17:28:33 -08:00
Cameron Gutman 1137825a4f Add the ability to punch through multiple NATs in some situations 2018-11-06 21:57:17 -08:00
Cameron Gutman c964830213 Move IPv6 FW check to the correct location 2018-11-06 20:39:59 -08:00
Cameron Gutman 1b8f15e259 Wait for the NAT-PMP response when deleting a conflicting entry 2018-11-06 20:24:45 -08:00
Cameron Gutman d379a4ee74 Don't hardcode the testing IP address 2018-11-06 20:13:47 -08:00
Cameron Gutman 1c9ecbfb78 Add traceroute code for experimental double NAT handling 2018-11-05 21:38:36 -08:00
Cameron Gutman 2899843900 Avoid using IPv6 FC if no control URL was present 2018-11-05 19:43:50 -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 e62ed6ccc5 Try deleting conflicting UPnP mappings 2018-11-05 17:51:37 -08:00
Cameron Gutman 774878ed17 Per RFC 6886, we should set publicport to 0 when deleting a NAT-PMP port mapping 2018-10-23 21:50:33 -07:00
Cameron Gutman aeb288b62b Version 1.3 2018-10-23 17:38:06 -07: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 222ed5a568 Catch bogus private port values returned for NAT-PMP conflict 2018-10-23 17:11:55 -07:00
Cameron Gutman 5da85a1fb2 Fix malformed UPnP lease duration 2018-10-23 17:11:05 -07:00
Cameron Gutman 83c4413926 Remove port forwarding entries when MISS is stopped 2018-10-22 09:33:18 -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 541a0bf9d9 Version 1.2 2018-10-21 21:23:02 -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 7bc806edb4 Increase polling rate to once per 2 minutes to ensure rules are updated quickly after a router reboot 2018-10-21 20:33:18 -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