Actions
Bug #20991
closedS3 API Policy Conditions IpAddress and NotIpAddress do not work
% Done:
0%
Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
There are several bugs in the implementation of the IpAddress and NotIpAddress conditions of the S3 API that cause them to simply not function. Among other issues the as_network() function always returns none, even if the IpAddress is parsed correctly. There are also issues with byte ordering and using the wrong structs during conversion, etc.
Updated by John Gibson over 6 years ago
I've submitted a pull request that fixes the issue along with some basic unit tests: https://github.com/ceph/ceph/pull/17010
Updated by Matt Benjamin over 6 years ago
- Status changed from New to Fix Under Review
- Assignee set to Adam Emerson
- Backport set to luminous
Updated by Adam Emerson over 6 years ago
- Status changed from Fix Under Review to 7
Updated by Adam Emerson over 6 years ago
- Copied to Backport #22601: luminous: S3 API Policy Conditions IpAddress and NotIpAddress do not work added
Updated by Adam Emerson over 6 years ago
- Status changed from 7 to Pending Backport
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved
Actions