{"action":"opened","issue":{"url":"https://api.github.com/repos/miniupnp/miniupnp/issues/147","labels_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/147/comments","events_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/147/events","html_url":"https://github.com/miniupnp/miniupnp/issues/147","id":100113458,"number":147,"title":"Handle buggy box behavior","user":{"login":"forty","id":421352,"avatar_url":"https://avatars.githubusercontent.com/u/421352?v=3","gravatar_id":"","url":"https://api.github.com/users/forty","html_url":"https://github.com/forty","followers_url":"https://api.github.com/users/forty/followers","following_url":"https://api.github.com/users/forty/following{/other_user}","gists_url":"https://api.github.com/users/forty/gists{/gist_id}","starred_url":"https://api.github.com/users/forty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forty/subscriptions","organizations_url":"https://api.github.com/users/forty/orgs","repos_url":"https://api.github.com/users/forty/repos","events_url":"https://api.github.com/users/forty/events{/privacy}","received_events_url":"https://api.github.com/users/forty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T16:46:51Z","updated_at":"2015-08-10T16:46:51Z","closed_at":null,"body":"My router (a \"BBox\") UPNP IGD implementation is buggy and will (incorrectly) report its \"NewConnectionStatus\" as \"Up\" instead of \"Connected\"\r\n\r\n```tcpdump\r\nPOST /ctl/IPConn HTTP/1.1\r\nHost: 192.168.1.254:41236\r\nUser-Agent: Ubuntu/14.04, UPnP/1.1, MiniUPnPc/1.9\r\nContent-Length: 271\r\nContent-Type: text/xml\r\nSOAPAction: \"urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo\"\r\nConnection: Close\r\nCache-Control: no-cache\r\nPragma: no-cache\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><u:GetStatusInfo xmlns:u=\"urn:schemas-upnp-org:service:WANIPConnection:1\"></u:GetStatusInfo></s:Body></s:Envelope>\r\n\r\nHTTP/1.1 200 OK\r\nContent-Type: text/xml; charset=\"utf-8\"\r\nConnection: close\r\nContent-Length: 422\r\nServer: Linux/2.6 UPnP/1.0 MiniUPnPd/1.4\r\nEXT:\r\nDATE: Sun, 09 Aug 2015 23:08:14 GMT\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><u:GetStatusInfoResponse xmlns:u=\"urn:schemas-upnp-org:service:WANIPConnection:1\"><NewConnectionStatus>Up</NewConnectionStatus><NewLastConnectionError>ERROR_NONE</NewLastConnectionError><NewUptime>11425652</NewUptime></u:GetStatusInfoResponse></s:Body></s:Envelope>\r\n```\r\n\r\nI know this should be corrected (or rather they just should update the firmware since it looks like they use miniupnpd 1.4) on the router side, I am trying to report it to my ISP but I have no faith on the ISP caring enough to fix it so I am trying here :) (however I would totally understand if you did not want to dirty your code with bad implementations if it's your policy)"}}