You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Jimmy Hsueh <mi...@gmail.com> on 2010/01/30 10:45:44 UTC

How to work with filter.config

Hello,

I have installed traffic server on Ubuntu Server 8.04 and successfully
config it as a reverse proxy server. (Download from svn trunk)

But when I try to add some filter rules to block unwanted request pattern,
traffic server still response these requests as usual.

Do I miss some necessary  parameters ?? Is there any ways to debug mechanism
of content filtering ?


Bellow is the content of my testing filter.config (only one line, try to
block all requests)

dest_ip=0.0.0.0-255.255.255.255 method=GET action=deny

Re: How to work with filter.config

Posted by kelu tang <ta...@gmail.com>.
Hi,
   I think you should set it in the "remap.config" file like this:
       map http://172.16.3.8/ http://www.reverseserver.com/
@src_ip=0.0.0.0-255.255.255.255 method=GET action=deny

Tang Road



On 1/30/10, Jimmy Hsueh <mi...@gmail.com> wrote:
> Hello,
>
> I have installed traffic server on Ubuntu Server 8.04 and successfully
> config it as a reverse proxy server. (Download from svn trunk)
>
> But when I try to add some filter rules to block unwanted request pattern,
> traffic server still response these requests as usual.
>
> Do I miss some necessary  parameters ?? Is there any ways to debug mechanism
> of content filtering ?
>
>
> Bellow is the content of my testing filter.config (only one line, try to
> block all requests)
>
> dest_ip=0.0.0.0-255.255.255.255 method=GET action=deny
>