ABE with local server that replaces block site with image
Posted: Wed Feb 12, 2014 7:06 pm
I am using a local server that serves up a dummy image whenever the hosts file redirects a site to 127.0.0.1 so that when content is blocked, you can see the dummy image in the browser to let you know something was blocked.
The problem I am having is that with ABE enabled, ABE sees the request as a LOCAL request from an non-local site, and rejects the request by the default SYSTEM rule:
[ABE] <LOCAL> Deny on {GET http://blockedsite.com/ <<< http://www.requestingsite.com/whatever.html - 6}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny
This prevents the dummy image from being displayed on pages, and worse - if you clink on a link to blocked content, nothing happens at all (it should take you the blocked content image).
I know I can't write a USER rule to get around this, but would adding the following SYSTEM rule before the default LOCAL rule hurt anything, or open me up to anything?
Site 127.0.0.1
Accept GET
Deny
It fixes the problem by allowing the requests to 127.0.0.1 to display the blocked content dummy image, but I am concerned I might be missing something.
Thanks!
The problem I am having is that with ABE enabled, ABE sees the request as a LOCAL request from an non-local site, and rejects the request by the default SYSTEM rule:
[ABE] <LOCAL> Deny on {GET http://blockedsite.com/ <<< http://www.requestingsite.com/whatever.html - 6}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny
This prevents the dummy image from being displayed on pages, and worse - if you clink on a link to blocked content, nothing happens at all (it should take you the blocked content image).
I know I can't write a USER rule to get around this, but would adding the following SYSTEM rule before the default LOCAL rule hurt anything, or open me up to anything?
Site 127.0.0.1
Accept GET
Deny
It fixes the problem by allowing the requests to 127.0.0.1 to display the blocked content dummy image, but I am concerned I might be missing something.
Thanks!