You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Manjesh Nilange (JIRA)" <ji...@apache.org> on 2011/07/27 02:15:09 UTC
[jira] [Created] (TS-890) Out of date documentation in remap.config
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
[jira] [Updated] (TS-890) Out of date documentation in remap.config
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-890:
-----------------------------
Fix Version/s: 3.1.0
Assignee: Leif Hedstrom
> 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
> Assignee: Leif Hedstrom
> Priority: Minor
> Fix For: 3.1.0
>
>
> 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
[jira] [Resolved] (TS-890) Out of date documentation in
remap.config
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-890.
------------------------------
Resolution: Fixed
> 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
> Assignee: Leif Hedstrom
> Priority: Minor
> Fix For: 3.1.0
>
>
> 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
[jira] [Commented] (TS-890) Out of date documentation in
remap.config
Posted by "Manjesh Nilange (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071859#comment-13071859 ]
Manjesh Nilange commented on TS-890:
------------------------------------
My bad, I was wrong about the filtering arguments - I went through only part of the code.
> 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
[jira] [Commented] (TS-890) Out of date documentation in
remap.config
Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (TS-890) Out of date documentation in
remap.config
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071495#comment-13071495 ]
Leif Hedstrom commented on TS-890:
----------------------------------
The first one we should fix, since Yahoo never open sourced the regex plugin :/.
As for the second one, are you certain that doesn't work? It used to work at least few versions ago. I.e. I have a map rule on www.ogre.com with
{code}
@src_ip=1.2.3.4 @action=allow
{code}
and testing it right now, I can't access it on any machine other than this IP (obviously I modified the IP above :). I'm not sure about the @method part though, I haven't tested that.
> 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
[jira] [Commented] (TS-890) Out of date documentation in
remap.config
Posted by "Manjesh Nilange (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071449#comment-13071449 ]
Manjesh Nilange commented on TS-890:
------------------------------------
Jira replaced hash/pound characters with bullet numbers. Hence, snips not to be taken as is.
> 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