Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: rpc_rework
Commits on Aug 2, 2012
  1. properly reject unsupported prc methods

    Jonas Gorski authored
    Reject unsupported rpc methods with a 9000 error message.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  2. add a helper method for creating cwmp fault error messages

    Jonas Gorski authored
    most cwmp faults const of an error code and an error string, so create a
    helper method for creating these kind of messages.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  3. convert Reboot to a generic rpc method

    Jonas Gorski authored
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  4. convert FactoryReset to a generic rpc method

    Jonas Gorski authored
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  5. convert Download to a generic rpc method

    Jonas Gorski authored
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  6. convert GetParameterAttributes to a generic rpc method

    Jonas Gorski authored
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  7. convert GetParameterValues to a generic rpc method

    Jonas Gorski authored
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  8. convert SetParameterValues to a generic rpc method

    Jonas Gorski authored
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  9. add generic rpc method handling

    Jonas Gorski authored
    Add generic rpc method handling for easier addition of new rpc methods.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Commits on Aug 1, 2012
Commits on Jul 31, 2012
  1. rework previous commit; notification parameter list is kept in separa…

    Luka Perkov authored
    …te section
    
    After the commands:
    
    freecwmp set notification InternetGatewayDevice.foo.bar.x 2
    freecwmp set notification InternetGatewayDevice.foo.bar.y 1
    freecwmp set notification InternetGatewayDevice.foo.bar.z 2
    
    freecwmp configuration will have the following section:
    
    config notifications
    	list active 'InternetGatewayDevice.foo.bar.x'
    	list passive 'InternetGatewayDevice.foo.bar.y'
    	list active 'InternetGatewayDevice.foo.bar.z'
  2. add active notification support in freecwmp scripts

    Luka Perkov authored
Commits on Jul 29, 2012
Commits on Jul 28, 2012
  1. make use of existing scripts from OpenWrt

    Luka Perkov authored
  2. make scripts more modular

    Luka Perkov authored
Commits on Jul 26, 2012
  1. fix memory leaks in xml_prepare_inform_message

    Luka Perkov authored
    Always free allocated value strings regardless of success of node
    creation.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  2. fix a memory leak in parse_inform_response_message

    Luka Perkov authored
    When receiving a soap fault freecwmp leaks soap_fault_env.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  3. move static struct cwmp from cwmp.h to cwmp.c

    Luka Perkov authored
    This prevents a copy of it being allocated for every source file
    including cwmp.h. Reduces memory usage by (NUM_USERS - 1) * sizeof(cwmp).
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  4. fix libcurl on 32 bit systems

    Luka Perkov authored
    Curl expects size_t as the return type for the write function callback,
    but freecwmp always returned a 64 bit int. This produced errors on big
    endian 32 bit systems, as the upper 32 bit were always zero.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  5. fix getting parameter values

    Luka Perkov authored
  6. fix authentication check for connection requests

    Luka Perkov authored
    zstream_b64decode does not return a null terminated buffer, but the
    code assumes that it is. This results in buffer overflows until the
    next null byte is encountered in the length calculation, with
    possible false rejections.
    
    Since zstream_b64decode puts the size of the buffer into size, we
    can directly use that instead of calculating the string length.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  7. add .gitignore files

    Luka Perkov authored
Commits on Jun 12, 2012
  1. fix running in background when compiled with DEVEL_DEBUG

    Luka Perkov authored
    Don't close STDOUT and STDERR when running in devel debug mode,
    as freecwmp will continue writing to them.
    
    Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Commits on Jun 10, 2012
  1. fix libubox releated typo in configure.ac

    Luka Perkov authored
    Signed-off-by: Iceway Zhang <iceway.git@gmail.com>
  2. fix building on OpenWrt backfire

    Luka Perkov authored
    Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
  3. use netlink for interface and ip address related code

    Luka Perkov authored
  4. fix coding style

    Luka Perkov authored
  5. rework set parameter value procedure

    Luka Perkov authored
    Now all set parameter value requests are stored in a temporary script and
    script is executed after the last set parameter is parsed. This saves precious
    CPU cycles.
  6. handle case when acs responds with empty message after sending inform…

    Luka Perkov authored
    … request ; fix some compile warnings
  7. check curl error code in http_send_message

    Luka Perkov authored
    add a trivial curl error result check
    
    Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de>
  8. fix pipe-fork-exec related code

    Luka Perkov authored
  9. add curl ssl options

    Luka Perkov authored
    http://www.linux-mips.org/archives/freecwmp/2012-02/msg00015.html
    
    Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de>
  10. update Makefile for code taken from zstream

    Luka Perkov authored
  11. fix license for code taken from zstream

    Luka Perkov authored
Something went wrong with that request. Please try again.