修正redirect功能处理流程的若干问题,增加拦截协议识别过滤单项流的流程
* 将在pending状态下判断报文是否存在在redirect表中的逻辑提前,因修改后的SYN-ACK会单独成为一个流,再次触发pending状态。 * 修正读入控制域时内存越界的问题; * 增加拦截协议识别过滤单项流的流程,如需要拦截的流量为单项流,则不执行拦截流程直接转发。
This commit is contained in:
@@ -35,8 +35,6 @@ struct redirect_htable_data
|
||||
|
||||
struct redirect_serdef_info
|
||||
{
|
||||
int ip_pool_len;
|
||||
int nat_type_len;
|
||||
char ip_pool[REDIRECT_SERDEF_LEN];
|
||||
char nat_type[REDIRECT_SERDEF_LEN];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user