[
https://issues.apache.org/jira/browse/CLOUDSTACK-10090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240246#comment-16240246
]
ASF GitHub Bot commented on CLOUDSTACK-10090:
---------------------------------------------
mrunalinikankariya commented on issue #2273:
CLOUDSTACK-10090:createPortForwardingRule api call accepts 'halt' as …
URL: https://github.com/apache/cloudstack/pull/2273#issuecomment-342141179
@rhtyd
Here we are hardcoding the Port Forwarding capabilities which is used to
validate the type of protocol while creating port forwarding rule. If the
capabilities list is empty no validation is done and hence any value is
accepted as the protocol type. With this change now only TCP and UDP protocol
type are allowed for port forwarding rule creation. Hope this answers your
question
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> createPortForwardingRule api call accepts 'halt' as Protocol which Stops VR
> ----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-10090
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10090
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: mrunalini
>
> When we run the createPortForwardingRule API with input as Protocol as halt
> the PF rule is added however Halt is executed on VR. Hence the VR is stopped.
> Following entry added to Firewall_Rules table and VirtualRouter went to
> halt(stopped)
> mysql> select * from firewall_rules where id = 7
> *************************** 1. row ***************************
> id: 7
> uuid: XXXXXXXXXXXXXXXXXXXXXXXXXXX
> ip_address_id: 13
> start_port: 222
> end_port: 222
> state: Revoke
> protocol: `halt`
> purpose: PortForwarding
> account_id: 2
> domain_id: 1
> network_id: 208
> xid: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> created: 2017-09-04 04:48:16
> icmp_code: NULL
> icmp_type: NULL
> related: NULL
> type: User
> vpc_id: NULL
> traffic_type: NULL
> display: 1
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)