Project

General

Profile

Actions

Bug #20991

closed

S3 API Policy Conditions IpAddress and NotIpAddress do not work

Added by John Gibson over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% 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.


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #22601: luminous: S3 API Policy Conditions IpAddress and NotIpAddress do not workResolvedAdam EmersonActions
Actions

Also available in: Atom PDF