[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382760#comment-15382760
 ] 

ASF subversion and git services commented on CLOUDSTACK-9430:
-------------------------------------------------------------

Commit a566cde145391e370632449b5ee5069664c05bcc in cloudstack's branch 
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a566cde ]

Merge pull request #1609 from pdube/network-acl-add-order

[CLOUDSTACK-9430] Added fix for adding/editing Network ACL rule orderingBUG: 
https://issues.apache.org/jira/browse/CLOUDSTACK-9430

The issue occurred because all of the ACL rules get inserted before the old 
ones. Then, the cleanup deletes the duplicate rows, and leaves any new rule in 
front of the old ones.

Here is an example with a simplified iptables view for ACL
Ex: adding a rule 4
before add:
1,2,3

during add:
1',2',3',4',1,2,3

after add:
4',1,2,3

After fix:
before add:
1,2,3

during add:
1,2,3,1',2',3',4'

after add:
1',2',3',4'

* pr/1609:
  Added fix for adding/editing Network ACL rule ordering

Signed-off-by: Will Stevens <[email protected]>


> Adding a network ACL rule adds it in the wrong order for VPCs
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9430
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9430
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.7.1, 4.8.0, 4.9.0
>            Reporter: Patrick D.
>
> Editing a rule number as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to