Project

General

Profile

Actions

Bug #16928

closed

RGW/civetweb no longer listens on IPv6: invalid port spec

Added by Robin Johnson over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

civetweb: 0x7f507d36cbe0: set_ports_option: [::]:7480: invalid port spec. Expecting list of: [IP_ADDRESS:]PORT[s|r]

Both these inputs cause the same error of 'invalid port spec'.
rgw frontends = civetweb port=[::]:7480
rgw frontends = civetweb port=[2607:1234:1234:1234::7853]:7480

It comes from here:
https://github.com/ceph/civetweb/blob/8d271315a541218caada366f84a2690fdbd474a2/src/civetweb.c#L5979
https://github.com/ceph/civetweb/blob/8d271315a541218caada366f84a2690fdbd474a2/src/civetweb.c#L5916

The code itself does seem to be correct, the only way I can repeat the error, is to have USE_IPV6 be undefined.

RGW does work correctly in Hammer (0.94.7-1precise), but is broken as of 10.2.2-1trusty


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #16945: jewel: RGW/civetweb no longer listens on IPv6: invalid port specResolvedRobin JohnsonActions
Actions

Also available in: Atom PDF