rshin / tcmportmapper

Automatically exported from code.google.com/p/tcmportmapper
0 stars 0 forks source link

Existing mappings on FritzBox 7270 routers are not discovered #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Request on and the same port mapping twice on a FritzBox 7270 router using the 
TCMPortMapper framework. You will see that the FritzBox has opened two 
different ports for the 
same mapping.

The reason for this beahvior lies in the slash separator charater that is used 
for the 
portMappingDescription in TCMUPNPPortMapper.m:87 
The FritzBox 7270 router does not accept slash characters and turns them into 
dots.

ChangingTCMUPNPPortMapper.m:87 to use a dot as a separator solves the problem:

...
        description = [[descriptionComponents componentsJoinedByString:@"."] retain];
...

Other FritzBox models don't show this problem.

Original issue reported on code.google.com by frank.il...@googlemail.com on 4 Jun 2008 at 1:36

GoogleCodeExporter commented 9 years ago
as i don't have hard feelings about using the slash character i will do that 
switch

Original comment by dasge...@gmail.com on 18 Nov 2008 at 4:17

GoogleCodeExporter commented 9 years ago
it seems that fritzbox fon wlan also has the same issue - everything not being 
alpha numeric is replaced by a 
dot. so i will use dots now and nothing else and hope no other router 
manufacturaer has similar issues. 

Original comment by dasge...@gmail.com on 20 Nov 2008 at 3:30