On 2016-05-11 08:13, [email protected] wrote:
On 2016-05-11 00:18, Oliver Kraitschy wrote:

I (not a tcpdump expert myself) think
that a raw dump viewed with wireshark is better to examine than just the
output in the terminal.

I'll give this a try and report back.

Ok, on a CPE that fails, here is the request and response:

Hypertext Transfer Protocol
    GET / HTTP/1.1\r\n
        [Expert Info (Chat/Sequence): GET / HTTP/1.1\r\n]
        Request Method: GET
        Request URI: /
        Request Version: HTTP/1.1
    Host: 216.211.179.18:7547\r\n
    Connection: keep-alive\r\n

Hypertext Transfer Protocol
    HTTP/1.1 404 Not Found\r\n
        [Expert Info (Chat/Sequence): HTTP/1.1 404 Not Found\r\n]
        Request Version: HTTP/1.1
        Status Code: 404
        Response Phrase: Not Found
    Content-Type: text/html\r\n
    Transfer-Encoding: chunked\r\n
    Server: RomPager/4.07 UPnP/1.0\r\n
    EXT:\r\n

So on this particular CPE, the URL / cannot be found. Any idea how I would know the correct URL? And if I have that, how would I modify genieacs to use it?

And here is a request / response for a CPE that worked (different manufacturer):

Hypertext Transfer Protocol
    GET / HTTP/1.1\r\n
        [Expert Info (Chat/Sequence): GET / HTTP/1.1\r\n]
        Request Method: GET
        Request URI: /
        Request Version: HTTP/1.1
    Host: 216.211.180.69:30005\r\n
    Connection: keep-alive\r\n

Hypertext Transfer Protocol
    HTTP/1.1 401 Unauthorized\r\n
        [Expert Info (Chat/Sequence): HTTP/1.1 401 Unauthorized\r\n]
        Request Version: HTTP/1.1
        Status Code: 401
        Response Phrase: Unauthorized
    Content-Length: 0\r\n
WWW-Authenticate: Digest realm="IgdAuthentication", domain="/", nonce="YjU3OTE5YjU6Mjk5Y2JlYjM6NjE3ODFjODY=", qop="auth", algorithm=MD5, opaque="5ccc09c403ebaf9f0171e9517f40e41" \r\n

Hypertext Transfer Protocol
    GET / HTTP/1.1\r\n
        [Expert Info (Chat/Sequence): GET / HTTP/1.1\r\n]
        Request Method: GET
        Request URI: /
        Request Version: HTTP/1.1
[truncated]Authorization: Digest username="genieacs",realm="IgdAuthentication",nonce="YjU3OTE5YjU6Mjk5Y2JlYjM6NjE3ODFjODY=",uri="/",algorithm=MD5,qop=auth,nc=00000001,cnonce="0a4f113b",response="37b7d35ff29ce61904eae72fe3f6b5b7",opaque="5
    Host: 216.211.180.69:30005\r\n
    Connection: keep-alive\r\n

Hypertext Transfer Protocol
    HTTP/1.1 200 OK\r\n
        [Expert Info (Chat/Sequence): HTTP/1.1 200 OK\r\n]
        Request Version: HTTP/1.1
        Status Code: 200
        Response Phrase: OK
    Content-Length: 0\r\n

And it goes on to have a successful real-time GetParameterValues call. The URL for this one is also /, but it works on this device.

Any ideas?  And thanks again.

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to