{ "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\r\n\r\n\r\n1\r\n0\r\n\r\nhttp://192.168.0.1:5431/\r\n\r\nurn:schemas-upnp-org:device:InternetGatewayDevice:1\r\nhttp://192.168.0.1:80/\r\nActiontec GT784WN\r\nActiontec\r\nhttp://www.broadcom.com/\r\n(null)\r\nGT784WN\r\n1.0\r\nhttp://www.broadcom.com/\r\nuuid:deadbeef-dead-beef-dead-beefdeadbeef00\r\n\r\n\r\nurn:schemas-upnp-org:service:Layer3Forwarding:1\r\nurn:upnp-org:serviceId:Layer3Forwarding.1\r\n/uuid:deadbeef-dead-beef-dead-beefdeadbeef00/Layer3Forwarding:1\r\n/uuid:deadbeef-dead-beef-dead-beefdeadbeef00/Layer3Forwarding:1\r\n/dynsvc/Layer3Forwarding:1.xml\r\n\r\n\r\n\r\n\r\nurn:schemas-upnp-org:device:WANDevice:1\r\nWANDevice.1\r\nActiontec\r\nhttp://www.broadcom.com/\r\n(null)\r\nGT784WN\r\n1.0\r\nhttp://www.broadcom.com/\r\nuuid:70f196f9-33f5-f533-f996-f170f1f9f50001\r\n\r\n\r\nurn:schemas-upnp-org:service:WANCommonInterfaceConfig:1\r\nurn:upnp-org:serviceId:WANCommonInterfaceConfig.1\r\n/uuid:70f196f9-33f5-f533-f996-f170f1f9f50001/WANCommonInterfaceConfig:1\r\n/uuid:70f196f9-33f5-f533-f996-f170f1f9f50001/WANCommonInterfaceConfig:1\r\n/dynsvc/WANCommonInterfaceConfig:1.xml\r\n\r\n\r\n\r\n\r\nurn:schemas-upnp-org:device:WANConnectionDevice:1\r\nWanConnectionDevice.2\r\nActiontec\r\nhttp://www.broadcom.com/\r\n(null)\r\nGT784WN\r\n1.0\r\nhttp://www.broadcom.com/\r\nuuid:70f196f9-33f5-f533-f996-f170f1f9f50002\r\n\r\n\r\nurn:schemas-upnp-org:service:WANPPPConnection:1\r\nurn:upnp-org:serviceId:WANPPPConnection.2\r\n/uuid:70f196f9-33f5-f533-f996-f170f1f9f50002/WANPPPConnection:1\r\n/uuid:70f196f9-33f5-f533-f996-f170f1f9f50002/WANPPPConnection:1\r\n/dynsvc/WANPPPConnection:1.xml\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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\r\n\r\n \r\n 1\r\n 0\r\n \r\n\r\n\r\nGetDefaultConnectionService\r\n\r\n\r\nNewDefaultConnectionService\r\nDefaultConnectionService\r\nout\r\n\r\n\r\n\r\n\r\nSetDefaultConnectionService\r\n\r\n\r\nNewDefaultConnectionService\r\nDefaultConnectionService\r\nin\r\n\r\n\r\n\r\n\r\n\r\n\r\n DefaultConnectionService\r\n string\r\n\r\n\r\n\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\r\n\r\n \r\n 1\r\n 0\r\n \r\n\r\n\r\nGetCommonLinkProperties\r\n\r\n\r\nNewWANAccessType\r\nWANAccessType\r\nout\r\n\r\n\r\nNewLayer1UpstreamMaxBitRate\r\nLayer1UpstreamMaxBitRate\r\nout\r\n\r\n\r\nNewLayer1DownstreamMaxBitRate\r\nLayer1DownstreamMaxBitRate\r\nout\r\n\r\n\r\nNewPhysicalLinkStatus\r\nPhysicalLinkStatus\r\nout\r\n\r\n\r\n\r\n\r\nGetTotalBytesSent\r\n\r\n\r\nNewTotalBytesSent\r\nTotalBytesSent\r\nout\r\n\r\n\r\n\r\n\r\nGetTotalBytesReceived\r\n\r\n\r\nNewTotalBytesReceived\r\nTotalBytesReceived\r\nout\r\n\r\n\r\n\r\n\r\nGetTotalPacketsReceived\r\n\r\n\r\nNewTotalPacketsReceived\r\nTotalPacketsReceived\r\nout\r\n\r\n\r\n\r\n\r\nGetTotalPacketsSent\r\n\r\n\r\nNewTotalPacketsSent\r\nTotalPacketsSent\r\nout\r\n\r\n\r\n\r\n\r\n\r\n\r\n WANAccessType\r\n string\r\n \r\n DSL\r\n POTS\r\n Cable\r\n Ethernet\r\n Other\r\n \r\n\r\n\r\n Layer1UpstreamMaxBitRate\r\n ui4\r\n\r\n\r\n Layer1DownstreamMaxBitRate\r\n ui4\r\n\r\n\r\n PhysicalLinkStatus\r\n string\r\n \r\n Up\r\n Down\r\n Initializing\r\n Unavailable\r\n \r\n\r\n\r\n EnabledForInternet\r\n boolean\r\n\r\n\r\n TotalBytesSent\r\n ui4\r\n\r\n\r\n TotalBytesReceived\r\n ui4\r\n\r\n\r\n TotalPacketsSent\r\n ui4\r\n\r\n\r\n TotalPacketsReceived\r\n ui4\r\n\r\n\r\n\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\r\n\r\n \r\n 1\r\n 0\r\n \r\n\r\n\r\nSetConnectionType\r\n\r\n\r\nNewConnectionType\r\nConnectionType\r\nin\r\n\r\n\r\n\r\n\r\nGetConnectionTypeInfo\r\n\r\n\r\nNewConnectionType\r\nConnectionType\r\nout\r\n\r\n\r\nNewPossibleConnectionTypes\r\nPossibleConnectionTypes\r\nout\r\n\r\n\r\n\r\n\r\nRequestConnection\r\n\r\n\r\nForceTermination\r\n\r\n\r\nGetStatusInfo\r\n\r\n\r\nNewConnectionStatus\r\nConnectionStatus\r\nout\r\n\r\n\r\nNewLastConnectionError\r\nLastConnectionError\r\nout\r\n\r\n\r\nNewUptime\r\nUptime\r\nout\r\n\r\n\r\n\r\n\r\nGetNATRSIPStatus\r\n\r\n\r\nNewRSIPAvailable\r\nRSIPAvailable\r\nout\r\n\r\n\r\nNewNATEnabled\r\nNATEnabled\r\nout\r\n\r\n\r\n\r\n\r\nGetGenericPortMappingEntry\r\n\r\n\r\nNewPortMappingIndex\r\nPortMappingNumberOfEntries\r\nin\r\n\r\n\r\nNewRemoteHost\r\nRemoteHost\r\nout\r\n\r\n\r\nNewExternalPort\r\nExternalPort\r\nout\r\n\r\n\r\nNewProtocol\r\nPortMappingProtocol\r\nout\r\n\r\n\r\nNewInternalPort\r\nInternalPort\r\nout\r\n\r\n\r\nNewInternalClient\r\nInternalClient\r\nout\r\n\r\n\r\nNewEnabled\r\nPortMappingEnabled\r\nout\r\n\r\n\r\nNewPortMappingDescription\r\nPortMappingDescription\r\nout\r\n\r\n\r\nNewLeaseDuration\r\nPortMappingLeaseDuration\r\nout\r\n\r\n\r\n\r\n\r\nGetSpecificPortMappingEntry\r\n\r\n\r\nNewRemoteHost\r\nRemoteHost\r\nin\r\n\r\n\r\nNewExternalPort\r\nExternalPort\r\nin\r\n\r\n\r\nNewProtocol\r\nPortMappingProtocol\r\nin\r\n\r\n\r\nNewInternalPort\r\nInternalPort\r\nout\r\n\r\n\r\nNewInternalClient\r\nInternalClient\r\nout\r\n\r\n\r\nNewEnabled\r\nPortMappingEnabled\r\nout\r\n\r\n\r\nNewPortMappingDescription\r\nPortMappingDescription\r\nout\r\n\r\n\r\nNewLeaseDuration\r\nPortMappingLeaseDuration\r\nout\r\n\r\n\r\n\r\n\r\nAddPortMapping\r\n\r\n\r\nNewRemoteHost\r\nRemoteHost\r\nin\r\n\r\n\r\nNewExternalPort\r\nExternalPort\r\nin\r\n\r\n\r\nNewProtocol\r\nPortMappingProtocol\r\nin\r\n\r\n\r\nNewInternalPort\r\nInternalPort\r\nin\r\n\r\n\r\nNewInternalClient\r\nInternalClient\r\nin\r\n\r\n\r\nNewEnabled\r\nPortMappingEnabled\r\nin\r\n\r\n\r\nNewPortMappingDescription\r\nPortMappingDescription\r\nin\r\n\r\n\r\nNewLeaseDuration\r\nPortMappingLeaseDuration\r\nin\r\n\r\n\r\n\r\n\r\nDeletePortMapping\r\n\r\n\r\nNewRemoteHost\r\nRemoteHost\r\nin\r\n\r\n\r\nNewExternalPort\r\nExternalPort\r\nin\r\n\r\n\r\nNewProtocol\r\nPortMappingProtocol\r\nin\r\n\r\n\r\n\r\n\r\nGetExternalIPAddress\r\n\r\n\r\nNewExternalIPAddress\r\nExternalIPAddress\r\nout\r\n\r\n\r\n\r\n\r\n\r\n\r\n ConnectionType\r\n string\r\n \r\n Unconfigured\r\n IP_Routed\r\n DHCP_Spoofed\r\n PPPoE_Bridged\r\n PPTP_Relay\r\n L2TP_Relay\r\n PPPoE_Relay\r\n \r\n\r\n\r\n PossibleConnectionTypes\r\n string\r\n \r\n Unconfigured\r\n IP_Routed\r\n DHCP_Spoofed\r\n PPPoE_Bridged\r\n PPTP_Relay\r\n L2TP_Relay\r\n PPPoE_Relay\r\n \r\n\r\n\r\n ConnectionStatus\r\n string\r\n \r\n Unconfigured\r\n Connecting\r\n Authenticating\r\n Connected\r\n PendingDisconnect\r\n Disconnecting\r\n Disconnected\r\n \r\n\r\n\r\n Uptime\r\n ui4\r\n\r\n\r\n UpstreamMaxBitRate\r\n ui4\r\n\r\n\r\n DownstreamMaxBitRate\r\n ui4\r\n\r\n\r\n LastConnectionError\r\n string\r\n \r\n ERROR_NONE\r\n ERROR_UNKNOWN\r\n \r\n\r\n\r\n RSIPAvailable\r\n boolean\r\n\r\n\r\n NATEnabled\r\n boolean\r\n\r\n\r\n ExternalIPAddress\r\n string\r\n\r\n\r\n PortMappingNumberOfEntries\r\n ui2\r\n\r\n\r\n PortMappingEnabled\r\n boolean\r\n\r\n\r\n PortMappingLeaseDuration\r\n ui4\r\n\r\n\r\n RemoteHost\r\n string\r\n\r\n\r\n ExternalPort\r\n ui2\r\n\r\n\r\n InternalPort\r\n ui2\r\n\r\n\r\n PortMappingProtocol\r\n string\r\n \r\n TCP\r\n UDP\r\n \r\n\r\n\r\n InternalClient\r\n string\r\n\r\n\r\n PortMappingDescription\r\n string\r\n\r\n\r\n\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\r\n3658UDP3658192.168.0.101192.168.0.10:3658 to 3658 (UDP)0\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\r\n \r\n \r\n s:Client\r\n UPnPError\r\n \r\n \r\n 713\r\n SpecifiedArrayIndexInvalid\r\n \r\n \r\n \r\n \r\n\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\r\n3658UDP3658192.168.0.101192.168.0.10:3658 to 3658 (UDP)0\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\r\n \r\n \r\n s:Client\r\n UPnPError\r\n \r\n \r\n 713\r\n SpecifiedArrayIndexInvalid\r\n \r\n \r\n \r\n \r\n\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\r\n11.222.33.111\r\n" ] ] } }, "client_address": "192.168.0.9" }