Zeroconf
[]
SSDP
[<UPNPEntry upnp:rootdevice - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry uuid:4d696e69-444c-164e-9d42-c43dc7a2e65b - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:device:InternetGatewayDevice:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:service:Layer3Forwarding:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry uuid:4d696e69-444c-164e-9d43-c43dc7a2e65b - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:device:WANDevice:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry uuid:4d696e69-444c-164e-9d44-c43dc7a2e65b - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:device:WANConnectionDevice:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:service:WANIPConnection:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:service:WANPPPConnection:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry urn:schemas-upnp-org:service:WANEthernetLinkConfig:1 - http://192.168.1.1:5555/rootDesc.xml>,
<UPNPEntry upnp:rootdevice - http://192.168.1.1:49153/wps_device.xml>,
<UPNPEntry uuid:00000000-0000-1000-0000-c43dc7a2e65b - http://192.168.1.1:49153/wps_device.xml>,
<UPNPEntry urn:schemas-wifialliance-org:device:WFADevice:1 - http://192.168.1.1:49153/wps_device.xml>,
<UPNPEntry urn:schemas-wifialliance-org:service:WFAWLANConfig:1 - http://192.168.1.1:49153/wps_device.xml>,
<UPNPEntry upnp:rootdevice - http://192.168.1.1:49152/wps_device.xml>,
<UPNPEntry uuid:00000000-0000-1000-0000-c43dc7a2e65b - http://192.168.1.1:49152/wps_device.xml>,
<UPNPEntry urn:schemas-wifialliance-org:device:WFADevice:1 - http://192.168.1.1:49152/wps_device.xml>,
<UPNPEntry urn:schemas-wifialliance-org:service:WFAWLANConfig:1 - http://192.168.1.1:49152/wps_device.xml>,
<UPNPEntry upnp:rootdevice - http://192.168.1.1:49152/wps_device.xml>,
<UPNPEntry upnp:rootdevice - http://192.168.1.1:49153/wps_device.xml>]
Discovered devices:
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/mizy/Code/netdisco/netdisco/__main__.py", line 20, in <module>
print(dev, nd.get_info(dev))
File "/home/mizy/Code/netdisco/netdisco/discovery.py", line 69, in get_info
return self.discoverables[dis].get_info()
File "/home/mizy/Code/netdisco/netdisco/discoverables/__init__.py", line 38, in get_info
self.info_from_entry(entry) for entry in self.get_entries()))
File "/home/mizy/Code/netdisco/netdisco/discoverables/__init__.py", line 38, in <genexpr>
self.info_from_entry(entry) for entry in self.get_entries()))
File "/home/mizy/Code/netdisco/netdisco/discoverables/netgear_router.py", line 16, in info_from_entry
url = urlparse(entry.description['URLBase'])
KeyError: 'URLBase'
<UPNPEntry upnp:rootdevice - http://192.168.1.1:5555/rootDesc.xml>
{'device': {'UDN': 'uuid:4d696e69-444c-164e-9d42-c43dc7a2e65b',
'deviceList': {'device': {'UDN': 'uuid:4d696e69-444c-164e-9d43-c43dc7a2e65b',
'UPC': 'MINIUPNPD',
'deviceList': {'device': {'UDN': 'uuid:4d696e69-444c-164e-9d44-c43dc7a2e65b',
'UPC': 'MINIUPNPD',
'deviceType': 'urn:schemas-upnp-org:device:WANConnectionDevice:1',
'friendlyName': 'WANConnectionDevice',
'manufacturer': 'MiniUPnP',
'manufacturerURL': 'http://miniupnp.free.fr/',
'modelDescription': 'MiniUPnP '
'daemon',
'modelName': 'MiniUPnPd',
'modelNumber': 'WNDR3700',
'modelURL': 'http://miniupnp.free.fr/',
'serialNumber': '00000000',
'serviceList': {'service': [{'SCPDURL': '/WANIPCn.xml',
'controlURL': '/ctl/IPConn',
'eventSubURL': '/evt/IPConn',
'serviceId': 'urn:upnp-org:serviceId:WANIPConn1',
'serviceType': 'urn:schemas-upnp-org:service:WANIPConnection:1'},
{'SCPDURL': '/WanEth.xml',
'controlURL': '/ctl/WanEth',
'eventSubURL': '/evt/WanEth',
'serviceId': 'urn:upnp-org:serviceId:WANEthLinkC1',
'serviceType': 'urn:schemas-upnp-org:service:WANEthernetLinkConfig:1'},
{'SCPDURL': '/WANPPPCn.xml',
'controlURL': '/ctl/PPPConn',
'eventSubURL': '/evt/PPPConn',
'serviceId': 'urn:upnp-org:serviceId:WANPPPConn1',
'serviceType': 'urn:schemas-upnp-org:service:WANPPPConnection:1'}]}}},
'deviceType': 'urn:schemas-upnp-org:device:WANDevice:1',
'friendlyName': 'WANDevice',
'manufacturer': 'MiniUPnP',
'manufacturerURL': 'http://miniupnp.free.fr/',
'modelDescription': 'WAN Device',
'modelName': 'WAN Device',
'modelNumber': 'WNDR3700',
'modelURL': 'http://miniupnp.free.fr/',
'serialNumber': '00000000',
'serviceList': {'service': {'SCPDURL': '/WANCfg.xml',
'controlURL': '/ctl/CommonIfCfg',
'eventSubURL': '/evt/CommonIfCfg',
'serviceId': 'urn:upnp-org:serviceId:WANCommonIFC1',
'serviceType': 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'}}}},
'deviceType': 'urn:schemas-upnp-org:device:InternetGatewayDevice:1',
'friendlyName': 'WNDR3700v2 (Gateway)',
'manufacturer': 'NETGEAR, Inc.',
'manufacturerURL': 'http://www.netgear.com',
'modelDescription': 'WNDR3700 router',
'modelName': 'WNDR3700 router',
'modelName': 'WNDR3700 router', [1/1926]
'modelNumber': 'WNDR3700',
'modelURL': 'http://www.netgear.com/products',
'presentationURL': 'http://www.routerlogin.net',
'serialNumber': '00000000',
'serviceList': {'service': {'SCPDURL': '/Layer3F.xml',
'controlURL': '/ctl/L3Forwarding',
'eventSubURL': '/evt/L3Forwarding',
'serviceId': 'urn:upnp-org:serviceId:L3Forwarding1',
'serviceType': 'urn:schemas-upnp-org:service:Layer3Forwarding:1'}}},
'specVersion': {'major': '1', 'minor': '0'}}