#each collumn seperate with '\t' #id (0~65535) #name string #type one of ip,expr,expr_plus,digest,intval,compile or plugin #src_charset one of GBK,BIG5,UNICODE,UTF8 #dst_charset combined by GBK,BIG5,UNICODE,UTF8,seperate with '/' #do_merege [yes/no] #cross cache [number] #quick mode [quickon/quickoff], default [quickoff] #For ip/intval/digest/compile/group #id name type # #For plugin table #id name type json_descr # #For expr/expr_plus Table #id name type src_charset dst_charset do_merge cross_cache quick_mode 0 PXY_CTRL_COMPILE compile escape -- 1 PXY_CTRL_GROUP group -- 1 GROUP_COMPILE_RELATION group -- 2 PXY_CTRL_IP ip_plus --- 2 TSG_OBJ_IP_ADDR ip_plus --- 3 PXY_CTRL_HTTP_URL expr UTF8 GBK/UNICODE/UTF8/url_encode_gb2312/url_encode_utf8 yes 0 quickoff 3 TSG_OBJ_URL expr UTF8 GBK/UNICODE/UTF8/url_encode_gb2312/url_encode_utf8 yes 0 quickoff 4 PXY_CTRL_HTTP_REQ_HDR expr_plus UTF8 UTF8 yes 0 quickoff 4 TSG_OBJ_REQ_HDR expr_plus UTF8 UTF8 yes 0 quickoff 5 PXY_CTRL_HTTP_REQ_BODY expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff 6 PXY_CTRL_HTTP_RES_HDR expr_plus UTF8 UTF8 UTF8 yes 0 quickoff 6 TSG_OBJ_RES_HDR expr_plus UTF8 UTF8 yes 0 quickoff 7 PXY_CTRL_HTTP_RES_BODY expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff 7 TSG_OBJ_CONTENT expr UTF8 GBK/UNICODE/UTF8 yes 128 quickoff 8 PXY_CTRL_SUBSCRIBE_ID expr UTF8 UTF8 yes 0 quickon 9 PXY_CACHE_COMPILE compile escape -- 10 PXY_CACHE_GROUP group -- 11 PXY_CACHE_HTTP_URL expr UTF8 UTF8 yes 0 quickoff 12 PXY_CACHE_HTTP_COOKIE expr UTF8 UTF8 yes 0 quickoff 13 PXY_PROFILE_TRUSTED_CA_CERT plugin {"key":1,"valid":4,"foreign":"3"} 14 PXY_OBJ_TRUSTED_CA_CRL plugin {"valid":4,"foreign":"3"} 15 PXY_PROFILE_RESPONSE_PAGES plugin {"key":1,"foreign":"4","valid":5} 16 PXY_PROFILE_HIJACK_FILES plugin {"key":1,"foreign":"5","valid":6} 17 PXY_PROFILE_INSERT_SCRIPTS plugin {"key":1,"foreign":"4","valid":5} 18 PXY_INTERCEPT_COMPILE plugin {"key":1,"valid":8} 19 PXY_PROFILE_TRAFFIC_MIRROR plugin {"key":1,"valid":4}