Commit graph

39 commits

Author SHA1 Message Date
vdutta
13841eac51 Fix ValueChange event for ConnectionReqURL 2022-06-14 17:19:25 +05:30
vdutta
e12c739d30 Custom notify json update
- Logic updated to handle power reset while importing the custom notify json
- Import of custom notify parameters only marked as successful, after a
  successful backup by init script. This logic has an external dependency on
  init script, as the init script is responsible for backup of updated configs
  during the reboots.
2022-04-07 16:21:45 +05:30
Omar Kallel
8fe0cf54ea Ticket refs #7501: icwmp: Fix static code warnings with cppcheck-2.7 2022-03-09 09:08:06 +01:00
suvendhu
cc1763399c Fixed Flawfinder Errors
(cherry picked from commit 2649eca7dd5a25cc04da30525a39bc9bd058fe92)
2022-03-04 10:49:15 +00:00
vdutta
14bfffafc3 Static code fixes 2022-02-28 21:24:58 +05:30
vdutta
9bd32215e6 Use wolfssl for ssl functions 2022-02-25 15:26:54 +05:30
Vivek Kumar Dutta
da88c8c286 Fix probable crashes 2022-02-11 15:41:34 +00:00
Omar Kallel
4bef706ddf Ticket refs #6614: icwmp: fix static code anlysis issues generated by cpp check 2021-11-22 15:27:44 +01:00
Omar Kallel
0aa8c57c41 Ticket refs #6359: icwmp: Reduce I/O on filesystem 2021-11-09 16:16:11 +01:00
Omar Kallel
dd51b8e770 Update year in head comment 2021-10-13 16:20:18 +01:00
Omar Kallel
ab87527757 Ticket refs #6039: icwmp: enhancement of uci api 2021-10-05 14:34:22 +01:00
Omar Kallel
e44f826d54 Ticket refs #6065: icwmpd weak entropy 2021-09-21 09:49:30 +01:00
Simon Tate
33ba238f60 notifications: Simplify code with #define
Use a single #define for path name, instead of typing it everywhere.
This will make moving it in future significantly easier.
2021-09-13 14:54:17 +01:00
Omar Kallel
8d3fa52e4f Update dm_enable_notify file after the load of custom notification parameters 2021-09-10 06:57:17 +01:00
vdutta
411edf136f Align option names for notification configuration 2021-09-07 12:48:09 +05:30
Omar Kallel
25df1147fc load json notify file in case /etc/icwmp/.icwmpd_notify doesn't exist 2021-09-01 13:56:25 +01:00
Omar Kallel
2525a9410d Revert "load json notify file in case /etc/icwmp/.icwmpd_notify doesn't exist"
This reverts commit 3c9e75e3b4.
2021-09-01 11:35:59 +01:00
Omar Kallel
3c9e75e3b4 load json notify file in case /etc/icwmp/.icwmpd_notify doesn't exist 2021-09-01 11:20:55 +01:00
Omar Kallel
a9d8e076e2 Ticket refs #5755: icwmp: Add functiona test and update readme 2021-08-30 14:56:29 +01:00
Omar Kallel
b19742dc89 Make custom notifications custom forced inform and boot inform parameters in 3 separated files 2021-08-30 14:54:07 +01:00
Omar Kallel
c328247082 Ticket refs #5752: icwmp: Add custom notification from json 2021-08-13 13:19:29 +01:00
Omar Kallel
30795d2be5 Fix some notifications memory leak 2021-08-11 14:08:59 +01:00
Omar Kallel
49c0641b31 Ticket refs #5566: icwmp: move notifications feature from bbf to icwmp package 2021-08-09 17:22:07 +01:00
Omar Kallel
c831bb17a9 Ticket refs #5696: icwmpd doesn't support spaces in 'active' inform 2021-08-09 17:21:54 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +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
Omar Kallel
f5ac401208 Ticket refs #3731: icwmpd: Static Code Analysis (flawfinder) 2021-04-20 17:23:04 +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
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
Omar Kallel
3bd3f9093b Fix some memory mngment issues 2021-03-05 16:32:20 +01:00
Omar Kallel
fc7687de2d Make icwmp compiling under x86 2021-01-19 17:26:46 +01:00
Omar Kallel
1d032520d0 Linux Kernel code-styling 2021-01-04 09:01:35 +01:00
vdutta
de3abacb11 Fix compilation of x86 image 2021-01-04 07:50:07 +00:00
Omar Kallel
71ac908626 Revert "Linux Kernel Coding Style"
This reverts commit a51a8eb4e7.
2021-01-04 08:49:37 +01:00
Omar Kallel
a51a8eb4e7 Linux Kernel Coding Style 2021-01-04 08:12:14 +01:00
Omar Kallel
43e73fb4ee make diagnostics independent of libbbf 2020-12-31 18:09:43 +01:00
Omar Kallel
969d611db3 Add Werror to CFLAGS and Fix corresponding errors 2020-12-24 11:22:09 +01:00
Omar Kallel
699f340017 Ticket refs #4067: icwmp: source code enhancements 2020-12-23 19:28:14 +01:00