Commit graph

86 commits

Author SHA1 Message Date
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
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
suvendhu
87cfd68e8d Fix icwmpd infinite restarts 2022-07-13 08:44:18 +05:30
Suvendhu Hansa
4d59758b7b Fix connection req handling 2022-06-29 15:20:26 +00:00
suvendhu
887c2db3e1 fix functional test and improvements 2022-06-23 11:35:10 +05:30
suvendhu
00d037ce85 HTTP auth code cleanup 2022-05-09 16:06:01 +05:30
suvendhu
810539def8 Code cleanup and optimize 2022-05-02 20:07:23 +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
Vivek Kumar Dutta
da88c8c286 Fix probable crashes 2022-02-11 15:41:34 +00:00
Omar Kallel
1e5c96de22 Fix digest authentication issue 2021-12-06 15:38:50 +00:00
Neeraj Bijalwan
7a9643c94b Ticket refs #6533: icwmp: Replace insecure rand with openssl random generator 2021-12-02 13:34:36 +01:00
Omar Kallel
5401894b4e Get dhcp url from /etc/config/cwmp 2021-11-25 12:42:17 +01:00
Omar Kallel
d485fc0eef Revert DUMMY_MODE macro 2021-11-22 15:40:09 +01:00
Omar Kallel
4bef706ddf Ticket refs #6614: icwmp: fix static code anlysis issues generated by cpp check 2021-11-22 15:27:44 +01:00
vdutta
bf33885bf7 Fix delay reloading services 2021-10-26 19:48:43 +05:30
Omar Kallel
dd51b8e770 Update year in head comment 2021-10-13 16:20:18 +01:00
Omar Kallel
ecb82332ce use both ipv4 and ipv6 addresses for firewall rules 2021-10-12 11:37:31 +01:00
Omar Kallel
ab87527757 Ticket refs #6039: icwmp: enhancement of uci api 2021-10-05 14:34:22 +01:00
Omar Kallel
db97f2d1d7 Ticket refs #5596: Icwmp improvement - Firewall entry 2021-09-17 11:01:10 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +01:00
Omar Kallel
78a6d48e1e Memory leak fixes 2021-06-11 08:34:40 +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
f5ac401208 Ticket refs #3731: icwmpd: Static Code Analysis (flawfinder) 2021-04-20 17:23:04 +01:00
Omar Kallel
5b24edae8f Ticket #4712: icwmp: convert icwmp.sh script to a C code 2021-04-15 10:57:37 +01:00
Omar Kallel
934a0cf1e3 Fix x86 compiling errors 2021-03-04 19:13:10 +01:00
Omar Kallel
28745af796 CR: Fix HTTP path issue 2021-02-15 16:58:55 +01:00
Omar Kallel
a6ab05b99b Use specific Connection Request path designated in icwmp config 2021-02-12 21:08:11 +01:00
Omar Kallel
97bae7338c CR: Fix 401 HTTP error 2021-02-08 19:04:16 +01:00
Omar Kallel
f145bd048f Connection Request: Return 503 http error code instead of success in case method is POST PUT DELETE and not GET 2021-02-08 16:20:48 +01:00
Omar Kallel
fc7687de2d Make icwmp compiling under x86 2021-01-19 17:26:46 +01:00
Omar Kallel
bf90808bbd Revert "Fiw flawfinder errors"
This reverts commit 416c954c21.
2021-01-06 14:07:42 +01:00
Omar Kallel
416c954c21 Fiw flawfinder errors 2021-01-06 11:35:58 +01:00
Omar Kallel
1d032520d0 Linux Kernel code-styling 2021-01-04 09:01:35 +01:00
vdutta
de3abacb11 Fix compilation of x86 image 2021-01-04 07:50:07 +00:00
Omar Kallel
71ac908626 Revert "Linux Kernel Coding Style"
This reverts commit a51a8eb4e7.
2021-01-04 08:49:37 +01:00
Omar Kallel
a51a8eb4e7 Linux Kernel Coding Style 2021-01-04 08:12:14 +01:00
Omar Kallel
43e73fb4ee make diagnostics independent of libbbf 2020-12-31 18:09:43 +01:00
Omar Kallel
699f340017 Ticket refs #4067: icwmp: source code enhancements 2020-12-23 19:28:14 +01:00
Omar Kallel
299c59f2e8 move and update some bbf functions to icwmp && Delete some libbbfdm includes and TR098 macro 2020-12-15 15:17:57 +01:00
Omar Kallel
f1560b1305 Add uci api & fix other issues 2020-12-09 19:03:00 +01:00
Omar Kallel
c579c9b4e9 Use the ubus mehtod 'usp.raw init_notify' to update dm_enabled_notify file && get inform parameters from a string array 2020-11-21 02:13:40 +01:00
Amin Ben Ramdhane
0d3861337a icwmp: cleanup
Fixed memory leak and warning of unused variable
2020-09-10 10:47:27 +01:00
Amin Ben Ramdhane
faa5a89449 use libcurl by default: remove zstream 2020-09-10 10:27:26 +01:00
Feten Besbes
ee84d059eb If Management IP address changes, no connection with the ACS can be established without restarting the daemon 2020-06-25 12:14:18 +02:00
Omar Kallel
e8c65004e6 remove the use of curl_easy_reset 2020-05-07 14:26:58 +01:00
Omar Kallel
4d6efa0633 Use curl_eas_reset_no_auth instead of curl_easy_reset 2020-05-05 17:49:25 +01:00
Amin Ben Ramdhane
ec20a84c49 Fix the segfault related to curl_easy_reset_no_auth() function 2020-02-19 14:48:59 +01:00