beaa7bc3cb
-applies to at least actiontec -add actiontec and dd-wrt discover + get_external_ip replay tests
120 lines
No EOL
27 KiB
Text
120 lines
No EOL
27 KiB
Text
{
|
|
"gateway": {
|
|
"gateway_address": "192.168.0.1",
|
|
"soap_port": 5431,
|
|
"m_search_args": {
|
|
"HOST": "239.255.255.250:1900",
|
|
"MAN": "\"ssdp:discover\"",
|
|
"MX": 1,
|
|
"ST": "upnp:rootdevice"
|
|
},
|
|
"reply": {
|
|
"Server": "Custom/1.0 UPnP/1.0 Proc/Ver",
|
|
"Location": "http://192.168.0.1:5431/dyndev/uuid:deadbeef-dead-beef-dead-beefdeadbeef00",
|
|
"CACHE_CONTROL": "max-age=1800",
|
|
"ST": "upnp:rootdevice",
|
|
"USN": "uuid:deadbeef-dead-beef-dead-beefdeadbeef00::upnp:rootdevice"
|
|
},
|
|
"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:WANPPPConnection:1",
|
|
"GetConnectionTypeInfo": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"RequestConnection": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"ForceTermination": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"GetStatusInfo": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"GetNATRSIPStatus": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"GetGenericPortMappingEntry": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"GetSpecificPortMappingEntry": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"AddPortMapping": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"DeletePortMapping": "urn:schemas-upnp-org:service:WANPPPConnection:1",
|
|
"GetExternalIPAddress": "urn:schemas-upnp-org:service:WANPPPConnection:1"
|
|
},
|
|
"unsupported_soap_commands": {},
|
|
"gateway_xml": "HTTP/1.0 200 OK\r\nSERVER: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nDATE: Thu, 11 Oct 2018 15:42:26 GMT\r\nCONTENT-TYPE: application/octet-stream\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<URLBase>http://192.168.0.1:5431/</URLBase>\r\n<device>\r\n<deviceType>urn:schemas-upnp-org:device:InternetGatewayDevice:1</deviceType>\r\n<presentationURL>http://192.168.0.1:80/</presentationURL>\r\n<friendlyName>Actiontec GT784WN</friendlyName>\r\n<manufacturer>Actiontec</manufacturer>\r\n<manufacturerURL>http://www.broadcom.com/</manufacturerURL>\r\n<modelDescription>(null)</modelDescription>\r\n<modelName>GT784WN</modelName>\r\n<modelNumber>1.0</modelNumber>\r\n<modelURL>http://www.broadcom.com/</modelURL>\r\n<UDN>uuid:deadbeef-dead-beef-dead-beefdeadbeef00</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:Layer3Forwarding.1</serviceId>\r\n<controlURL>/uuid:deadbeef-dead-beef-dead-beefdeadbeef00/Layer3Forwarding:1</controlURL>\r\n<eventSubURL>/uuid:deadbeef-dead-beef-dead-beefdeadbeef00/Layer3Forwarding:1</eventSubURL>\r\n<SCPDURL>/dynsvc/Layer3Forwarding:1.xml</SCPDURL>\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>WANDevice.1</friendlyName>\r\n<manufacturer>Actiontec</manufacturer>\r\n<manufacturerURL>http://www.broadcom.com/</manufacturerURL>\r\n<modelDescription>(null)</modelDescription>\r\n<modelName>GT784WN</modelName>\r\n<modelNumber>1.0</modelNumber>\r\n<modelURL>http://www.broadcom.com/</modelURL>\r\n<UDN>uuid:70f196f9-33f5-f533-f996-f170f1f9f50001</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:WANCommonInterfaceConfig.1</serviceId>\r\n<controlURL>/uuid:70f196f9-33f5-f533-f996-f170f1f9f50001/WANCommonInterfaceConfig:1</controlURL>\r\n<eventSubURL>/uuid:70f196f9-33f5-f533-f996-f170f1f9f50001/WANCommonInterfaceConfig:1</eventSubURL>\r\n<SCPDURL>/dynsvc/WANCommonInterfaceConfig:1.xml</SCPDURL>\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>WanConnectionDevice.2</friendlyName>\r\n<manufacturer>Actiontec</manufacturer>\r\n<manufacturerURL>http://www.broadcom.com/</manufacturerURL>\r\n<modelDescription>(null)</modelDescription>\r\n<modelName>GT784WN</modelName>\r\n<modelNumber>1.0</modelNumber>\r\n<modelURL>http://www.broadcom.com/</modelURL>\r\n<UDN>uuid:70f196f9-33f5-f533-f996-f170f1f9f50002</UDN>\r\n<serviceList>\r\n<service>\r\n<serviceType>urn:schemas-upnp-org:service:WANPPPConnection:1</serviceType>\r\n<serviceId>urn:upnp-org:serviceId:WANPPPConnection.2</serviceId>\r\n<controlURL>/uuid:70f196f9-33f5-f533-f996-f170f1f9f50002/WANPPPConnection:1</controlURL>\r\n<eventSubURL>/uuid:70f196f9-33f5-f533-f996-f170f1f9f50002/WANPPPConnection:1</eventSubURL>\r\n<SCPDURL>/dynsvc/WANPPPConnection:1.xml</SCPDURL>\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, 11 Oct 2018 15:42:26 GMT\r\nCONTENT-TYPE: application/octet-stream\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, 11 Oct 2018 15:42:26 GMT\r\nCONTENT-TYPE: application/octet-stream\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/WANPPPConnection:1.xml": "HTTP/1.0 200 OK\r\nSERVER: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nDATE: Thu, 11 Oct 2018 15:42:26 GMT\r\nCONTENT-TYPE: application/octet-stream\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 <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>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>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"
|
|
},
|
|
"soap_requests": {
|
|
"GetDefaultConnectionService": [],
|
|
"SetDefaultConnectionService": [],
|
|
"GetCommonLinkProperties": [],
|
|
"GetTotalBytesSent": [],
|
|
"GetTotalBytesReceived": [],
|
|
"GetTotalPacketsReceived": [],
|
|
"GetTotalPacketsSent": [],
|
|
"SetConnectionType": [],
|
|
"GetConnectionTypeInfo": [],
|
|
"RequestConnection": [],
|
|
"ForceTermination": [],
|
|
"GetStatusInfo": [],
|
|
"GetNATRSIPStatus": [],
|
|
"GetGenericPortMappingEntry": [
|
|
[
|
|
{
|
|
"NewPortMappingIndex": 0
|
|
},
|
|
"HTTP/1.1 200 OK\r\nDATE: Thu, 11 Oct 2018 15:42:26 GMT\r\nConnection: Keep-Alive\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nContent-Length: 654\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:GetGenericPortMappingEntryResponse xmlns:m=\"urn:schemas-upnp-org:service:WANPPPConnection:1\"><NewRemoteHost></NewRemoteHost><NewExternalPort>3658</NewExternalPort><NewProtocol>UDP</NewProtocol><NewInternalPort>3658</NewInternalPort><NewInternalClient>192.168.0.10</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>192.168.0.10:3658 to 3658 (UDP)</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:GetGenericPortMappingEntryResponse></s:Body></s:Envelope>\r\n"
|
|
],
|
|
[
|
|
{
|
|
"NewPortMappingIndex": 1
|
|
},
|
|
"HTTP/1.1 500 Internal Server Error\r\nDATE: Thu, 11 Oct 2018 15:42:26 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 200 OK\r\nDATE: Thu, 11 Oct 2018 15:42:26 GMT\r\nConnection: Keep-Alive\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nContent-Length: 654\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:GetGenericPortMappingEntryResponse xmlns:m=\"urn:schemas-upnp-org:service:WANPPPConnection:1\"><NewRemoteHost></NewRemoteHost><NewExternalPort>3658</NewExternalPort><NewProtocol>UDP</NewProtocol><NewInternalPort>3658</NewInternalPort><NewInternalClient>192.168.0.10</NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>192.168.0.10:3658 to 3658 (UDP)</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></m:GetGenericPortMappingEntryResponse></s:Body></s:Envelope>\r\n"
|
|
],
|
|
[
|
|
{
|
|
"NewPortMappingIndex": 1
|
|
},
|
|
"HTTP/1.1 500 Internal Server Error\r\nDATE: Thu, 11 Oct 2018 15:42:26 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.0.9",
|
|
"NewEnabled": true,
|
|
"NewPortMappingDescription": "aioupnp test mapping",
|
|
"NewLeaseDuration": ""
|
|
},
|
|
""
|
|
]
|
|
],
|
|
"DeletePortMapping": [
|
|
[
|
|
{
|
|
"NewRemoteHost": "",
|
|
"NewExternalPort": 4567,
|
|
"NewProtocol": "UDP"
|
|
},
|
|
""
|
|
]
|
|
],
|
|
"GetExternalIPAddress": [
|
|
[
|
|
{},
|
|
"HTTP/1.1 200 OK\r\nDATE: Thu, 11 Oct 2018 15:42:26 GMT\r\nConnection: Keep-Alive\r\nServer: LINUX/2.4 UPnP/1.0 BRCM400/1.0\r\nContent-Length: 360\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:WANPPPConnection:1\"><NewExternalIPAddress>11.222.33.111</NewExternalIPAddress></m:GetExternalIPAddressResponse></s:Body></s:Envelope>\r\n"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"client_address": "192.168.0.9"
|
|
} |