aioupnp/tests/replays/NewMedia-NET GmbH Generic X86
Jack Robison beaa7bc3cb
fix scpd breaking if content-length is not provided
-applies to at least actiontec
-add actiontec and dd-wrt discover + get_external_ip replay tests
2020-11-01 15:26:50 -05:00

129 lines
No EOL
38 KiB
Text

{
"gateway": {
"gateway_address": "192.168.1.1",
"soap_port": 5431,
"m_search_args": {
"HOST": "239.255.255.250:1900",
"MAN": "\"ssdp:discover\"",
"MX": 1,
"ST": "upnp:rootdevice"
},
"reply": {
"ST": "upnp:rootdevice",
"USN": "uuid:dead-beef-deadbeef2222::upnp:rootdevice",
"Location": "http://192.168.1.1:5431/dyndev/uuid:dead-beef-deadbeef2222",
"Server": "Custom/1.0 UPnP/1.0 Proc/Ver",
"CACHE_CONTROL": "max-age=180"
},
"registered_soap_commands": {
"GetDefaultConnectionService": "urn:schemas-upnp-org:service:Layer3Forwarding:1",
"SetDefaultConnectionService": "urn:schemas-upnp-org:service:Layer3Forwarding:1",
"GetCommonLinkProperties": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
"GetTotalBytesSent": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
"GetTotalBytesReceived": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
"GetTotalPacketsReceived": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
"GetTotalPacketsSent": "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1",
"SetConnectionType": "urn:schemas-upnp-org:service:WANIPConnection:1",
"GetConnectionTypeInfo": "urn:schemas-upnp-org:service:WANIPConnection:1",
"RequestConnection": "urn:schemas-upnp-org:service:WANIPConnection:1",
"ForceTermination": "urn:schemas-upnp-org:service:WANIPConnection:1",
"GetStatusInfo": "urn:schemas-upnp-org:service:WANIPConnection:1",
"GetNATRSIPStatus": "urn:schemas-upnp-org:service:WANIPConnection:1",
"GetGenericPortMappingEntry": "urn:schemas-upnp-org:service:WANIPConnection:1",
"GetSpecificPortMappingEntry": "urn:schemas-upnp-org:service:WANIPConnection:1",
"AddPortMapping": "urn:schemas-upnp-org:service:WANIPConnection:1",
"DeletePortMapping": "urn:schemas-upnp-org:service:WANIPConnection:1",
"GetExternalIPAddress": "urn:schemas-upnp-org:service:WANIPConnection:1"
},
"unsupported_soap_commands": {
"urn:schemas-upnp-org:service:WANPPPConnection:1": [
"SetConnectionType",
"GetConnectionTypeInfo",
"ConfigureConnection",
"RequestConnection",
"ForceTermination",
"SetIdleDisconnectTime",
"GetStatusInfo",
"GetLinkLayerMaxBitRates",
"GetUserName",
"GetPassword",
"GetIdleDisconnectTime",
"GetNATRSIPStatus",
"GetGenericPortMappingEntry",
"GetSpecificPortMappingEntry",
"AddPortMapping",
"DeletePortMapping",
"GetExternalIPAddress"
]
},
"gateway_xml": "HTTP/1.0 200 OK\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nDate: Thu, 01 Jan 1970 00:23:13 GMT\r\nContent-Type: text/xml\r\nCache-Control: max-age=1\r\nPragma: no-cache\r\nConnection: close\r\n\r\n<?xml version=\"1.0\"?>\r\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\r\n <specVersion>\r\n <major>1</major>\r\n <minor>0</minor>\r\n </specVersion>\r\n <device>\r\n <deviceType>urn:schemas-upnp-org:device:InternetGatewayDevice:1</deviceType>\r\n <friendlyName>DD-WRT Router (192.168.1.1)</friendlyName>\r\n <manufacturer>NewMedia-NET GmbH</manufacturer>\r\n <manufacturerURL>http://www.dd-wrt.com/</manufacturerURL>\r\n <modelDescription>Internet Gateway Device</modelDescription>\r\n <modelName>Generic X86</modelName>\r\n <modelNumber>DD-WRT v24 (05/20/08)</modelNumber>\r\n <modelURL>http://www.dd-wrt.com/</modelURL>\r\n <serialNumber>Not Available</serialNumber>\r\n <UDN>uuid:dead-beef-deadbeef2222</UDN>\r\n <serviceList>\r\n <service>\r\n <serviceType>urn:schemas-upnp-org:service:Layer3Forwarding:1</serviceType>\r\n <serviceId>urn:upnp-org:serviceId:L3Forwarding1</serviceId>\r\n <SCPDURL>/dynsvc/Layer3Forwarding:1.xml</SCPDURL>\r\n <controlURL>/uuid:dead-beef-deadbeef2222/Layer3Forwarding:1</controlURL>\r\n <eventSubURL>/uuid:dead-beef-deadbeef2222/Layer3Forwarding:1</eventSubURL>\r\n </service>\r\n </serviceList>\r\n <deviceList>\r\n <device>\r\n <deviceType>urn:schemas-upnp-org:device:WANDevice:1</deviceType>\r\n <friendlyName>urn:schemas-upnp-org:device:WANDevice:1</friendlyName>\r\n <manufacturer>NewMedia-NET GmbH</manufacturer>\r\n <manufacturerURL>http://www.dd-wrt.com/</manufacturerURL>\r\n <modelDescription>Internet Gateway Device</modelDescription>\r\n <modelName>Generic X86</modelName>\r\n <modelNumber>DD-WRT v24 (05/20/08)</modelNumber>\r\n <modelURL>http://www.dd-wrt.com/</modelURL>\r\n <serialNumber>Not Available</serialNumber>\r\n <UDN>uuid:000c-29ea-247501c00098</UDN>\r\n <serviceList>\r\n <service>\r\n <serviceType>urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1</serviceType>\r\n <serviceId>urn:upnp-org:serviceId:WANCommonIFC1</serviceId>\r\n <SCPDURL>/dynsvc/WANCommonInterfaceConfig:1.xml</SCPDURL>\r\n <controlURL>/uuid:000c-29ea-247501c00098/WANCommonInterfaceConfig:1</controlURL>\r\n <eventSubURL>/uuid:000c-29ea-247501c00098/WANCommonInterfaceConfig:1</eventSubURL>\r\n </service>\r\n </serviceList>\r\n <deviceList>\r\n <device>\r\n <deviceType>urn:schemas-upnp-org:device:WANConnectionDevice:1</deviceType>\r\n <friendlyName>urn:schemas-upnp-org:device:WANConnectionDevice:1</friendlyName>\r\n <manufacturer>NewMedia-NET GmbH</manufacturer>\r\n <manufacturerURL>http://www.dd-wrt.com/</manufacturerURL>\r\n <modelDescription>Internet Gateway Device</modelDescription>\r\n <modelName>Generic X86</modelName>\r\n <modelNumber>DD-WRT v24 (05/20/08)</modelNumber>\r\n <modelURL>http://www.dd-wrt.com/</modelURL>\r\n <serialNumber>Not Available</serialNumber>\r\n <UDN>uuid:dead-beef-deadbeef0000</UDN>\r\n <serviceList>\r\n <service>\r\n <serviceType>urn:schemas-upnp-org:service:WANIPConnection:1</serviceType>\r\n <serviceId>urn:upnp-org:serviceId:WANIPConn1</serviceId>\r\n <SCPDURL>/dynsvc/WANIPConnection:1.xml</SCPDURL>\r\n <controlURL>/uuid:dead-beef-deadbeef0000/WANIPConnection:1</controlURL>\r\n <eventSubURL>/uuid:dead-beef-deadbeef0000/WANIPConnection:1</eventSubURL>\r\n </service>\r\n <service>\r\n <serviceType>urn:schemas-upnp-org:service:WANPPPConnection:1</serviceType>\r\n <serviceId>urn:upnp-org:serviceId:WANPPPConn1</serviceId>\r\n <SCPDURL>/dynsvc/WANPPPConnection:1.xml</SCPDURL>\r\n <controlURL>/uuid:dead-beef-deadbeef0000/WANPPPConnection:1</controlURL>\r\n <eventSubURL>/uuid:dead-beef-deadbeef0000/WANPPPConnection:1</eventSubURL>\r\n </service>\r\n </serviceList>\r\n</device>\r\n </deviceList>\r\n</device>\r\n </deviceList>\r\n</device>\r\n</root>\r\n",
"service_descriptors": {
"/dynsvc/Layer3Forwarding:1.xml": "HTTP/1.0 200 OK\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nDate: Thu, 01 Jan 1970 00:23:13 GMT\r\nContent-Type: text/xml\r\nCache-Control: max-age=1\r\nPragma: no-cache\r\nConnection: close\r\n\r\n<?xml version=\"1.0\"?>\r\n<scpd xmlns=\"urn:schemas-upnp-org:service-1-0\">\r\n <specVersion>\r\n <major>1</major>\r\n <minor>0</minor>\r\n </specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetDefaultConnectionService</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewDefaultConnectionService</name>\r\n<relatedStateVariable>DefaultConnectionService</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>SetDefaultConnectionService</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewDefaultConnectionService</name>\r\n<relatedStateVariable>DefaultConnectionService</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>DefaultConnectionService</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n",
"/dynsvc/WANCommonInterfaceConfig:1.xml": "HTTP/1.0 200 OK\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nDate: Thu, 01 Jan 1970 00:23:13 GMT\r\nContent-Type: text/xml\r\nCache-Control: max-age=1\r\nPragma: no-cache\r\nConnection: close\r\n\r\n<?xml version=\"1.0\"?>\r\n<scpd xmlns=\"urn:schemas-upnp-org:service-1-0\">\r\n <specVersion>\r\n <major>1</major>\r\n <minor>0</minor>\r\n </specVersion>\r\n<actionList>\r\n<action>\r\n<name>GetCommonLinkProperties</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewWANAccessType</name>\r\n<relatedStateVariable>WANAccessType</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLayer1UpstreamMaxBitRate</name>\r\n<relatedStateVariable>Layer1UpstreamMaxBitRate</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLayer1DownstreamMaxBitRate</name>\r\n<relatedStateVariable>Layer1DownstreamMaxBitRate</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPhysicalLinkStatus</name>\r\n<relatedStateVariable>PhysicalLinkStatus</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTotalBytesSent</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewTotalBytesSent</name>\r\n<relatedStateVariable>TotalBytesSent</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTotalBytesReceived</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewTotalBytesReceived</name>\r\n<relatedStateVariable>TotalBytesReceived</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTotalPacketsReceived</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewTotalPacketsReceived</name>\r\n<relatedStateVariable>TotalPacketsReceived</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetTotalPacketsSent</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewTotalPacketsSent</name>\r\n<relatedStateVariable>TotalPacketsSent</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>WANAccessType</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>DSL</allowedValue>\r\n <allowedValue>POTS</allowedValue>\r\n <allowedValue>Cable</allowedValue>\r\n <allowedValue>Ethernet</allowedValue>\r\n <allowedValue>Other</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>Layer1UpstreamMaxBitRate</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>Layer1DownstreamMaxBitRate</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>PhysicalLinkStatus</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>Up</allowedValue>\r\n <allowedValue>Down</allowedValue>\r\n <allowedValue>Initializing</allowedValue>\r\n <allowedValue>Unavailable</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>EnabledForInternet</name>\r\n <dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>TotalBytesSent</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>TotalBytesReceived</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>TotalPacketsSent</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>TotalPacketsReceived</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n",
"/dynsvc/WANIPConnection:1.xml": "HTTP/1.0 200 OK\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nDate: Thu, 01 Jan 1970 00:23:13 GMT\r\nContent-Type: text/xml\r\nCache-Control: max-age=1\r\nPragma: no-cache\r\nConnection: close\r\n\r\n<?xml version=\"1.0\"?>\r\n<scpd xmlns=\"urn:schemas-upnp-org:service-1-0\">\r\n <specVersion>\r\n <major>1</major>\r\n <minor>0</minor>\r\n </specVersion>\r\n<actionList>\r\n<action>\r\n<name>SetConnectionType</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewConnectionType</name>\r\n<relatedStateVariable>ConnectionType</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetConnectionTypeInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewConnectionType</name>\r\n<relatedStateVariable>ConnectionType</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPossibleConnectionTypes</name>\r\n<relatedStateVariable>PossibleConnectionTypes</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RequestConnection</name>\r\n</action>\r\n<action>\r\n<name>ForceTermination</name>\r\n</action>\r\n<action>\r\n<name>GetStatusInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewConnectionStatus</name>\r\n<relatedStateVariable>ConnectionStatus</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLastConnectionError</name>\r\n<relatedStateVariable>LastConnectionError</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewUptime</name>\r\n<relatedStateVariable>Uptime</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetNATRSIPStatus</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRSIPAvailable</name>\r\n<relatedStateVariable>RSIPAvailable</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewNATEnabled</name>\r\n<relatedStateVariable>NATEnabled</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetGenericPortMappingEntry</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewPortMappingIndex</name>\r\n<relatedStateVariable>PortMappingNumberOfEntries</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalPort</name>\r\n<relatedStateVariable>InternalPort</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalClient</name>\r\n<relatedStateVariable>InternalClient</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewEnabled</name>\r\n<relatedStateVariable>PortMappingEnabled</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPortMappingDescription</name>\r\n<relatedStateVariable>PortMappingDescription</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLeaseDuration</name>\r\n<relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetSpecificPortMappingEntry</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalPort</name>\r\n<relatedStateVariable>InternalPort</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalClient</name>\r\n<relatedStateVariable>InternalClient</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewEnabled</name>\r\n<relatedStateVariable>PortMappingEnabled</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPortMappingDescription</name>\r\n<relatedStateVariable>PortMappingDescription</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLeaseDuration</name>\r\n<relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AddPortMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalPort</name>\r\n<relatedStateVariable>InternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalClient</name>\r\n<relatedStateVariable>InternalClient</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewEnabled</name>\r\n<relatedStateVariable>PortMappingEnabled</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPortMappingDescription</name>\r\n<relatedStateVariable>PortMappingDescription</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLeaseDuration</name>\r\n<relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeletePortMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetExternalIPAddress</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewExternalIPAddress</name>\r\n<relatedStateVariable>ExternalIPAddress</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>ConnectionType</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>PossibleConnectionTypes</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>Unconfigured</allowedValue>\r\n <allowedValue>IP_Routed</allowedValue>\r\n <allowedValue>IP_Bridged</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>ConnectionStatus</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>Unconfigured</allowedValue>\r\n <allowedValue>Connecting</allowedValue>\r\n <allowedValue>Authenticating</allowedValue>\r\n <allowedValue>Connected</allowedValue>\r\n <allowedValue>PendingDisconnect</allowedValue>\r\n <allowedValue>Disconnecting</allowedValue>\r\n <allowedValue>Disconnected</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>Uptime</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>LastConnectionError</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>ERROR_NONE</allowedValue>\r\n <allowedValue>ERROR_UNKNOWN</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>RSIPAvailable</name>\r\n <dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>NATEnabled</name>\r\n <dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>ExternalIPAddress</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>PortMappingNumberOfEntries</name>\r\n <dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingEnabled</name>\r\n <dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingLeaseDuration</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>RemoteHost</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>ExternalPort</name>\r\n <dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>InternalPort</name>\r\n <dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingProtocol</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>TCP</allowedValue>\r\n <allowedValue>UDP</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>InternalClient</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingDescription</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n",
"/dynsvc/WANPPPConnection:1.xml": "HTTP/1.0 200 OK\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nDate: Thu, 01 Jan 1970 00:23:13 GMT\r\nContent-Type: text/xml\r\nCache-Control: max-age=1\r\nPragma: no-cache\r\nConnection: close\r\n\r\n<?xml version=\"1.0\"?>\r\n<scpd xmlns=\"urn:schemas-upnp-org:service-1-0\">\r\n <specVersion>\r\n <major>1</major>\r\n <minor>0</minor>\r\n </specVersion>\r\n<actionList>\r\n<action>\r\n<name>SetConnectionType</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewConnectionType</name>\r\n<relatedStateVariable>ConnectionType</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetConnectionTypeInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewConnectionType</name>\r\n<relatedStateVariable>ConnectionType</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPossibleConnectionTypes</name>\r\n<relatedStateVariable>PossibleConnectionTypes</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>ConfigureConnection</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewUserName</name>\r\n<relatedStateVariable>UserName</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPassword</name>\r\n<relatedStateVariable>Password</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>RequestConnection</name>\r\n</action>\r\n<action>\r\n<name>ForceTermination</name>\r\n</action>\r\n<action>\r\n<name>SetIdleDisconnectTime</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewIdleDisconnectTime</name>\r\n<relatedStateVariable>IdleDisconnectTime</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetStatusInfo</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewConnectionStatus</name>\r\n<relatedStateVariable>ConnectionStatus</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLastConnectionError</name>\r\n<relatedStateVariable>LastConnectionError</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewUptime</name>\r\n<relatedStateVariable>Uptime</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetLinkLayerMaxBitRates</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewUpstreamMaxBitRate</name>\r\n<relatedStateVariable>UpstreamMaxBitRate</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewDownstreamMaxBitRate</name>\r\n<relatedStateVariable>DownstreamMaxBitRate</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetUserName</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewUserName</name>\r\n<relatedStateVariable>UserName</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetPassword</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewPassword</name>\r\n<relatedStateVariable>Password</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetIdleDisconnectTime</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewIdleDisconnectTime</name>\r\n<relatedStateVariable>IdleDisconnectTime</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetNATRSIPStatus</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRSIPAvailable</name>\r\n<relatedStateVariable>RSIPAvailable</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewNATEnabled</name>\r\n<relatedStateVariable>NATEnabled</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetGenericPortMappingEntry</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewPortMappingIndex</name>\r\n<relatedStateVariable>PortMappingNumberOfEntries</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalPort</name>\r\n<relatedStateVariable>InternalPort</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalClient</name>\r\n<relatedStateVariable>InternalClient</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewEnabled</name>\r\n<relatedStateVariable>PortMappingEnabled</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPortMappingDescription</name>\r\n<relatedStateVariable>PortMappingDescription</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLeaseDuration</name>\r\n<relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetSpecificPortMappingEntry</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalPort</name>\r\n<relatedStateVariable>InternalPort</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalClient</name>\r\n<relatedStateVariable>InternalClient</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewEnabled</name>\r\n<relatedStateVariable>PortMappingEnabled</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPortMappingDescription</name>\r\n<relatedStateVariable>PortMappingDescription</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLeaseDuration</name>\r\n<relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>AddPortMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalPort</name>\r\n<relatedStateVariable>InternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewInternalClient</name>\r\n<relatedStateVariable>InternalClient</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewEnabled</name>\r\n<relatedStateVariable>PortMappingEnabled</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewPortMappingDescription</name>\r\n<relatedStateVariable>PortMappingDescription</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewLeaseDuration</name>\r\n<relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>DeletePortMapping</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewRemoteHost</name>\r\n<relatedStateVariable>RemoteHost</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewExternalPort</name>\r\n<relatedStateVariable>ExternalPort</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n<argument>\r\n<name>NewProtocol</name>\r\n<relatedStateVariable>PortMappingProtocol</relatedStateVariable>\r\n<direction>in</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n<action>\r\n<name>GetExternalIPAddress</name>\r\n<argumentList>\r\n<argument>\r\n<name>NewExternalIPAddress</name>\r\n<relatedStateVariable>ExternalIPAddress</relatedStateVariable>\r\n<direction>out</direction>\r\n</argument>\r\n</argumentList>\r\n</action>\r\n</actionList>\r\n<serviceStateTable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>ConnectionType</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>PossibleConnectionTypes</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>Unconfigured</allowedValue>\r\n <allowedValue>IP_Routed</allowedValue>\r\n <allowedValue>DHCP_Spoofed</allowedValue>\r\n <allowedValue>PPPoE_Bridged</allowedValue>\r\n <allowedValue>PPTP_Relay</allowedValue>\r\n <allowedValue>L2TP_Relay</allowedValue>\r\n <allowedValue>PPPoE_Relay</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>ConnectionStatus</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>Unconfigured</allowedValue>\r\n <allowedValue>Connecting</allowedValue>\r\n <allowedValue>Authenticating</allowedValue>\r\n <allowedValue>Connected</allowedValue>\r\n <allowedValue>PendingDisconnect</allowedValue>\r\n <allowedValue>Disconnecting</allowedValue>\r\n <allowedValue>Disconnected</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>Uptime</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>UpstreamMaxBitRate</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>DownstreamMaxBitRate</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>LastConnectionError</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>ERROR_NONE</allowedValue>\r\n <allowedValue>ERROR_UNKNOWN</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>IdleDisconnectTime</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>RSIPAvailable</name>\r\n <dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>NATEnabled</name>\r\n <dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>UserName</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>Password</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>ExternalIPAddress</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"yes\">\r\n <name>PortMappingNumberOfEntries</name>\r\n <dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingEnabled</name>\r\n <dataType>boolean</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingLeaseDuration</name>\r\n <dataType>ui4</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>RemoteHost</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>ExternalPort</name>\r\n <dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>InternalPort</name>\r\n <dataType>ui2</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingProtocol</name>\r\n <dataType>string</dataType>\r\n <allowedValueList>\r\n <allowedValue>TCP</allowedValue>\r\n <allowedValue>UDP</allowedValue>\r\n </allowedValueList>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>InternalClient</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n<stateVariable sendEvents=\"no\">\r\n <name>PortMappingDescription</name>\r\n <dataType>string</dataType>\r\n</stateVariable>\r\n</serviceStateTable>\r\n</scpd>\r\n"
},
"soap_requests": {
"GetDefaultConnectionService": [],
"SetDefaultConnectionService": [],
"GetCommonLinkProperties": [],
"GetTotalBytesSent": [],
"GetTotalBytesReceived": [],
"GetTotalPacketsReceived": [],
"GetTotalPacketsSent": [],
"SetConnectionType": [],
"GetConnectionTypeInfo": [],
"RequestConnection": [],
"ForceTermination": [],
"GetStatusInfo": [],
"GetNATRSIPStatus": [],
"GetGenericPortMappingEntry": [
[
{
"NewPortMappingIndex": 0
},
"HTTP/1.1 500 Internal Server Error\r\nDATE: Thu, 01 Jan 1970 00:23:13 GMT\r\nConnection: Keep-Alive\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nContent-Length: 474\r\nContent-Type: text/xml; charset=\"utf-8\"\r\nEXT:\r\n\r\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n <s:Body>\r\n <s:Fault>\r\n <faultcode>s:Client</faultcode>\r\n <faultstring>UPnPError</faultstring>\r\n <detail>\r\n <UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\">\r\n <errorCode>713</errorCode>\r\n <errorDescription>SpecifiedArrayIndexInvalid</errorDescription>\r\n </UPnPError>\r\n </detail>\r\n </s:Fault>\r\n </s:Body>\r\n</s:Envelope>\r\n"
],
[
{
"NewPortMappingIndex": 0
},
"HTTP/1.1 500 Internal Server Error\r\nDATE: Thu, 01 Jan 1970 00:23:13 GMT\r\nConnection: Keep-Alive\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nContent-Length: 474\r\nContent-Type: text/xml; charset=\"utf-8\"\r\nEXT:\r\n\r\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\r\n <s:Body>\r\n <s:Fault>\r\n <faultcode>s:Client</faultcode>\r\n <faultstring>UPnPError</faultstring>\r\n <detail>\r\n <UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\">\r\n <errorCode>713</errorCode>\r\n <errorDescription>SpecifiedArrayIndexInvalid</errorDescription>\r\n </UPnPError>\r\n </detail>\r\n </s:Fault>\r\n </s:Body>\r\n</s:Envelope>\r\n"
]
],
"GetSpecificPortMappingEntry": [],
"AddPortMapping": [
[
{
"NewRemoteHost": "",
"NewExternalPort": 4567,
"NewProtocol": "UDP",
"NewInternalPort": 4567,
"NewInternalClient": "192.168.1.137",
"NewEnabled": true,
"NewPortMappingDescription": "aioupnp test mapping",
"NewLeaseDuration": ""
},
""
]
],
"DeletePortMapping": [
[
{
"NewRemoteHost": "",
"NewExternalPort": 4567,
"NewProtocol": "UDP"
},
""
]
],
"GetExternalIPAddress": [
[
{},
"HTTP/1.1 200 OK\r\nDATE: Thu, 01 Jan 1970 00:23:13 GMT\r\nConnection: Keep-Alive\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nContent-Length: 359\r\nContent-Type: text/xml; charset=\"utf-8\"\r\nEXT:\r\n\r\n<?xml version=\"1.0\"?>\r\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><m:GetExternalIPAddressResponse xmlns:m=\"urn:schemas-upnp-org:service:WANIPConnection:1\"><NewExternalIPAddress>11.222.33.111</NewExternalIPAddress></m:GetExternalIPAddressResponse></s:Body></s:Envelope>\r\n"
]
]
}
},
"client_address": "192.168.1.137"
}