26 Commits

Author SHA1 Message Date
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
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
92eeadadca Use PCP for mapping on CGNs 2018-11-08 19:19:18 -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
176a1762d6 Allow deletion of upstream mappings if we can guarantee they are ours 2018-11-07 17:44:49 -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
2899843900 Avoid using IPv6 FC if no control URL was present 2018-11-05 19:43:50 -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
d9320bed7d Print a version header on logs and console output 2018-10-23 17:36:48 -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
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
b619d7fed5 Remove unreferenced label 2018-10-20 20:36:22 -07:00
Cameron Gutman
522fa0426c Ensure that NAT-PMP is used if no UPnP IGD is found 2018-10-20 20:19:15 -07:00
Cameron Gutman
0e7bea68ae Fix GS state tracking 2018-10-20 19:54:49 -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
Cameron Gutman
08712310a7 Initial code drop 2018-10-20 11:41:00 -07:00