liangbotong
490201934a
Clean code warnings for NewIP
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2025-01-14 12:13:43 +08:00
shiyunfei
1bca2b6443
kernel_linux_5.10 master 分支已合入CVE同步至NewIP
...
https://gitee.com/openharmony/kernel_linux_5.10/pulls/1348
https://gitee.com/openharmony/kernel_linux_5.10/pulls/531
Signed-off-by: shiyunfei <shiyunfei3@huawei.com >
2024-04-24 17:16:40 +08:00
shiyunfei
76cf7624ed
适配OH蓝区kernel_linux_5.10仓社区LTS补丁升级,使用dst_hold替换dst_hold_and_use
...
Signed-off-by: shiyunfei <shiyunfei3@huawei.com >
2024-02-01 17:05:35 +08:00
shiyunfei
3d7e91bb32
解决sk->sk_send_head指针可能使用已释放skb的问题
...
Signed-off-by: shiyunfei <shiyunfei3@huawei.com >
2024-01-09 17:35:48 +08:00
shiyunfei
e2167fd037
newip tcp add RFC 5961 5.2
...
Signed-off-by: shiyunfei <shiyunfei3@huawei.com >
2023-12-26 18:47:06 +08:00
liangbotong
b6cbb5509c
add compat_nip_dev_ifconf
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-09-20 10:51:06 +08:00
liangbotong
62de3a0967
ninet_ioctl add the SIOCGIFCONF
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-09-19 15:53:17 +08:00
liangbotong
e4d16ee37d
Resolve the getsockopt TCP_MD5SIG null pointer reference problem
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-09-11 15:47:20 +08:00
liangbotong
157182c68e
Resolve the NEWIP null pointer reference problem
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-09-05 19:59:05 +08:00
liangbotong
65eed81296
Resolved read out of bounds caused by skb_len flip
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-08-31 16:35:18 +08:00
liangbotong
ca107c3348
Improve input parameter validation and fix some code style issues in newip
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-08-28 20:19:07 +08:00
liangbotong
fb564f4389
NewIP code security issue remediation
...
1.Resolve stack overflow issue in parsing ICMP packets in newip.
2.Resolve negative overflow issue in parsing UDP packets in newip.
3.Resolve unchecked data reception issue in nip_rcv.
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-08-28 10:27:42 +08:00
liangbotong
226f419a33
Add NewIP debug log
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-08-21 13:07:11 +08:00
liangbotong
881f73c50c
fix NewIP coding style problem
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-08-03 11:52:14 +08:00
liangbotong
bbe2a7288c
Performance Optimization of NewIP Congestion Control Algorithm
...
1. NewIP dynamic rto
2. bw window control
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-08-01 14:35:35 +08:00
liangbotong
04a1eab82e
NewIP config file and NS modification
...
1.config NewIP HOOKS are enabled by default.
2.Use unicast to send NS to update the status of neighbor table entries.
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-07-03 17:00:47 +08:00
liangbotong
0586699f1c
NewIP code problem modification
...
1.add HCK lite vendor hook for NewIP
2.Code specification check and rectify
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-06-29 11:39:44 +08:00
liangbotong
15037e930b
NewIP code problem modification
...
1.Add the log information about the NewIP route exception branch
2.Code specification check and rectify
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-06-19 20:08:40 +08:00
liangbotong
e07521c607
security remediation of NewIP code
...
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-06-15 11:41:25 +08:00
liangbotong
74df9caea1
adjust the NewIP ioctl entry
...
avoiding memory leaks caused by CAP_NET_ADMIN
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-05-31 17:06:22 +08:00
liangbotong
2717358eda
NewIP code rectification
...
1. The header comment contains the copyright license, feature description, author, and creation date
2. Rectification of code specification problems
Signed-off-by: liangbotong <liangbotong@huawei.com >
2023-05-25 20:28:57 +08:00
yangyanjun
926efc535b
newip开源合规评审问题修改
...
Signed-off-by: yangyanjun <yangyanjun@huawei.com >
2023-04-21 16:29:00 +08:00