Commit graph

1438 commits

Author SHA1 Message Date
Omar Kallel
304db5eb06 Ticket refs #8798: icwmp: cdr failure tr69_inactive_firmware_1 2022-09-20 08:48:08 +01:00
Omar Kallel
1b21e6a9db Check pointer NULL for XML/SOAP/uci/ubus 2022-09-19 13:11:34 +01:00
vdutta
a62a6efceb Fix cli utility 2022-09-14 18:23:53 +05:30
vdutta
94cc2f8c98 Use sleep in busywait
- In some targets usleep hogs cpu, using sleep instead
2022-09-14 11:14:42 +05:30
vdutta
b0203fa4bf Fix namespace changes 2022-09-13 12:26:15 +05:30
Sukru Senli
6826f70216 Change License to BSD 3-Clause 2022-09-13 07:42:01 +02:00
Omar Kallel
34499c1cb3 Ticket refs #6914: icwmp: migrate from multithreading to uloop 2022-09-12 13:55:00 +01:00
vdutta
19a3ba5412 Updated cwmp namespace parsing 2022-09-07 08:39:02 +05:30
vdutta
be24316b69 Use configured session timeout for digest auth validation 2022-09-06 11:43:12 +05:30
vdutta
06278ffdca Optimize get of namespaces 2022-08-30 09:25:12 +05:30
Suvendhu Hansa
9f20db9d6d Fix relative URI in GET request 2022-08-29 09:44:58 +00:00
Suvendhu Hansa
5553a890ae Add wildcard(*) support in inform ParameterName 2022-08-01 12:41:41 +00:00
suvendhu
d36c03529b Fix inform parameter name accepts forced inform parameter 2022-07-29 08:27:05 +00:00
vdutta
f178257263 Fix segfault in ScheduleInform 2022-07-29 13:10:09 +05:30
Suvendhu Hansa
1253160a3e Add default_lan_interface for ManageableDevice 2022-07-28 15:03:59 +00:00
Suvendhu Hansa
90edffe98f Fix interface reset at session end 2022-07-28 14:54:13 +00:00
suvendhu
75a98b0e27 Fix connection req failure with path 2022-07-27 16:42:33 +05:30
vdutta
a3eaadd9d0 Fix the URI path for auth validation 2022-07-26 19:12:38 +05:30
Omar Kallel
58a32f910b Ticket #8245: bbf: Add support for InformParameter 2022-07-21 16:50:50 +01:00
Amin Ben Ramdhane
6e5e5589ca Migrate the compilation to cmake instead of autotools 2022-07-14 14:08:22 +01:00
Omar Kallel
291e11d67a T#7705: Code re-organise and improvements
This reverts commit cbfff1b644.
2022-07-14 12:55:36 +00:00
Vivek Kumar Dutta
4c6065812b Revert "T#7705: Code re-organise and improvements"
This reverts commit c24fcd51f8
2022-07-14 12:51:28 +00:00
Vivek Kumar Dutta
c24fcd51f8 T#7705: Code re-organise and improvements 2022-07-14 12:49:24 +00: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