Toon posts:

MRTG en Fritz!Box 7360 (firmware 124.06.05)

Pagina: 1
Acties:

  • Nomi
  • Registratie: Oktober 2005
  • Laatst online: 29-01 21:40
Beste mensen,

Tot de laatste update van de firmware van mijn Fritz!Box 7360 naar FRITZ!OS 06.05 kon ik met mrtg en upnp2mrtg prachtige grafiekjes maken van de up- en download van mijn adsl-verbinding.

Sindsdien geeft het scriptje helaas een foutmelding en werken de grafiekjes niet meer...
$ ./upnp2mrtg -a 192.168.178.1
./upnp2mrtg: line 107: HTTP/1.1 / 500: syntax error: invalid arithmetic operator (error token is ".1 / 500")
./upnp2mrtg: line 107: 60 / : syntax error: operand expected (error token is "/ ")
./upnp2mrtg: line 107: 24 / : syntax error: operand expected (error token is "/ ")
HTTP/1.1 500 Internal Server Error
DATE: Sun, 28 Sep 2014 16:02:05 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"
[knip]
0 days 00:00:00 h (online)
Fritz!Box

Blijkbaar is er iets veranderd in de upnp/snmp van het modem. Stevig rondzoeken op internet brengt vooralsnog geen oplossing. Kan iemand hier mij op het goede spoor zetten?

  • Robinski
  • Registratie: September 2000
  • Laatst online: 25-01 11:34

Robinski

A.K.A. RHarmsen

Wat krijg je als je het volgende doet?
./upnp2mrtg -d -V -a 192.168.178.1

Dan zet je debug en verbose aan mogelijk dat er dan meer duidelijk wordt.
Overigens lijkt de code 500 erop t eduiden dat de firmware niet helemaal ok is.

[Voor 3% gewijzigd door Robinski op 30-09-2014 22:38]

10xAXItec AC-265P = 2,650kWp @ SolarEdge SE2200 - PVOutput


  • Nomi
  • Registratie: Oktober 2005
  • Laatst online: 29-01 21:40
Robinski schreef op dinsdag 30 september 2014 @ 22:36:
Wat krijg je als je het volgende doet?
./upnp2mrtg -d -V -a 192.168.178.1
Dat levert het volgende op:
$ ./upnp2mrtg -d -V -a 192.168.178.1
+ getopts a:dhi:p:PtvV option
+ case $option in
+ VERBOSE=true
+ getopts a:dhi:p:PtvV option
+ case $option in
+ HOST=192.168.178.1
+ getopts a:dhi:p:PtvV option
+ case $MODE in
++ soap_form GetStatusInfo WANIPConnection
++ echo '<?xml version="1.0" encoding="utf-8"?>
<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" />
    </s:Body>
</s:Envelope>'
+ request='<?xml version="1.0" encoding="utf-8"?>
<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" />
    </s:Body>
</s:Envelope>'
++ request_header 192.168.178.1 49000 305 WANIPConn1 WANIPConnection GetStatusInfo
++ echo 'POST /upnp/control/WANIPConn1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 305
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"'
+ post='POST /upnp/control/WANIPConn1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 305
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"

<?xml version="1.0" encoding="utf-8"?>
<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" />
    </s:Body>
</s:Envelope>'
++ get_response 'POST /upnp/control/WANIPConn1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 305
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"

<?xml version="1.0" encoding="utf-8"?>
<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" />
    </s:Body>
</s:Envelope>'
+++ netcat 192.168.178.1 49000
+++ echo 'POST /upnp/control/WANIPConn1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 305
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"

<?xml version="1.0" encoding="utf-8"?>
<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" />
    </s:Body>
</s:Envelope>'
++ _get_response_rs='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ _get_response_rv=0
++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ true
++ echo
++ echo '---- REQUEST: ----'
---- REQUEST: ----
++ echo 'POST /upnp/control/WANIPConn1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 305
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"

<?xml version="1.0" encoding="utf-8"?>
<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" />
    </s:Body>
</s:Envelope>'
POST /upnp/control/WANIPConn1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 305
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"

<?xml version="1.0" encoding="utf-8"?>
<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" />
    </s:Body>
</s:Envelope>
++ echo '---- RESPONSE: ----'
---- RESPONSE: ----
++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
++ echo ----
----
++ return 0
+ rs='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+ '[' 0 -eq 0 ']'
++ get_attribute NewUptime 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ _get_attribute_num NewUptime
+++ echo 1
++ '[' 1 -gt 1 ']'
++ _get_attribute_tag NewUptime 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ _get_attribute_end_tag NewUptime 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ _get_attribute_start_tag NewUptime 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+ ut='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ modulo_time HTTP/1.1 500 Internal Server $'Error\r' DATE: Wed, 01 Oct 2014 07:41:15 $'GMT\r' SERVER: 'FRITZ!Box' Fon WLAN 7360 UPnP/1.0 AVM 'FRITZ!Box' Fon WLAN 7360 $'124.06.05\r' CONNECTION: $'close\r' CONTENT-LENGTH: $' $'\r' '<?xml' 'version="1.0"?>' '<s:Envelope' 'xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"' 's:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">' '<s:Body>' '<s:Fault>' '<faultcode>s:Client</faultcode>' '<faultstring>UPnPError</faultstring>' '<detail>' '<UPnPError' 'xmlns="urn:schemas-upnp-org:control-1-0">' '<errorCode>401</errorCode>' '<errorDescription>Invalid' 'Action</errorDescription>' '</UPnPError>' '</detail>' '</s:Fault>' '</s:Body>' '</s:Envelope>' 60
./upnp2mrtg: line 107: HTTP/1.1 / 500: syntax error: invalid arithmetic operator (error token is ".1 / 500")
+ s=
++ modulo_time 60
./upnp2mrtg: line 107: 60 / : syntax error: operand expected (error token is "/ ")
+ m=
++ modulo_time 24
./upnp2mrtg: line 107: 24 / : syntax error: operand expected (error token is "/ ")
+ h=
+ false
++ ws_operation GetAddonInfos NewTotalBytesReceived
+++ soap_form GetAddonInfos WANCommonInterfaceConfig
+++ echo '<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
++ request='<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
+++ request_header 192.168.178.1 49000 314 WANCommonIFC1 WANCommonInterfaceConfig GetAddonInfos
+++ echo 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"'
++ post='POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
+++ get_response 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
++++ netcat 192.168.178.1 49000
++++ echo 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
+++ _get_response_rs='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ _get_response_rv=0
+++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ true
+++ echo
+++ echo '---- REQUEST: ----'
---- REQUEST: ----
+++ echo 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>
+++ echo '---- RESPONSE: ----'
---- RESPONSE: ----
+++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
+++ echo ----
----
+++ return 0
++ rs='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ '[' 0 -eq 0 ']'
+++ get_attribute NewTotalBytesReceived 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++++ _get_attribute_num NewTotalBytesReceived
++++ echo 1
+++ '[' 1 -gt 1 ']'
+++ _get_attribute_tag NewTotalBytesReceived 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++++ _get_attribute_end_tag NewTotalBytesReceived 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ _get_attribute_start_tag NewTotalBytesReceived 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+ b1='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ ws_operation GetAddonInfos NewTotalBytesSent
+++ soap_form GetAddonInfos WANCommonInterfaceConfig
+++ echo '<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
++ request='<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
+++ request_header 192.168.178.1 49000 314 WANCommonIFC1 WANCommonInterfaceConfig GetAddonInfos
+++ echo 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"'
++ post='POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
+++ get_response 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
++++ netcat 192.168.178.1 49000
++++ echo 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
+++ _get_response_rs='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ _get_response_rv=0
+++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ true
+++ echo
+++ echo '---- REQUEST: ----'
---- REQUEST: ----
+++ echo 'POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>'
POST /upnp/control/WANCommonIFC1 HTTP/1.0
HOST: 192.168.178.1:49000
CONTENT-LENGTH: 314
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetAddonInfos"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
        s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetAddonInfos xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" />
    </s:Body>
</s:Envelope>
+++ echo '---- RESPONSE: ----'
---- RESPONSE: ----
+++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
+++ echo ----
----
+++ return 0
++ rs='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ '[' 0 -eq 0 ']'
+++ get_attribute NewTotalBytesSent 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++++ _get_attribute_num NewTotalBytesSent
++++ echo 1
+++ '[' 1 -gt 1 ']'
+++ _get_attribute_tag NewTotalBytesSent 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++++ _get_attribute_end_tag NewTotalBytesSent 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ _get_attribute_start_tag NewTotalBytesSent 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
++ echo 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+ b2='HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>'
+ printf '%s\n%s\n%d days %.2d:%.2d:%.2d h (online)\nFritz!Box\n' 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>' 'HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>' '' '' '' ''
HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
HTTP/1.1 500 Internal Server Error
DATE: Wed, 01 Oct 2014 07:41:15 GMT
SERVER: FRITZ!Box Fon WLAN 7360 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7360 124.06.05
CONNECTION: close
CONTENT-LENGTH: 433
CONTENT-TYPE: text/xml; charset="utf-8"

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
0 days 00:00:00 h (online)
Fritz!Box

Kan jij daar wat zinnigs uit halen, Robinski? Het scriptje loopt natuurlijk vast op de reactie van de fb, die 500 internal server error.
Overigens lijkt de code 500 erop t eduiden dat de firmware niet helemaal ok is.
Inderdaad. Voor zover ik kan zien ligt het niet an het scriptje. Dat zou betekenen dat ik maar eens een mailtje moet sturen naar AVM?

  • hbokh
  • Registratie: Februari 2002
  • Laatst online: 29-01 09:26

hbokh

Unox: the worst OS!

Het hele gebeuren voor wat betreft status-uitlezen is over de kop gegaan voor zover ik dat juist zie.
Er wordt nu ook middels het TR-064 protocol gecommuniceerd, naast IGD (Internet Gateway Device).

Bekijk dit maar eens:
- TR-064 --> http://192.168.178.1/tr064/tr64desc.xml (user: root / password: wat je zelf hebt gezet)
- IGD--> http://192.168.178.1/tr064/igddesc.xml (idem)

Een tool die wel werkt is deze: https://bitbucket.org/kbr/fritzconnection
Documentatie in PDF: http://www.bremer-media.de/static/pdf/fritzconnection.pdf
In mijn geval op OS X:
($:~)-> python /Library/Python/2.7/site-packages/fritzconnection/fritzstatus.py

FritzStatus:
version:            0.4.5
model:              FRITZ!Box Fon WLAN 7360
is linked:          True
is connected:       True
external ip:        83.163.x.y
uptime:             08:44:08
bytes send:         1752500137
bytes received:     528763050
max. bit rate:      ('3.0 MBit/s', '33.0 MBit/s')


Bestaande scripts zoals upnp2mrtg en ng-upnp2mrtg http://sourceforge.net/projects/ng-upnp2mrtg/ dienen te worden aangepast of zelfs herschreven om TR-064 te gebruiken.

Van AVM: http://avm.de/fileadmin/u...len/AVM_TR-064_remote.pdf

3.2 Execute SOAP Action
A SOAP action has to use the path prefix /tr064 and the paths in the Service Description XML files.
For the service DeviceInfo the controlURL /upnp/control/deviceinfo has to be changed to /tr064/upnp/control/deviceinfo for remote access.


Ik ben hier wat me aan het stoeien in upnp2mrtg, maar tot op heden nog zonder resultaat... |:(

[Voor 56% gewijzigd door hbokh op 07-10-2014 00:46. Reden: Typo]

This is my sick nature.


  • Nomi
  • Registratie: Oktober 2005
  • Laatst online: 29-01 21:40
Thanks hbokh, zie nu pas je reactie! Ik ga er ook eens wat mee stoeien. Het moet toch mogelijk zijn om fritzconnection in te zetten voor mrtg.

Edit: Kom nu dit tegen: http://www.gtkdb.de/index_36_2458.html

De oplossingen is het aanpassen van regel 79 van het upnp2mrtg script.

code:
79
echo "POST /upnp/control/$4 HTTP/1.0

moet worden:
code:
79
echo "POST /igdupnp/control/$4 HTTP/1.0

en dan doet ie 't weer uitstekend:
~ $ ./upnp2mrtg 
3725977876
3251074082
4 days 15:14:37 h (online)
Fritz!Box

:)

Maar op zich lijkt het me niet al te ingewikkeld om hetzelfde te bereiken met fritzconnection...

[Voor 64% gewijzigd door Nomi op 23-10-2014 00:11]


  • hbokh
  • Registratie: Februari 2002
  • Laatst online: 29-01 09:26

hbokh

Unox: the worst OS!

Ik was al aan het ombouwen geslagen... :*)
File /usr/local/bin/fritz2mrtg.sh (op FreeBSD):
#!/usr/local/bin/bash

python /usr/local/lib/python2.7/site-packages/fritzconnection/fritzstatus.py > /tmp/fritz2mrtg.log

IN=`grep received /tmp/fritz2mrtg.log | awk {'print $3'} `
OUT=`grep send /tmp/fritz2mrtg.log | awk {'print $3'} `
UPTIME=`grep uptime /tmp/fritz2mrtg.log | awk {'print $2'} `

echo $IN
echo $OUT
echo $UPTIME
echo "fritzbox.internal"

rm /tmp/fritz2mrtg.log

De output van bovenstaande script ...
# /usr/local/bin/fritz2mrtg.sh
692064579
382888235
06:58:59
fritzbox.internal

... is nagenoeg identiek aan (de aangepaste) "upnp2mrtg":
# /usr/local/bin/upnp2mrtg
692064192
382887865
0 days 06:58:45 h (online)
Fritz!Box


Het maakt qua output dus niet uit, maar via "fritzconnection" is het een stuk zwaarder.

[Voor 5% gewijzigd door hbokh op 24-10-2014 14:05]

This is my sick nature.


  • Nomi
  • Registratie: Oktober 2005
  • Laatst online: 29-01 21:40
Keurig. Waarom heb je er eigenlijk voor gekozen een apart scriptje te schrijven, in plaats van fritzconnection een beetje aan te passen? Dat is eenvoudig te doen en eleganter. Weinig ervaring met python? Gewoon nieuwsgierig, hoor, waarom je deze oplossing gekozen hebt :)
Het maakt qua output dus niet uit, maar via "fritzconnection" is het een stuk zwaarder.
Dat is waar. Maar met fritzconnection is wel veelzijdiger. Je zou er bijvoorbeeld een webappje van kunnen maken dat min of meer real time de doorvoer van je fritz laat zien (zoiets als de monitor die ook in de interface van de fb zit).
Pagina: 1


Tweakers maakt gebruik van cookies

Tweakers plaatst functionele en analytische cookies voor het functioneren van de website en het verbeteren van de website-ervaring. Deze cookies zijn noodzakelijk. Om op Tweakers relevantere advertenties te tonen en om ingesloten content van derden te tonen (bijvoorbeeld video's), vragen we je toestemming. Via ingesloten content kunnen derde partijen diensten leveren en verbeteren, bezoekersstatistieken bijhouden, gepersonaliseerde content tonen, gerichte advertenties tonen en gebruikersprofielen opbouwen. Hiervoor worden apparaatgegevens, IP-adres, geolocatie en surfgedrag vastgelegd.

Meer informatie vind je in ons cookiebeleid.

Sluiten

Toestemming beheren

Hieronder kun je per doeleinde of partij toestemming geven of intrekken. Meer informatie vind je in ons cookiebeleid.

Functioneel en analytisch

Deze cookies zijn noodzakelijk voor het functioneren van de website en het verbeteren van de website-ervaring. Klik op het informatie-icoon voor meer informatie. Meer details

janee

    Relevantere advertenties

    Dit beperkt het aantal keer dat dezelfde advertentie getoond wordt (frequency capping) en maakt het mogelijk om binnen Tweakers contextuele advertenties te tonen op basis van pagina's die je hebt bezocht. Meer details

    Tweakers genereert een willekeurige unieke code als identifier. Deze data wordt niet gedeeld met adverteerders of andere derde partijen en je kunt niet buiten Tweakers gevolgd worden. Indien je bent ingelogd, wordt deze identifier gekoppeld aan je account. Indien je niet bent ingelogd, wordt deze identifier gekoppeld aan je sessie die maximaal 4 maanden actief blijft. Je kunt deze toestemming te allen tijde intrekken.

    Ingesloten content van derden

    Deze cookies kunnen door derde partijen geplaatst worden via ingesloten content. Klik op het informatie-icoon voor meer informatie over de verwerkingsdoeleinden. Meer details

    janee