部分未通过,需要进一步排查
This commit is contained in:
@@ -16,7 +16,7 @@ ${profiledId} ${EMPTY}
|
|||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
ProxyPolicy-Insert-Ssl-00001
|
ProxyPolicy-Insert-Ssl-00001
|
||||||
[Tags] selfserver ip ssl Hijack
|
[Tags] selfserver ssl Hijack ip+url
|
||||||
Comment 创建url
|
Comment 创建url
|
||||||
${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*rutube.html
|
${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*rutube.html
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -51,7 +51,7 @@ ProxyPolicy-Insert-Ssl-00001
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00002
|
ProxyPolicy-Insert-Ssl-00002
|
||||||
[Tags] selfserver ip+fqdn完整匹配 ssl Insert
|
[Tags] selfserver ssl Insert ip+fqdn完整匹配+url
|
||||||
Comment 创建fqdn
|
Comment 创建fqdn
|
||||||
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$open.node.com
|
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$open.node.com
|
||||||
${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict}
|
||||||
@@ -90,7 +90,7 @@ ProxyPolicy-Insert-Ssl-00002
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00003
|
ProxyPolicy-Insert-Ssl-00003
|
||||||
[Tags] selfserver ip+cat右匹配 ssl Insert
|
[Tags] selfserver ssl Insert ip+cat右匹配+url
|
||||||
Comment 创建cat
|
Comment 创建cat
|
||||||
${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=*node.com
|
${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=*node.com
|
||||||
${rescode} ${object_cat_Id} AddObject2 ${1} ${objectDict}
|
${rescode} ${object_cat_Id} AddObject2 ${1} ${objectDict}
|
||||||
@@ -269,7 +269,7 @@ ProxyPolicy-Insert-Ssl-00007
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00008
|
ProxyPolicy-Insert-Ssl-00008
|
||||||
[Tags] selfserver ssl Insert ip+请求头右匹配
|
[Tags] selfserver ssl Insert ip+请求头右匹配+url
|
||||||
Comment 创建请求头
|
Comment 创建请求头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*Safari/537.36|User-Agent
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*Safari/537.36|User-Agent
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -308,7 +308,7 @@ ProxyPolicy-Insert-Ssl-00008
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00009
|
ProxyPolicy-Insert-Ssl-00009
|
||||||
[Tags] selfserver ssl Insert ip+请求头字串匹配
|
[Tags] selfserver ssl Insert ip+请求头字串匹配+url
|
||||||
Comment 创建请求头
|
Comment 创建请求头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Chrome|User-Agent
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Chrome|User-Agent
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -347,7 +347,7 @@ ProxyPolicy-Insert-Ssl-00009
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00010
|
ProxyPolicy-Insert-Ssl-00010
|
||||||
[Tags] selfserver ssl Insert ip+请求头完整匹配
|
[Tags] selfserver ssl Insert ip+请求头完整匹配+url
|
||||||
Comment 创建请求头
|
Comment 创建请求头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/31.0.1650.63 Safari/537.36|User-Agent
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/31.0.1650.63 Safari/537.36|User-Agent
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -386,7 +386,7 @@ ProxyPolicy-Insert-Ssl-00010
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00011
|
ProxyPolicy-Insert-Ssl-00011
|
||||||
[Tags] selfserver ssl Insert ip+请求头左匹配
|
[Tags] selfserver ssl Insert ip+请求头左匹配+url
|
||||||
Comment 创建请求头
|
Comment 创建请求头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -425,7 +425,7 @@ ProxyPolicy-Insert-Ssl-00011
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00012
|
ProxyPolicy-Insert-Ssl-00012
|
||||||
[Tags] selfserver ssl Insert ip+cookie字串匹配
|
[Tags] selfserver ssl Insert ip+cookie字串匹配+url
|
||||||
Comment 创建cookie
|
Comment 创建cookie
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=_ym_isad=2|Cookie
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=_ym_isad=2|Cookie
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -464,7 +464,7 @@ ProxyPolicy-Insert-Ssl-00012
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00013
|
ProxyPolicy-Insert-Ssl-00013
|
||||||
[Tags] selfserver ssl Insert ip+应答头右匹配
|
[Tags] selfserver ssl Insert ip+应答头右匹配+url
|
||||||
Comment 创建应答头
|
Comment 创建应答头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*html|Content-Type
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*html|Content-Type
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -503,7 +503,7 @@ ProxyPolicy-Insert-Ssl-00013
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00014
|
ProxyPolicy-Insert-Ssl-00014
|
||||||
[Tags] selfserver ssl Insert ip+应答头字串匹配
|
[Tags] selfserver ssl Insert ip+应答头字串匹配+url
|
||||||
Comment 创建应答头
|
Comment 创建应答头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=html|Content-Type
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=html|Content-Type
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -542,7 +542,7 @@ ProxyPolicy-Insert-Ssl-00014
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00015
|
ProxyPolicy-Insert-Ssl-00015
|
||||||
[Tags] selfserver ssl Insert ip+应答头完整匹配
|
[Tags] selfserver ssl Insert ip+应答头完整匹配+url
|
||||||
Comment 创建应答头
|
Comment 创建应答头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$text/html|Content-Type
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$text/html|Content-Type
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -581,7 +581,7 @@ ProxyPolicy-Insert-Ssl-00015
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00016
|
ProxyPolicy-Insert-Ssl-00016
|
||||||
[Tags] selfserver ssl Insert ip+应答头左匹配
|
[Tags] selfserver ssl Insert ip+应答头左匹配+url
|
||||||
Comment 创建应答头
|
Comment 创建应答头
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=text/html*|Content-Type
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=text/html*|Content-Type
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -620,7 +620,7 @@ ProxyPolicy-Insert-Ssl-00016
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00017
|
ProxyPolicy-Insert-Ssl-00017
|
||||||
[Tags] selfserver ssl Insert ip+set-cookie右匹配
|
[Tags] selfserver ssl Insert ip+set-cookie右匹配+url
|
||||||
Comment 创建set-cookie
|
Comment 创建set-cookie
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*HttpOnly|Set-Cookie
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*HttpOnly|Set-Cookie
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -659,7 +659,7 @@ ProxyPolicy-Insert-Ssl-00017
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00018
|
ProxyPolicy-Insert-Ssl-00018
|
||||||
[Tags] selfserver ssl Insert ip+set-cookie字串匹配
|
[Tags] selfserver ssl Insert ip+set-cookie字串匹配+url
|
||||||
Comment 创建set-cookie
|
Comment 创建set-cookie
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Path=/tsgInterface|Set-Cookie
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Path=/tsgInterface|Set-Cookie
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -698,7 +698,7 @@ ProxyPolicy-Insert-Ssl-00018
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00019
|
ProxyPolicy-Insert-Ssl-00019
|
||||||
[Tags] selfserver ssl Insert ip+set-cookie完整匹配
|
[Tags] selfserver ssl Insert ip+set-cookie完整匹配+url
|
||||||
Comment 创建set-cookie
|
Comment 创建set-cookie
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$12345678|Set-Cookie
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$12345678|Set-Cookie
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
@@ -737,7 +737,7 @@ ProxyPolicy-Insert-Ssl-00019
|
|||||||
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host open.node.com
|
||||||
|
|
||||||
ProxyPolicy-Insert-Ssl-00020
|
ProxyPolicy-Insert-Ssl-00020
|
||||||
[Tags] selfserver ssl Insert ip+set-cookie左匹配
|
[Tags] selfserver ssl Insert ip+set-cookie左匹配+url
|
||||||
Comment 创建set-cookie
|
Comment 创建set-cookie
|
||||||
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=JSESSIONID*|Set-Cookie
|
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=JSESSIONID*|Set-Cookie
|
||||||
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
${rescode} ${objectId} AddObject2 ${1} ${objectDict}
|
||||||
|
|||||||
Reference in New Issue
Block a user