Commit Graph

134 Commits

Author SHA1 Message Date
luwenpeng
d00af3a2ac bugfix: TSG-19996 parse the packet as GTP-U when source port or dest port is 2152. v1.2.11-20240319 2024-03-19 17:36:46 +08:00
luwenpeng
e1146eab2e SCE增加session new & free的监控指标 v1.2.10-20240307 2024-03-07 10:38:05 +08:00
luwenpeng
d9aa9e5079 将Packet Max Layer修改为32 2024-03-07 09:44:52 +08:00
luwenpeng
551bb06590 SCE增加raw & decrypted traffic的监控指标 v1.2.9-20240306 2024-03-06 11:57:07 +08:00
luwenpeng
b295aacf0e 更改 mrzcpd -> mrzcpd-corei7-4.* v1.2.8-20240301 2024-03-01 23:47:22 +08:00
luwenpeng
93d659601c TSG-19631 SCE Support Datapath Packet Trace 2024-03-01 16:14:48 +08:00
wangmenglan
b4e0025e30 bugfix TSG-18106:删除SCE网关默认值127.0.0.1 v1.2.7-20231225 2023-12-25 14:45:02 +08:00
luwenpeng
744a020a07 SCE适配libmaat4->libmaatframe动态库名称的变更 v1.2.6-20231220 2023-12-19 14:55:57 +08:00
luwenpeng
030c37888c 关闭ASAN以支持Test Case
* field_stat2退出时未释放句柄造成ASAN报错LeakSanitizer导致测试用例未通过
v1.2.5-20231205
2023-12-05 19:29:52 +08:00
luwenpeng
6cb8ba704d 调整控制报文头的长度 2023-12-05 18:41:48 +08:00
luwenpeng
94ef07c3f3 TSG-17823 tsg-service-chaining-engines适配SERVICE_CHAINING_COMPILE表变更 2023-12-04 17:57:45 +08:00
luwenpeng
5a569f0781 perf: 优化通过Session ID查询流表的逻辑 v1.2.4-20231129 2023-11-29 14:50:02 +08:00
luwenpeng
75237e905a perf: 优化Session Active的处理逻辑 2023-11-29 11:21:07 +08:00
luwenpeng
23dbb7720c 修改packet_io API的函数命名 2023-11-29 09:52:20 +08:00
luwenpeng
a647684704 perf: 将parse_l4的next_proto从uint16_t调整为uint8_t, 避免隐式类型转换 2023-11-28 17:24:57 +08:00
luwenpeng
6d1a69aea6 perf: 将vxlan_set_opt/vxlan_get_opt定义为inline 2023-11-28 17:23:13 +08:00
luwenpeng
95abad41b5 perf: 优化通过四元组查询流表的实现(查表前先根据端口预判是否需要翻转四元组) 2023-11-28 16:36:58 +08:00
luwenpeng
699be92862 bypass_traffic只在nf_sce网卡生效 2023-11-24 18:53:58 +08:00
luwenpeng
eedd18183e perf: 优化session_ctx减少内存占用; 优化global metrics的结构 2023-11-24 15:40:58 +08:00
luwenpeng
bda50d79af perf: 删除无效代码;修改变量命名;减少内存分配 2023-11-24 11:37:24 +08:00
luwenpeng
cbac7fea29 maat_plugin_table_get_ex_data的key从pointer改为integer以减少CPU的占用 2023-11-23 16:36:29 +08:00
luwenpeng
b48b58cd4c perf: 减少selected_sf_init的调用以降低CPU的使用 2023-11-23 11:20:50 +08:00
luwenpeng
4d630f7298 perf: release版本减少four_tuple_tostring和selected_chaining_bre的调用 2023-11-23 11:04:08 +08:00
luwenpeng
81679c4d22 perf: 减少marsio_buff_is_ctrlbuf的调用以提升性能 2023-11-22 16:33:52 +08:00
luwenpeng
d981c59dba perf: 减少marsio_buff_datalen的调用以提升性能 2023-11-22 16:18:04 +08:00
luwenpeng
8b714a5924 perf: 优化metrics的性能
* 使用自定义的HASH_KEYCMP代替memcmp, 优先比较sf_profile_id
    * 减少sf_metrics_inc函数入参的个数
2023-11-22 14:49:30 +08:00
luwenpeng
c3bd2fb939 perf: 将marsio_send_burst_with_options替换成marsio_send_burst和marsio_buff_set_metadata(MR_BUFF_REHASH_INDEX)以降低CPU 2023-11-21 19:08:30 +08:00
luwenpeng
332fe52650 perf: action_sf_chaining调用的小函数定义为inline 2023-11-21 11:20:48 +08:00
luwenpeng
b3841fcaff perf: VLAN封装在Eth头后插入VLAN头时memmove耗时较高 2023-11-21 10:46:00 +08:00
luwenpeng
dc305adb3b SCE适配Firewall控制报文变更: Reset All控制报文的mpack->Session ID为0,mbuffer->Payload Offset为0 v1.2.3-20231120 2023-11-20 16:56:49 +08:00
luwenpeng
134d2c82b7 TSG-17749 tsg-service-chaining-engine更改VXLAN Frame源端口的计算方式 2023-11-20 10:31:21 +08:00
luwenpeng
83f9880ff0 使用自定义的udp_hdr兼容不同的编译环境 v1.2.2-20231116 2023-11-16 11:26:57 +08:00
luwenpeng
9601137937 TSG-17728 tsg-service-chaining-engine增加日志字段 2023-11-16 11:00:23 +08:00
luwenpeng
b4c688c87c 重构Packet Parser 2023-11-14 18:04:02 +08:00
luwenpeng
07f41fc298 perf: 优化data packet的解析 v1.2.1-20231108 2023-11-08 11:01:03 +08:00
luwenpeng
8fe574633b perf: rename addr_tuple4 to four_tuple 2023-11-08 10:20:27 +08:00
luwenpeng
3627addb85 perf: 优化策略扫描 2023-11-07 10:11:26 +08:00
luwenpeng
0753e8018c TSG-13684 tsg-service-chaining-engine使用VLAN封装Packet并执行Traffic Mirroring v1.2.0-20231101 2023-10-31 17:08:25 +08:00
luwenpeng
18561bc4fe perf: gmock marsio 2023-10-23 19:27:59 +08:00
luwenpeng
5f4ec8b4a9 perf: Add default dst MAC for VXLAN encapsulate when disable health_check_module 2023-10-23 19:27:59 +08:00
luwenpeng
a49805a019 perf: Add min_timeout_ms on marsio_poll_wait(); Add thread local rx_buffs on marsio_recv_burst() 2023-10-23 19:27:59 +08:00
luwenpeng
8f11f8381d perf: Optimize ATOMIC_READ 2023-10-23 19:27:59 +08:00
luwenpeng
8d1a9b3be5 perf: Optimize the output of global metrics to reduce atomic operations 2023-10-23 19:27:59 +08:00
luwenpeng
4f870de963 perf: Reduce str_to_mac() and inet_addr() calls 2023-10-23 19:27:59 +08:00
luwenpeng
49ccb5149f perf: Optimize IPID (Avoid the futex of rand() while ensuring that IPID increases monotonically) 2023-10-23 19:27:59 +08:00
luwenpeng
db517610e0 bugfix: send packet enable rehash v1.1.0-20231017 2023-10-15 23:10:00 +08:00
luwenpeng
2d9fecdf0f perf: 使用session_id替换rand(), 避免rand()中futex的开销 v1.0.18-20231011 2023-10-11 15:20:43 +08:00
luwenpeng
b6d80d130c perf: 从时间缓存中获取时间戳 2023-10-11 15:20:43 +08:00
luwenpeng
c1d6056715 perf: 优化日志输出 2023-10-11 15:20:43 +08:00
wangmenglan
f6450c704e 修复ETH_P_8021AD协议解析 v1.0.16-20230908 2023-09-08 14:00:06 +08:00