You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Yakov Kopel (JIRA)" <ji...@apache.org> on 2012/07/03 14:41:20 UTC
[jira] [Created] (TS-1331) Wrong regex for
proxy.config.cluster.mc_group_addr value
Yakov Kopel created TS-1331:
-------------------------------
Summary: Wrong regex for proxy.config.cluster.mc_group_addr value
Key: TS-1331
URL: https://issues.apache.org/jira/browse/TS-1331
Project: Traffic Server
Issue Type: Bug
Components: Management
Reporter: Yakov Kopel
Fix For: 3.3.0
Attachments: TS.diff
the regex for proxy.config.cluster.mc_group_addr in the RecordsConfig.cc file is wrong.
instead of "[0-255]\\.[0-255]\\.[0-255]\\.[0-255]"
it should be "[0-255]\.[0-255]\.[0-255]\.[0-255]".
Otherwise, it fails when trying to update by the traffic_line api.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for ip in records config
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Attachment: TS.diff
i fixed the patch to have all the needed slashes
> Wrong regex for ip in records config
> -------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
> traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
> the problem is with the validation of the range string.
> patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (TS-1331) Wrong regex for ip in records config
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom reassigned TS-1331:
---------------------------------
Assignee: Leif Hedstrom
> Wrong regex for ip in records config
> -------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Assignee: Leif Hedstrom
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
> traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
> the problem is with the validation of the range string.
> patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for
proxy.config.cluster.mc_group_addr value
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Attachment: TS.diff
> Wrong regex for proxy.config.cluster.mc_group_addr value
> --------------------------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex for proxy.config.cluster.mc_group_addr in the RecordsConfig.cc file is wrong.
> instead of "[0-255]\\.[0-255]\\.[0-255]\\.[0-255]"
> it should be "[0-255]\.[0-255]\.[0-255]\.[0-255]".
> Otherwise, it fails when trying to update by the traffic_line api.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for ip in records config
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Description:
the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
the problem is with the validation of the range string.
patch is attached.
was:
the regex for proxy.config.cluster.mc_group_addr in the RecordsConfig.cc file is wrong.
instead of "[0-255]\\.[0-255]\\.[0-255]\\.[0-255]"
it should be "[0-255]\.[0-255]\.[0-255]\.[0-255]".
Otherwise, it fails when trying to update by the traffic_line api.
Summary: Wrong regex for ip in records config (was: Wrong regex for proxy.config.cluster.mc_group_addr value)
> Wrong regex for ip in records config
> -------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
> traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
> the problem is with the validation of the range string.
> patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for ip in records config
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Attachment: TS.diff
> Wrong regex for ip in records config
> -------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
> traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
> the problem is with the validation of the range string.
> patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for
proxy.config.cluster.mc_group_addr value
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Attachment: TS.diff
> Wrong regex for proxy.config.cluster.mc_group_addr value
> --------------------------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex for proxy.config.cluster.mc_group_addr in the RecordsConfig.cc file is wrong.
> instead of "[0-255]\\.[0-255]\\.[0-255]\\.[0-255]"
> it should be "[0-255]\.[0-255]\.[0-255]\.[0-255]".
> Otherwise, it fails when trying to update by the traffic_line api.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for ip in records config
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Attachment: (was: TS.diff)
> Wrong regex for ip in records config
> -------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
> traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
> the problem is with the validation of the range string.
> patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for ip in records config
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Attachment: (was: TS.diff)
> Wrong regex for ip in records config
> -------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
>
> the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
> traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
> the problem is with the validation of the range string.
> patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TS-1331) Wrong regex for
proxy.config.cluster.mc_group_addr value
Posted by "Yakov Kopel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yakov Kopel updated TS-1331:
----------------------------
Attachment: (was: TS.diff)
> Wrong regex for proxy.config.cluster.mc_group_addr value
> --------------------------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
>
> the regex for proxy.config.cluster.mc_group_addr in the RecordsConfig.cc file is wrong.
> instead of "[0-255]\\.[0-255]\\.[0-255]\\.[0-255]"
> it should be "[0-255]\.[0-255]\.[0-255]\.[0-255]".
> Otherwise, it fails when trying to update by the traffic_line api.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TS-1331) Wrong regex for ip in records config
Posted by "Uri Shachar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405959#comment-13405959 ]
Uri Shachar commented on TS-1331:
---------------------------------
The problem is with the regexp validation of the range regexp - need to add a couple more slashes...
> Wrong regex for ip in records config
> -------------------------------------
>
> Key: TS-1331
> URL: https://issues.apache.org/jira/browse/TS-1331
> Project: Traffic Server
> Issue Type: Bug
> Components: Management
> Reporter: Yakov Kopel
> Fix For: 3.3.0
>
> Attachments: TS.diff
>
>
> the regex check for ip that is done in recordIPCheck func in the WebMgmtUtils.cc failed on valid ip, when trying to update by the traffic_line api:
> traffic_line -s proxy.config.cluster.mc_group_addr -v 224.0.1.37
> the problem is with the validation of the range string.
> patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira