Omar Kallel
90bf50ec94
Fail GetRPCMethods: advance next RPC ACS method after skipping GetRPCMethods
2022-06-01 12:34:01 +01: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
Omar Kallel
a8463946f3
icwmp: Switch to mxml for xml parsing
2022-04-18 16:54:25 +01:00
vdutta
7f70801afa
Fix compilation warnings
2022-04-12 11:18:17 +05:30
Amin Ben Ramdhane
5d1317aac8
Add support for libmbedtls
2022-04-08 09:32:40 +00:00
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
vdutta
7fbc6f939d
Fix compilation issue
2022-03-31 13:31:04 +00:00
suvendhu
8a057ca1f5
Fix transfer_complete event after vendor config download
2022-03-31 11:35:45 +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
vdutta
adc551c768
Updated Readme
2022-03-23 18:30:39 +05:30
vdutta
4dd933047d
Updated compile flag
2022-03-11 12:36:55 +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
Omar Kallel
11b4339fc3
Fix uci issue when reloading the connection interface
2022-03-07 15:04:48 +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
suvendhu
cc1763399c
Fixed Flawfinder Errors
...
(cherry picked from commit 2649eca7dd5a25cc04da30525a39bc9bd058fe92)
2022-03-04 10:49:15 +00:00
vdutta
1f80764fa8
Fix unit test cases
2022-03-04 16:11:26 +05:30
vdutta
de67b77b52
Run module test with limited resources
2022-03-03 17:53:17 +05:30
vdutta
8d1bcdc457
Configure ssl utility library
2022-03-03 17:15:03 +05:30
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
vdutta
6964b86095
Fix coverage in module test
2022-02-24 19:01:15 +05:30
Vivek Kumar Dutta
da88c8c286
Fix probable crashes
2022-02-11 15:41:34 +00:00
Omar Kallel
f3eaed2e52
Protect memory from crash
2022-01-28 17:01:50 +01:00
Omar Kallel
22a1606d97
Sleep before starting download thread
2022-01-25 14:24:24 +01:00
vdutta
a488c1e1b0
Reuse existing functions to get values
2022-01-12 10:16:37 +05:30
vdutta
a6b7d8db4d
Fix warning in compilation
2022-01-07 18:08:15 +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
Feten Besbes
4cd757bf33
Download config with tr069 fails
2021-12-24 15:25:30 +00:00
vdutta
d18400eca5
General improvement for firewall restart handling
2021-12-22 15:31:09 +05:30
vdutta
00e48a5943
Fix compilation warnings
2021-12-13 16:02:30 +05:30