Bug 1335815 - rpc: change client insecure port ceiling from 65535 to 49151
Summary: rpc: change client insecure port ceiling from 65535 to 49151
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Prasanna Kumar Kalever
QA Contact: Anoop
URL:
Whiteboard:
Depends On: 1335776 1335813
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-13 09:30 UTC by Prasanna Kumar Kalever
Modified: 2018-02-07 04:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1335813
Environment:
Last Closed: 2018-02-07 04:22:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Prasanna Kumar Kalever 2016-05-13 09:30:51 UTC
+++ This bug was initially created as a clone of Bug #1335813 +++

+++ This bug was initially created as a clone of Bug #1335776 +++

Description of problem:
current port allocation to various processes (clumsy):
    
 1023 - 1       -> client ports range if bind secure is turned on
49151 - 1024    -> fall back to this, if in above case ports exhaust
65535 - 1024    -> client port range if bind insecure is on
49152 - 65535   -> brick port range
    
now, we should have segregated port ranges 0 - 65535 to below 3 ranges
    
 1023 - 1       -> client ports range if bind secure is turned on
49151 - 1024    -> client port range if bind insecure is on
                   (fall back to this, if in above case ports exhaust)
49152 - 65535   -> brick port range
    
for a cleaner way of segregation this is necessary, and once the bind insecure
is on by default, there could be a chance of port clashes between brick and clients.

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

--- Additional comment from Vijay Bellur on 2016-05-13 04:20:20 EDT ---

REVIEW: http://review.gluster.org/14326 (rpc: change client insecure port ceiling from 65535 to 49151) posted (#1) for review on master by Prasanna Kumar Kalever (pkalever)

Comment 2 Amar Tumballi 2018-02-07 04:22:17 UTC
Thank you for the bug report. 

This particular bug was fixed and a update package was published (RHGS 3.3.1+). Please feel free to report any further bugs you find, or make further reports if this bug is not fixed after you install the update.


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