p0pr0ck5 / lua-resty-waf

High-performance WAF built on the OpenResty stack
GNU General Public License v3.0
1.27k stars 304 forks source link

Help needed #160

Closed shinji62 closed 8 years ago

shinji62 commented 8 years ago

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 !

hy05190134 commented 8 years ago

@shinji62 WAF just use perl's test function which is TestNginx

p0pr0ck5 commented 8 years ago

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?

p0pr0ck5 commented 8 years ago

@shinji62 do you still need help? I will close this ticket shortly if we don't hear from you.

shinji62 commented 8 years ago

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.

  • Githubissues is a development platform for aggregating issues.