User Tools

Site Tools


doc:techref:ucwmp

This is an old revision of the document!


EasyCwmp (CPE WAN Management Protocol daemon)

EasyCwmp project is a client implementation of TR-069 for OpenWrt. Code is licensed under GPL 2 and can be accessed at www.easycwmp.org

EasyCwmp is developed by PIVA Software.The aim of this project is to be fully compliant with the TR069 CWMP standard.

Compliant Standards

  TR-069: CPE WAN Management Protocol v1.1
  TR-098: Internet Gateway Device version 1 (Data Model for TR-069)
  TR-181: Device version 2.
  TR-104: Provisioning Parameters for VoIP CPE version 2
  TR-106: Data Model Template for TR-069-Enabled Devices
  TR-111: Applying TR-069 to Remote Management of Home Networking Devices

cwmp-session

TBD

connreq

Since ACS is a server and CPE is a client, there isn't a stadard way for ACS to initiate a connection. TR-069 however specifies a way to workaround this limitation. ACS can request CPE to initiate session by accessing a special HTTP URL. This way ACS may inform CPE that configuration was updated and ask it to reconfigure without waiting for a periodical request.

In ucwmp project this is handled by CGI compatible connreq binary. It simply requires configuring uhttpd (or some different HTTP server) to handle some specific URL with a connreq CGI.

When connreq is called, it verifies ACS request using CGI environment variables (HTTP_AUTHORIZATION and REQUEST_URI) and calls connection_request ubus method. As the result ucwmpd will start a session if the authorization succeeded.

doc/techref/ucwmp.1475486234.txt.bz2 · Last modified: 2016/10/03 11:17 by mohamed.kallel