how do I debug blocking rules?

98 views
Skip to first unread message

Alexander Spitzer

unread,
May 2, 2016, 8:56:05 AM5/2/16
to e2guardian
Hi everyone!

I have a quick question about debugging why a page was denied loading.

I tried to load a picture of a pug puppy today and it was denied: http://m.imgur.com/VvZZMKt?r

At first I just assumed that imgur was banned in general, so I grepped around in the lists files, but it never showed up.

Next I looked in the access.log and found this entry (I added X in the bad words so that it does not get blocked by filters.)

2016.5.2 8:26:54 - 192.168.2.107 http://m.imgur.com/VvZZMKt?r *DENIED* Banned combination phrase found.50 : 7990 ((fuXck, hoXrny)+-album+-cat +fuXck+hoXrny+jiXzz+nsXfw+-science+-vendo) GET 60273 7990 Pornography 1 403 text/html

So I figured that the webpage must have urls or comments with some of those words in it. I search the html, but NONE of those words showed up.

As a final attempt to try to understand how the filtering is working, I thought a rule might have been cached in memory from a previous imgur page access, so I restarted e2guardian - but it still failed to load the pug picture.

How do I go about debugging why the page got blocked (teach a man to fish...) and/or can someone explain to me what happened?

Thanks!

P.S. ironically, http://e2guardian.org/cms/ is also blocked by e2guardian due to "Pornography", so I had to disable the filter to find the location of this forum!
Reply all
Reply to author
Forward
0 new messages