Bug 1248450 - rpc: check for unprivileged port should start at 1024 and not beyond 1024
Summary: rpc: check for unprivileged port should start at 1024 and not beyond 1024
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: rpc
Version: 3.7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milind Changire
QA Contact:
URL:
Whiteboard:
Depends On: 1247930 1248461
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-30 10:31 UTC by Milind Changire
Modified: 2015-09-09 09:38 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.4
Clone Of: 1247930
Environment:
Last Closed: 2015-09-09 09:38:53 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Milind Changire 2015-07-30 10:31:28 UTC
+++ This bug was initially created as a clone of Bug #1247930 +++

Description of problem:
rpc/rpc-lib/src/rpcsvc.c::rpcsvc_handle_rpc_call()
check for unprivileged port > 1024 should be changed to port >= 1024


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-07-30 04:18:28 EDT ---

REVIEW: http://review.gluster.org/11788 (rpc: check for unprivileged port should start at 1024) posted (#2) for review on master by Milind Changire (mchangir)

--- Additional comment from Anand Avati on 2015-07-30 06:30:14 EDT ---

REVIEW: http://review.gluster.org/11804 (rpc: check for unprivileged port should start at 1024) posted (#1) for review on release-3.7 by Milind Changire (mchangir)

Comment 1 Anand Avati 2015-08-13 06:06:48 UTC
REVIEW: http://review.gluster.org/11804 (rpc: check for unprivileged port should start at 1024) posted (#3) for review on release-3.7 by Raghavendra G (rgowdapp)

Comment 2 Anand Avati 2015-08-14 04:05:44 UTC
COMMIT: http://review.gluster.org/11804 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit 0ab5623774151ba98e3ac65918e365d441713b04
Author: Milind Changire <mchangir>
Date:   Wed Jul 29 14:57:44 2015 +0530

    rpc: check for unprivileged port should start at 1024
    
    The current check for unprivileged port starts beyond 1024
    i.e. port > 1024
    The actual check should start at 1024
    i.e. port >= 1024
    
    Change-Id: I78aff3025891e3e78ca6a9a670c89571752157df
    BUG: 1248450
    Reviewed-on: http://review.gluster.org/#/c/11788/
    Signed-off-by: Milind Changire <mchangir>
    Reviewed-on: http://review.gluster.org/11804
    Reviewed-by: Raghavendra Talur <rtalur>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 3 Kaushal 2015-09-09 09:38:53 UTC
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.4, please open a new bug report.

glusterfs-3.7.4 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/12496
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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