| ARRIS Enterprises, Inc. Confidential Information |
HTTP Logging
When an individual STB is deployed in a NAT network, the logclient program can no longer establish a connection with the STB. Instead, a webserver logging mechanism can be used in this situation if the webserver is properly configured. The SDK contains an example, called The example script runs in a Node.js environment, which is used to receive a log from a remote STB through the HTTPS protocol (for security reasons, HTTP is not supported). Two parameters are used to control the behaviour of the logging on the STB, the receiving servers address:port, and the sending duration. Once set, the log will be sent from that STB to the listening server. Any HTTPS server can be used to receive the log. The provided example TR069 parametersThe two parameters used to control the HTTP logging behaviour can be set through either TR069 remotely or by setting information objects on the STB. TR069 parameters must be added to a customized TR-069 plugin which needs to be implemented and delivered by ARRIS. This integration is handled as a change request.
Information ObjectsThe STB sends the log to the receiving server address specified in
On the host PC, the
The log saving directory can be specified by -d parameter when run the script. For example: ./logserver -d /opt/log
Both the logserver and the STB need to be provided with HTTPS certificates. Below is an example on how to create a self-signed server certificate using OpenSSL. Please adapt this example to your own environment and requirements.
Public.pem and private.pem need to be in the same folder as the
logserver script, and public.pem needs to be added to kreatv-option-log-http i.e.
A more flexible way is to first generate a CA and add its certificate (root.pem in the example) to the STB using the certificate_file parameter through
The trusted CA should be added to
|