gupnp-tools

 

 

gupnp-tools - tools for testing UPnP devices and control points
minissdpd - keep memory of all UPnP devices that announced themselves

 


gupnp-tools

 

apt-get install gupnp-tools

獲得

  • /usr/bin/gssdp-discover
  • /usr/bin/gupnp-av-cp
  • /usr/bin/gupnp-network-light
  • /usr/bin/gupnp-universal-cp
  • /usr/bin/gupnp-upload

Example

# list devices and services advertized over SSDP

gssdp-discover -i br0 --timeout=3

88888801-2341 = MAC Address

Using network interface br0
Scanning for all resources
Showing "available" messages
resource available
  USN:      uuid:88888801-2341-UNKNOW::upnp:rootdevice
  Location: http://192.168.123.41:50001/desc/device.xml
resource available
  USN:      uuid:88888801-2341-UNKNOW
  Location: http://192.168.123.41:50001/desc/device.xml
resource available
  USN:      uuid:88888801-2341-UNKNOW::urn:schemas-upnp-org:device:MediaServer:1
  Location: http://192.168.123.41:50001/desc/device.xml
resource available
  USN:      uuid:88888801-2341-UNKNOW::urn:schemas-upnp-org:service:ConnectionManager:1
  Location: http://192.168.123.41:50001/desc/device.xml
resource available
  USN:      uuid:88888801-2341-UNKNOW::urn:schemas-upnp-org:service:ContentDirectory:1
  Location: http://192.168.123.41:50001/desc/device.xml
resource available
  USN:      uuid:88888801-2341-UNKNOW::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
  Location: http://192.168.123.41:50001/desc/device.xml