Commit graph

1431 commits

Author SHA1 Message Date
Omar Kallel
44571036d1 Fix backup session segfault 2023-01-04 11:25:38 +01:00
Vivek Kumar Dutta
4c380c6e9c Readme: Added Annex-F procedures 2022-12-20 12:28:20 +00:00
Vivek Kumar Dutta
0a04862978 Fix acs connect issue 2022-12-19 04:18:18 +00:00
Vivek Kumar Dutta
d9067a02d6 Download & Upload Diagnostics: Fix Parameter path for 'EnablePerConnectionResults' 2022-12-07 16:27:47 +00:00
Vivek Kumar Dutta
55999b965b Fix pipeline for release branch 2022-12-07 14:22:51 +00:00
Omar Kallel
cb601366e6 Make the enable/disable of GetRPCMethods ACS methods done via cwmp uci option 2022-10-21 11:23:10 +01:00
suvendhu
3d157a4418 Fix uloop deadlock for ProcessStatus 2022-10-13 15:40:17 +05:30
vdutta
c82bcb0e5e Removed unused --enable_acs compile flag 2022-10-08 15:00:24 +05:30
Suvendhu Hansa
902c30a855 icwmp: Add support for default active notifications
Cherry-picked: 1b7b0e2918
2022-10-06 12:47:34 +00:00
suvendhu
d11dcfc320 Add default_lan_interface for ManageableDevice 2022-10-06 14:31:55 +05:30
Omar Kallel
8d4e865dd3 Check NULL pointer before string and memory functions calls 2022-09-26 09:45:55 +01:00
Omar Kallel
52e2807ee3 Check NULL pointer for DM_Interface/DigestAuth/Event/Config/Zlib 2022-09-23 14:54:22 +01:00
Omar Kallel
1a5c409255 Check NULL Pointer Download/Upload/Notifications 2022-09-22 09:38:34 +00:00
suvendhu
fb9e76f887 Fix connection req authentication 2022-09-22 11:02:24 +05:30
Omar Kallel
21c3792ba4 Check NULL pointer for Common/CWMP/HTTP 2022-09-20 16:52:24 +01:00
Omar Kallel
6cf345bacf check pointer NULL for XML/SOAP/uci/ubus 2022-09-16 14:31:18 +01:00
Suvendhu Hansa
cbfff1b644 Fix error handling in rpc 2022-07-14 09:42:27 +00:00
vdutta
59e462b9fd Fix uci read after update 2022-07-14 11:00:17 +05:30
suvendhu
87cfd68e8d Fix icwmpd infinite restarts 2022-07-13 08:44:18 +05:30
vdutta
3e7db6fd97 Fix segfault when process exits without calling mxml apis 2022-07-12 09:17:38 +05:30
Omar Kallel
2823326027 Consider the Inform RPC ACS method always supported by the ACS 2022-07-06 15:29:10 +01:00
Suvendhu Hansa
4d59758b7b Fix connection req handling 2022-06-29 15:20:26 +00:00
Amin Ben Ramdhane
3ddb80f5fc Add HTTPS documentation 2022-06-28 10:41:15 +01:00
suvendhu
887c2db3e1 fix functional test and improvements 2022-06-23 11:35:10 +05:30
suvendhu
ea2e94fea0 update uci schema to add enable parameter 2022-06-21 19:59:02 +05:30
vdutta
13841eac51 Fix ValueChange event for ConnectionReqURL 2022-06-14 17:19:25 +05:30
Suvendhu Hansa
94e27976a8 Handle interface reset at session end 2022-06-14 09:34:17 +00:00
vdutta
e18acd99d7 Fix random failures in module test 2022-06-13 16:45:23 +05:30
suvendhu
23e16013be T#8134: ACS connectivity issue after bootup 2022-06-10 11:00:51 +00:00
vdutta
a3be4dd092 Use openssl compatibility layer for wolfssl variant 2022-06-07 19:47:36 +05:30
Vivek Kumar Dutta
5f5bdd6e13 Fix compilation warning on gcc-11 2022-06-06 13:33:00 +00:00
Vivek Kumar Dutta
4afa1973bc Revert "Continue session in case GetRPCMethods failing"
This reverts commit 643af329ff
2022-06-03 04:00:42 +00:00
vdutta
64b3e93f1c Fix compilation issues with gcc11 2022-06-01 12:50:19 +00:00
Omar Kallel
643af329ff Continue session in case GetRPCMethods failing 2022-05-31 17:18:48 +01:00
vdutta
617f537109 Fix update interface 2022-05-25 18:59:34 +05:30
Omar Kallel
491957b998 Ticket refs #7896: icwmp: Implement Heartbeat event 2022-05-23 13:06:35 +00:00
Dominic Lake
712cb443c1 Fix icwmpd ubus reload
After refactoring, the icwmpd code no longer allocates the UCI context
in the ubus thread so when it attempts to reload the config, the UCI
calls fail and the reload fails.

Update ubus_utils.c to call init before reloading the config and call
exit once reloaded.
2022-05-23 10:32:24 +00:00
vdutta
12f1921f15 Fix random crash 2022-05-19 22:44:44 +05:30
Dominic Lake
4d158e13b6 fix-wan-interface: fix CWMP bind interface
A ubus call is made for:
```
ubus call network.status '{"interface": "wan"}'
```

Where interface is retrieved from: `cwmp.cpe.default_wan_interface`

However, currently "device" is being used as the interface to bind to
but this is the raw device which only works if a L3 device hasn't been
created over the top - i.e for PPP.

Therefore pull L3 device instead, i.e:
```
"l3_device": "pppoe-wan", # <-- this is the one to use
"device": "eth0.1",
```

this also works when the WAN type is DHCP:
```
"l3_device": "eth0.1",
"device": "eth0.1",
"proto": "dhcp",
```
2022-05-12 14:35:43 +01:00
suvendhu
00d037ce85 HTTP auth code cleanup 2022-05-09 16:06:01 +05:30
suvendhu
20e8be761b code reorganize 2022-05-05 11:49:55 +00:00
vdutta
f1acf462dc Added safe checks for ubus commands 2022-05-05 14:58:25 +05:30
suvendhu
810539def8 Code cleanup and optimize 2022-05-02 20:07:23 +05:30
suvendhu
45dd9c22d2 T#7935 All devices send inform at same time with unknown periodic inform time 2022-05-02 13:07:49 +05:30
Amin Ben Ramdhane
8449a419a8 Remove unused file and macros 2022-04-29 12:51:00 +01:00
Amin Ben Ramdhane
a695e0d2cd Use common function to get time 2022-04-29 11:58:22 +01:00
Amin Ben Ramdhane
673600fd3d Remove unused file 2022-04-27 13:17:11 +01:00
Amin Ben Ramdhane
ed13523ebe Use Openssl, mbedtls md5 APIs instead of local functions 2022-04-27 13:16:25 +01:00
Omar Kallel
f7c42eaba6 CPE requests for GetRPCMethods ACS after each successfule Inform 2022-04-25 16:19:55 +01:00
Omar Kallel
8e6bde511a Make Upload with SSL 2022-04-21 09:25:51 +01:00