Commit Graph

815 Commits

Author SHA1 Message Date
breakfei1
82a7459655 修复使用内部代理通道协商P2P的IP和端口时找不到认证密钥的问题
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-07-17 14:31:12 +08:00
zhanghaowen
4ab1a0d383 fix:auth proxy send data failed
Signed-off-by: zhanghaowen <zhanghaowen12@huawei.com>
2023-07-14 22:00:40 +08:00
breakfei1
3a6fa4d979 fix double free bug
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-07-13 22:00:47 +08:00
openharmony_ci
e6b7c64f3b
!3798 fix bug for newIp
Merge pull request !3798 from 郭春婷/0710
2023-07-13 13:00:16 +00:00
openharmony_ci
7eb6edfbe8
!3815 认证通道获取本地mtu
Merge pull request !3815 from 董鹏/master
2023-07-13 11:44:37 +00:00
dong-peng25
08bb2888ef fix:Obtain local MTU through authentication channel.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-07-13 16:34:58 +08:00
songzhengteng
d22d636c7f Merge branch 'master' of gitee.com:openharmony/communication_dsoftbus
Change-Id: I785a8e7985503e603d4435a713422d6b04f563df
2023-07-12 21:45:16 +08:00
songzhengteng
9513335010 feature: support p2p accelerate connect
Signed-off-by: songzhengteng <songzhengteng@huawei.com>
Change-Id: Id00afd90dce33d3d32e3382faefc37e1fd08bf3a
2023-07-12 21:41:31 +08:00
breakfei1
fd0571b543 opensession p2p use ctrl channel to verify ip and port
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-07-12 20:10:09 +08:00
zhang-yani_0820
2e9253d11f code hole
Signed-off-by: zhang-yani_0820 <zhangyani8@huawei.com>
2023-07-12 16:21:37 +08:00
liu-qiang12
4b83ebc73e Static check alarm modification
https://gitee.com/openharmony/communication_dsoftbus/issues/I7KD5M

Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
2023-07-12 10:43:28 +08:00
bingo
e5c1103c28 fix bug
Signed-off-by: bingo <wangbaoguang@huawei.com>
2023-07-12 00:19:14 +08:00
bingo
f94aa273fb fix bug
Signed-off-by: bingo <wangbaoguang@huawei.com>
2023-07-11 15:15:11 +08:00
bingo
3162f22b57 modify MTU
Signed-off-by: bingo <wangbaoguang@huawei.com>
2023-07-11 14:50:15 +08:00
bingo
4a954bc05e modify MTU
Signed-off-by: bingo <wangbaoguang@huawei.com>
2023-07-11 11:31:54 +08:00
fangdong7
8154f7e77f feat:bus-center support fastAuth feature
Signed-off-by: fangdong7 <fangdong7@huawei.com>
2023-07-10 17:05:44 +00:00
guo-chunting
406812ac51 fix bug for newIp
Signed-off-by: guo-chunting <guochunting3@huawei.com>
Change-Id: I65c2b1744cc7ba0bc9f7d1d5599f11008621a117
2023-07-10 10:21:41 +08:00
openharmony_ci
d7eccb2a18
!3780 [Bug]:Fix the issue of reporting notifications twice when going online or offline
Merge pull request !3780 from Zhang/master
2023-07-05 13:36:56 +00:00
openharmony_ci
541fa594d2
!3785 传输模块新增可使用sessionId查询session的linktype
Merge pull request !3785 from 董鹏/master
2023-07-05 11:17:08 +00:00
dong-peng25
7a15f11bf5 fix:The transmission module can use the sessionId to query the linktype of a session.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-07-05 16:16:18 +08:00
dong-peng25
529649f663 fix:Implementation of System Service Interface Control.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-07-04 16:14:05 +08:00
openharmony_ci
032c37ac4d
!3778 异构路由需求的权限相关配置修改合入
Merge pull request !3778 from 郭春婷/songxinyi
2023-07-04 03:41:00 +00:00
zhang
b026c8cc43 [Bug]:Fix the issue of reporting notifications twice when going online or offline
Signed-off-by: zhang <zhangfengxi@huawei.com>
2023-07-03 20:20:17 +08:00
breakfei1
7c5a4498f0 add ble transmission proc
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-07-03 10:52:00 +08:00
guo-chunting
1a051b2fe4 newI
Signed-off-by: guo-chunting <guochunting3@huawei.com>
Change-Id: I723fc322b2af0394bc4b2a8f3e23ed34d3bae323
2023-07-01 17:58:56 +08:00
Mark
c08964bd78 adjust softbus code
Signed-off-by: Mark <liudongmiao@huawei.com>
2023-06-30 12:52:35 +00:00
openharmony_ci
68e0760440
!3773 fix:modify codex
Merge pull request !3773 from xwh/master
2023-06-30 02:15:28 +00:00
guo-chunting
9dd3b516b2 code revert
Signed-off-by: guo-chunting <guochunting3@huawei.com>
Change-Id: Ia0108c3ee0c71106c983d3a89964088a4fe2c772
2023-06-29 16:46:16 +08:00
xwh
5fd717df6e
modify codex
Signed-off-by: xwh <jiewenhao@huawei.com>
2023-06-28 07:52:40 +00:00
guo-chunting
70a24b60bb newIpcommit
Signed-off-by: guo-chunting <guochunting3@huawei.com>
Change-Id: I3d85f4eb1f425a107520e820d0b78cfd83f9dead
2023-06-13 16:42:30 +08:00
guo-chunting
8f8fa5f111 SR000HQMP
Signed-off-by: guo-chunting <guochunting3@huawei.com>
Change-Id: I5984e10180194db6bd81669af9f75d0365ce657e
2023-06-12 21:28:58 +08:00
dong-peng25
508ad44d6e fix:Modify NormalMsgReceived length verification.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-06-08 23:00:36 +08:00
Mark
35edc9083a adjust connect codet
Signed-off-by: Mark <liudongmiao@huawei.com>
2023-06-07 01:38:14 +00:00
breakfei1
5cce36fc8b use correct auth manager to decrypt ble handshake msg
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-05-29 17:17:36 +08:00
openharmony_ci
9ad33edd2b
!3701 清理传输模块告警
Merge pull request !3701 from 董鹏/master
2023-05-22 11:25:06 +00:00
dong-peng25
24fdf8d615 fix:clean security alarm and general alarm.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-05-22 16:25:48 +08:00
breakfei1
111fa69cd8 bugfix of the ble trans data procbugfix of the ble trans data procbugfix
of the ble trans data proc

Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-05-19 10:08:07 +08:00
breakfei1
69ac8a1cc7 add ble adv trans procadd ble adv trans procadd ble adv trans proc
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-05-15 20:23:41 +08:00
dong-peng25
0dc76450ab fix:clear codecheck.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-05-09 17:42:16 +08:00
y30033032
84150369c1 Add device auth and transmission hitrace function
Signed-off-by: y30033032 <yuanmeng36@huawei.com>
2023-05-08 17:25:10 +08:00
dong-peng25
f673ac7346 fix:add hisysevent and hitrace.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-05-06 15:15:01 +08:00
openharmony_ci
2f9a2959d5
!3594 Modifying the nearby comment
Merge pull request !3594 from 郭春婷/master
2023-03-29 07:20:56 +00:00
guo-chunting
0abe180a85 nearly fixed.
Signed-off-by: guo-chunting <guochunting3@huawei.com>
2023-03-29 11:07:39 +08:00
openharmony_ci
4597c4d042
!3563 修复进行音频流传输时通道类型选择直通通道而未选择Udp通道
Merge pull request !3563 from 董鹏/master
2023-03-24 14:09:02 +00:00
openharmony_ci
f94eb74498
!3578 不同场景支持的最大长度的pkgname和sessionName不一致
Merge pull request !3578 from 王宝光/master
2023-03-20 12:12:08 +00:00
openharmony_ci
c8bdfb3454
!3581 增加udp通道协商时间
Merge pull request !3581 from 王宝光/master
2023-03-19 09:43:49 +00:00
bingo
15e4975272 modify recv msg time
Signed-off-by: bingo <wangbaoguang@huawei.com>
2023-03-18 17:03:02 +08:00
bingo
2495993bf7 modify udp nego time
Signed-off-by: bingo <wangbaoguang@huawei.com>
2023-03-18 16:55:56 +08:00
bingo
d0cba1a493 fix same pkgname and sessionname
Signed-off-by: bingo <wangbaoguang@huawei.com>
2023-03-18 16:03:07 +08:00
dong-peng25
56977f05f3 fix:When modifying the audio stream transmission, select the pass-through channel instead of the Udp channel.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-03-10 14:01:44 +08:00
openharmony_ci
c8bb3eec62
!3550 修改TransProxyUnpackHandshakeMsg头文件中的入参
Merge pull request !3550 from 董鹏/master
2023-02-25 06:25:47 +00:00
dong-peng25
fdaca862a4 fix:Modify the input parameters in the TransProxyUnpackHandshakeMsg header file.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-02-25 11:44:33 +08:00
openharmony_ci
cd57adeee1
!3544 修改变量名
Merge pull request !3544 from 董鹏/master
2023-02-24 16:26:36 +00:00
dong-peng25
195a062279 fix:Modify variable name.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-02-22 20:22:15 +08:00
openharmony_ci
50440cb55e
!3534 修复Udp通道打开失败时没有清理QosChannel
Merge pull request !3534 from 董鹏/master
2023-02-20 10:26:13 +00:00
dong-peng25
af89089851 fix:Failed to clean QosChannel when resolving Udp channel opening failure.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-02-17 15:42:55 +08:00
openharmony_ci
3f4d13c1f8
!3518 解决3.2版本和3.1版本组网,未弹出PIN码组网失败
Merge pull request !3518 from 董鹏/master
2023-02-14 14:44:17 +00:00
openharmony_ci
73cb487911
!3510 UDP通道WiFi组网条件下手动打断sendfile,导致第二次opensession失败问题解决
Merge pull request !3510 from maodong5/master
2023-02-09 12:22:39 +00:00
dong-peng25
49893993a4 fix:Solve networking failure of version 3.2 and version 3.1 without pop-up PIN code.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-02-09 14:26:17 +08:00
maodong
a9846f8498 手动sendfile失败导致第二次opensession失败解决
Signed-off-by: maodong <maodong5@huawei.com>
2023-02-09 11:53:31 +08:00
dong-peng25
d1038a640d fix:Failed to return the Reply message to the other party, informing the business side that the session has been closed.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2023-02-01 19:12:00 +08:00
openharmony_ci
717b67d2ed
!3446 TransOnExchangeUdpInfoReply接收对端的关闭响应消息时,解析出错应该关闭对应的通道
Merge pull request !3446 from zhangshen/UdpChannel
2023-01-12 09:17:25 +00:00
breakfei1
67d5c8cc3e 改进UDP通道的会话关闭处理流程
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2023-01-11 09:31:16 +08:00
zhanghaowen
8da066a679 fix:Bug in P2P connection concurrency scenario
Signed-off-by: zhanghaowen <zhanghaowen12@huawei.com>
2023-01-10 21:23:02 +08:00
openharmony_ci
4c33bb33cf
!3464 TransProxyGetChanByChanId执行失败时,删除TransProxyCloseConnChannel操作
Merge pull request !3464 from 张再尧/master
2023-01-09 09:27:45 +00:00
zhangzaiyao
80e89b2888 TransProxyGetChanByChanId执行返回的失败时,chan->connId为非法无效值,删除TransProxyCloseConnChannel操作
Signed-off-by: zhangzaiyao <zhangzaiyao@huawei.com>
2023-01-05 19:16:14 +08:00
shixintao
c1608a8155 fix recv handshake and open failed don't disconnect device
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I6e9221cbeb28485875877ae81f5183f3bf4403d5
2023-01-05 09:01:11 +00:00
openharmony_ci
0703fb09a1
!3423 修复在OnP2pLinkDisconnected中删除已建立的P2P会话时,未考虑Meta组网场景的Bug
Merge pull request !3423 from zhangshen/z00414683
2022-12-27 09:41:07 +00:00
breakfei1
aefcfb72e2 P2P断连获取组网信息时,考虑Meta组网信息
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-12-27 14:39:30 +08:00
breakfei1
e942ea4b64 修复创建ProxyConnInfo时,item->connInfo的拷贝错误问题
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-12-27 14:28:04 +08:00
openharmony_ci
e573e933e3
!3417 修复软总线服务侧CreateSessionServer中对于会话重复判断的条件不合理
Merge pull request !3417 from 董鹏/master
2022-12-27 01:01:36 +00:00
dong-peng25
8a55cedc4d fix:Repair the unreasonable condition for judging the duplicate session in CreateSessionServer on the dsoftbus service side.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2022-12-26 20:43:57 +08:00
openharmony_ci
f1fa082328
!3416 直通通道创建Socket的处理由同步改为异步
Merge pull request !3416 from zhangshen/master
2022-12-26 12:05:46 +00:00
breakfei1
d798b58694 将直通通道创建Socket的处理由同步改为异步
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-12-26 15:55:48 +08:00
breakfei1
57368960ed 代理通道删除时,清零等待Message Ack的报文和文件分片
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-12-26 15:53:56 +08:00
openharmony_ci
11ee254204
!3348 fix:删除连接资源
Merge pull request !3348 from zhanghaowen/master
2022-12-19 06:54:00 +00:00
openharmony_ci
514abc09b6
!3384 修复TransListCopy函数返回前锁未释放
Merge pull request !3384 from 董鹏/master
2022-12-17 09:39:28 +00:00
dong-peng25
589fb088bc fix:Fix the lock not released before the TransListCopy function returns.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2022-12-16 18:18:14 +08:00
breakfei1
4cbdde47a5 修复裸通道会话关闭时的异常行为
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-12-15 20:29:05 +08:00
dong-peng25
4a1bebbda7 fix:Modify the problem that the business side may delete nodes during the list traversal, which may cause the crqash problem.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2022-12-13 22:17:15 +08:00
zhanghaowen
df03151640 fix:delete connid
Signed-off-by: zhanghaowen <zhanghaowen12@huawei.com>
2022-12-12 21:53:07 +08:00
openharmony_ci
7b38cef51a
!3341 Spelling error modification
Merge pull request !3341 from zyshg/master
2022-12-12 10:38:30 +00:00
YOUR_NAME
92d78b2f7e Spelling error modification
Signed-off-by: YOUR_NAME <zhangyu602@huawei.com>
2022-12-12 15:20:54 +08:00
wanjing
16b3924f53 CFI告警屏蔽
Signed-off-by: wanjing <wangjing468@huawei.com>
2022-12-12 11:29:21 +08:00
zhouyan
ad9807ecda 结构体成员命名大驼峰整改
Signed-off-by: zhouyan <zhouyan128@huawei.com>
Change-Id: I541474eb891e4da10d6311d9605c2675e7d5c8ce
2022-12-08 19:22:33 +08:00
openharmony_ci
9c48244b90
!3297 p2p链路下的Message session走直通通道处理
Merge pull request !3297 from zhangshen/master
2022-12-07 06:18:35 +00:00
verystone
31c23aca32 CFI告警问题处理
Signed-off-by: verystone <xudaqing@huawei.com>
2022-12-06 20:35:27 +08:00
breakfei1
9a215572f8 allow the message session use tcp direct channel
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-12-06 18:55:51 +08:00
openharmony_ci
36ad11f658
!3231 补充传输模块core目录ut
Merge pull request !3231 from 王移波/master
2022-12-05 03:23:36 +00:00
wanjing
215f3a7739 CFI告警处理
Signed-off-by: wanjing <wangjing468@huawei.com>
2022-12-02 17:02:58 +08:00
王静
9e332b4ff9
update core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_listener.c.
Signed-off-by: 王静 <wangjing468@huawei.com>
2022-12-01 08:29:08 +00:00
wanjing
92323bbbd8 CFI告警处理
Signed-off-by: wanjing <wangjing468@huawei.com>
2022-12-01 15:21:05 +08:00
wangyb0625
f47b7e68d8 强制类型转换
Signed-off-by: wangyb0625 <wangyibo38@huawei.com>
2022-12-01 09:07:45 +08:00
wanjing
d459f75de7 CFI告警清理
Signed-off-by: wanjing <wangjing468@huawei.com>
2022-11-30 17:41:36 +08:00
wanjing
7e1c56bd2f CFI告警处理
Signed-off-by: wanjing <wangjing468@huawei.com>
2022-11-29 20:28:52 +08:00
wanjing
62b58b9b07 Signed-off-by: wanjing <wangjing468@huawei.com>
CFI告警处理
2022-11-28 18:44:20 +08:00
wanjing
b680cdd698 Signed-off-by: wanjing <wangjing468@huawei.com>
使能CFI
2022-11-28 17:38:13 +08:00
wanjing
e92bf75847 Merge branch 'master' of gitee.com:jing-wang177/communication_dsoftbus 2022-11-28 17:18:55 +08:00
wanjing
5d9b69b3ae Signed-off-by: wanjing <wangjing468@huawei.com>
CFI使能
2022-11-28 17:17:49 +08:00
openharmony_ci
ea911d9f23
!2915 fix code review
Merge pull request !2915 from 郭春婷/dev_001
2022-11-28 09:13:09 +00:00
guo-chunting
bb26aa7a98 fix buscenter review code
Signed-off-by: guo-chunting <guochunting3@huawei.com>
Change-Id: I733dbe461b836041c8823c511ac89ee09a91ef28
2022-11-28 15:16:53 +08:00
dong-peng25
8df82611d5 fix:The ClientIpcOnChannelMsgReceived function judges success after SoftBusCalloc allocates memory.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2022-11-28 14:46:28 +08:00
YOUR_NAME
a58fbe66e2 fix: modify file format to unix
Signed-off-by: YOUR_NAME <fengyonghui@huawei.com>
2022-11-27 03:18:24 +00:00
wangying320
eece4c132a 文件格式转化为unix
Signed-off-by: wangying320 <wangying320@huawei.com>
2022-11-27 10:05:43 +08:00
samuel.shi
2022e7a4bf Merge branch 'master' of gitee.com:openharmony/communication_dsoftbus into master
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-11-26 10:40:06 +00:00
openharmony_ci
38df11d0ac
!3132 添加传输代理通道测试用例
Merge pull request !3132 from samuel.shi/master
2022-11-26 10:34:12 +00:00
openharmony_ci
86d9c3afb4
!3138 统一规则修改为UNIX格式3
Merge pull request !3138 from 王移波/master
2022-11-26 09:42:23 +00:00
samuel.shi
a449419242 增加传输测试用例
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-11-26 09:33:09 +00:00
wangyb0625
a380635403 统一规则修改为UNIX格式3
Signed-off-by: wangyb0625 <wangyibo38@huawei.com>
2022-11-26 15:23:47 +08:00
samuel.shi
f77cdf728c 增加传输代理通道传输用例
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-11-26 15:01:19 +08:00
wangying320
613e032f41 文件格式转为unix
Signed-off-by: wangying320 <wangying320@huawei.com>
2022-11-26 11:41:43 +08:00
openharmony_ci
533bcf2434
!3112 修复:dsoftbus在对报文加密后对密钥清零 和 删除br连接问题
Merge pull request !3112 from xuhengxiang/master
2022-11-26 01:05:14 +00:00
xuhengxiang
fa28f1c19b fix: clear sessionkey after encrypt
Signed-off-by: xuhengxiang <xuhengxiang@huawei.com>
2022-11-25 20:53:32 +08:00
wangying320
e717984ed9 文件整改为unix
Signed-off-by: wangying320 <wangying320@huawei.com>
2022-11-25 16:24:33 +08:00
openharmony_ci
84c9f471d7
!3071 将代理通道下字节数据的MTU由4KB改为1MB
Merge pull request !3071 from zhangshen/master
2022-11-25 03:32:26 +00:00
breakfei1
7a7d1ee27e 将代理通道的MTU由4KB扩大到1MB
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-24 21:31:46 +08:00
fangdong7
4157c804a1 fix:Modify the file format
Signed-off-by: fangdong7 <fangdong7@huawei.com>
2022-11-24 08:05:14 +00:00
openharmony_ci
eb88a74ad4
!3026 修改commiter意见和安全问题排查
Merge pull request !3026 from xuhengxiang/master
2022-11-23 14:23:42 +00:00
xuhengxiang
7093c204ca fix: modify commiter opinion and security check
Signed-off-by: xuhengxiang <xuhengxiang@huawei.com>
2022-11-23 10:29:21 +08:00
openharmony_ci
95a5f81cdf
!2996 删除多余lane代码和测试用例
Merge pull request !2996 from buyi/master
2022-11-22 14:43:32 +00:00
breakfei1
9fc9c1b99f 增加对代理通道上消息报文的长度的校验处理
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-22 20:05:35 +08:00
openharmony_ci
b24c3f418f
!2988 【传输】新增UT用例
Merge pull request !2988 from 王启龙/master
2022-11-22 10:19:35 +00:00
breakfei1
e039e87dd7 fix the bug of proxy channel msg receive process
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-22 14:52:48 +08:00
wanglei744
0ebd1e0cb4 delete redundant codes
Signed-off-by: wanglei744 <wanglei744@huawei.com>
2022-11-21 21:26:09 +08:00
wangqilong2
5b3a3fad3c 【传输】新增UT测试用例
Signed-off-by: wangqilong2 <wangqilong2@huawei.com>
2022-11-21 17:25:07 +08:00
breakfei1
063d4887a6 取消对消息的无效校验取消对消息的无效校验取消对消息的无效校验
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-21 12:01:30 +08:00
张再尧
8344964858 Merge branch 'master' of gitee.com:openharmony/communication_dsoftbus into master
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-11-18 03:06:14 +00:00
breakfei1
283a366b4a add the constrain of that only auth channel can receive plain text data
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-17 15:03:19 +08:00
张再尧
30dfbae65e Merge branch 'master' of gitee.com:openharmony/communication_dsoftbus into master
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-11-16 02:20:13 +00:00
openharmony_ci
9965659cbf
!2880 增添proxy通道 发送接收 pid uid
Merge pull request !2880 from xuhengxiang/master
2022-11-15 14:05:52 +00:00
xuhengxiang
92314afa93 fix:add proxy send and recv pid uid
Signed-off-by: xuhengxiang <xuhengxiang@huawei.com>
2022-11-15 08:19:21 +08:00
breakfei1
2c1dc137f5 fix the udp death callback bug when delete udp channel
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-11 15:22:08 +08:00
张再尧
802be8b847
update core/transmission/trans_channel/auth/src/trans_auth_manager.c.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-11-11 07:10:40 +00:00
zhangzaiyao
1926b1eeab cppcheck告警处理
Signed-off-by: zhangzaiyao <zhangzaiyao@huawei.com>
2022-11-11 11:46:57 +08:00
breakfei1
4e64e7bc57 fix the bug when the function GetAppInfo failed
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-10 14:18:27 +08:00
breakfei1
835cab48dc check the proxy negotiation msg is valid
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-07 22:01:09 +08:00
breakfei1
9c12367324 修复代理通道的服务端主动关闭会话时,连接未断开的问题
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-07 12:47:21 +08:00
openharmony_ci
42eb729817
!2792 【fixbug】UDP协商过程异常分支清理业务侧通道信息
Merge pull request !2792 from samuel.shi/master
2022-11-04 00:58:48 +00:00
openharmony_ci
076b7c532e
!2804 [bugfix]增加针对代理通道中apptype为AuthType场景的session限制
Merge pull request !2804 from samuel.shi/cherry-pick-1667468136
2022-11-03 13:06:13 +00:00
shixintao
49a48e4e46 fixed e3d8dda from https://gitee.com/stonesimilar/communication_dsoftbus_2/pulls/2792
add recv handshake safe sessionname limit on auth apptype
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I42b79d45abe9537f3fde39a2984762dd1e2a4ca5
2022-11-03 10:59:56 +00:00
openharmony_ci
5edb1aaafb
!2799 修复在基于蓝牙传输的认证通道上发送字节数据失败的问题
Merge pull request !2799 from zhangshen/master
2022-11-03 09:53:16 +00:00
breakfei1
0ef391211e 修复进程A死亡回调关闭UDP通道时,进程B正在打开UDP通道可能造成的死锁
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-03 14:55:19 +08:00
breakfei1
6cd503d08b 修复打开蓝牙认证通道时,数据发送失败的问题`:
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-03 13:20:03 +08:00
shixintao
e22a12a5ba fix udp exchange return error not close udp channel on recv request
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I492ea20d55b0f952bd0799c08384a4efaa42644d
2022-11-02 10:17:17 +00:00
breakfei1
8d5169ff7d 修复参数传递出错的问题
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-11-02 11:14:09 +08:00
samuel.shi
d43226b167 Merge branch 'master' of gitee.com:openharmony/communication_dsoftbus into master
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-10-27 03:04:02 +00:00
shixintao
f01fa8717d add transmission code cover ut test
Signed-off-by: samuel.shi <shixintao1@huawei.com>
Change-Id: Idb0e9f261ea6186ea27189d4f2a415619065c6a0

Change-Id: If9a34c14302a824fd711acfabab9c91f7b63c27a
2022-10-27 03:02:54 +00:00
openharmony_ci
a9392fc6a7
!2674 修复传输静态检查告警
Merge pull request !2674 from samuel.shi/master
2022-10-26 09:54:54 +00:00
openharmony_ci
de15b82a20
!2656 [fixbug]在BR/BLE场景下 接受认证回调通知失败问题
Merge pull request !2656 from samuel.shi/master
2022-10-26 09:29:57 +00:00
openharmony_ci
89a2a6c6aa
!2625 校验OpenSession指定的业务类型和传输数据的业务类型是否匹配
Merge pull request !2625 from zhangshen/DTS2022102012563
2022-10-26 08:18:51 +00:00
breakfei1
82930e9021 check the business type between open session and send data
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-10-26 15:42:09 +08:00
samuel.shi
4cfd8f257d
修改静态代码告警
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-10-26 07:39:45 +00:00
openharmony_ci
1b61e9fddf
!2661 IT6传输模块分支覆盖率专项
Merge pull request !2661 from 张再尧/master
2022-10-26 04:01:38 +00:00
张再尧
7fea91683c
update core/transmission/trans_channel/udp_negotiation/src/trans_udp_negotiation.c.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-10-25 15:43:56 +00:00
张再尧
df60a42301
update core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_listener.c.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-10-25 15:31:45 +00:00
张再尧
26c331118a
update core/transmission/trans_channel/udp_negotiation/src/trans_udp_negotiation.c.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-10-25 13:34:34 +00:00
shixintao
384061e536 fix notify auth success failed on br/ble
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I3b36a6b3571cddf1ec804414418730e7eb7aa979
2022-10-25 12:39:23 +00:00
张再尧
3c6513ba9f
update core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_message.c.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-10-25 12:09:27 +00:00
张再尧
f2f7ff3e02
update core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_listener.c.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-10-25 12:07:52 +00:00
张再尧
f0d1d8e723
update core/transmission/trans_channel/udp_negotiation/src/trans_udp_negotiation_exchange.c.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
2022-10-25 12:06:22 +00:00
zhangzaiyao
f192ec7836 IT6版本传输模块分支覆盖率
Signed-off-by: zhangzaiyao <zhangzaiyao@huawei.com>
2022-10-25 19:55:03 +08:00
xuhengxiang
1386732a93 fix:add Descriptor words
Signed-off-by: xuhengxiang <xuhengxiang@huawei.com>
2022-10-25 17:38:59 +08:00
openharmony_ci
061d3b0892
!2649 【优化】补充传输用例
Merge pull request !2649 from samuel.shi/master
2022-10-25 08:53:10 +00:00
shixintao
0cf1a1e19d fix transmission UT test code cover
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I5dd7541836c74a71ce00bf2f6b875aaaa4638a8b
2022-10-25 07:16:54 +00:00
openharmony_ci
815a57c830
!2647 修复TransProxyNoSubPacketProc函数在MSVC编译器中出现的编译问题
Merge pull request !2647 from zhangshen/master
2022-10-25 06:08:11 +00:00
breakfei1
ecad7a3925 fix the compile error
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-10-25 13:03:48 +08:00
openharmony_ci
ca65f9405b
!2591 软总线的传输模块支持多个应用注册相同的PkgName
Merge pull request !2591 from zhangshen/master
2022-10-25 03:37:22 +00:00
breakfei1
8a9f2910e6 iiipport two differrent process use the same pkgName communitcate with
softbus transmission

Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-10-24 20:05:12 +08:00
xuhengxiang
b309fd5b6c fix:add permission and modify API name
Signed-off-by: xuhengxiang <xuhengxiang@huawei.com>
2022-10-21 17:34:09 +08:00
zhanghaowen
d7e982460a fix:openauthsession support meta
Signed-off-by: zhanghaowen <zhanghaowen12@huawei.com>
2022-10-19 04:27:24 -07:00
zhangzaiyao
9a6cee7460 cppcheck整改
Signed-off-by: zhangzaiyao <zhangzaiyao@huawei.com>
2022-10-18 15:29:06 +08:00
zhanghaowen
a7c14df201 feat:Opensession ccmp
Signed-off-by: zhanghaowen <zhanghaowen12@huawei.com>
2022-10-17 21:33:00 -07:00
openharmony_ci
43716e95dc
!2563 增添传输模块敏感权限监听功能
Merge pull request !2563 from xuhengxiang/master
2022-10-18 03:06:38 +00:00
xuhengxiang
0f62c3693c fix:add permission monitor function
Signed-off-by: xuhengxiang <xuhengxiang@huawei.com>
2022-10-17 22:32:23 +08:00
wanglei744
07da6ec752
update core/transmission/trans_channel/manager/src/trans_channel_manager.c.
Signed-off-by: wanglei744 <wanglei744@huawei.com>
2022-10-17 08:06:27 +00:00
wanglei744
ce797e417f
update core/transmission/trans_channel/manager/src/trans_channel_manager.c.
Signed-off-by: wanglei744 <wanglei744@huawei.com>
2022-10-17 07:00:34 +00:00
wanglei744
70993a9aa2
update core/transmission/trans_channel/manager/src/trans_channel_manager.c.
Signed-off-by: wanglei744 <wanglei744@huawei.com>
2022-10-17 06:59:37 +00:00
wanglei744
877e451c4e
update core/transmission/trans_channel/manager/src/trans_channel_manager.c.
Signed-off-by: wanglei744 <wanglei744@huawei.com>
2022-10-17 06:13:59 +00:00
wangxiaohui
1c387302b4 组网代码修改
Signed-off-by: wangxiaohui <wangxiaohui41@huawei.com>
2022-10-16 02:05:27 +08:00
y30033032
d7066cba97 add auth meta code
Signed-off-by: y30033032 <yuanmeng36@huawei.com>
2022-10-15 19:57:37 +08:00
breakfei1
db203d59b3 add a rule of that only client can do disconnecttion process
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-10-14 22:08:52 +08:00
openharmony_ci
69bafeebc4
!2537 modify codex
Merge pull request !2537 from xwh/master
2022-10-13 12:39:27 +00:00
shixintao
f274e4403c fix receive udp request msg, if pkgname not exist and don't reponse reply bug
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I52c19925eefd6b06dfccf39d9a7ac77e5ce09383
2022-10-13 02:36:13 +00:00
xwh
6de91fe215
modify codex
Signed-off-by: xwh <jiewenhao@huawei.com>
2022-10-13 02:33:16 +00:00
shixintao
a7b282ce8a fix p2p conn stuck on channel open failed
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I3710db86e6eb78cbcfe3cfc38bc814c030f20e8e
2022-10-11 08:56:40 +00:00
18734571586
47c114504d 华为分享组网部分
Signed-off-by: 18734571586 <wangxiaohui41@huawei.com>
2022-10-11 00:34:27 +08:00
breakfei1
088a4f35d8 add UDP/TCP protocal negotiation in file transmition
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-10-09 20:51:47 +08:00
openharmony_ci
d0ad24b9d7
!2477 补充输业务新增分支的UT测试代码
Merge pull request !2477 from zhangshen/master
2022-09-29 10:20:38 +00:00
breakfei1
8ec2421c6a ``` UT of transmission
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-09-29 14:22:38 +08:00
openharmony_ci
686363fec8
回退 'Pull Request !2459 : 补充传输业务新增分支的UT' 2022-09-29 04:05:09 +00:00
openharmony_ci
bed392f031
!2459 补充传输业务新增分支的UT
Merge pull request !2459 from zhangshen/master
2022-09-29 02:20:40 +00:00
breakfei1
1c8792ee2a Add UT of transmission
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-09-29 09:17:51 +08:00
openharmony_ci
d816b3d62d
!2454 【优化】解耦锁范围太大问题
Merge pull request !2454 from samuel.shi/master
2022-09-28 09:27:55 +00:00
shixintao
542d0724f2 optimization lock range too large bug
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: I74aa12d5d220236b6dc83d5bcc38f856e3228c2f
2022-09-27 12:11:26 +00:00
zhanghaowen
6b3e995570 Merge branch 'master' of gitee.com:openharmony/communication_dsoftbus into master
Signed-off-by: zhanghaowen <zhanghaowen12@huawei.com>
2022-09-26 13:51:04 +00:00
openharmony_ci
f1b3d6bcc9
!2421 [安全]传输模块安全排查
Merge pull request !2421 from samuel.shi/master
2022-09-26 13:37:50 +00:00
zhanghaowen
584562432a fix:transport cleancode
Signed-off-by: zhanghaowen <zhanghaowen12@huawei.com>
2022-09-26 20:33:36 +08:00
openharmony_ci
cbc8f79d5d
!2420 新增wifi/蓝牙掉线时的UDP通道处理流程
Merge pull request !2420 from zhangshen/master
2022-09-26 06:23:44 +00:00
samuel.shi
483c727b5f
安全整改
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-09-26 04:19:33 +00:00
breakfei1
fbf8315d73 Add udp channel process in lnn node off line
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-09-26 09:17:41 +08:00
shixintao
5facb30e66 fix safety rectification of code bug
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: Id036d63d94acc0923c56762e50f7abbc3074ed4c
2022-09-25 10:07:16 +00:00
openharmony_ci
ffa613f33c
!2377 公共基础库老路径及部件依赖清零
Merge pull request !2377 from chenchunlin4/master
2022-09-23 11:49:42 +00:00
chenchunlin4
aa907a61cf 公共基础库老路径及部件依赖清零
Signed-off-by: chenchunlin4 <chenchunlin4@huawei.com>
2022-09-22 16:12:35 +08:00
chenchunlin4
34d0771743 公共基础库老路径及部件依赖清零
Signed-off-by: chenchunlin4 <chenchunlin4@huawei.com>
2022-09-22 14:47:18 +08:00
openharmony_ci
365cde8fc7
!2365 [bugfix] 修复客户端异常退出后,软总线服务异常退出问题
Merge pull request !2365 from samuel.shi/master
2022-09-22 01:34:41 +00:00
samuel.shi
f1ac1b8bfb
[bugfix] 修复重复释放问题
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-09-21 07:53:40 +00:00
samuel.shi
618128276b
修复代理通道重复删除节点问题
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-09-21 06:52:06 +00:00
bingo
d0ddd8077f fix log
Signed-off-by: bingo <wangbaoguang@huawei.com>
2022-09-20 18:35:48 +08:00
bingo
43e96a3cbe fix bug
Signed-off-by: bingo <wangbaoguang@huawei.com>
2022-09-20 18:33:31 +08:00
bingo
615c36e3ee AuthGetLatestIdByUuid just by OpenSession
Signed-off-by: bingo <wangbaoguang@huawei.com>
2022-09-14 14:49:57 +08:00
dong-peng25
85808330a8 fix:When generating seqId, the lock is handled incorrectly.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
2022-09-07 15:41:11 +08:00
breakfei1
e193653a8c Add Error Response Msg Process
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-09-06 15:37:05 +08:00
liangliang_ma
35b673e538 modify complie warnings.
Signed-off-by: liangliang_ma <maliangliang1@huawei.com>
Change-Id: I7562a2a346e4d2a6250012688b4f9fd23839abea
2022-09-03 10:20:58 +00:00
liangliang_ma
d3e3da5b95 fixed 0340dfe from https://gitee.com/liangliang_ma/communication_dsoftbus/pulls/2248
refactor auth module

Signed-off-by: liangliang_ma <maliangliang1@huawei.com>
2022-09-03 02:15:29 +00:00
zianed
04400f2604
回退 'Pull Request !2248 : 认证模块重构' 2022-09-02 12:34:34 +00:00
liangliang_ma
0340dfe1e5 refactor auth module
Signed-off-by: liangliang_ma <maliangliang1@huawei.com>
2022-09-02 07:53:17 +00:00
liangliang_ma
e6e4b2b3e7 add acl event monitor
Signed-off-by: liangliang_ma <maliangliang1@huawei.com>
2022-09-02 06:22:39 +00:00
openharmony_ci
c5fd857376
!2267 解决软总线传输模块创建UDP通道时,分配的channelId相同导致通道冲突的问题
Merge pull request !2267 from zhangshen/master
2022-08-30 11:45:02 +00:00
breakfei1
5775b239eb fix the channel Id conflict problem on WinPC
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-08-30 17:51:24 +08:00
wanglei744
51329e89df Feat: Qos Ripple Policy
Signed-off-by: wanglei744 <wanglei744@huawei.com>
2022-08-30 11:20:03 +08:00
wanglei744
8c1fb1a39b Feat: Qos Ripple Policy
Signed-off-by: wanglei744 <wanglei744@huawei.com>
2022-08-30 01:57:21 +08:00
breakfei1
ce033f7bed make OnOpenSessionFail remove the mutex lock protect
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-08-27 18:02:52 +08:00
openharmony_ci
80c93a8296
!2223 增加认证通道限制条件
Merge pull request !2223 from samuel.shi/master
2022-08-24 13:17:53 +00:00
samuel.shi
3814f2fdc8
增加认证通道限制条件
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-08-24 12:14:50 +00:00
陈博通
afb250cd71
回退 'Pull Request !2124 : fix ble join network issue' 2022-08-24 01:25:58 +00:00
breakfei1
eb6e376487 Fix the link fault of L0 device
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-08-19 10:34:31 +08:00
breakfei1
833a05e0a2 add fault judgement and process
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-08-19 09:47:56 +08:00
breakfei1
d878020eae add lock protection in creating seq id
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-08-18 15:59:27 +08:00
openharmony_ci
6f7ae9a31e
!2124 fix ble join network issue
Merge pull request !2124 from 陈博通/master
2022-08-18 06:26:59 +00:00
chenbotong
6a46959310 update log level from ERR to INFO
Signed-off-by: chenbotong <chenbotong1@huawei.com>
2022-08-18 11:44:08 +08:00
chenbotong
ac51ccb51f fix ble join network issue
Signed-off-by: chenbotong <chenbotong1@huawei.com>
2022-08-18 10:56:24 +08:00
chenbotong
4e5b187168 fix ble join network issue
Signed-off-by: chenbotong <chenbotong1@huawei.com>
2022-08-18 08:46:34 +08:00
chenbotong
437c21129a fix BLE join network issue
Signed-off-by: chenbotong <chenbotong1@huawei.com>
2022-08-17 21:19:53 +08:00
openharmony_ci
da5130d113
!2111 【轻量级 PR】:修复BR组网下OpenSession失败问题
Merge pull request !2111 from yangliu/N/A
2022-08-17 07:16:14 +00:00
honglingin
cc892beaab fix warning: unused parameter channelType 18712103628@163.com
Signed-off-by: honglingin <18712103628@163.com>
2022-08-16 23:38:22 +08:00
yangliu
a450207387
修复BR组网下OpenSession失败问题
Signed-off-by: yangliu <yangliu158@huawei.com>
2022-08-16 12:10:06 +00:00
breakfei1
aaf5eeabd1 修复接收到通道关闭的消息后,获取pkgName出错的问题
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
2022-08-15 15:57:03 +08:00
openharmony_ci
eb2b581560
!2062 取消CloseUdp通道时冗余逻辑
Merge pull request !2062 from samuel.shi/master
2022-08-09 10:01:17 +00:00
samuel.shi
0c999ec07c
[fixbug]udp channel closed not need get pkgName by sessionName
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-08-09 09:20:42 +00:00
samuel.shi
491d89d554
[fixbug]udp channel closed not need get pkgName by sessionName
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-08-09 09:13:42 +00:00
maliangliang
8b483cb0a8
客户端死亡时清理全部的SessionServer
Signed-off-by: liangliang_ma <maliangliang1@huawei.com>
2022-08-08 13:35:08 +00:00
openharmony_ci
c66fc19312
!2016 解决cJSON内存泄漏的问题
Merge pull request !2016 from yangliu/master
2022-08-08 09:06:43 +00:00
samuel.shi
9a7a7761e5
disable other protocol type
Signed-off-by: samuel.shi <shixintao1@huawei.com>
2022-08-05 03:59:01 +00:00
shixintao
22c05b0e32 [fixbug] fix close udp channel failed after death callback
Signed-off-by: samuel.shi <shixintao1@huawei.com>

Change-Id: Ibdfb41ae882d4f09d2a67ab1a4ffab5dfb1f2550
2022-08-03 10:06:30 +00:00
y500286920
f135f0337f 解决cJSON内存泄露的问题
Signed-off-by: y500286920 <yangliu158@huawei.com>
2022-08-03 11:20:41 +08:00
y500286920
dbebc8cabc 解决cJSON内存泄露的问题
Signed-off-by: y500286920 <yangliu158@huawei.com>
2022-08-03 11:11:06 +08:00
y500286920
0c1e95eba3 解决cJSON内存泄露的问题
Signed-off-by: y500286920 <yangliu158@huawei.com>
2022-08-03 11:04:36 +08:00
y500286920
0cfb35e143 解决cJSON内存泄露的问题
Signed-off-by: y500286920 <yangliu158@huawei.com>
2022-08-03 10:24:34 +08:00
y500286920
057807ee4b 解决cJSON内存泄露的问题
Signed-off-by: y500286920 <yangliu158@huawei.com>
2022-08-03 09:57:08 +08:00
y500286920
8637be03c7 解决cJSON内存泄露的问题
Signed-off-by: y500286920 <yangliu158@huawei.com>
2022-08-03 09:23:25 +08:00