[
https://issues.apache.org/jira/browse/TS-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14297154#comment-14297154
]
ASF subversion and git services commented on TS-3300:
-
Commit 2cfed613f79f42e900ceed0d2c48b01329e586a9 in trafficserver's branch
refs/heads/master from [~jpe...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=2cfed61 ]
TS-3300: add a @internal ACL filter
Add support for the @internal ACL filter operator. This allows remap
ACLs to filter on whether a request is internal or not, allowing
remap rules to be restricted to plugins.
Add an @internal ACL filter
---
Key: TS-3300
URL: https://issues.apache.org/jira/browse/TS-3300
Project: Traffic Server
Issue Type: New Feature
Components: Configuration, Remap API
Reporter: James Peach
Assignee: James Peach
Fix For: 5.3.0
It's common to want remap rules that are only supposed to be used by plugins.
Add explicit support for ACL matching on whether a request is internal or
not.
Here's an example of the proposed configuration:
{code}
map http://internal.jpeach.org/ http://127.0.0.1/ \
@plugin=generator.so \
@action=allow @internal
map http://external.jpeach.org/ http://private.jpeach.org/ \
@plugin=authproxy.so @pparam=--auth-transform=head \
@action=deny @internal
map http://private.jpeach.org/ http://private.jpeach.org/ \
@action=allow @internal
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)