You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Wyn Williams (JIRA)" <ji...@apache.org> on 2010/09/02 06:19:54 UTC
[jira] Created: (TS-432) Unable to have the same origin server in
remap.config on a diffrent map line on https
Unable to have the same origin server in remap.config on a diffrent map line on https
-------------------------------------------------------------------------------------
Key: TS-432
URL: https://issues.apache.org/jira/browse/TS-432
Project: Traffic Server
Issue Type: Bug
Components: Security
Affects Versions: 2.1.2
Environment: Ubuntu 10.04.1 64 - Traffic-Server 2.1.2 - HTTPS
Reporter: Wyn Williams
When configuring SSL Termination placing the the same origin server in both mapping lines results in a duplicate error:
Example:
map http://foo.bar.com http://bar.com
reverse__map http://bar.com http://foo.bar.com
map https://foo.bar.com http://bar.com
reverse_map http://bar.com https://foo.bar.com
It is the same with or without reverse_map, changing the origin server works and having the origin server as https://bar.com also works.
Error message - ERROR Cannot insert duplicate! - ERROR Couldn't insert into trie! - ERROR Could not insert new mapping - ERROR: Could not add rule at line #129; Continuing with remaining lines
Time estimate to fix is based on being a newbie who has not dug into the vitals yet so a random guess (I WILL be diggin in though but may not be able to fix it) and hopefully wrong
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TS-432) Unable to have the same
origin server in remap.config on a diffrent map line on https
Posted by "Wyn Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905571#action_12905571 ]
Wyn Williams edited comment on TS-432 at 9/2/10 12:20 PM:
----------------------------------------------------------
Hello Leif
I guess I need to RTFM more.
Thanks
Asigottech (pfg)
was (Author: asigottech):
Hello Leif
You win the Makka, however you prob should of gone for Euros.
I guess this is a limitation of ATS rather then a bug, for instance if the
front page of a site has different options or text (as some of our clients
do) then it would be impossible to use ATS with in terms of reverse_mapping
.
As for how would it now I also assumed (more assumptions...) it would store
the reverse mapping and could tell the difference between http and https
urls.
I guess I need to RTFM more.
Thanks
Asigottech (pfg)
> Unable to have the same origin server in remap.config on a diffrent map line on https
> -------------------------------------------------------------------------------------
>
> Key: TS-432
> URL: https://issues.apache.org/jira/browse/TS-432
> Project: Traffic Server
> Issue Type: Bug
> Components: Security
> Affects Versions: 2.1.2
> Environment: Ubuntu 10.04.1 64 - Traffic-Server 2.1.2 - HTTPS
> Reporter: Wyn Williams
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> When configuring SSL Termination placing the the same origin server in both mapping lines results in a duplicate error:
> Example:
> map http://foo.bar.com http://bar.com
> reverse__map http://bar.com http://foo.bar.com
> map https://foo.bar.com http://bar.com
> reverse_map http://bar.com https://foo.bar.com
> It is the same with or without reverse_map, changing the origin server works and having the origin server as https://bar.com also works.
> Error message - ERROR Cannot insert duplicate! - ERROR Couldn't insert into trie! - ERROR Could not insert new mapping - ERROR: Could not add rule at line #129; Continuing with remaining lines
> Time estimate to fix is based on being a newbie who has not dug into the vitals yet so a random guess (I WILL be diggin in though but may not be able to fix it) and hopefully wrong
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-432) Unable to have the same origin server in
remap.config on a diffrent map line on https
Posted by "Wyn Williams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905571#action_12905571 ]
Wyn Williams commented on TS-432:
---------------------------------
Hello Leif
You win the Makka, however you prob should of gone for Euros.
I guess this is a limitation of ATS rather then a bug, for instance if the
front page of a site has different options or text (as some of our clients
do) then it would be impossible to use ATS with in terms of reverse_mapping
.
As for how would it now I also assumed (more assumptions...) it would store
the reverse mapping and could tell the difference between http and https
urls.
I guess I need to RTFM more.
Thanks
Asigottech (pfg)
> Unable to have the same origin server in remap.config on a diffrent map line on https
> -------------------------------------------------------------------------------------
>
> Key: TS-432
> URL: https://issues.apache.org/jira/browse/TS-432
> Project: Traffic Server
> Issue Type: Bug
> Components: Security
> Affects Versions: 2.1.2
> Environment: Ubuntu 10.04.1 64 - Traffic-Server 2.1.2 - HTTPS
> Reporter: Wyn Williams
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> When configuring SSL Termination placing the the same origin server in both mapping lines results in a duplicate error:
> Example:
> map http://foo.bar.com http://bar.com
> reverse__map http://bar.com http://foo.bar.com
> map https://foo.bar.com http://bar.com
> reverse_map http://bar.com https://foo.bar.com
> It is the same with or without reverse_map, changing the origin server works and having the origin server as https://bar.com also works.
> Error message - ERROR Cannot insert duplicate! - ERROR Couldn't insert into trie! - ERROR Could not insert new mapping - ERROR: Could not add rule at line #129; Continuing with remaining lines
> Time estimate to fix is based on being a newbie who has not dug into the vitals yet so a random guess (I WILL be diggin in though but may not be able to fix it) and hopefully wrong
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TS-432) Unable to have the same origin server in
remap.config on a diffrent map line on https
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom closed TS-432.
----------------------------
Resolution: Invalid
> Unable to have the same origin server in remap.config on a diffrent map line on https
> -------------------------------------------------------------------------------------
>
> Key: TS-432
> URL: https://issues.apache.org/jira/browse/TS-432
> Project: Traffic Server
> Issue Type: Bug
> Components: Security
> Affects Versions: 2.1.2
> Environment: Ubuntu 10.04.1 64 - Traffic-Server 2.1.2 - HTTPS
> Reporter: Wyn Williams
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> When configuring SSL Termination placing the the same origin server in both mapping lines results in a duplicate error:
> Example:
> map http://foo.bar.com http://bar.com
> reverse__map http://bar.com http://foo.bar.com
> map https://foo.bar.com http://bar.com
> reverse_map http://bar.com https://foo.bar.com
> It is the same with or without reverse_map, changing the origin server works and having the origin server as https://bar.com also works.
> Error message - ERROR Cannot insert duplicate! - ERROR Couldn't insert into trie! - ERROR Could not insert new mapping - ERROR: Could not add rule at line #129; Continuing with remaining lines
> Time estimate to fix is based on being a newbie who has not dug into the vitals yet so a random guess (I WILL be diggin in though but may not be able to fix it) and hopefully wrong
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-432) Unable to have the same origin server in
remap.config on a diffrent map line on https
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905541#action_12905541 ]
Leif Hedstrom commented on TS-432:
----------------------------------
Ah, I get it now, it's the reverse map that causes this. There's no way you can do this (how would it know which rule to pick?), so you'll have to decide amongst the two.
Note that reverse_map is used to rewrite Location: headers in 301/302 responses. If you really need to have two reverse maps like this (also, there's a typo in the first one above), you'll need to have different origin server names. There's really no way around this.
I'm willing to be several markka that if you just do
map http://foo.bar.com http:/bar.com
map https://foo.bar.com http://bar.com
reverse_map http://bar.com http://foo.bar.com
It'll work. So, closing this for now.
> Unable to have the same origin server in remap.config on a diffrent map line on https
> -------------------------------------------------------------------------------------
>
> Key: TS-432
> URL: https://issues.apache.org/jira/browse/TS-432
> Project: Traffic Server
> Issue Type: Bug
> Components: Security
> Affects Versions: 2.1.2
> Environment: Ubuntu 10.04.1 64 - Traffic-Server 2.1.2 - HTTPS
> Reporter: Wyn Williams
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> When configuring SSL Termination placing the the same origin server in both mapping lines results in a duplicate error:
> Example:
> map http://foo.bar.com http://bar.com
> reverse__map http://bar.com http://foo.bar.com
> map https://foo.bar.com http://bar.com
> reverse_map http://bar.com https://foo.bar.com
> It is the same with or without reverse_map, changing the origin server works and having the origin server as https://bar.com also works.
> Error message - ERROR Cannot insert duplicate! - ERROR Couldn't insert into trie! - ERROR Could not insert new mapping - ERROR: Could not add rule at line #129; Continuing with remaining lines
> Time estimate to fix is based on being a newbie who has not dug into the vitals yet so a random guess (I WILL be diggin in though but may not be able to fix it) and hopefully wrong
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.