Commit graph

1277 commits

Author SHA1 Message Date
Amin Ben Ramdhane
71bbe223cb Functional test with OpenACS 2021-06-25 21:46:26 +01:00
Omar Kallel
2e4b2b5b99 Build libicwmp by test/cmocka/Makefile instead of bin/Makefile.am 2021-06-25 15:29:02 +01:00
Omar Kallel
520aac547b Ticket refs #5445: icwmp: SOAP messages unit tests 2021-06-25 11:47:05 +01:00
Omar Kallel
c023a232bc update clang-format and gitignore 2021-06-25 11:46:39 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +01:00
Omar Kallel
22a0bfe365 Fix some memory leaks when reloading icwmp config 2021-06-24 09:09:49 +01:00
Amin Ben Ramdhane
f88d357d52 Ticket refs #3989: icwmpd: Functional Test of CWMP Protocols 2021-06-24 09:09:02 +01:00
Omar Kallel
8d573bba0e Revert "Exit cwmp when catch SIGTERM signal"
This reverts commit e4b3f6d71f.
2021-06-17 15:41:42 +01:00
vdutta
46bee4638e Wait for usp.raw object in unit test 2021-06-17 15:41:35 +01:00
vdutta
75889f7bc5 Fix garbage characters in info of reload command 2021-06-17 15:41:25 +01:00
vdutta
24977815fe Fix delay in notify 2021-06-17 15:41:07 +01:00
Omar Kallel
32246cad8d Ticket refs #5366: icwmp: fix transaction issue in case there are multiple RPC calls in one session 2021-06-17 15:40:59 +01:00
Omar Kallel
78a6d48e1e Memory leak fixes 2021-06-11 08:34:40 +01:00
Omar Kallel
b1899234ef Fix x86 compilation error 2021-06-11 08:34:33 +01:00
Omar Kallel
01bb855c0e Download RPC: Fix TransferComplete issue in case filetype is '6 Stored Firmware Image' 2021-06-11 08:33:11 +01:00
Amin Ben Ramdhane
70dc5c2bba Fixed a segfault error when initiating a new session 2021-06-08 13:38:14 +01:00
Omar Kallel
16659d7c16 Ticket refs #5041: cwmp: In DownloadRPC add support for '6 Stored Firmware Image' type 2021-06-04 14:49:59 +01:00
Amin Ben Ramdhane
ff9dbb2688 Ticket refs #5325: Add support for Device.ManagementServer.ScheduleReboot and DelayReboot 2021-06-04 14:49:50 +01:00
Amin Ben Ramdhane
faaedd342f Fix x86 compilation error using GCC 9 2021-06-04 14:49:41 +01:00
Omar Kallel
f73a82a126 Ticket refs #4935: icwmp: make all free of dynamic memory allocations (malloc, calloc, asprintf, strdup) in the end session 2021-06-04 14:49:28 +01:00
vdutta
be51cda3c4 Added functional api test 2021-06-03 18:11:23 +05:30
vdutta
33ba4343cc Added ubus schema for tr069 2021-06-03 13:55:07 +05:30
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