Commit graph

1255 commits

Author SHA1 Message Date
Simon Tate
8f7af4bd2d Fix crash on no parameter_key
Default parameter_key to a 0 length string, instead of NULL.

Otherwise, the code in cwmp_ubus_call and blobmsg_add_string
 will attempt a strlen on a NULL string, which segfaults.
2021-05-21 13:12:53 +00:00
Omar Kallel
e4b3f6d71f Exit cwmp when catch SIGTERM signal 2021-05-20 09:35:48 +01:00
vdutta
b5bd9e0b79 test: Added basic api test 2021-05-19 22:42:47 +05:30
Omar Kallel
53d5b0503a Ticket refs #3988: icwmpd: Unit Test of Data Model Interface and SOAP messages 2021-05-19 17:32:29 +01:00
Omar Kallel
067629637e Ticket refs #3731: icwmpd: Static Code Analysis (cpd) 2021-05-19 16:51:11 +01:00
Omar Kallel
90267fc863 Fix x86 compilation error 2021-05-18 12:35:15 +01:00
Omar Kallel
218ee7fbc7 code enhancements and arrangement: session download upload scheduleInform changedustate 2021-05-18 12:34:29 +01:00
vdutta
e6586067f9 Revert ubus -s changes 2021-05-17 19:27:51 +05:30
vdutta
bb8e30beb5 Fix compilation issues 2021-05-14 12:33:13 +05:30
vdutta
90389d8e93 Fix typo 2021-05-14 12:14:56 +05:30
vdutta
9bf767f00b Fix compilation 2021-05-14 11:59:45 +05:30
Vivek Kumar Dutta
681758c1b7 Align with latest ubus 2021-05-14 06:27:57 +00:00
Sukru Senli
70c8380468 COPYING -> LICENSE 2021-04-20 18:34:00 +02:00
Omar Kallel
f5ac401208 Ticket refs #3731: icwmpd: Static Code Analysis (flawfinder) 2021-04-20 17:23:04 +01:00
Omar Kallel
f70cc81e56 Automake: ignore missing READM/NEWS/AUTHORS/COPYING/ 2021-04-15 12:16:18 +01:00
Omar Kallel
d38d840bee recover READM file 2021-04-15 11:44:54 +01:00
Omar Kallel
5b24edae8f Ticket #4712: icwmp: convert icwmp.sh script to a C code 2021-04-15 10:57:37 +01:00
Omar Kallel
8a6c212c0b make the ubus option proto:cwmp in each cwmp_ubus_call 2021-04-15 10:57:28 +01:00
Omar Kallel
62cdbebd70 Enhance notification functions update_notify_file and check_value_change & add the function cwmp_get_single_parameter_value to call Inform parameters instead 2021-04-15 10:57:16 +01:00
Sukru Senli
cad3ea4dd8 update README 2021-04-11 14:08:57 +02:00
Omar Kallel
09a669ffa8 ticket refs #4591: CWMP: incorrect logging to syslog (fix log_to_sylog uci option behaviour) 2021-03-25 10:39:34 +01:00
Omar Kallel
00ac93d867 Make list_value_change add/clean in mutex block 2021-03-24 11:25:09 +01:00
Omar Kallel
5a4e7a0cfb Ticket refs #4423: icwmpd: icwmpd leaks memory 2021-03-23 13:36:35 +01:00
Amin Ben Ramdhane
50c44750dd icwmp: remove unused file and option config && update README.md 2021-03-14 00:19:24 +01:00
Omar Kallel
f934307c24 uci: fix the option cwmp.acs.periodic_inform_time 2021-03-11 12:59:27 +01:00
Omar Kallel
deebd9ec22 Fix log issue: corrsponds syslog to the log_severity config option value 2021-03-09 11:50:00 +01:00
Omar Kallel
3bd3f9093b Fix some memory mngment issues 2021-03-05 16:32:20 +01:00
Omar Kallel
934a0cf1e3 Fix x86 compiling errors 2021-03-04 19:13:10 +01:00
Omar Kallel
014239d54d Fix dslform-org namespace in soap-env tag 2021-03-02 10:43:11 +01:00
Omar Kallel
28745af796 CR: Fix HTTP path issue 2021-02-15 16:58:55 +01:00
Omar Kallel
a6ab05b99b Use specific Connection Request path designated in icwmp config 2021-02-12 21:08:11 +01:00
Omar Kallel
196ae20ae8 CR: accept a so long username and password 2021-02-09 10:10:39 +01:00
Omar Kallel
97bae7338c CR: Fix 401 HTTP error 2021-02-08 19:04:16 +01:00
Omar Kallel
f145bd048f Connection Request: Return 503 http error code instead of success in case method is POST PUT DELETE and not GET 2021-02-08 16:20:48 +01:00
Omar Kallel
2bc6a46a51 Logs enhancement 2021-01-26 22:19:38 +01:00
Omar Kallel
164b97b937 Fix compiling error 2021-01-20 14:15:22 +01:00
Omar Kallel
f843f09a68 Fix x86 compilation related to syslog 2021-01-20 10:03:32 +01:00
Omar Kallel
b94c85944c update README 2021-01-20 09:26:37 +01:00
Omar Kallel
0652f760cd Fix db get of deviceid uci options 2021-01-19 17:26:57 +01:00
Omar Kallel
fc7687de2d Make icwmp compiling under x86 2021-01-19 17:26:46 +01:00
Charles Foster
4a4a8a4844 log: add support for logging to syslog 2021-01-17 11:44:55 +01:00
Omar Kallel
08ec6f5c18 Fix uci db get value 2021-01-12 09:35:00 +01:00
Omar Kallel
4f3fc8422d hard reset of the file config.c to the commit bf90808bbd 2021-01-08 16:26:38 +01:00
Omar Kallel
bd65ccf98c add --anyauth option to curl method 2021-01-07 20:54:20 +01:00
Omar Kallel
ddc6159eb1 get deviceid parameters by datamodel_interface get_value function 2021-01-07 18:50:06 +01:00
Omar Kallel
bf90808bbd Revert "Fiw flawfinder errors"
This reverts commit 416c954c21.
2021-01-06 14:07:42 +01:00
Omar Kallel
416c954c21 Fiw flawfinder errors 2021-01-06 11:35:58 +01:00
Omar Kallel
f74d98b864 icwmp.sh: Fix curl command options 2021-01-06 11:04:13 +01:00
Omar Kallel
323fad3442 linux kernel styling complete && other cleanups 2021-01-05 15:59:16 +01:00
Omar Kallel
c3a5799d14 Fix download script issue 2021-01-05 12:57:20 +01:00