Closed shinji62 closed 8 years ago
@shinji62 WAF just use perl's test function which is TestNginx
Yes, we do have a testing framework in place, using Test::Nginx::Socket, to test the various parts of lua-resty-waf, as well as expected behaviors based on included rulesets. There is also a Travis project for this: https://travis-ci.org/p0pr0ck5/lua-resty-waf
Beyond this, you say "nothing is filtered". By filter, I assume you mean no requests are denied by the WAF? What requests have you sent? What behavior are you seeing? What behavior are you expecting?
@shinji62 do you still need help? I will close this ticket shortly if we don't hear from you.
Sorry, I still some trouble. So yes I was thinking about getting denied error. But not sure how to? like I was trying http://localhost/?test= Githubissues.
Hi,
It's me again, I would like some help on a project I am trying to made https://github.com/shinji62/waf-cloudfoundry-route-service
Basically I want to use this WAF as reverse proxy, reverse proxy part is working but it seems nothing is filter.
But again I am not sure how to test the WAF effectively, if you have any advice or something like that which can help me.
I will really appreciate that.
Thanks !