Bug 811458 - specifying invalid ip_address as value for auth.allow/reject option is accepted
Summary: specifying invalid ip_address as value for auth.allow/reject option is accepted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Kaushal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-04-11 06:39 UTC by Shwetha Panduranga
Modified: 2013-07-24 17:09 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:09:17 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Shwetha Panduranga 2012-04-11 06:39:50 UTC
Description of problem:
ipv4 invalid address Ex:- "192.168.1.2." is also accepted as valid ip_address. 

[04/06/12 - 17:20:08 root@APP-SERVER1 ~]# gluster volume set dstore auth.reject 192.168.1.2.
Set volume successful

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

How reproducible:
often

Steps to Reproduce:
1.create a distribute-replicate volume.
2.set auth.allow to "192.168.1.2." 
  
Actual results:
set volume successful

Expected results:
set volume should be unsuccessful as we have specified the invalid ip address

Comment 1 Anand Avati 2012-04-13 08:02:14 UTC
CHANGE: http://review.gluster.com/3124 (glusterd: IPv4 auth improvment) merged in master by Vijay Bellur (vijay)

Comment 2 Shwetha Panduranga 2012-05-04 07:12:51 UTC
Bug is fixed . verified on 3.3.0qa39


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