diff options
| author | zhangchengwei <[email protected]> | 2024-11-06 16:26:09 +0800 |
|---|---|---|
| committer | zhangchengwei <[email protected]> | 2024-11-06 16:26:09 +0800 |
| commit | dcdaa655abb5ffcf575b2e7de692dd02581024be (patch) | |
| tree | 5f1dd3b8465a7195de4663ef911298fbe3a242a5 | |
| parent | 9f1cc4fb395c42ed35c55516203b285aa253bc86 (diff) | |
调回Manipulation 192.168.40.206测试用例数据
167 files changed, 368 insertions, 368 deletions
diff --git a/tests/manipulation/man_allow_srcip_dstip_http.py b/tests/manipulation/man_allow_srcip_dstip_http.py index 8a75b230e..35a922156 100644 --- a/tests/manipulation/man_allow_srcip_dstip_http.py +++ b/tests/manipulation/man_allow_srcip_dstip_http.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -68,11 +68,11 @@ def run(parameter): }, "expected_return": "test_resbody", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_extip_http.py b/tests/manipulation/man_allow_srcip_extip_http.py index f3187bfd0..55b1efd7b 100644 --- a/tests/manipulation/man_allow_srcip_extip_http.py +++ b/tests/manipulation/man_allow_srcip_extip_http.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -68,11 +68,11 @@ def run(parameter): }, "expected_return": "test_resbody", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_8andmultisubstr_reqheader_by_ua.py b/tests/manipulation/man_allow_srcip_http_8andmultisubstr_reqheader_by_ua.py index 16aaa027f..d3dec22a4 100644 --- a/tests/manipulation/man_allow_srcip_http_8andmultisubstr_reqheader_by_ua.py +++ b/tests/manipulation/man_allow_srcip_http_8andmultisubstr_reqheader_by_ua.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_8andmultisubstr_resheader_by_ct.py b/tests/manipulation/man_allow_srcip_http_8andmultisubstr_resheader_by_ct.py index bfedeb281..41049d3d6 100644 --- a/tests/manipulation/man_allow_srcip_http_8andmultisubstr_resheader_by_ct.py +++ b/tests/manipulation/man_allow_srcip_http_8andmultisubstr_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_pre_reqheader_by_ua.py b/tests/manipulation/man_allow_srcip_http_pre_reqheader_by_ua.py index 74f154884..9509a09d8 100644 --- a/tests/manipulation/man_allow_srcip_http_pre_reqheader_by_ua.py +++ b/tests/manipulation/man_allow_srcip_http_pre_reqheader_by_ua.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct.py b/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct.py index 58c26d084..55b853d0a 100644 --- a/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct.py +++ b/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct_selectmorelog.py b/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct_selectmorelog.py index 0e11276c9..e9d9204e4 100644 --- a/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct_selectmorelog.py +++ b/tests/manipulation/man_allow_srcip_http_pre_resheader_by_ct_selectmorelog.py @@ -74,16 +74,16 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "client_ip", "query_value": parameter["test_pc_ip"]}, - {"query_field_key": "server_ip", "query_value": "open.node.com"}, {"query_field_key": "server_fqdn", "query_value": "open.node.com"}, - {"query_field_key": "ip_protocol", "query_value": "tcp"}, {"query_field_key": "http_url", "query_value": "open.node.com:1443/go"}, - {"query_field_key": "http_request_line", "query_value": "POST open.node.com:1443/go HTTP/1.1"}, + {"query_field_key": "server_ip", "query_value": "192.168.40.206"}, {"query_field_key": "server_fqdn", "query_value": "192.168.40.206"}, + {"query_field_key": "ip_protocol", "query_value": "tcp"}, {"query_field_key": "http_url", "query_value": "192.168.40.206:1443/go"}, + {"query_field_key": "http_request_line", "query_value": "POST 192.168.40.206:1443/go HTTP/1.1"}, {"query_field_key": "http_response_line", "query_value": "HTTP/1.1 200 OK"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_substr_reqheader_by_cookie.py b/tests/manipulation/man_allow_srcip_http_substr_reqheader_by_cookie.py index fd9bc6c8d..d83d387b8 100644 --- a/tests/manipulation/man_allow_srcip_http_substr_reqheader_by_cookie.py +++ b/tests/manipulation/man_allow_srcip_http_substr_reqheader_by_cookie.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_substr_reqheader_regex_by_ua.py b/tests/manipulation/man_allow_srcip_http_substr_reqheader_regex_by_ua.py index 12a2ec6fb..f751af643 100644 --- a/tests/manipulation/man_allow_srcip_http_substr_reqheader_regex_by_ua.py +++ b/tests/manipulation/man_allow_srcip_http_substr_reqheader_regex_by_ua.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_substr_resheader_by_setcookie.py b/tests/manipulation/man_allow_srcip_http_substr_resheader_by_setcookie.py index a4b824992..f16044962 100644 --- a/tests/manipulation/man_allow_srcip_http_substr_resheader_by_setcookie.py +++ b/tests/manipulation/man_allow_srcip_http_substr_resheader_by_setcookie.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_substr_resheader_range_by_setcookie.py b/tests/manipulation/man_allow_srcip_http_substr_resheader_range_by_setcookie.py index f60584114..f48f0f843 100644 --- a/tests/manipulation/man_allow_srcip_http_substr_resheader_range_by_setcookie.py +++ b/tests/manipulation/man_allow_srcip_http_substr_resheader_range_by_setcookie.py @@ -77,11 +77,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_suff_reqheader_by_ua.py b/tests/manipulation/man_allow_srcip_http_suff_reqheader_by_ua.py index 6e618123e..2105965c1 100644 --- a/tests/manipulation/man_allow_srcip_http_suff_reqheader_by_ua.py +++ b/tests/manipulation/man_allow_srcip_http_suff_reqheader_by_ua.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_suff_resheader_by_ct.py b/tests/manipulation/man_allow_srcip_http_suff_resheader_by_ct.py index 8b234c832..435b47401 100644 --- a/tests/manipulation/man_allow_srcip_http_suff_resheader_by_ct.py +++ b/tests/manipulation/man_allow_srcip_http_suff_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_xly_reqheader_by_ua.py b/tests/manipulation/man_allow_srcip_http_xly_reqheader_by_ua.py index bc9b651bb..dd05dba8e 100644 --- a/tests/manipulation/man_allow_srcip_http_xly_reqheader_by_ua.py +++ b/tests/manipulation/man_allow_srcip_http_xly_reqheader_by_ua.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_http_xly_resheader_by_ct.py b/tests/manipulation/man_allow_srcip_http_xly_resheader_by_ct.py index b39d05820..22dba886b 100644 --- a/tests/manipulation/man_allow_srcip_http_xly_resheader_by_ct.py +++ b/tests/manipulation/man_allow_srcip_http_xly_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_allow_srcip_intip_http.py b/tests/manipulation/man_allow_srcip_intip_http.py index 82abd40c4..9d8cfc711 100644 --- a/tests/manipulation/man_allow_srcip_intip_http.py +++ b/tests/manipulation/man_allow_srcip_intip_http.py @@ -68,11 +68,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_dstip_http_responsetext.py b/tests/manipulation/man_deny_srcip_dstip_http_responsetext.py index eb05a8409..83acd71d7 100644 --- a/tests/manipulation/man_deny_srcip_dstip_http_responsetext.py +++ b/tests/manipulation/man_deny_srcip_dstip_http_responsetext.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -77,11 +77,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_extip_http_responsetext.py b/tests/manipulation/man_deny_srcip_extip_http_responsetext.py index ecfcc4120..92d4fd602 100644 --- a/tests/manipulation/man_deny_srcip_extip_http_responsetext.py +++ b/tests/manipulation/man_deny_srcip_extip_http_responsetext.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -77,11 +77,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_2item_in_reqbody.py b/tests/manipulation/man_deny_srcip_http_2item_in_reqbody.py index 70e1194d6..970114a4e 100644 --- a/tests/manipulation/man_deny_srcip_http_2item_in_reqbody.py +++ b/tests/manipulation/man_deny_srcip_http_2item_in_reqbody.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "Connected", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_2item_in_resbody.py b/tests/manipulation/man_deny_srcip_http_2item_in_resbody.py index cdc0d1edf..4a94efdf2 100644 --- a/tests/manipulation/man_deny_srcip_http_2item_in_resbody.py +++ b/tests/manipulation/man_deny_srcip_http_2item_in_resbody.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "Empty", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqbody.py b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqbody.py index ecdbf07a1..5fadfb776 100644 --- a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqbody.py +++ b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqbody.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Connected", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqheader_by_ua_responsetext.py b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqheader_by_ua_responsetext.py index 09bf160ca..aa26e35a6 100644 --- a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqheader_by_ua_responsetext.py +++ b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_reqheader_by_ua_responsetext.py @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resbody.py b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resbody.py index 906384a40..c7e18ddf9 100644 --- a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resbody.py +++ b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resbody.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Empty", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resheader_by_ct_responseprofile404.py b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resheader_by_ct_responseprofile404.py index d29b6040f..fc51a8eca 100644 --- a/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resheader_by_ct_responseprofile404.py +++ b/tests/manipulation/man_deny_srcip_http_8andmultisubstr_resheader_by_ct_responseprofile404.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "This_is_test", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_pre_reqheader_by_ua_responsetext.py b/tests/manipulation/man_deny_srcip_http_pre_reqheader_by_ua_responsetext.py index e1ba6ecfe..d835b3366 100644 --- a/tests/manipulation/man_deny_srcip_http_pre_reqheader_by_ua_responsetext.py +++ b/tests/manipulation/man_deny_srcip_http_pre_reqheader_by_ua_responsetext.py @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_pre_resheader_by_ct_responseprofile404.py b/tests/manipulation/man_deny_srcip_http_pre_resheader_by_ct_responseprofile404.py index 92da9347c..37bf18e7e 100644 --- a/tests/manipulation/man_deny_srcip_http_pre_resheader_by_ct_responseprofile404.py +++ b/tests/manipulation/man_deny_srcip_http_pre_resheader_by_ct_responseprofile404.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "This_is_test", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_reqbody.py b/tests/manipulation/man_deny_srcip_http_substr_reqbody.py index 8fa33d076..9fe01b5ba 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_reqbody.py +++ b/tests/manipulation/man_deny_srcip_http_substr_reqbody.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Connected", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_reqbody_hex.py b/tests/manipulation/man_deny_srcip_http_substr_reqbody_hex.py index c6f392e75..806d834ff 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_reqbody_hex.py +++ b/tests/manipulation/man_deny_srcip_http_substr_reqbody_hex.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Connected", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_reqbody_regex.py b/tests/manipulation/man_deny_srcip_http_substr_reqbody_regex.py index ce7751b63..487e13ab3 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_reqbody_regex.py +++ b/tests/manipulation/man_deny_srcip_http_substr_reqbody_regex.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Connected", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_reqheader_by_cookie_responseprofile451.py b/tests/manipulation/man_deny_srcip_http_substr_reqheader_by_cookie_responseprofile451.py index d07688c2b..8dbc21c94 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_reqheader_by_cookie_responseprofile451.py +++ b/tests/manipulation/man_deny_srcip_http_substr_reqheader_by_cookie_responseprofile451.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "This_is_test", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_resbody.py b/tests/manipulation/man_deny_srcip_http_substr_resbody.py index 122f61d73..fdf273e85 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_resbody.py +++ b/tests/manipulation/man_deny_srcip_http_substr_resbody.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Empty", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_resbody_hex.py b/tests/manipulation/man_deny_srcip_http_substr_resbody_hex.py index 392c04396..05952eddb 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_resbody_hex.py +++ b/tests/manipulation/man_deny_srcip_http_substr_resbody_hex.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Empty", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_resbody_regex.py b/tests/manipulation/man_deny_srcip_http_substr_resbody_regex.py index e18e2bf57..3b56eda0b 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_resbody_regex.py +++ b/tests/manipulation/man_deny_srcip_http_substr_resbody_regex.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "Empty", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_resheader_by_setcookie_responsetext.py b/tests/manipulation/man_deny_srcip_http_substr_resheader_by_setcookie_responsetext.py index 457516b96..a91bc885b 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_resheader_by_setcookie_responsetext.py +++ b/tests/manipulation/man_deny_srcip_http_substr_resheader_by_setcookie_responsetext.py @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_resheader_hex_by_ct_responseprofile451.py b/tests/manipulation/man_deny_srcip_http_substr_resheader_hex_by_ct_responseprofile451.py index 9bb55324e..d2e6e943c 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_resheader_hex_by_ct_responseprofile451.py +++ b/tests/manipulation/man_deny_srcip_http_substr_resheader_hex_by_ct_responseprofile451.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "This_is_test", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_substr_resheader_regex_by_setcookie_responsetext.py b/tests/manipulation/man_deny_srcip_http_substr_resheader_regex_by_setcookie_responsetext.py index 892c3065a..392f9380e 100644 --- a/tests/manipulation/man_deny_srcip_http_substr_resheader_regex_by_setcookie_responsetext.py +++ b/tests/manipulation/man_deny_srcip_http_substr_resheader_regex_by_setcookie_responsetext.py @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_suff_reqheader_by_ua_responsetext.py b/tests/manipulation/man_deny_srcip_http_suff_reqheader_by_ua_responsetext.py index 838dc9c01..57d6c1de5 100644 --- a/tests/manipulation/man_deny_srcip_http_suff_reqheader_by_ua_responsetext.py +++ b/tests/manipulation/man_deny_srcip_http_suff_reqheader_by_ua_responsetext.py @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_suff_resheader_by_ct_responseprofile451.py b/tests/manipulation/man_deny_srcip_http_suff_resheader_by_ct_responseprofile451.py index aeecc6f51..2dc3781c5 100644 --- a/tests/manipulation/man_deny_srcip_http_suff_resheader_by_ct_responseprofile451.py +++ b/tests/manipulation/man_deny_srcip_http_suff_resheader_by_ct_responseprofile451.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "This_is_test", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_xly_reqheader_by_ua_responsetext.py b/tests/manipulation/man_deny_srcip_http_xly_reqheader_by_ua_responsetext.py index dc1f6d9f5..55f6d0da5 100644 --- a/tests/manipulation/man_deny_srcip_http_xly_reqheader_by_ua_responsetext.py +++ b/tests/manipulation/man_deny_srcip_http_xly_reqheader_by_ua_responsetext.py @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_user_agent", "query_value": "Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_http_xly_resheader_by_ct_responseprofile404.py b/tests/manipulation/man_deny_srcip_http_xly_resheader_by_ct_responseprofile404.py index f88d4d3e2..7c995d6ad 100644 --- a/tests/manipulation/man_deny_srcip_http_xly_resheader_by_ct_responseprofile404.py +++ b/tests/manipulation/man_deny_srcip_http_xly_resheader_by_ct_responseprofile404.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "This_is_test", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_intip_http_responsetext.py b/tests/manipulation/man_deny_srcip_intip_http_responsetext.py index 69fd85148..e50316235 100644 --- a/tests/manipulation/man_deny_srcip_intip_http_responsetext.py +++ b/tests/manipulation/man_deny_srcip_intip_http_responsetext.py @@ -77,11 +77,11 @@ def run(parameter): }, "expected_return": "test_response_code", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py b/tests/manipulation/man_deny_srcip_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py index 0cb9a52d6..c6382cc87 100644 --- a/tests/manipulation/man_deny_srcip_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py +++ b/tests/manipulation/man_deny_srcip_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py @@ -165,11 +165,11 @@ def run(parameter): }, "expected_return": "CN=TSG,Empty", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_deny_srcip_subid_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py b/tests/manipulation/man_deny_srcip_subid_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py index 5cabecade..43e998a4c 100644 --- a/tests/manipulation/man_deny_srcip_subid_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py +++ b/tests/manipulation/man_deny_srcip_subid_sub_fqdn_sub_url_http_sub_reqheader_by_ua_sub_resheader_ct_sub_reqbody_sub_resbody.py @@ -180,11 +180,11 @@ def run(parameter): }, "expected_return": "CN=TSG,Empty", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_dstip_subid_substr_url_http_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_dstip_subid_substr_url_http_whole_file_mark.py index bc0bf5736..74ccf70ea 100644 --- a/tests/manipulation/man_edit_element_srcip_dstip_subid_substr_url_http_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_dstip_subid_substr_url_http_whole_file_mark.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -111,11 +111,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_dstip_substr_url_http_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_dstip_substr_url_http_whole_file_mark.py index d0fa7d20d..9a845e500 100644 --- a/tests/manipulation/man_edit_element_srcip_dstip_substr_url_http_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_dstip_substr_url_http_whole_file_mark.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_extip_substr_url_http_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_extip_substr_url_http_whole_file_mark.py index 0997619ab..58d9e7c5a 100644 --- a/tests/manipulation/man_edit_element_srcip_extip_substr_url_http_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_extip_substr_url_http_whole_file_mark.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_sub_url_sub_fqdn_sub_reqheader_by_ua_sub_resheader_by_ct_wholefilemark.py b/tests/manipulation/man_edit_element_srcip_http_sub_url_sub_fqdn_sub_reqheader_by_ua_sub_resheader_by_ct_wholefilemark.py index 16502f277..bd0acfb8b 100644 --- a/tests/manipulation/man_edit_element_srcip_http_sub_url_sub_fqdn_sub_reqheader_by_ua_sub_resheader_by_ct_wholefilemark.py +++ b/tests/manipulation/man_edit_element_srcip_http_sub_url_sub_fqdn_sub_reqheader_by_ua_sub_resheader_by_ct_wholefilemark.py @@ -152,11 +152,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_2item_in_reqbody_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_2item_in_reqbody_whole_file_mark.py index 35c63a0fe..1c3e3d3ae 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_2item_in_reqbody_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_2item_in_reqbody_whole_file_mark.py @@ -107,11 +107,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_pre_reqheader_by_cookie_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_pre_reqheader_by_cookie_whole_file_mark.py index 0a061cbb9..f86068954 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_pre_reqheader_by_cookie_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_pre_reqheader_by_cookie_whole_file_mark.py @@ -61,7 +61,7 @@ def run(parameter): { "item_operation": "add", "item_type": "url", - "item_value": "open.node.com" + "item_value": "192.168.40.206" } ], }, @@ -100,11 +100,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_hex_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_hex_whole_file_mark.py index 71aa8a233..1c6e6e3c7 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_hex_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_hex_whole_file_mark.py @@ -99,11 +99,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_regex_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_regex_whole_file_mark.py index 020e657fd..8730c27e0 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_regex_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_regex_whole_file_mark.py @@ -99,11 +99,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_whole_file_mark.py index c715a4ec4..33fea14fb 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_reqbody_whole_file_mark.py @@ -99,11 +99,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_by_setcookie_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_by_setcookie_whole_file_mark.py index cea77ecb7..a65db15fa 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_by_setcookie_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_by_setcookie_whole_file_mark.py @@ -61,7 +61,7 @@ def run(parameter): { "item_operation": "add", "item_type": "url", - "item_value": "open.node.com" + "item_value": "192.168.40.206" } ], }, @@ -100,11 +100,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_hex_by_setcookie_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_hex_by_setcookie_whole_file_mark.py index f27f2aa36..6f1ff8af6 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_hex_by_setcookie_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_substr_resheader_hex_by_setcookie_whole_file_mark.py @@ -61,7 +61,7 @@ def run(parameter): { "item_operation": "add", "item_type": "url", - "item_value": "open.node.com" + "item_value": "192.168.40.206" } ], }, @@ -100,11 +100,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark.py index 786e2c24f..e21a9fb00 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark.py @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_devicegroup.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_devicegroup.py index 07034864d..50322a26f 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_devicegroup.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_devicegroup.py @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_logall.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_logall.py index 53020142d..5c02d523d 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_logall.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_logall.py @@ -97,12 +97,12 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "http_request_body", "query_value": True}, {"query_field_key": "http_response_body", "query_value": True}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_whole_file_mark.py index f2c555978..fdda56d6b 100644 --- a/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_http_substr_url_whole_file_mark_whole_file_mark.py @@ -61,7 +61,7 @@ def run(parameter): { "item_operation": "add", "item_type": "url", - "item_value": "open.node.com" + "item_value": "192.168.40.206" } ], }, @@ -108,11 +108,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_intip_http_substr_url_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_intip_http_substr_url_whole_file_mark.py index afa0a0543..183e6f7bf 100644 --- a/tests/manipulation/man_edit_element_srcip_intip_http_substr_url_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_intip_http_substr_url_whole_file_mark.py @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_edit_element_srcip_subid_http_substr_url_substr_reqbody_hex_whole_file_mark.py b/tests/manipulation/man_edit_element_srcip_subid_http_substr_url_substr_reqbody_hex_whole_file_mark.py index 7a46232d0..a901d417d 100644 --- a/tests/manipulation/man_edit_element_srcip_subid_http_substr_url_substr_reqbody_hex_whole_file_mark.py +++ b/tests/manipulation/man_edit_element_srcip_subid_http_substr_url_substr_reqbody_hex_whole_file_mark.py @@ -114,11 +114,11 @@ def run(parameter): }, "expected_return": "need_filter", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_dstip_http_substr_url.py b/tests/manipulation/man_hijack_srcip_dstip_http_substr_url.py index 206180e52..a721eaf93 100644 --- a/tests/manipulation/man_hijack_srcip_dstip_http_substr_url.py +++ b/tests/manipulation/man_hijack_srcip_dstip_http_substr_url.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_extip_http_substr_url.py b/tests/manipulation/man_hijack_srcip_extip_http_substr_url.py index f883780ba..bb3953e8b 100644 --- a/tests/manipulation/man_hijack_srcip_extip_http_substr_url.py +++ b/tests/manipulation/man_hijack_srcip_extip_http_substr_url.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_http_substr_url_8andmultisubstr_resheader_by_ct.py b/tests/manipulation/man_hijack_srcip_http_substr_url_8andmultisubstr_resheader_by_ct.py index ade1d9d47..0187c9c07 100644 --- a/tests/manipulation/man_hijack_srcip_http_substr_url_8andmultisubstr_resheader_by_ct.py +++ b/tests/manipulation/man_hijack_srcip_http_substr_url_8andmultisubstr_resheader_by_ct.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_http_substr_url_pre_resheader_by_ct.py b/tests/manipulation/man_hijack_srcip_http_substr_url_pre_resheader_by_ct.py index b982409d3..af7d1ec2b 100644 --- a/tests/manipulation/man_hijack_srcip_http_substr_url_pre_resheader_by_ct.py +++ b/tests/manipulation/man_hijack_srcip_http_substr_url_pre_resheader_by_ct.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_http_substr_url_substr_reqheader_by_cookie.py b/tests/manipulation/man_hijack_srcip_http_substr_url_substr_reqheader_by_cookie.py index 52c4699f1..d2b30ae14 100644 --- a/tests/manipulation/man_hijack_srcip_http_substr_url_substr_reqheader_by_cookie.py +++ b/tests/manipulation/man_hijack_srcip_http_substr_url_substr_reqheader_by_cookie.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_http_substr_url_substr_resheader_by_setcookie.py b/tests/manipulation/man_hijack_srcip_http_substr_url_substr_resheader_by_setcookie.py index 36bcfadb6..09e3741fb 100644 --- a/tests/manipulation/man_hijack_srcip_http_substr_url_substr_resheader_by_setcookie.py +++ b/tests/manipulation/man_hijack_srcip_http_substr_url_substr_resheader_by_setcookie.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_http_substr_url_suff_resheader_by_ct.py b/tests/manipulation/man_hijack_srcip_http_substr_url_suff_resheader_by_ct.py index fcd18e5a3..07b79ed00 100644 --- a/tests/manipulation/man_hijack_srcip_http_substr_url_suff_resheader_by_ct.py +++ b/tests/manipulation/man_hijack_srcip_http_substr_url_suff_resheader_by_ct.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_http_substr_url_xly_resheader_by_ct.py b/tests/manipulation/man_hijack_srcip_http_substr_url_xly_resheader_by_ct.py index d0d44809a..ffa1959ed 100644 --- a/tests/manipulation/man_hijack_srcip_http_substr_url_xly_resheader_by_ct.py +++ b/tests/manipulation/man_hijack_srcip_http_substr_url_xly_resheader_by_ct.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_intip_http_substr_url.py b/tests/manipulation/man_hijack_srcip_intip_http_substr_url.py index 55dc1b032..ef89448c4 100644 --- a/tests/manipulation/man_hijack_srcip_intip_http_substr_url.py +++ b/tests/manipulation/man_hijack_srcip_intip_http_substr_url.py @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_intport_http_substr_url.py b/tests/manipulation/man_hijack_srcip_intport_http_substr_url.py index 49dd0a9e2..1cc1f989b 100644 --- a/tests/manipulation/man_hijack_srcip_intport_http_substr_url.py +++ b/tests/manipulation/man_hijack_srcip_intport_http_substr_url.py @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_srcport_http_substr_url.py b/tests/manipulation/man_hijack_srcip_srcport_http_substr_url.py index 6aae1cebe..fe2ddc305 100644 --- a/tests/manipulation/man_hijack_srcip_srcport_http_substr_url.py +++ b/tests/manipulation/man_hijack_srcip_srcport_http_substr_url.py @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_hijack_srcip_subid_http_substr_url_substr_resheader_by_setcookie.py b/tests/manipulation/man_hijack_srcip_subid_http_substr_url_substr_resheader_by_setcookie.py index a31e1b6e8..51f872aa8 100644 --- a/tests/manipulation/man_hijack_srcip_subid_http_substr_url_substr_resheader_by_setcookie.py +++ b/tests/manipulation/man_hijack_srcip_subid_http_substr_url_substr_resheader_by_setcookie.py @@ -117,11 +117,11 @@ def run(parameter): }, "expected_return": "this.piece.style", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_dstip_http_substr_url.py b/tests/manipulation/man_insert_srcip_dstip_http_substr_url.py index e4e052b9b..6f47db71e 100644 --- a/tests/manipulation/man_insert_srcip_dstip_http_substr_url.py +++ b/tests/manipulation/man_insert_srcip_dstip_http_substr_url.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_extip_http_substr_url.py b/tests/manipulation/man_insert_srcip_extip_http_substr_url.py index db486fcbf..92d4975ee 100644 --- a/tests/manipulation/man_insert_srcip_extip_http_substr_url.py +++ b/tests/manipulation/man_insert_srcip_extip_http_substr_url.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_extip_subid_http_substr_url.py b/tests/manipulation/man_insert_srcip_extip_subid_http_substr_url.py index 00a7e3416..cfc05cbab 100644 --- a/tests/manipulation/man_insert_srcip_extip_subid_http_substr_url.py +++ b/tests/manipulation/man_insert_srcip_extip_subid_http_substr_url.py @@ -68,7 +68,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -113,11 +113,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_jsbeforepageload.py b/tests/manipulation/man_insert_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_jsbeforepageload.py index e41516945..87914614e 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_jsbeforepageload.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_jsbeforepageload.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_pre_reqheader_by_ua_jsafterpageload_logall.py b/tests/manipulation/man_insert_srcip_http_substr_url_pre_reqheader_by_ua_jsafterpageload_logall.py index 82463a3ec..12b38d3e1 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_pre_reqheader_by_ua_jsafterpageload_logall.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_pre_reqheader_by_ua_jsafterpageload_logall.py @@ -103,12 +103,12 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "http_request_body", "query_value": True}, {"query_field_key": "http_response_body", "query_value": True}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_pre_resheader_by_ct_jsbeforepageload.py b/tests/manipulation/man_insert_srcip_http_substr_url_pre_resheader_by_ct_jsbeforepageload.py index b7992f1b9..13ebe90dc 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_pre_resheader_by_ct_jsbeforepageload.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_pre_resheader_by_ct_jsbeforepageload.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_by_cookie.py b/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_by_cookie.py index 4ad531ad8..d3dae56e8 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_by_cookie.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_by_cookie.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_hex_by_cookie.py b/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_hex_by_cookie.py index 21f0f45ab..83a2640d4 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_hex_by_cookie.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_substr_reqheader_hex_by_cookie.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_by_setcookie.py b/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_by_setcookie.py index f693e1450..95b7dc8fe 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_by_setcookie.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_by_setcookie.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_hex_by_setcookie.py b/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_hex_by_setcookie.py index f806dc9e0..33a402a9c 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_hex_by_setcookie.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_substr_resheader_hex_by_setcookie.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_suff_resheader_by_ct_jsbeforepageload.py b/tests/manipulation/man_insert_srcip_http_substr_url_suff_resheader_by_ct_jsbeforepageload.py index f7aed26b4..9ddb48ce8 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_suff_resheader_by_ct_jsbeforepageload.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_suff_resheader_by_ct_jsbeforepageload.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_http_substr_url_xly_resheader_by_ct_jsbeforepageload.py b/tests/manipulation/man_insert_srcip_http_substr_url_xly_resheader_by_ct_jsbeforepageload.py index 855ce9390..5c5971dba 100644 --- a/tests/manipulation/man_insert_srcip_http_substr_url_xly_resheader_by_ct_jsbeforepageload.py +++ b/tests/manipulation/man_insert_srcip_http_substr_url_xly_resheader_by_ct_jsbeforepageload.py @@ -102,11 +102,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_insert_srcip_intip_http_substr_url.py b/tests/manipulation/man_insert_srcip_intip_http_substr_url.py index 3fdce4495..320069124 100644 --- a/tests/manipulation/man_insert_srcip_intip_http_substr_url.py +++ b/tests/manipulation/man_insert_srcip_intip_http_substr_url.py @@ -98,11 +98,11 @@ def run(parameter): }, "expected_return": "test_case_javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_2item_in_dstip_http.py b/tests/manipulation/man_monitor_srcip_2item_in_dstip_http.py index a2d287411..30e4730d9 100644 --- a/tests/manipulation/man_monitor_srcip_2item_in_dstip_http.py +++ b/tests/manipulation/man_monitor_srcip_2item_in_dstip_http.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, { "item_operation": "add", @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "RequestBody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_2item_in_extip_http.py b/tests/manipulation/man_monitor_srcip_2item_in_extip_http.py index 99e686a1f..ae34e4b89 100644 --- a/tests/manipulation/man_monitor_srcip_2item_in_extip_http.py +++ b/tests/manipulation/man_monitor_srcip_2item_in_extip_http.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, { "item_operation": "add", @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "RequestBody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_dstip_http.py b/tests/manipulation/man_monitor_srcip_dstip_http.py index 3e6ca1a95..5867ed26e 100644 --- a/tests/manipulation/man_monitor_srcip_dstip_http.py +++ b/tests/manipulation/man_monitor_srcip_dstip_http.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -68,11 +68,11 @@ def run(parameter): }, "expected_return": "RequestBody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_extip_http.py b/tests/manipulation/man_monitor_srcip_extip_http.py index 708ad6962..2dff83c75 100644 --- a/tests/manipulation/man_monitor_srcip_extip_http.py +++ b/tests/manipulation/man_monitor_srcip_extip_http.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -68,11 +68,11 @@ def run(parameter): }, "expected_return": "RequestBody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_extip_subid_http.py b/tests/manipulation/man_monitor_srcip_extip_subid_http.py index 4057df9fe..9894e65a1 100644 --- a/tests/manipulation/man_monitor_srcip_extip_subid_http.py +++ b/tests/manipulation/man_monitor_srcip_extip_subid_http.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "RequestBody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_2item_in_substr_reqbody.py b/tests/manipulation/man_monitor_srcip_http_2item_in_substr_reqbody.py index 3df675459..45ca4b5ba 100644 --- a/tests/manipulation/man_monitor_srcip_http_2item_in_substr_reqbody.py +++ b/tests/manipulation/man_monitor_srcip_http_2item_in_substr_reqbody.py @@ -81,11 +81,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resbody.py b/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resbody.py index eb45d38d4..6e5060ecc 100644 --- a/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resbody.py +++ b/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resbody.py @@ -81,11 +81,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resheader_by_ct.py b/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resheader_by_ct.py index 9cb6ba014..876e3e650 100644 --- a/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resheader_by_ct.py +++ b/tests/manipulation/man_monitor_srcip_http_2item_in_substr_resheader_by_ct.py @@ -83,11 +83,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_reqbody.py b/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_reqbody.py index 9901f1ed2..b4738749c 100644 --- a/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_reqbody.py +++ b/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_reqbody.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resbody.py b/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resbody.py index 4f562723c..7afd2947e 100644 --- a/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resbody.py +++ b/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resbody.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resheader_by_ct.py b/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resheader_by_ct.py index b10e53279..af079b568 100644 --- a/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resheader_by_ct.py +++ b/tests/manipulation/man_monitor_srcip_http_8andmultisubstr_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_logall.py b/tests/manipulation/man_monitor_srcip_http_logall.py index 5c36aa4f9..ffb481ec5 100644 --- a/tests/manipulation/man_monitor_srcip_http_logall.py +++ b/tests/manipulation/man_monitor_srcip_http_logall.py @@ -54,12 +54,12 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "http_request_body", "query_value": True}, {"query_field_key": "http_response_body", "query_value": True}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_multisubstr_reqbody.py b/tests/manipulation/man_monitor_srcip_http_multisubstr_reqbody.py index 75204ae43..2a57f5ebe 100644 --- a/tests/manipulation/man_monitor_srcip_http_multisubstr_reqbody.py +++ b/tests/manipulation/man_monitor_srcip_http_multisubstr_reqbody.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_multisubstr_resbody.py b/tests/manipulation/man_monitor_srcip_http_multisubstr_resbody.py index c0a5b0ae3..012b4f21c 100644 --- a/tests/manipulation/man_monitor_srcip_http_multisubstr_resbody.py +++ b/tests/manipulation/man_monitor_srcip_http_multisubstr_resbody.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_multisubstr_resheader_by_ct.py b/tests/manipulation/man_monitor_srcip_http_multisubstr_resheader_by_ct.py index df761eb1f..1ab903c9f 100644 --- a/tests/manipulation/man_monitor_srcip_http_multisubstr_resheader_by_ct.py +++ b/tests/manipulation/man_monitor_srcip_http_multisubstr_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_pre_resheader_by_ct.py b/tests/manipulation/man_monitor_srcip_http_pre_resheader_by_ct.py index 53bd2bec9..d36262259 100644 --- a/tests/manipulation/man_monitor_srcip_http_pre_resheader_by_ct.py +++ b/tests/manipulation/man_monitor_srcip_http_pre_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqbody.py b/tests/manipulation/man_monitor_srcip_http_substr_reqbody.py index aefa8e818..c2af4cfc1 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqbody.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqbody.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_hex.py b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_hex.py index 8d10d4275..c2fda26d5 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_hex.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_hex.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_range.py b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_range.py index 0f364eca3..51a9d5853 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_range.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_range.py @@ -76,11 +76,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_regex.py b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_regex.py index 22201610d..0be624ae0 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_regex.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_regex.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_selectmorelog.py b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_selectmorelog.py index c5a56c3dd..6e2f1013f 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqbody_selectmorelog.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqbody_selectmorelog.py @@ -73,16 +73,16 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "client_ip", "query_value": parameter["test_pc_ip"]}, - {"query_field_key": "server_ip", "query_value": "open.node.com"}, {"query_field_key": "server_fqdn", "query_value": "open.node.com"}, - {"query_field_key": "ip_protocol", "query_value": "tcp"}, {"query_field_key": "http_url", "query_value": "open.node.com:1443/go"}, - {"query_field_key": "http_request_line", "query_value": "POST open.node.com:1443/go HTTP/1.1"}, + {"query_field_key": "server_ip", "query_value": "192.168.40.206"}, {"query_field_key": "server_fqdn", "query_value": "192.168.40.206"}, + {"query_field_key": "ip_protocol", "query_value": "tcp"}, {"query_field_key": "http_url", "query_value": "192.168.40.206:1443/go"}, + {"query_field_key": "http_request_line", "query_value": "POST 192.168.40.206:1443/go HTTP/1.1"}, {"query_field_key": "http_response_line", "query_value": "HTTP/1.1 200 OK"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqheader_by_cookie.py b/tests/manipulation/man_monitor_srcip_http_substr_reqheader_by_cookie.py index ef2a16eb5..b13948e0a 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqheader_by_cookie.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqheader_by_cookie.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqheader_hex_by_cookie.py b/tests/manipulation/man_monitor_srcip_http_substr_reqheader_hex_by_cookie.py index a4afc38fd..973e700a5 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqheader_hex_by_cookie.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqheader_hex_by_cookie.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_reqheader_range_by_cookie.py b/tests/manipulation/man_monitor_srcip_http_substr_reqheader_range_by_cookie.py index 89669c565..d1928dbb8 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_reqheader_range_by_cookie.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_reqheader_range_by_cookie.py @@ -77,11 +77,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_resbody.py b/tests/manipulation/man_monitor_srcip_http_substr_resbody.py index d6c5f1a64..cfabd41c3 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_resbody.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_resbody.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_resbody_hex.py b/tests/manipulation/man_monitor_srcip_http_substr_resbody_hex.py index 445a37d4b..0ce4edb82 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_resbody_hex.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_resbody_hex.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_resbody_range.py b/tests/manipulation/man_monitor_srcip_http_substr_resbody_range.py index 6f2de28ee..a7a9f6541 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_resbody_range.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_resbody_range.py @@ -76,11 +76,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_resbody_regex.py b/tests/manipulation/man_monitor_srcip_http_substr_resbody_regex.py index cb0ddf60c..b3387daa3 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_resbody_regex.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_resbody_regex.py @@ -73,11 +73,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 5 -m 10 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_substr_resheader_by_setcookie.py b/tests/manipulation/man_monitor_srcip_http_substr_resheader_by_setcookie.py index 9caf4f5cc..402f6cf93 100644 --- a/tests/manipulation/man_monitor_srcip_http_substr_resheader_by_setcookie.py +++ b/tests/manipulation/man_monitor_srcip_http_substr_resheader_by_setcookie.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_suff_resheader_by_ct.py b/tests/manipulation/man_monitor_srcip_http_suff_resheader_by_ct.py index 7153e2f6f..67678c143 100644 --- a/tests/manipulation/man_monitor_srcip_http_suff_resheader_by_ct.py +++ b/tests/manipulation/man_monitor_srcip_http_suff_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_http_xly_resheader_by_ct.py b/tests/manipulation/man_monitor_srcip_http_xly_resheader_by_ct.py index 6b529e22f..ac9d2177d 100644 --- a/tests/manipulation/man_monitor_srcip_http_xly_resheader_by_ct.py +++ b/tests/manipulation/man_monitor_srcip_http_xly_resheader_by_ct.py @@ -74,11 +74,11 @@ def run(parameter): }, "expected_return": "test_resbody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_intip_http.py b/tests/manipulation/man_monitor_srcip_intip_http.py index 5f871afae..f68074f3b 100644 --- a/tests/manipulation/man_monitor_srcip_intip_http.py +++ b/tests/manipulation/man_monitor_srcip_intip_http.py @@ -68,11 +68,11 @@ def run(parameter): }, "expected_return": "RequestBody,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py b/tests/manipulation/man_monitor_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py index dc997c841..ce9d05b39 100644 --- a/tests/manipulation/man_monitor_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py +++ b/tests/manipulation/man_monitor_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py @@ -158,11 +158,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_subid_http_multisubstr_reqbody.py b/tests/manipulation/man_monitor_srcip_subid_http_multisubstr_reqbody.py index 37c7bb262..1db1047f4 100644 --- a/tests/manipulation/man_monitor_srcip_subid_http_multisubstr_reqbody.py +++ b/tests/manipulation/man_monitor_srcip_subid_http_multisubstr_reqbody.py @@ -88,11 +88,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_monitor_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py b/tests/manipulation/man_monitor_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py index 2bf4627ee..e0613f549 100644 --- a/tests/manipulation/man_monitor_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py +++ b/tests/manipulation/man_monitor_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbodyresbody.py @@ -173,11 +173,11 @@ def run(parameter): }, "expected_return": "test_request_body,CN=TSG", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirec_srcipt_http_substr_url_substr_reqbody.py b/tests/manipulation/man_redirec_srcipt_http_substr_url_substr_reqbody.py index 76caddf74..0f0058d4b 100644 --- a/tests/manipulation/man_redirec_srcipt_http_substr_url_substr_reqbody.py +++ b/tests/manipulation/man_redirec_srcipt_http_substr_url_substr_reqbody.py @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_dstip_http_substr_url_301.py b/tests/manipulation/man_redirect_srcip_dstip_http_substr_url_301.py index ce4130ead..40786593e 100644 --- a/tests/manipulation/man_redirect_srcip_dstip_http_substr_url_301.py +++ b/tests/manipulation/man_redirect_srcip_dstip_http_substr_url_301.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -93,11 +93,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_dstip_subid_http_substr_url_301.py b/tests/manipulation/man_redirect_srcip_dstip_subid_http_substr_url_301.py index 7605783ec..27add1d52 100644 --- a/tests/manipulation/man_redirect_srcip_dstip_subid_http_substr_url_301.py +++ b/tests/manipulation/man_redirect_srcip_dstip_subid_http_substr_url_301.py @@ -68,7 +68,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -108,11 +108,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_extip_http_substr_url_302.py b/tests/manipulation/man_redirect_srcip_extip_http_substr_url_302.py index ca5fa7a8b..aadbcf7c7 100644 --- a/tests/manipulation/man_redirect_srcip_extip_http_substr_url_302.py +++ b/tests/manipulation/man_redirect_srcip_extip_http_substr_url_302.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", } ] } @@ -93,11 +93,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_2item_in_reqbody_301.py b/tests/manipulation/man_redirect_srcip_http_substr_url_2item_in_reqbody_301.py index 7fe2de8c7..bdf364193 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_2item_in_reqbody_301.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_2item_in_reqbody_301.py @@ -104,11 +104,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_reqbody_301.py b/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_reqbody_301.py index 580f9c810..76988fcec 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_reqbody_301.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_reqbody_301.py @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_302.py b/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_302.py index 503b67973..223cc41aa 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_302.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_302.py @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_pre_resheader_by_ct_302.py b/tests/manipulation/man_redirect_srcip_http_substr_url_pre_resheader_by_ct_302.py index ccd46853f..e4db2c7d2 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_pre_resheader_by_ct_302.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_pre_resheader_by_ct_302.py @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_301.py b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_301.py index c742cce8d..b48ebe350 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_301.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_301.py @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_hex_301.py b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_hex_301.py index 9c97f53a7..53f45bdab 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_hex_301.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_hex_301.py @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_regex_301.py b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_regex_301.py index e7cda7747..1060ffdc2 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_regex_301.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqbody_regex_301.py @@ -96,11 +96,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqheader_by_cookie_302.py b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqheader_by_cookie_302.py index 1cd1835e4..a3513c028 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqheader_by_cookie_302.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_reqheader_by_cookie_302.py @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_resheader_by_setcookie_301.py b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_resheader_by_setcookie_301.py index e29c01d45..72c77d8a0 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_substr_resheader_by_setcookie_301.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_substr_resheader_by_setcookie_301.py @@ -61,7 +61,7 @@ def run(parameter): { "item_operation": "add", "item_type": "url", - "item_value": "open.node.com" + "item_value": "192.168.40.206" } ], }, @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"},{"query_field_key": "http_set_cookie", "query_value": "test_setcook"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_suff_resheader_by_ct_302.py b/tests/manipulation/man_redirect_srcip_http_substr_url_suff_resheader_by_ct_302.py index ae010ce38..d65b4b280 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_suff_resheader_by_ct_302.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_suff_resheader_by_ct_302.py @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_http_substr_url_xly_resheader_by_ct_302.py b/tests/manipulation/man_redirect_srcip_http_substr_url_xly_resheader_by_ct_302.py index f0db71bb1..d1d191653 100644 --- a/tests/manipulation/man_redirect_srcip_http_substr_url_xly_resheader_by_ct_302.py +++ b/tests/manipulation/man_redirect_srcip_http_substr_url_xly_resheader_by_ct_302.py @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_intip_http_substr_url_302.py b/tests/manipulation/man_redirect_srcip_intip_http_substr_url_302.py index b84f5fcaf..dcb540f58 100644 --- a/tests/manipulation/man_redirect_srcip_intip_http_substr_url_302.py +++ b/tests/manipulation/man_redirect_srcip_intip_http_substr_url_302.py @@ -93,11 +93,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py b/tests/manipulation/man_redirect_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py index a1cf6ba85..8bc6cd78e 100644 --- a/tests/manipulation/man_redirect_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py +++ b/tests/manipulation/man_redirect_srcip_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py @@ -149,11 +149,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_subid_http_substr_url_substr_reqheader_by_cookie_302.py b/tests/manipulation/man_redirect_srcip_subid_http_substr_url_substr_reqheader_by_cookie_302.py index f75a8bd0e..4f44bda08 100644 --- a/tests/manipulation/man_redirect_srcip_subid_http_substr_url_substr_reqheader_by_cookie_302.py +++ b/tests/manipulation/man_redirect_srcip_subid_http_substr_url_substr_reqheader_by_cookie_302.py @@ -112,11 +112,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_cookie", "query_value": "test_name=tmp_tsg_cookie"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_subid_intip_http_substr_url_302.py b/tests/manipulation/man_redirect_srcip_subid_intip_http_substr_url_302.py index 89fc51939..b2df390d4 100644 --- a/tests/manipulation/man_redirect_srcip_subid_intip_http_substr_url_302.py +++ b/tests/manipulation/man_redirect_srcip_subid_intip_http_substr_url_302.py @@ -108,11 +108,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_redirect_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py b/tests/manipulation/man_redirect_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py index 88499f81e..1a1177909 100644 --- a/tests/manipulation/man_redirect_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py +++ b/tests/manipulation/man_redirect_srcip_subid_sub_fqdn_http_sub_url_sub_reqheader_by_ua_sub_resheader_by_ct_sub_reqbody_301.py @@ -164,11 +164,11 @@ def run(parameter): }, "expected_return": "https://www.jd.com", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_2item_in_url_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_2item_in_url_search_in_response_body.py index 7a0ec9cf4..482b490a7 100644 --- a/tests/manipulation/man_replace_srcip_http_2item_in_url_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_2item_in_url_search_in_response_body.py @@ -85,11 +85,11 @@ def run(parameter): }, "expected_return": "replace_test_res_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_8andmultisubstr_url_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_8andmultisubstr_url_search_in_response_body.py index 85ded1b6c..919276551 100644 --- a/tests/manipulation/man_replace_srcip_http_8andmultisubstr_url_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_8andmultisubstr_url_search_in_response_body.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_test_res_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_url", "query_value": "open.node.com:1443/go"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_url", "query_value": "192.168.40.206:1443/go"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_pre_url_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_pre_url_search_in_response_body.py index aa0c201a4..4ff93628a 100644 --- a/tests/manipulation/man_replace_srcip_http_pre_url_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_pre_url_search_in_response_body.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_test_res_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_url", "query_value": "open.node.com:1443/go"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_url", "query_value": "192.168.40.206:1443/go"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_2item_in_resheader_by_ct_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_2item_in_resheader_by_ct_search_in_response_body.py index faf86b944..6d03b4787 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_2item_in_resheader_by_ct_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_2item_in_resheader_by_ct_search_in_response_body.py @@ -108,11 +108,11 @@ def run(parameter): }, "expected_return": "documentation_test_case", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_search_in_response_body.py index 5b7f867e6..afa86ecad 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_8andmultisubstr_resheader_by_ct_search_in_response_body.py @@ -99,11 +99,11 @@ def run(parameter): }, "expected_return": "documentation_test_case", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_pre_resheader_by_ct_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_pre_resheader_by_ct_search_in_response_body.py index bbb8b91c7..4eb69c404 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_pre_resheader_by_ct_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_pre_resheader_by_ct_search_in_response_body.py @@ -99,11 +99,11 @@ def run(parameter): }, "expected_return": "documentation_test_case", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_body.py index d2c1d6cb0..cec46666a 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_body.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_test_req_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_header.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_header.py index f5bc86ec4..b6c8f658f 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_header.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_request_header.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "test_request_body", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_response_header.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_response_header.py index 5481c145c..bf1b13a92 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_response_header.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_regex_response_header.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "test_replace_regex_ok", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body.py index ab07588a6..0f6c51661 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_test_req_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_and_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_and_response_body.py index 5589691c2..dbd10ec93 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_and_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_and_response_body.py @@ -87,11 +87,11 @@ def run(parameter): }, "expected_return": "replace_test_req_content,replace_test_res_resbody", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_logall.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_logall.py index 0c194023d..fd5fc3791 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_logall.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_body_logall.py @@ -81,12 +81,12 @@ def run(parameter): }, "expected_return": "replace_test_req_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "http_request_body", "query_value": True}, {"query_field_key": "http_response_body", "query_value": True}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header.py index fdfb7603c..94ec64b30 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "test_request_body", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_and_response_header.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_and_response_header.py index a0337c93b..1796d6dd3 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_and_response_header.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_and_response_header.py @@ -87,11 +87,11 @@ def run(parameter): }, "expected_return": "test_resbody", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_request_body_and_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_request_body_and_response_body.py index ded51b0f6..9f46e7340 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_request_body_and_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_request_header_request_body_and_response_body.py @@ -94,11 +94,11 @@ def run(parameter): }, "expected_return": "replace_test_req_content,replace_test_res_resbody", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_body.py index 88a9c2dec..397dad736 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_body.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_test_res_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_header.py b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_header.py index e8acb1f94..09b517e10 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_header.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_search_in_response_header.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_setcook_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_suff_resheader_by_ct_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_suff_resheader_by_ct_search_in_response_body.py index bbb8b91c7..4eb69c404 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_suff_resheader_by_ct_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_suff_resheader_by_ct_search_in_response_body.py @@ -99,11 +99,11 @@ def run(parameter): }, "expected_return": "documentation_test_case", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_substr_url_xly_resheader_by_ct_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_substr_url_xly_resheader_by_ct_search_in_response_body.py index 8dab68b79..66c54bc02 100644 --- a/tests/manipulation/man_replace_srcip_http_substr_url_xly_resheader_by_ct_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_substr_url_xly_resheader_by_ct_search_in_response_body.py @@ -99,11 +99,11 @@ def run(parameter): }, "expected_return": "documentation_test_case", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_response_content_type", "query_value": "text/html;charset=UTF-8"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body.py index 1051a8214..f64b0f93f 100644 --- a/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body.py @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_test_res_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_url", "query_value": "open.node.com:1443/go"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_url", "query_value": "192.168.40.206:1443/go"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body_datacenter.py b/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body_datacenter.py index e7b9b8282..f7705d7d0 100644 --- a/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body_datacenter.py +++ b/tests/manipulation/man_replace_srcip_http_suff_url_search_in_response_body_datacenter.py @@ -81,11 +81,11 @@ def run(parameter): }, "expected_return": "replace_test_res_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_url", "query_value": "open.node.com:1443/go"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_url", "query_value": "192.168.40.206:1443/go"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_http_xly_url_search_in_response_body.py b/tests/manipulation/man_replace_srcip_http_xly_url_search_in_response_body.py index 98e7f6dfb..c1773c0c9 100644 --- a/tests/manipulation/man_replace_srcip_http_xly_url_search_in_response_body.py +++ b/tests/manipulation/man_replace_srcip_http_xly_url_search_in_response_body.py @@ -61,7 +61,7 @@ def run(parameter): { "item_operation": "add", "item_type": "url", - "item_value": "$open.node.com:1443/go" + "item_value": "$192.168.40.206:1443/go" } ], }, @@ -80,11 +80,11 @@ def run(parameter): }, "expected_return": "replace_test_res_content", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "http_url", "query_value": "open.node.com:1443/go"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "http_url", "query_value": "192.168.40.206:1443/go"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_replace_srcip_subid_http_substr_url_search_in_request_header_request_body_and_response_body.py b/tests/manipulation/man_replace_srcip_subid_http_substr_url_search_in_request_header_request_body_and_response_body.py index 3a96ebee5..e97df6cc6 100644 --- a/tests/manipulation/man_replace_srcip_subid_http_substr_url_search_in_request_header_request_body_and_response_body.py +++ b/tests/manipulation/man_replace_srcip_subid_http_substr_url_search_in_request_header_request_body_and_response_body.py @@ -109,11 +109,11 @@ def run(parameter): }, "expected_return": "replace_test_req_content,replace_test_res_resbody", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -b \"test_name=tmp_tsg_cookie\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_run_script_srcip_dstip_http_substr_url.py b/tests/manipulation/man_run_script_srcip_dstip_http_substr_url.py index bccf5c63e..80479769c 100644 --- a/tests/manipulation/man_run_script_srcip_dstip_http_substr_url.py +++ b/tests/manipulation/man_run_script_srcip_dstip_http_substr_url.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_run_script_srcip_extip_http_substr_url.py b/tests/manipulation/man_run_script_srcip_extip_http_substr_url.py index bccf5c63e..80479769c 100644 --- a/tests/manipulation/man_run_script_srcip_extip_http_substr_url.py +++ b/tests/manipulation/man_run_script_srcip_extip_http_substr_url.py @@ -53,7 +53,7 @@ def run(parameter): { "item_operation": "add", "item_type": "ipv4", - "item_value": "open.node.com", + "item_value": "192.168.40.206", }, ] } @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } diff --git a/tests/manipulation/man_run_script_srcip_http_substr_url_substr_reqheader_by_ua_logall.py b/tests/manipulation/man_run_script_srcip_http_substr_url_substr_reqheader_by_ua_logall.py index 00f777892..2c7f278d0 100644 --- a/tests/manipulation/man_run_script_srcip_http_substr_url_substr_reqheader_by_ua_logall.py +++ b/tests/manipulation/man_run_script_srcip_http_substr_url_substr_reqheader_by_ua_logall.py @@ -102,12 +102,12 @@ def run(parameter): }, "expected_return": "javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}, {"query_field_key": "http_request_body", "query_value": True}, {"query_field_key": "http_response_body", "query_value": True}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443/go" + "command": "curl --connect-timeout 30 -m 60 -H \"Content-Type:application/json;charset=UTF-8\" -X POST -d \"{\\\"requestbody\\\":\\\"test_request_body\\\",\\\"setcook\\\":\\\"test_setcook\\\",\\\"contenttype\\\": \\\"test_cont\\\",\\\"responsebody\\\": \\\"test_resbody\\\"}\" -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443/go" }, "token": "" } diff --git a/tests/manipulation/man_run_script_srcip_intip_http_substr_url.py b/tests/manipulation/man_run_script_srcip_intip_http_substr_url.py index 0e4ce9131..f510c80ad 100644 --- a/tests/manipulation/man_run_script_srcip_intip_http_substr_url.py +++ b/tests/manipulation/man_run_script_srcip_intip_http_substr_url.py @@ -97,11 +97,11 @@ def run(parameter): }, "expected_return": "javascript", "counters": {"hits": 1}, - "log_query_param": [{"query_field_key": "http_host", "query_value": "open.node.com"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], + "log_query_param": [{"query_field_key": "http_host", "query_value": "192.168.40.206"}, {"query_field_key": "decoded_as", "query_value": "HTTP"}], "traffic": { "protocol": "ssl", "type": "curl", - "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://open.node.com:1443" + "command": "curl --connect-timeout 30 -m 60 -kv --user-agent \"Wget (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36\" https://192.168.40.206:1443" }, "token": "" } |
