Bug 1321916 - auth.allow and auth.reject option should accept ip address with negation !
Summary: auth.allow and auth.reject option should accept ip address with negation !
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: protocol
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1321921
TreeView+ depends on / blocked
 
Reported: 2016-03-29 11:30 UTC by Gaurav Kumar Garg
Modified: 2019-05-11 02:05 UTC (History)
3 users (show)

Fixed In Version: glusterfs-6.x
Clone Of:
Environment:
Last Closed: 2019-05-11 02:05:52 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Gaurav Kumar Garg 2016-03-29 11:30:35 UTC
Description of problem:

Currently when user set auth.allow and auth.reject option with negation followed by ip-address (for eg:  !192.168.x.x) then Gluster is not accepting that ip address.

Version-Release number of selected component (if applicable):
mainline 

How reproducible:
every time.

Steps to Reproduce:
set auth.allow or auth.reject option with negation ip-address



Expected results:

It should allow setting of auth.allow/auth.reject option with negation.

Comment 1 Vijay Bellur 2016-03-30 12:59:17 UTC
REVIEW: http://review.gluster.org/13855 (libglusterfs: supporting ip-address or hostname with negation) posted (#1) for review on master by Gaurav Kumar Garg (ggarg)

Comment 2 Vijay Bellur 2016-04-04 10:13:44 UTC
REVIEW: http://review.gluster.org/13855 (libglusterfs: supporting ip-address or hostname with negation) posted (#2) for review on master by Gaurav Kumar Garg (ggarg)

Comment 5 Amar Tumballi 2019-05-11 02:05:52 UTC
We have added tests to validate the options, and ! works.


Note You need to log in before you can comment on or make changes to this bug.