Mitschnitt

Autoprovisionierung von Breitbandanschlüssen

Praxis & Tipps | Praxis

Seite 9: Mitschnitt

TCP-Mitschnitt einer Autoprovisionierung mittels TR-069: Eine AVM Fritz!Box Fon WLAN 7170 wird mit Internetzugangsdaten und VoIP-Anmeldedaten gefüttert. Der Übersichtlichkeit halber haben wir die obligatorische HTTP-Authentifzierung mit den User-Credentials am ACS weggelassen. Die Benutzerdaten für den Internetzugang und die VoIP-Rufnummer sind lediglich Testdaten.

POST /testacs/services/Cpemanagemnt HTTP/1.1
HOST: 87.234.237.172:8432
CONTENT-LENGTH: 2180
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "cwmp:Inform"

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"
xmlns:xsi="http://www.w3.org/ 1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<soap:Header>
<cwmp:ID soap:mustUnderstand="1">100</cwmp:ID>
</soap:Header>
<soap:Body>
<cwmp:Inform>
<DeviceId>
<Manufacturer>AVM</Manufacturer>
<OUI>00040E</OUI>
<ProductClass>FRITZ!Box</ProductClass>
<SerialNumber>00150C492F89</SerialNumber>
</DeviceId>
<MaxEnvelopes>1</MaxEnvelopes>
<CurrentTime>2007-01-26T10:33:12</CurrentTime>
<RetryCount>0</RetryCount>
<Event soap-enc:arrayType="cwmp:EventStruct[1]">
<EventStruct>
<EventCode>0 BOOTSTRAP</EventCode>
<CommandKey></CommandKey>
</EventStruct>
</Event>
<ParameterList soap-enc:arrayType="cwmp:ParameterValueStruct[7]">
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
<Value xsi:type="xsd:string">AVM FRITZ!Box Fon WLAN 7170 ( )
29.05.01</Value></ParameterValueStruct>
<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
<Value xsi:type="xsd:string">29.05.01-release-build_1818-2904</ Value="Value">
</ParameterValueStruct>

<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
<Value xsi:type="xsd:string">1.0</Value>
</ParameterValueStruct>

<ParameterValueStruct>
<Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>

<Value xsi:type="xsd:string">000.000.000.000</Value>
</ ParameterValueStruct="ParameterValueStruct">

<ParameterValueStruct>
<Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>

<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>

<ParameterValueStruct>
<Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>

<Value xsi:type="xsd:string">http://194.175.125.104:8089/4b123c06</ Value="Value">
</ParameterValueStruct>

<ParameterValueStruct>
<Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.
1.WANPPPConnection.1.ExternalIPAddress</Name>
<Value xsi:type="xsd:string">194.175.125.104</Value>
</ ParameterValueStruct="ParameterValueStruct">
</ParameterList>
</cwmp:Inform>
</soap:Body>
</ soap:Envelope="soap:Envelope">

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build:
CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5
Set-Cookie: JSESSIONID=F886A504A8289C03C91009D9DEF4682B; Path=/
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 26 Jan 2007 10:33:13 GMT

<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/ envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<soapenv:Header>
<ns1:ID soapenv:mustUnderstand="1"
xmlns:ns1="urn:dslforum- org:cwmp-1-0">100</ns1:ID>
</soapenv:Header>
<soapenv:Body>
<ns2:InformResponse soapenv:encodingStyle="http:// schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="urn:dslforum- org:cwmp-1-0">
<MaxEnvelopes xsi:type="ns3:unsignedInt"
xmlns:ns3="http:// www.w3.org/2001/XMLSchema">1</MaxEnvelopes>

</ns2:InformResponse>
</soapenv:Body>
</soapenv:Envelope>

POST /testacs/services/Cpemanagemnt HTTP/1.1
HOST: 87.234.237.172:8432
Cookie: JSESSIONID=F886A504A8289C03C91009D9DEF4682B
CONTENT-LENGTH: 0
CONTENT-TYPE: text/xml; charset="utf-8"

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build:
CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5
Transfer-Encoding: chunked
Date: Thu, 26 Jan 2007 10:33:13 GMT

<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/ envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:ID soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="1" xsi:type="xsd:string"
xmlns:ns1="urn:dslforum-org:cwmp-1-0">ACS_SetParameterValues_1</ns1:ID>

</soapenv:Header>
<soapenv:Body>
<ns2:SetParameterValues soapenv:encodingStyle="http:// schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="urn:dslforum- org:cwmp-1-0">
<ParameterList soapenc:arrayType="ns2:ParameterValueStruct[8]"
xsi:type="soapenc:Array"
xmlns:soapenc="http://schemas.xmlsoap.org/ soap/encoding/">

<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.WANDevice.
1.WANConnectionDevice.1.WANPPPConnection.1.Username</Name>
<Value xsi:type="xsd:string">10021Avf121212R0001@my-net1.de</ Value="Value">

</ParameterValueStruct>
<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.WANDevice.
1.WANConnectionDevice.1.WANPPPConnection.1.Password</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.Services.VoiceService.
1.VoiceProfile.1.SIP.RegistrarServer</Name>
<Value xsi:type="xsd:string">sip.my-net1.de</Value>
</ParameterValueStruct>
<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.Services.VoiceService.
1.VoiceProfile.1.Line.1.SIP.URI</Name>
<Value xsi:type="xsd:string">sip:0121123456789@tel.my-net1.de</ Value="Value">

</ParameterValueStruct>
<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.Services.VoiceService.
1.VoiceProfile.1.STUNServer</Name>
<Value xsi:type="xsd:string">stun.my-net1.de</Value>
</ParameterValueStruct>
<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.Services.VoiceService.
1.VoiceProfile.1.Line.1.SIP.AuthUserName</Name>
<Value xsi:type="xsd:string">anonymous</Value>
</ParameterValueStruct>
<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.Services.VoiceService.
1.VoiceProfile.1.Line.1.SIP.AuthPassword</Name>
<Value xsi:type="xsd:string"></Value>
</ParameterValueStruct>
<ParameterValueStruct xsi:type="ns2:ParameterValueStruct">
<Name xsi:type="xsd:string">InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>

<Value xsi:type="xsd:string">001.000.000.000</Value>
</ParameterValueStruct>
</ParameterList>
<ParameterKey xsi:type="xsd:string">acs</ParameterKey>
</ns2:SetParameterValues>
</soapenv:Body>
</soapenv:Envelope>

POST /testacs/services/cpemanagemnt HTTP/1.1
HOST: 87.234.237.172:8432
Cookie: JSESSIONID=F886A504A8289C03C91009D9DEF4682B
CONTENT-LENGTH: 554
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"
xmlns:xsi="http://www.w3.org/ 1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<soap:Header>
<cwmp:ID soap:mustUnderstand="1">ACS_SetParameterValues_1</cwmp:ID>
</ soap:Header="soap:Header">

<soap:Body>
<cwmp:SetParameterValuesResponse>
<Status>0</Status>
</cwmp:SetParameterValuesResponse>
</soap:Body>
</ soap:Envelope="soap:Envelope">

HTTP/1.1 204 No Content
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build:
CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5
Date: Thu, 26 Jan 2007 10:33:16 GMT
Anzeige