Re: [gupnp] GUPnP-IGD


Thank you Oliver for your answer. I followed your advice and it is what happened:

I have tried with gupnp-universal-cp  [1] and I could see the router. I also tried to look at the traffic with wireshark and this is what happened:

-When I started the example of gupnp-igd, "test" [2], it sends two M-SEARCH messages:
One looking for urn:schemas-upnp-org:service:WANIPConnection:1. (The router implements this service, because it appears in the gupnp-universal-cp).
Other looking for  urn:schemas-upnp-org:service:WANPPPConnection:1 (The router doesn't implement this service, it doesn't appear in the gupnp-universal-cp)
- The router answers the message about WANIPConnection and sends the location of its description files.
- The host sends a GET message to obtain the description file, and the router sends it.
- Then the hosts sends a TCP message to the router (port dpkeyserv) and the router answers it, but when I click in the wireshark to "Follow TCP stream", I see a white message.

Could be this white message the request of the function  gupnp_simple_igd_add_port? why the program never receive the anwer?

I have also installed the UPnP Internet Gateway Device [3], I executed it and it seems that it never receive any request when I executed the "test".


2011/4/5 Olivier Crête <olivier crete collabora co uk>

Did you try with gupnp-universal-cp to check if UPnP on the routers
actually work ?

You may also want to look at the traffic with wireshark.


On Tue, 2011-04-05 at 17:26 +0200, Celia Gonzalez Nespereira wrote:
> Hi,
> I'm trying one example of gupnp-igd, test.c and when it call to
> gupnp_simple_igd_add_port it not receive any signal (neither
> mapped-external-port nor error-mapping-port). I tried with two
> routers, a U.S.Robotics (USR8003) and a ASUS WL-500W with the firmware
> DD-WRT v24-sp2 (with UPnP enabled).
> Can somebody help me?
> Thank you.

Olivier Crête
olivier crete collabora co uk
Collabora Ltd

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]