Dustan
Joined: 16 Mar 2016 Posts: 1
|
Posted: Wed Mar 16, 2016 8:39 pm Post subject: is_rfc1918addr() in UPNP_GetValidIGD() |
|
|
I have a cascaded NAT situation at work and I'm aware that UPNP doesn't work well with this. However, it would be nice if MiniUPNP were able to work with just the closest cascaded NAT device, knowing that it would fail trying to get further out to the internet. This would allow computers on the deepest level to talk to computers one level up.
UPNP_GetValidIGD() specifically skips IGDs that return an address in a private network range via is_rfc1918addr(). I removed that check locally and it seems that UPNP operates as expected in this scenario. It can now negotiate with the closest of the cascaded NATs.
Now I'm sure that check was in there for a reason and I expect that now most likely something else might break. Do you know why that check is there? |
|