Bug 811458

Summary: specifying invalid ip_address as value for auth.allow/reject option is accepted
Product: [Community] GlusterFS Reporter: Shwetha Panduranga <shwetha.h.panduranga>
Component: cliAssignee: Kaushal <kaushal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs, kaushal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:09:17 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:
Bug Depends On:    
Bug Blocks: 817967    

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