Bug 1179208
| Summary: | Since 3.6; ssl without auth.ssl-allow broken | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | bugzilla.redhat.com |
| Component: | transport | Assignee: | Jeff Darcy <jdarcy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | mainline | CC: | bugs, dshetty, gluster-bugs, howey.vernon, jdarcy |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-14 17:28:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
bugzilla.redhat.com
2015-01-06 12:43:12 UTC
REVIEW: http://review.gluster.org/9397 (transport: fix default behavior for SSL authorization) posted (#1) for review on master by Jeff Darcy (jdarcy) The posted patch addresses the default behavior (equivalent to an explicit ssl-allow=*). It also skips the misguided validation of a username as a host name or IP address (the _check_for_auth_option error). It does *not* address the other two feature requests. In particular, domain wildcards don't make much sense because the identities involved are of *users* rather than hosts. Username wildcards do work, and this is now part of the regression test. For host/domain wildcards, there is underlying support for an "auth.addr.*.allow" volume option, but it's not clear how well exposed that is through the CLI. This bug exists in master. It's more important to fix it there than in a 3.6-specific branch where a workaround already exists. REVIEW: http://review.gluster.org/9397 (transport: fix default behavior for SSL authorization) posted (#2) for review on master by Jeff Darcy (jdarcy) REVIEW: http://review.gluster.org/9397 (transport: fix default behavior for SSL authorization) posted (#3) for review on master by Jeff Darcy (jdarcy) (In reply to Jeff Darcy from comment #2) > It does *not* address the other two feature requests. In particular, domain > wildcards don't make much sense because the identities involved are of > *users* rather than hosts. Username wildcards do work, and this is now part > of the regression test. For host/domain wildcards, there is underlying > support for an "auth.addr.*.allow" volume option, but it's not clear how > well exposed that is through the CLI. That makes sense; I actually use machine-names in my certificates; since the CN is passed as a username and you removed the bogus validation this feature will probably be fixed for me as well. Thanks for the quick fix! COMMIT: http://review.gluster.org/9397 committed in master by Vijay Bellur (vbellur) ------ commit 548547b2e41c8e2cf79b929405cf18aecbdedebc Author: Jeff Darcy <jdarcy> Date: Tue Jan 6 10:03:49 2015 -0500 transport: fix default behavior for SSL authorization Previously, enabling SSL authentication/encryption but not authorization required explicitly setting ssl-allow=*. Now that same behavior is the default (i.e. when ssl-allow is not set). Also, there's no reason that a name used for *login* auth (typically a UUID for internal purposes or a human name when using SSL) should validate as an RFC-compliant host name or IP address. Therefore the validation only occurs when the auth type is "addr" (not "login" or anything else). Change-Id: I01485ff4f0ab37de4b182858235a5fb0cf4c3c7d BUG: 1179208 Signed-off-by: Jeff Darcy <jdarcy> Reviewed-on: http://review.gluster.org/9397 Reviewed-by: Krishnan Parthasarathi <kparthas> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |