You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed hostname:port to www.mywebsite.com:443 or www.mywebsite.com:80 but it still check my localhost ( I guess the default value from the regression-test)!
Note: I fixed the issue by changing the original files in WAFBench/util/regression-test, I converted all dest_addr and port to my host name and port number.
The text was updated successfully, but these errors were encountered:
Sorry for too late response.
Yes, you are right, the hostname:localhost and port:80 were hard coded into the regression-test. Because if the target machine was behind a proxy and we cannot know what is the real hostname. We also need to modify the original files in regression-test in our scenario.
We provided a simple script, https://github.com/microsoft/WAFBench/blob/master/tools/hostname_port_modifier.sh, to do what you want.
But thanks for your issue, I will polish our Readme to make it clearer.
Hi folks,
I used the example you made for the docker:
docker run -ti --rm -v
pwd:/data --rm wafbench ftw_compatible_tool -d /data/regression.db -x "load util/regression-test/crs-v3.1/black-box/ | gen | start hostname:port| report | exit"
I changed
hostname:port
towww.mywebsite.com:443
orwww.mywebsite.com:80
but it still check my localhost ( I guess the default value from the regression-test)!Examples:
docker run -ti --rm -v
pwd:/data --rm wafbench ftw_compatible_tool -d /data/regression.db -x "load util/regression-test/crs-v3.1/black-box/ | gen | start www.mywebsite.com:443| report | exit"
OR
docker run -ti --rm -v
pwd:/data --rm wafbench ftw_compatible_tool -d /data/regression.db -x "load util/regression-test/crs-v3.1/black-box/ | gen | start www.mywebsite.com:80| report | exit"
Can you please advise what should be done?
Note: I fixed the issue by changing the original files in WAFBench/util/regression-test, I converted all
dest_addr
andport
to my host name and port number.The text was updated successfully, but these errors were encountered: