[ 
https://issues.apache.org/jira/browse/TS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071634#comment-13071634
 ] 

Zhao Yongming commented on TS-890:
----------------------------------

the later IP based filter is full working in v3.0.1, it is not broken in the 
several latest versions. the inline rule is a little simple, you can not mix 
the actions, IE, if you set @src_ip=1.2.3.4 @action=allow @method=PUT, then no 
other ip will be allowed to GET too. if you want complex rule, you may need to 
use the .define.... directives. take a look at my example in  
http://bbs.chinaunix.net/thread-1778546-4-1.html

thanks

> Out of date documentation in remap.config
> -----------------------------------------
>
>                 Key: TS-890
>                 URL: https://issues.apache.org/jira/browse/TS-890
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Manjesh Nilange
>            Priority: Minor
>
> The section in paranthesis is a carry-over from Yahoo!:
> <snip>
> #  1) Only the host field can have regexes - the scheme, port and other 
> fields cannot
> #     (use yts_regex_remap plugin for path manipulation using regexes)
> </snip>
> As far as I can make out by looking at the code, these filtering parameters 
> are not really implemented:
> <snip>
> #  @action=allow|deny
> #  @src_ip=IP-address
> #  @method=HTTP method string 
> (CONNECT|DELETE|GET|HEAD|ICP_QUERY|OPTIONS|POST|PURGE|PUT|TRACE|PUSH)
> </snip>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to