zhengchao
|
c1dce174f2
|
编写CMakeLists编译pangu http
|
2018-09-14 16:35:20 +08:00 |
|
zhengchao
|
6f11367a64
|
vendor中增加kafka客户端
|
2018-09-14 16:35:19 +08:00 |
|
zhengchao
|
50e0afc370
|
完成replace逻辑的编写,适配新的http解析层接口。
|
2018-09-14 16:35:19 +08:00 |
|
zhengchao
|
29822ed991
|
完成reject、redirect、whitelist动作的开发。
|
2018-09-14 16:35:18 +08:00 |
|
zhengchao
|
a674d56d60
|
确定pangu日志发送接口
|
2018-09-14 16:35:18 +08:00 |
|
崔一鸣
|
a8fce0770f
|
fix bugs
|
2018-09-14 14:10:55 +08:00 |
|
崔一鸣
|
58a525215b
|
change int to size_t
|
2018-09-14 14:10:55 +08:00 |
|
崔一鸣
|
1fa1af6ce3
|
fix bugs
|
2018-09-14 14:10:55 +08:00 |
|
崔一鸣
|
03c48633b0
|
refactor ssl_client_hello_parse
|
2018-09-14 14:10:55 +08:00 |
|
Lu Qiuwen
|
3ad9a134c2
|
修正libevent编译sample时的错误
|
2018-09-14 13:48:22 +08:00 |
|
Lu Qiuwen
|
12b96da725
|
修正libevent连接openssl的问题
|
2018-09-14 13:48:22 +08:00 |
|
Lu Qiuwen
|
8538353f3c
|
修正http_session部分函数的定义
* 去掉http_session_passthough函数,该函数与detach意义重复,不再保留。
* detach不需要session的可写权限,故参数修正为const类型。
|
2018-09-14 11:34:40 +08:00 |
|
Lu Qiuwen
|
e486acccbe
|
修正libevent静态编译脚本,原实现在CI上无法找到openssl的头文件.
|
2018-09-14 11:15:15 +08:00 |
|
Lu Qiuwen
|
99b5184066
|
增加.gitlab-ci.yml,支持基本的持续集成,避免编译错误。
|
2018-09-14 10:25:46 +08:00 |
|
Lu Qiuwen
|
0ca767c593
|
修正http_session部分函数的定义
* 去掉http_session_passthough函数,该函数与detach意义重复,不再保留。
* detach不需要session的可写权限,故参数修正为const类型。
|
2018-09-12 15:56:44 +08:00 |
|
Lu Qiuwen
|
9e59110f8a
|
变更HTTP业务层回调函数定义,增加session系列操作方法定义及虚接口实现。
* 不提供业务层针对单个数据包(段)的处理函数(返回值),业务层只能对单个session定义操作;
* 通过session的方法(函数)通知解析层对该session的处理方法。
|
2018-09-12 15:29:35 +08:00 |
|
Lu Qiuwen
|
74a4d38fba
|
修正SSL_STREAM中部分函数因promise_ctx_destory回调函数类型变更引起的编译错误。
|
2018-09-10 16:40:25 +08:00 |
|
zhengchao
|
c213d3b72a
|
确定pangu日志发送接口
|
2018-09-09 15:23:23 +08:00 |
|
崔一鸣
|
f4c6e75614
|
add cjson library
|
2018-09-07 17:49:15 +08:00 |
|
崔一鸣
|
b5a937bad6
|
fix memory leak bugs
|
2018-09-07 17:49:15 +08:00 |
|
Lu Qiuwen
|
b6a2250786
|
完成HTTP请求侧解析调试,可以解析请求的URL。
* 增加插件管理功能(简单实现),可以调用解析层插件;
* 调整HTTP请求侧解析回调函数实现;
* 增加hexdump工具函数;
|
2018-09-07 17:27:58 +08:00 |
|
Lu Qiuwen
|
e31ecbb8db
|
完成HTTP解析请求侧解析基本流程
* 集成HTTP Parser,解析HTTP请求侧数据;
* 增加tfe_http.h中请求方法、应答状态的常量定义
* 变更tfe_http.h中HTTP头部标准定义,去掉非头部字段,增加TFE前缀避免冲突。
|
2018-09-07 17:27:58 +08:00 |
|
zhengchao
|
89b79eab60
|
修复ssl_stream_new中不必要的getpeername以及由此造成的写越界。
|
2018-09-07 15:19:28 +08:00 |
|
zhengchao
|
3810d4d1f9
|
promise_ctx_destroy_cb的参数应该为void*ctx。
|
2018-09-07 10:44:44 +08:00 |
|
zhengchao
|
6bc0409756
|
修复ssl session缓存中对openssl的不正确使用。
|
2018-09-05 19:49:37 +08:00 |
|
zhengchao
|
bec5631a7d
|
ssl stream转发测试通过。
|
2018-09-05 11:36:22 +08:00 |
|
zhengchao
|
7e94b3cb89
|
消除tfe_utils.之外的编译警告
|
2018-09-05 10:38:27 +08:00 |
|
liuyang
|
115c6d4c62
|
1‘全局变量合并为一个;2、发包fd改为阻塞模式;3、地址结构体更改
|
2018-09-04 18:50:47 +08:00 |
|
zhengchao
|
af6340becf
|
完成和key keeper的联调。
|
2018-09-04 18:13:05 +08:00 |
|
崔一鸣
|
636e41cfca
|
add feature-key-keeper
|
2018-09-04 15:47:41 +08:00 |
|
zhengchao
|
b87a9db3dc
|
Merge branch 'feature-decrypt-mirroring' of git.mesalab.cn:tango/tfe into feature-decrypt-mirroring
# Conflicts:
# plugin/business/decrypt-mirroring/include/internal/mirror_stream.h
# plugin/business/decrypt-mirroring/include/internal/mirror_stream_inl.h
# plugin/business/decrypt-mirroring/src/decrypt_mirror_plugin.cpp
# plugin/business/decrypt-mirroring/src/mirror_stream.cpp
|
2018-09-04 11:38:25 +08:00 |
|
zhengchao
|
4d1e9034c9
|
适配tfe_stream_addr;为了编译通过,注释mirror_stream.cpp中的代码;
|
2018-09-04 11:36:22 +08:00 |
|
zhengchao
|
046569828c
|
修改decrypt-mirror插件的文件名和目录结构。增加平台胶合层decrypt_mirror_plugin.h和decrypt_mirror_plugin.cpp
|
2018-09-04 11:13:10 +08:00 |
|
Lu Qiuwen
|
65f4d79929
|
修改tfe_types.h,变更原stream.h中的地址类型定义。
* 为避免冲突,将layer_addr*系列名称改为tfe_stream_addr*系列名称
* 将原用指针实现的变长结构体改为用零字节数组实现。
|
2018-09-04 10:43:48 +08:00 |
|
zhengchao
|
f1d7015967
|
Merge branch 'feature-decrypt-mirroring' of git.mesalab.cn:tango/tfe into feature-decrypt-mirroring
|
2018-09-04 08:55:37 +08:00 |
|
zhengchao
|
4a0c71cc94
|
修改decrypt-mirror插件的文件名和目录结构。增加平台胶合层decrypt_mirror_plugin.h和decrypt_mirror_plugin.cpp
|
2018-09-04 08:55:14 +08:00 |
|
zhengchao
|
3adc052a3d
|
future-promise增加对失败的统计。
|
2018-09-04 08:52:01 +08:00 |
|
zhengchao
|
ff0f729660
|
Merge branch 'feature-future-performance-monitor' of git.mesalab.cn:tango/tfe into feature-future-performance-monitor
|
2018-09-03 21:08:04 +08:00 |
|
zhengchao
|
cba6d6f56c
|
future性能监控编译通过。
|
2018-09-03 21:07:50 +08:00 |
|
zhengchao
|
60ab97d8e3
|
使用fieldstat2对性能进行监测。
|
2018-09-03 21:07:49 +08:00 |
|
zhengchao
|
de9e023894
|
future性能监控编译通过。
|
2018-09-03 21:04:37 +08:00 |
|
zhengchao
|
2df455d506
|
使用fieldstat2对性能进行监测。
|
2018-09-03 20:33:23 +08:00 |
|
Lu Qiuwen
|
081d79416a
|
增加HTTP解析层目录结构,增加插件自注册功能。
* 增加HTTP解析层目录结构,集成CMakeLists.txt编译文件;
* 调整编译顺序,先编译插件再编译平台;
* 增加TFE_PLUGIN_REGISTER宏,在TFE启动时自注册插件;
* 修改了stream_open接口,在插件流初始化接口不传入数据。
|
2018-09-03 16:38:05 +08:00 |
|
Lu Qiuwen
|
8ddb847224
|
变更tfe_stream.h中的部分公用结构体定义。
|
2018-09-03 10:30:47 +08:00 |
|
zhengchao
|
9db61562f2
|
修改decrypt-mirror插件的文件名和目录结构。增加平台胶合层decrypt_mirror_plugin.h和decrypt_mirror_plugin.cpp
|
2018-09-02 18:23:01 +08:00 |
|
陆秋文
|
a473aa3c3c
|
Merge branch 'feature-decrypt-mirroring' into 'develop-tfe3a'
集成解密流量转发模块
See merge request tango/tfe!13
|
2018-09-02 16:52:13 +08:00 |
|
Lu Qiuwen
|
6bf1a5a9c8
|
集成解密流量转发模块
|
2018-09-02 16:34:15 +08:00 |
|
郑超
|
e1794342d5
|
Merge branch 'feature-ssl-stream' into 'develop-tfe3a'
修改future-promise接口,准备增加性能调试功能。
See merge request tango/tfe!12
|
2018-09-02 15:48:48 +08:00 |
|
zhengchao
|
f43e917308
|
修改future-promise接口,准备增加性能调试功能。
|
2018-09-02 15:46:39 +08:00 |
|
郑超
|
51a553dc54
|
Merge branch 'feature-ssl-stream' into 'develop-tfe3a'
ssl stream增加统计
See merge request tango/tfe!11
|
2018-08-31 20:00:04 +08:00 |
|