Giter Club home page Giter Club logo

netcwmp's Introduction

netcwmp

email: azhenglive at gmail dot com

TR069 Client

How to:

build netcwmp:

  1. ./configure

#with openssl ./configure --with-openssl=

  1. make

  2. make install

#copy conf/cwmp.conf to /etc 4) cp conf/cwmp.conf /etc

  1. run# cwmpd

see log file cwmpd.log in /var/log/cwmpd.log

#Have fun!

Supported Functions:

* SOAP/XML Parser 
* SSL 
* HTTP Server 
* HTTP Client 
* Ini config file Parser 
* Digest Authentication 
* GetRPCMethods 
* Inform 
* SetParameterValues 
* GetParameterValues 
* GetParameterNames
* Download 
* Upload 
* AddObject
* DeleteObject
* FactoryReset
* TransferComplete
* Reboot 
* TR-069 Object Models Interface 

Config File:

acs_auth:           ACS auth CPE
cpe_auth:           CPE auth ACS
acs_url:            ACS URL
cpe_manufacture:    Manufacture
cpe_oui:            OUI
cpe_sn:             CPE Serial Number
cpe_name:           CPE Name
cpe_pc:             CPE Product Class
cpe_username:       InternetGatewayDevice.ManagementServer.ConnectionRequestUsername
cpe_password:       InternetGatewayDevice.ManagementServer.ConnectionRequestPassword
acs_username:       InternetGatewayDevice.ManagementServer.Username
acs_password:       InternetGatewayDevice.ManagementServer.Password
httpd_port:         Http server listen port
ca_file:            ca pem file
ca_password:        ca password

Apache License !

netcwmp's People

Contributors

feilaoda avatar netcwmp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netcwmp's Issues

bad session state 400 bad request

hi , iam trying to connect this netcwmp client to genie-acs server ,i am getting HTTP/1.1 400 Bad Request (response)

these are the logs in genieacs server

2021-01-09T14:05:52.823Z [INFO] genieacs-cwmp starting; pid=26486 version="1.2.3+20201027064135"
2021-01-09T14:05:57.617Z [INFO] Worker listening; pid=26544 address="0.0.0.0" port=7547
2021-01-09T14:05:57.669Z [INFO] Worker listening; pid=26543 address="0.0.0.0" port=7547
2021-01-09T14:36:12.742Z [INFO] 127.0.0.1 A00001-OT2800-12345: Inform; cpeRequestId="1" informEvent="0 BOOTSTRAP" informRetryCount=0
2021-01-09T14:36:12.762Z [ERROR] 127.0.0.1 A00001-OT2800-12345: Bad session state

these are the some logs in netcwmp client

http read header length: 104, [
HTTP/1.1 400 Bad Request
Content-Length: 17
Connection: close
Date: Sat, 09 Jan 2021 14:36:12 GMT

]
Http read response code is (400)

http read response failed. return code is 400, 400
session stutus: END
session stutus: EXIT
TRACE: http_socket_close()

session stutus: EXIT

what is the problem here ?? is it header length problem ?how to solve this??

XmlLoadDocument load big file too slow

I use XmlLoadDocument to load a big xml file about 464K, it takes a long time. then I use gprof to monitoring what takes the time and find pool_pfree is called many times and takes about 99.68% time of the whole program.

PS:
attachment CPE_000295_0000279768.zip is the big xml file.

gprof_result.zip is the result of using gprof monitoring.

CPE_000295_0000279768.zip
gprof_result.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.