This post originated from an RSS feed registered with Ruby Buzz
by Eric Hodel.
Original Post: UPnP-IGD 1.0.0
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
UPnP-IGD is a UPnP extension for Internet Gateway Devices that displays information about the device. UPnP-IGD is an example of the use of some UPnP APIs.
UPnP-IGD comes with the upnp_igd utility which outputs information like this:
Gateway at http://10.1.1.1/
Connected, up since 2008-06-29 03:31:00 (66123 seconds)
Connection type: IP_Routed
384 Kb/s up, 1536 Kb/s down
External IP address: 10.255.255.254
Port mappings:
0 UDP *:4502 -> 10.1.1.2:4500 "iC4502"
1 UDP *:5355 -> 10.1.1.2:5353 "iC5355"
2 UDP *:58712 -> 10.1.1.3:58712 "Skype UDP at 10.1.1.3:58712 (546)"
3 TCP *:58712 -> 10.1.1.3:58712 "Skype TCP at 10.1.1.3:58712 (546)"
4 UDP *:5353 -> 10.1.1.4:5353 "iC5353"
Unfortunately, UPnP-IGD does not allow anything to be set on the device, and has only been tested against miniupnpd.