现在的位置: 首页 > 综合 > 正文

TR69 Session

2012年11月04日 ⁄ 综合 ⁄ 共 14707字 ⁄ 字号 评论关闭

No.     Time        Source                Destination           Protocol Info
1 (519) 54.139502   192.168.10.58         64.186.191.23         HTTP/XML POST /cwmpWeb/CPEMgt HTTP/1.1
All transaction sessions MUST begin with an Inform message from the CPE contained in the initial HTTP POST.
首先CPE发起Inform

Frame 519: 469 bytes on wire (3752 bits), 469 bytes captured (3752 bits)
Ethernet II, Src: Actionte_fa:67:e0 (00:15:05:fa:67:e0), Dst: Intel_24:18:44 (00:19:d1:24:18:44)
Internet Protocol, Src: 192.168.10.58 (192.168.10.58), Dst: 64.186.191.23 (64.186.191.23)
Transmission Control Protocol, Src Port: 57530 (57530), Dst Port: http (80), Seq: 2928, Ack: 1, Len: 403
[Reassembled TCP Segments (3330 bytes): #512(31), #515(1448), #516(1448), #519(403)]
Hypertext Transfer Protocol
    POST /cwmpWeb/CPEMgt HTTP/1.1/r/n
        [Expert Info (Chat/Sequence): POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Message: POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Method: POST
        Request URI: /cwmpWeb/CPEMgt
        Request Version: HTTP/1.1
    Host: xatechdm.xdev.motive.com:80/r/n
    User-Agent: BCM_TR69_CPE_04_00/r/n
    Connection: keep-alive/r/n
    SOAPAction: /r/n
    Content-Type: text/xml/r/n
    Content-Length: 3146/r/n
        [Content length: 3146]
    /r/n
eXtensible Markup Language
    <SOAP-ENV:Envelope
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
        <SOAP-ENV:Header>
            <cwmp:ID
                SOAP-ENV:mustUnderstand="1">
                1804289383
                </cwmp:ID>
            </SOAP-ENV:Header>
        <SOAP-ENV:Body>
            <cwmp:Inform>
                省略...
                </cwmp:Inform>
            </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

No.     Time        Source                Destination           Protocol Info
 2(526) 54.394367   64.186.191.23         192.168.10.58         HTTP     HTTP/1.1 401 Authorization Required  (text/html)

   ACS返回 HTTP/1.1 401 Authorization Required响应.

Frame 526: 408 bytes on wire (3264 bits), 408 bytes captured (3264 bits)
Ethernet II, Src: Intel_24:18:44 (00:19:d1:24:18:44), Dst: Actionte_fa:67:e0 (00:15:05:fa:67:e0)
Internet Protocol, Src: 64.186.191.23 (64.186.191.23), Dst: 192.168.10.58 (192.168.10.58)
Transmission Control Protocol, Src Port: http (80), Dst Port: 57530 (57530), Seq: 1449, Ack: 3331, Len: 342
[Reassembled TCP Segments (1790 bytes): #525(1448), #526(342)]
Hypertext Transfer Protocol
    HTTP/1.1 401 Authorization Required/r/n
        [Expert Info (Chat/Sequence): HTTP/1.1 401 Authorization Required/r/n]
            [Message: HTTP/1.1 401 Authorization Required/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Version: HTTP/1.1
        Response Code: 401
    Date: Mon, 18 Oct 2010 08:48:48 GMT/r/n
    Server: Apache/r/n
    Content-Length: 1518/r/n
        [Content length: 1518]
    WWW-Authenticate: Basic realm="default"/r/n
    X-Powered-By: Servlet/2.4 JSP/2.0/r/n
    Keep-Alive: timeout=15, max=100/r/n
    Connection: Keep-Alive/r/n
    Content-Type: text/html/r/n
    /r/n
Line-based text data: text/html

No.     Time        Source                Destination           Protocol Info
3(536) 54.697513   192.168.10.58         64.186.191.23         HTTP/XML POST /cwmpWeb/CPEMgt HTTP/1.1
ACS 重新发送inform,信息中包含了CPE支持的最大信包数.

Frame 536: 527 bytes on wire (4216 bits), 527 bytes captured (4216 bits)
Ethernet II, Src: Actionte_fa:67:e0 (00:15:05:fa:67:e0), Dst: Intel_24:18:44 (00:19:d1:24:18:44)
Internet Protocol, Src: 192.168.10.58 (192.168.10.58), Dst: 64.186.191.23 (64.186.191.23)
Transmission Control Protocol, Src Port: 57530 (57530), Dst Port: http (80), Seq: 6258, Ack: 1791, Len: 461
[Reassembled TCP Segments (3388 bytes): #529(31), #530(1448), #531(1448), #536(461)]
Hypertext Transfer Protocol
    POST /cwmpWeb/CPEMgt HTTP/1.1/r/n
        [Expert Info (Chat/Sequence): POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Message: POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Method: POST
        Request URI: /cwmpWeb/CPEMgt
        Request Version: HTTP/1.1
    Host: xatechdm.xdev.motive.com:80/r/n
    User-Agent: BCM_TR69_CPE_04_00/r/n
    Connection: keep-alive/r/n
    Authorization: Basic MDAxNTA1ZmE2N2UwOjAwMTUwNWZhNjdlMA==/r/n
        Credentials: 001505fa67e0:001505fa67e0
    SOAPAction: /r/n
    Content-Type: text/xml/r/n
    Content-Length: 3145/r/n
        [Content length: 3145]
    /r/n
eXtensible Markup Language
    <SOAP-ENV:Envelope
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
        <SOAP-ENV:Header>
            <cwmp:ID
                SOAP-ENV:mustUnderstand="1">
                846930886
                </cwmp:ID>
            </SOAP-ENV:Header>
        <SOAP-ENV:Body>
            <cwmp:Inform>
                省略...
                </cwmp:Inform>
            </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

No.     Time        Source                Destination           Protocol Info
 4 (543) 55.092633   64.186.191.23         192.168.10.58         HTTP/XML HTTP/1.1 200 OK

 ACS认证通过.,InfromResponse 中包含了ACS支持的最大信包.

Frame 543: 963 bytes on wire (7704 bits), 963 bytes captured (7704 bits)
Ethernet II, Src: Intel_24:18:44 (00:19:d1:24:18:44), Dst: Actionte_fa:67:e0 (00:15:05:fa:67:e0)
Internet Protocol, Src: 64.186.191.23 (64.186.191.23), Dst: 192.168.10.58 (192.168.10.58)
Transmission Control Protocol, Src Port: http (80), Dst Port: 57530 (57530), Seq: 1791, Ack: 6719, Len: 897
Hypertext Transfer Protocol
    HTTP/1.1 200 OK/r/n
        [Expert Info (Chat/Sequence): HTTP/1.1 200 OK/r/n]
            [Message: HTTP/1.1 200 OK/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Version: HTTP/1.1
        Response Code: 200
    Date: Mon, 18 Oct 2010 08:48:48 GMT/r/n
    Server: Apache/r/n
    Cache-Control: no-cache="set-cookie"/r/n
    Content-Length: 540/r/n
        [Content length: 540]
    Set-Cookie: JSESSIONID=hLvhM8JRjJfcqn8G4F2KHdT2cGstS23ztBQhfp0dytQ3mtKkn22J!-791847717; path=//r/n
    X-Powered-By: Servlet/2.4 JSP/2.0/r/n
    Keep-Alive: timeout=15, max=99/r/n
    Connection: Keep-Alive/r/n
    Content-Type: text/xml; charset=UTF-8/r/n
    /r/n
eXtensible Markup Language
    <soapenv:Envelope
        xmlns:soap="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:cwmp="urn:dslforum-org:cwmp-1-0"
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Header>
            <cwmp:ID
                soapenv:mustUnderstand="1">
                846930886
                </cwmp:ID>
            </soapenv:Header>
        <soapenv:Body>
            <cwmp:InformResponse>
                <MaxEnvelopes>
                    1
                    </MaxEnvelopes>
                </cwmp:InformResponse>
            </soapenv:Body>
        </soapenv:Envelope>

No.     Time        Source                Destination           Protocol Info
 5 (547) 55.446215   192.168.10.58         64.186.191.23         HTTP     POST /cwmpWeb/CPEMgt HTTP/1.1
CPE发送一条空的HTTP请求.

Frame 547: 359 bytes on wire (2872 bits), 359 bytes captured (2872 bits)
Ethernet II, Src: Actionte_fa:67:e0 (00:15:05:fa:67:e0), Dst: Intel_24:18:44 (00:19:d1:24:18:44)
Internet Protocol, Src: 192.168.10.58 (192.168.10.58), Dst: 64.186.191.23 (64.186.191.23)
Transmission Control Protocol, Src Port: 57530 (57530), Dst Port: http (80), Seq: 6750, Ack: 2688, Len: 293
[Reassembled TCP Segments (324 bytes): #544(31), #547(293)]
Hypertext Transfer Protocol
    POST /cwmpWeb/CPEMgt HTTP/1.1/r/n
        [Expert Info (Chat/Sequence): POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Message: POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Method: POST
        Request URI: /cwmpWeb/CPEMgt
        Request Version: HTTP/1.1
    Host: xatechdm.xdev.motive.com:80/r/n
    User-Agent: BCM_TR69_CPE_04_00/r/n
    Connection: keep-alive/r/n
    Authorization: Basic MDAxNTA1ZmE2N2UwOjAwMTUwNWZhNjdlMA==/r/n
        Credentials: 001505fa67e0:001505fa67e0
    SOAPAction: /r/n
    Cookie: JSESSIONID=hLvhM8JRjJfcqn8G4F2KHdT2cGstS23ztBQhfp0dytQ3mtKkn22J!-791847717/r/n
    Content-Type: text/xml/r/n
    Content-Length: 0/r/n
        [Content length: 0]
    /r/n

No.     Time        Source                Destination           Protocol Info
6 (549) 55.770136   64.186.191.23         192.168.10.58         HTTP/XML HTTP/1.1 200 OK
ACS在Reponse 的同时,执行GPV,SPV操作.

Frame 549: 1113 bytes on wire (8904 bits), 1113 bytes captured (8904 bits)
Ethernet II, Src: Intel_24:18:44 (00:19:d1:24:18:44), Dst: Actionte_fa:67:e0 (00:15:05:fa:67:e0)
Internet Protocol, Src: 64.186.191.23 (64.186.191.23), Dst: 192.168.10.58 (192.168.10.58)
Transmission Control Protocol, Src Port: http (80), Dst Port: 57530 (57530), Seq: 2688, Ack: 7043, Len: 1047
Hypertext Transfer Protocol
    HTTP/1.1 200 OK/r/n
        [Expert Info (Chat/Sequence): HTTP/1.1 200 OK/r/n]
            [Message: HTTP/1.1 200 OK/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Version: HTTP/1.1
        Response Code: 200
    Date: Mon, 18 Oct 2010 08:48:49 GMT/r/n
    Server: Apache/r/n
    Content-Length: 824/r/n
        [Content length: 824]
    X-Powered-By: Servlet/2.4 JSP/2.0/r/n
    Keep-Alive: timeout=15, max=98/r/n
    Connection: Keep-Alive/r/n
    Content-Type: text/xml; charset=UTF-8/r/n
    /r/n
eXtensible Markup Language
    <soapenv:Envelope
        xmlns:soap="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:cwmp="urn:dslforum-org:cwmp-1-0"
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Header>
            <cwmp:ID
                soapenv:mustUnderstand="1">
                218733930
                </cwmp:ID>
            </soapenv:Header>
        <soapenv:Body>
            <cwmp:GetParameterValues>
                <ParameterNames
                    soap:arrayType="xsd:string[3]">
                    <string>
                        InternetGatewayDevice.DeviceSummary
                        </string>
                    <string>
                        InternetGatewayDevice.LANDeviceNumberOfEntries
                        </string>
                    <string>
                        InternetGatewayDevice.WANDeviceNumberOfEntries
                        </string>
                    </ParameterNames>
                </cwmp:GetParameterValues>
            </soapenv:Body>
        </soapenv:Envelope>

No.     Time        Source                Destination           Protocol Info
 7(553) 56.059915   192.168.10.58         64.186.191.23         HTTP/XML POST /cwmpWeb/CPEMgt HTTP/1.1
CPE通过Http Post,请相关参数传给ACS.(GPV Response,SPV Response)

Frame 553: 436 bytes on wire (3488 bits), 436 bytes captured (3488 bits)
Ethernet II, Src: Actionte_fa:67:e0 (00:15:05:fa:67:e0), Dst: Intel_24:18:44 (00:19:d1:24:18:44)
Internet Protocol, Src: 192.168.10.58 (192.168.10.58), Dst: 64.186.191.23 (64.186.191.23)
Transmission Control Protocol, Src Port: 57530 (57530), Dst Port: http (80), Seq: 8522, Ack: 3735, Len: 370
[Reassembled TCP Segments (1849 bytes): #550(31), #551(1448), #553(370), #558(370)]
Hypertext Transfer Protocol
    POST /cwmpWeb/CPEMgt HTTP/1.1/r/n
        [Expert Info (Chat/Sequence): POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Message: POST /cwmpWeb/CPEMgt HTTP/1.1/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Method: POST
        Request URI: /cwmpWeb/CPEMgt
        Request Version: HTTP/1.1
    Host: xatechdm.xdev.motive.com:80/r/n
    User-Agent: BCM_TR69_CPE_04_00/r/n
    Connection: keep-alive/r/n
    Authorization: Basic MDAxNTA1ZmE2N2UwOjAwMTUwNWZhNjdlMA==/r/n
        Credentials: 001505fa67e0:001505fa67e0
    SOAPAction: /r/n
    Cookie: JSESSIONID=hLvhM8JRjJfcqn8G4F2KHdT2cGstS23ztBQhfp0dytQ3mtKkn22J!-791847717/r/n
    Content-Type: text/xml/r/n
    Content-Length: 1522/r/n
        [Content length: 1522]
    /r/n
eXtensible Markup Language
    <SOAP-ENV:Envelope
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
        <SOAP-ENV:Header>
            <cwmp:ID
                SOAP-ENV:mustUnderstand="1">
                218733930
                </cwmp:ID>
            </SOAP-ENV:Header>
        <SOAP-ENV:Body>
            <cwmp:GetParameterValuesResponse>
                <ParameterList
                    SOAP-ENC:arrayType="cwmp:ParameterValueStruct[0003]">
                    <ParameterValueStruct>
                        <Name>
                            InternetGatewayDevice.WANDeviceNumberOfEntries
                            </Name>
                        <Value
                            xsi:type="xsd:unsignedInt">
                            1
                            </Value>
                        </ParameterValueStruct>
                    <ParameterValueStruct>
                        <Name>
                            InternetGatewayDevice.LANDeviceNumberOfEntries
                            </Name>
                        <Value
                            xsi:type="xsd:unsignedInt">
                            1
                            </Value>
                        </ParameterValueStruct>
                    <ParameterValueStruct>
                        <Name>
                            InternetGatewayDevice.DeviceSummary
                            </Name>
                        <Value
                            xsi:type="xsd:string">
                            [truncated] InternetGatewayDevice:1.1[](Baseline:1, EthernetLAN:1, USBLAN:1, WiFiLAN:1, ADSLWAN:1, Time:1, IPPing:1, ATMLoopback:1, DSLDiagnostics:1, DeviceAssociation:1, SelfTestDiag:1, SimpleFirewall:1, User:1, PeriodicStatsBase:1, Perio
                            </Value>
                        </ParameterValueStruct>
                    </ParameterList>
                </cwmp:GetParameterValuesResponse>
            </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>

No.     Time        Source                Destination           Protocol Info
 8 (560) 57.096953   64.186.191.23         192.168.10.58         HTTP     HTTP/1.1 204 No Content
ACS 响应一条空的Http Response.

Frame 560: 295 bytes on wire (2360 bits), 295 bytes captured (2360 bits)
Ethernet II, Src: Intel_24:18:44 (00:19:d1:24:18:44), Dst: Actionte_fa:67:e0 (00:15:05:fa:67:e0)
Internet Protocol, Src: 64.186.191.23 (64.186.191.23), Dst: 192.168.10.58 (192.168.10.58)
Transmission Control Protocol, Src Port: http (80), Dst Port: 57530 (57530), Seq: 3735, Ack: 8892, Len: 229
Hypertext Transfer Protocol
    HTTP/1.1 204 No Content/r/n
        [Expert Info (Chat/Sequence): HTTP/1.1 204 No Content/r/n]
            [Message: HTTP/1.1 204 No Content/r/n]
            [Severity level: Chat]
            [Group: Sequence]
        Request Version: HTTP/1.1
        Response Code: 204
    Date: Mon, 18 Oct 2010 08:48:50 GMT/r/n
    Server: Apache/r/n
    Content-Length: 0/r/n
        [Content length: 0]
    X-Powered-By: Servlet/2.4 JSP/2.0/r/n
    Keep-Alive: timeout=15, max=97/r/n
    Connection: Keep-Alive/r/n
    Content-Type: text/xml; charset=UTF-8/r/n
    /r/n

抱歉!评论已关闭.