Permalink
Switch branches/tags
Nothing to show
Commits on Aug 2, 2012
  1. properly reject unsupported prc methods

    KanjiMonster committed Aug 2, 2012
    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

    KanjiMonster committed Jul 27, 2012
    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

    KanjiMonster committed Jul 25, 2012
    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

    KanjiMonster committed Jul 25, 2012
    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

    KanjiMonster committed Jul 25, 2012
    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

    KanjiMonster committed Aug 2, 2012
    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

    KanjiMonster committed Jul 25, 2012
    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

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

    KanjiMonster committed Jul 25, 2012
    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
  1. add support for storing notifications (parameter attributes) in freec…

    Luka Perkov committed Aug 1, 2012
    …wmp core
Commits on Jul 31, 2012
  1. rework previous commit; notification parameter list is kept in separa…

    Luka Perkov committed Jul 31, 2012
    …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 committed Jul 31, 2012
Commits on Jul 29, 2012
Commits on Jul 28, 2012
  1. make use of existing scripts from OpenWrt

    Luka Perkov committed Jul 28, 2012
  2. make scripts more modular

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

    Luka Perkov committed Jul 26, 2012
    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 committed Jul 26, 2012
    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 committed Jul 26, 2012
    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 committed Jul 26, 2012
    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 committed Jul 26, 2012
  6. fix authentication check for connection requests

    Luka Perkov committed Jul 26, 2012
    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 committed Jul 26, 2012
Commits on Jun 12, 2012
  1. fix running in background when compiled with DEVEL_DEBUG

    Luka Perkov committed Jun 12, 2012
    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 committed Jun 10, 2012
    Signed-off-by: Iceway Zhang <iceway.git@gmail.com>
  2. fix building on OpenWrt backfire

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

    Luka Perkov committed Apr 25, 2012
  4. fix coding style

    Luka Perkov committed Apr 23, 2012
  5. rework set parameter value procedure

    Luka Perkov committed Apr 23, 2012
    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 committed Apr 17, 2012
    … request ; fix some compile warnings
  7. check curl error code in http_send_message

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

    Luka Perkov committed Apr 12, 2012
  9. add curl ssl options

    Luka Perkov committed Feb 27, 2012
    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 committed Feb 26, 2012
  11. fix license for code taken from zstream

    Luka Perkov committed Feb 26, 2012