Commit graph

1669 commits

Author SHA1 Message Date
Suvendhu Hansa
07e083d075 Avoid process restart on ACS url change 2023-12-26 16:47:44 +00:00
Suvendhu Hansa
ffa47ddf73 Removed 2023-12-26 11:34:32 +00:00
Vivek Kumar Dutta
cf89728b92 Serialize uci usages 2023-12-26 08:05:13 +00:00
Amin Ben Romdhane
a1df16afca Increase upload curl timeout to 30 seconds and improve the code to prevent crashes 2023-12-26 04:37:09 +00:00
suvendhu
f9a7bb027a Changed string APIs log level 2023-12-15 19:35:07 +05:30
Suvendhu Hansa
ce1f7e01f0 Use cwmp.rpc ubus object for '2 Web Content' handling
- cwmp.rpc is an external ubus object which support installation of '2 Web Content' with Download rpc
2023-12-13 15:08:46 +00:00
Amin Ben Romdhane
c732e063d9 Refactor datamodel plugin code from daemon 2023-12-12 03:47:33 +00:00
Suvendhu Hansa
08fe43769c Support '2 WEB CONTENT' in Download RPC 2023-12-11 13:42:53 +00:00
Amin Ben Romdhane
e5ed4c3c89 Rename 'keep_settings' to 'fw_upgrade_keep_settings' 2023-12-07 11:06:43 +01:00
Amin Ben Romdhane
5c1970e571 T#12829: Uci option to keep/remove settings with '1 Firmware Upgrade Image' 2023-12-06 03:43:10 +00:00
Vivek Kumar Dutta
35228b84fb Add support for full uci import
If the downloaded file matches the following pattern "*.uci.conf"
then the file will be imported without setting the specific package
in uci. e.g. the package needs to be part of the file itself.
2023-11-28 04:46:39 +00:00
Michael Polyntsov
28fdf0a23b Check that write() completed successfully in subprocess 2023-11-23 09:52:07 +00:00
Amin Ben Romdhane
8522bf195f Fix random crash on big payloads 2023-11-23 09:25:49 +00:00
suvendhu
79ac3e0d5a Added descriptive fault message 2023-11-22 05:27:33 +00:00
suvendhu
5b94e33768 Strip logging for invalid inform parameter name 2023-11-17 19:15:06 +05:30
George Yang
2a77da214b Remove some causes of CWMP_STRCMP "NULL argument found" message 2023-11-15 13:16:17 +01:00
Vivek Kumar Dutta
d01799af9a
Added to delay to wait for service reloads 2023-11-14 12:21:07 +05:30
suvendhu
62566e4e81 Fix custom force inform parameters 2023-11-07 19:21:36 +05:30
suvendhu
9e6f10391e Align schema and log level 2023-11-07 15:45:00 +05:30
Suvendhu Hansa
6996b01bad Exclude '4 Value Change' event from InformParameters 2023-11-07 10:09:31 +00:00
suvendhu
7852ca06ff Added self test diagnostics feature 2023-11-01 09:09:23 +00:00
suvendhu
4a34d694e6 Fix bbf plugin path in CMake 2023-10-31 12:29:21 +00:00
Vivek Kumar Dutta
7bb8d3959c
docs: updated InformParameters 2023-10-30 18:29:03 +05:30
suvendhu
ade480d2b0 Added packet capture diagnostics 2023-10-16 16:44:32 +05:30
Vivek Kumar Dutta
cdbab055a1
Fix empty set in cli tool 2023-10-10 10:24:51 +05:30
Amin Ben Romdhane
f9c34a9600 Update the ubus hosts method name 2023-10-04 15:19:27 +00:00
suvendhu
62e0d41100 Start cwmp on receiving acs url in DHCP lease 2023-10-03 11:26:31 +05:30
suvendhu
79871c5365 Fix schedule inform and session handling 2023-09-28 13:38:47 +05:30
suvendhu
1e2ffebf65 Fix session handling 2023-09-27 12:17:17 +05:30
Vivek Kumar Dutta
40613f5b59
Fix compilation warnings 2023-09-26 18:18:58 +05:30
suvendhu
0912003954 Send inform whenever ACS url changes 2023-09-26 02:55:35 +00:00
suvendhu
eb60296b61 Fix typo error 2023-09-25 16:57:55 +05:30
suvendhu
c2a310b499 force connectivity on ipv4 2023-09-20 19:48:51 +05:30
suvendhu
897a91d11a xml output indentation 2023-09-20 15:51:50 +05:30
Suvendhu Hansa
8d185bacdb Fix probable segfaults 2023-09-19 11:40:09 +00:00
suvendhu
32f5e4ef99 Removed ubus socket path config 2023-09-14 16:36:20 +05:30
Vivek Kumar Dutta
9d42524de0 Support OpenSSL v3 2023-09-05 13:26:45 +00:00
Vivek Kumar Dutta
84021788e6 Optimized module test 2023-09-05 13:23:25 +00:00
Amin Ben Romdhane
9322ecdc8b Align with bbf changes
- DMOBJ and DMLEAF structures: delete 'version' argument
2023-08-11 15:36:01 +00:00
suvendhu
8167cfa5a0 Fix ignore cookies with invalid uri 2023-07-27 10:52:52 +05:30
Amin Ben Romdhane
81d66bc1e8 Align with new bbfdm changes 2023-07-26 13:46:40 +00:00
Suvendhu Hansa
ef78476270 Probable fix for failure to send inform on CR
During debugging it was observed that main cwmp process was stuck at uloop, this might occur due to ubus operation inside thread, as ubus is not thread safe.
2023-07-20 09:54:50 +00:00
Vivek Kumar Dutta
2c8e1aed35
Fix license headers 2023-07-18 10:02:59 +05:30
Suvendhu Hansa
bd76686d11 Update dhcp option 125 parsing logic 2023-07-11 03:29:28 +00:00
Amin Ben Romdhane
5635e79d23 Use global buffer instead of dynamic allocation memory 2023-07-06 14:43:00 +02:00
Vivek Kumar Dutta
bf2e74f8eb Avoid probable race condition 2023-07-03 05:04:24 +00:00
Vivek Kumar Dutta
26a56bc6f8
Added pid in cwmp id as a identifier 2023-06-26 16:38:22 +05:30
suvendhu
09b7cd7a6b Improvement in inform message sending 2023-06-22 07:24:55 +00:00
Amin Ben Romdhane
3792c4642c Delete the check for the excluded objects since we already handle that in bbfdm 2023-06-21 16:02:07 +02:00
Amin Ben Romdhane
862fc75a56 Remove unnecessary dynamic allocation memory 2023-06-21 15:38:35 +02:00