Commit graph

178 commits

Author SHA1 Message Date
suvendhu
c42b5ba366 code cleanup 2022-04-12 10:10:59 +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
Vivek Kumar Dutta
e3d43fb450 Fix upload test 2022-04-05 12:05:54 +00:00
Amin Ben Ramdhane
0a6d7f6ab4 ignore get value error for some objects
- Device.DeviceInfo.ProcessStatus.Process.
 - Device.Hosts.Host
2022-03-31 10:54:56 +00:00
Omar Kallel
c25f92e9d1 Ticket refs #7602: icwmp: align with swmodd ubus methods updates 2022-03-30 12:16:23 +00:00
Omar Kallel
8fe0cf54ea Ticket refs #7501: icwmp: Fix static code warnings with cppcheck-2.7 2022-03-09 09:08:06 +01:00
Omar Kallel
8df8a9a6a0 Ticket refs #7512: icwmpd: Connect imediatly on wan up
(cherry picked from commit d5dd79101ab7b680644678a6862d6cbc213330b0)

(cherry picked from commit 9815275e6a0537540905862fb9393570c507e8f1)
2022-03-07 06:13:41 +00:00
vdutta
14bfffafc3 Static code fixes 2022-02-28 21:24:58 +05:30
Vivek Kumar Dutta
da88c8c286 Fix probable crashes 2022-02-11 15:41:34 +00:00
vdutta
a488c1e1b0 Reuse existing functions to get values 2022-01-12 10:16:37 +05:30
vdutta
7f1504f189 Get DeviceId from usp
- Updated Readme to overwrite DeviceId parameters
2022-01-07 17:55:11 +05:30
Neeraj Bijalwan
9b22b59edf Update run time data in /var/run/icwmpd 2022-01-06 12:47:53 +00:00
Omar Kallel
6a03433e3b Ticket refs #6907: icwmp Download: Not able to import vendor config file with uci 2021-12-29 11:18:16 +01:00
vdutta
7c91fd390b Wait for usp.raw to be available 2021-12-03 16:07:31 +05:30
Neeraj Bijalwan
7a9643c94b Ticket refs #6533: icwmp: Replace insecure rand with openssl random generator 2021-12-02 13:34:36 +01:00
Omar Kallel
0aa8c57c41 Ticket refs #6359: icwmp: Reduce I/O on filesystem 2021-11-09 16:16:11 +01:00
vdutta
0364f143b9 Fix compilation issue 2021-10-29 17:16:39 +05:30
vdutta
db754b4a49 Fix compilation error for gcc 11 2021-10-22 11:59:12 +05:30
Omar Kallel
ab87527757 Ticket refs #6039: icwmp: enhancement of uci api 2021-10-05 14:34:22 +01:00
Omar Kallel
2e55c12d13 Ticket refs #6089: Superfluous code 2021-09-21 09:49:42 +01:00
Omar Kallel
e44f826d54 Ticket refs #6065: icwmpd weak entropy 2021-09-21 09:49:30 +01:00
Omar Kallel
db97f2d1d7 Ticket refs #5596: Icwmp improvement - Firewall entry 2021-09-17 11:01:10 +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
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
ecaf463dbd Ticket refs #5761: icwmp: Add boot inform parameters 2021-08-25 10:13:34 +01:00
Omar Kallel
afe793e8bc Ticket refs #5761: icwmp: Add boot inform parameters 2021-08-13 13:23:00 +01:00
Omar Kallel
c328247082 Ticket refs #5752: icwmp: Add custom notification from json 2021-08-13 13:19:29 +01:00
Omar Kallel
9a872948e8 Ticket refs #5653: icwmpd coredumps setting notifications via CLI 2021-08-11 10:50:42 +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
Vivek Kumar Dutta
ab883852f9 Updated Readme 2021-07-29 13:22:29 +00:00
Omar Kallel
fc979a1140 Ticket refs #5530: CWMP: Configurable Forced Informs 2021-07-27 12:25:49 +01:00
Omar Kallel
40b08ae2f1 Ticket refs #5379: icwmp: backupsession, session, events, download unit tests 2021-07-05 10:57:12 +01:00
Omar Kallel
4edfade24c Ticket refs #5515: icwmp: validation of RPC methods arguments 2021-07-01 18:42:21 +01:00
Omar Kallel
2ed3de6b28 Create new file rpc_soap.c instead of xml 2021-06-28 10:07:43 +01:00
Omar Kallel
520aac547b Ticket refs #5445: icwmp: SOAP messages unit tests 2021-06-25 11:47:05 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +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
b1899234ef Fix x86 compilation error 2021-06-11 08:34:33 +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
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
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
Vivek Kumar Dutta
681758c1b7 Align with latest ubus 2021-05-14 06:27:57 +00:00
Omar Kallel
f5ac401208 Ticket refs #3731: icwmpd: Static Code Analysis (flawfinder) 2021-04-20 17:23:04 +01:00