zhengchao
|
e33699d2a3
|
修复ssl最大版本号设置的笔误。
|
2018-09-18 11:05:58 +08:00 |
|
崔一鸣
|
6abc261634
|
修复ssl_chello_parse中的内存混乱
|
2018-09-18 10:54:04 +08:00 |
|
Lu Qiuwen
|
48c8d6a659
|
增加简单的HTTP协议插件管理层,基本联通HTTP解析层与业务层插件。
|
2018-09-17 15:45:50 +08:00 |
|
zhengchao
|
9fec5c3cc4
|
Merge branch 'feather-bussiness-pangu-http' of git.mesalab.cn:tango/tfe into feather-bussiness-pangu-http
# Conflicts:
# plugin/business/pangu-http/pangu_http.cpp
# plugin/business/pangu-http/pangu_logger.cpp
|
2018-09-15 20:56:20 +08:00 |
|
zhengchao
|
e1bcbd5170
|
pangu http通过ctemplate重写reject页面(403/404/451)。
|
2018-09-15 20:55:31 +08:00 |
|
zhengchao
|
2ff8d4ad94
|
完成pangu http发送业务日志功能开发。
|
2018-09-15 17:55:28 +08:00 |
|
zhengchao
|
d83e978643
|
完成pangu http发送业务日志功能开发。
|
2018-09-15 17:52:06 +08:00 |
|
崔一鸣
|
e28fd98331
|
修复内存泄漏问题
|
2018-09-14 21:23:08 +08:00 |
|
zhengchao
|
254f3fbbd1
|
Merge branch 'feature-key-keeper' of git.mesalab.cn:tango/tfe into feature-key-keeper
# Conflicts:
# platform/include/internal/ssl_utils.h
# platform/src/ssl_utils.cc
# platform/test/test_chello_parse.cpp
|
2018-09-14 18:44:43 +08:00 |
|
zhengchao
|
7c49a89755
|
ssl_stream集成新的client hello解析模块。
|
2018-09-14 18:43:28 +08:00 |
|
崔一鸣
|
eb756779b3
|
fix bugs
|
2018-09-14 17:30:14 +08:00 |
|
崔一鸣
|
aa4d83e464
|
fix bugs
|
2018-09-14 17:30:13 +08:00 |
|
崔一鸣
|
c1f8edb75f
|
change int to size_t
|
2018-09-14 17:30:13 +08:00 |
|
崔一鸣
|
e89ac9d9da
|
fix bugs
|
2018-09-14 17:30:12 +08:00 |
|
崔一鸣
|
6f525c96dd
|
refactor ssl_client_hello_parse
|
2018-09-14 17:30:12 +08:00 |
|
zhengchao
|
64b7558716
|
Merge branch 'feather-bussiness-pangu-http' of git.mesalab.cn:tango/tfe into feather-bussiness-pangu-http
# Conflicts:
# plugin/business/pangu-http/pangu_http.cpp
# plugin/business/pangu-http/pangu_logger.cpp
# plugin/business/pangu-http/pangu_logger.h
|
2018-09-14 17:12:26 +08:00 |
|
崔一鸣
|
23fdab53a7
|
fix bugs
|
2018-09-14 16:58:19 +08:00 |
|
zhengchao
|
bc896c6a61
|
pangu http编译通过。
|
2018-09-14 16:35:20 +08:00 |
|
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 |
|